WO2023116564A1 - Procédé et appareil de communication mqtt, dispositif électronique, et support d'enregistrement - Google Patents

Procédé et appareil de communication mqtt, dispositif électronique, et support d'enregistrement Download PDF

Info

Publication number
WO2023116564A1
WO2023116564A1 PCT/CN2022/139551 CN2022139551W WO2023116564A1 WO 2023116564 A1 WO2023116564 A1 WO 2023116564A1 CN 2022139551 W CN2022139551 W CN 2022139551W WO 2023116564 A1 WO2023116564 A1 WO 2023116564A1
Authority
WO
WIPO (PCT)
Prior art keywords
mqtt
server
communication
connection
geographic location
Prior art date
Application number
PCT/CN2022/139551
Other languages
English (en)
Chinese (zh)
Inventor
柳春阳
Original Assignee
锐迪科创微电子(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 锐迪科创微电子(北京)有限公司 filed Critical 锐迪科创微电子(北京)有限公司
Publication of WO2023116564A1 publication Critical patent/WO2023116564A1/fr

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/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom

Definitions

  • the present application relates to the field of communication technologies, and in particular to a (Message Queuing Telemetry Transport, MQTT for short) communication method, device, electronic equipment and storage medium.
  • MQTT Message Queuing Telemetry Transport
  • the MQTT protocol is a message protocol based on the publish/subscribe paradigm under the ISO standard. Devices with low hardware performance and devices with poor network conditions can communicate based on the MQTT protocol.
  • a device supporting the MQTT protocol can perform MQTT service communication through a server.
  • the first device acts as a publisher and sends MQTT data to the server, so that the server sends the MQTT data to at least one second device as a subscriber .
  • the present application provides an MQTT communication method, device, electronic equipment and storage medium to solve the technical problem of insufficient intelligence of the equipment when performing MQTT communication.
  • the first aspect of the present application provides an MQTT communication method, including: the first device determines its geographic location; when the geographic location satisfies a first preset condition, the first device establishes an MQTT connection with the server, and passes The MQTT connection performs MQTT communication.
  • the determining the geographic location of the first device includes: the first device determining the geographic location through a FLP.
  • the first preset condition includes: the distance between the geographic location and the first preset location is smaller than a first threshold; or, the distance between the geographic location and the second preset The distance between the locations is greater than a second threshold, the second threshold being greater than the first threshold.
  • the establishing an MQTT connection between the first device and the server includes: establishing an MQTT connection between the first device and the server through a General Packet Radio Service GRPS network; or, the The first device establishes an MQTT connection with the server through a Wi-Fi network.
  • GRPS General Packet Radio Service
  • the first device before the first device establishes an MQTT connection with the server through the Wi-Fi network, it further includes: the first device starts the Wi-Fi service; Determining AP information corresponding to the geographic location in the storage unit; wherein at least one geographic location and AP information corresponding to each geographic location are stored in the storage unit; the first device according to the AP Information, establish an MQTT connection with the server through the Wi-Fi network provided by the AP.
  • the MQTT communication performed by the first device includes: when the distance between the geographic location and the third preset location is less than a third threshold, the first device uses the publisher MQTT communication in a subscriber mode; when the distance between the geographic location and a third preset location is greater than a third threshold, the first device performs MQTT communication in a subscriber mode.
  • the first device after the first device performs MQTT communication through the MQTT connection, it further includes: when the geographic location where the first device is located satisfies a second preset condition, the second A device disconnects the MQTT connection with the server.
  • the first device after the first device establishes the MQTT connection with the server, it further includes: the first device sends a prompt message to remind the user that the MQTT connection has been established; the first device Perform MQTT communication through the MQTT connection according to receiving the instruction information sent by the user.
  • the first device after the first device establishes an MQTT connection with the server, it further includes: obtaining the moving speed of the first device according to the geographical location determined within a preset time period, The preset time period is a time period before the first device establishes an MQTT connection; determine the MQTT data to be sent to the server according to the moving speed, and send the MQTT data to the server through the MQTT connection.
  • the second aspect of the present application provides an MQTT communication device, which can be used to implement the MQTT communication method provided in the first aspect of the present application.
  • the device includes: a processing module and a communication module; wherein, the processing module is used to determine the geographic location; when When the geographic location satisfies the first preset condition, the communication module is controlled to establish an MQTT connection with the server, and the communication module is controlled to perform MQTT communication through the MQTT connection.
  • the processing module specifically determines the geographic location through the FLP.
  • the first preset condition includes: the distance between the geographic location and the first preset location is smaller than a first threshold; or, the distance between the geographic location and the second preset The distance between the locations is greater than a second threshold, the second threshold being greater than the first threshold.
  • the communication module specifically establishes an MQTT connection with the server through a General Packet Radio Service GRPS network; or, establishes an MQTT connection with the server through a Wi-Fi network.
  • GRPS General Packet Radio Service
  • the processing module is further configured to enable the Wi-Fi service of the communication module, and determine the access point AP information corresponding to the geographic location from the storage unit; wherein, the The storage unit stores at least one geographic location, and AP information corresponding to each geographic location; according to the AP information, the control communication module establishes an MQTT connection with the server through the Wi-Fi network provided by the AP.
  • the processing module is further configured to, when the distance between the geographic location and the third preset location is less than a third threshold, perform MQTT in publisher mode through the communication module Communication: when the distance between the geographic location and the third preset location is greater than a third threshold, MQTT communication is performed in a subscriber mode through the communication module.
  • the processing module is further configured to control the communication module to disconnect the MQTT connection with the server when the geographic location where the first device is located satisfies a second preset condition connect
  • the processing module is further configured to control the prompt module to issue prompt information to prompt the user that the MQTT connection has been established; according to the indication module receiving the indication information sent by the user, and controlling the The communication module performs MQTT communication through the MQTT connection.
  • the processing module is further configured to obtain the moving speed of the first device according to the geographical location determined within a preset time period, and the preset time period is the A time period before the first device establishes an MQTT connection; determine the MQTT data to be sent to the server according to the moving speed, and control the communication module to send the MQTT data to the server through the MQTT connection.
  • the third aspect of the present application provides an electronic device, including: a processor and a memory; wherein, a computer program is stored in the memory, and when the processor executes the computer program, the processor can be used to execute any one of the first aspects of the present application.
  • a computer program is stored in the memory, and when the processor executes the computer program, the processor can be used to execute any one of the first aspects of the present application.
  • the fourth aspect of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed, it can be used to perform MQTT communication as described in any one of the first aspect of the present application method.
  • the first device establishes an MQTT connection with the server after detecting that its geographic location satisfies the first preset condition; MQTT communication via MQTT connection.
  • the first device automatically establishes an MQTT connection and performs MQTT communication more intelligently without manual operation and settings by the user of the first device, thereby reducing the number of operations and operations required by the user of the first device when performing MQTT communication.
  • the time consumed during operation improves the intelligence of the device when performing MQTT communication, thereby improving the communication efficiency during MQTT communication between devices, and also improving the user experience of the device performing MQTT communication.
  • FIG. 1 is a schematic diagram of an application scenario provided by the present application
  • Fig. 2 is a schematic diagram of an MQTT communication method
  • FIG. 3 is a schematic flow diagram of an embodiment of the MQTT communication method provided by the present application.
  • FIG. 4 is a schematic diagram of an embodiment of an MQTT communication device provided by the present application.
  • FIG. 5 is a schematic structural diagram of an embodiment of an electronic device provided by the present application.
  • Figure 1 is a schematic diagram of the application scenario provided by this application, as shown in Figure 1, this application is applied in the scenario of Message Queuing Telemetry Transport (MQTT for short), as shown in Figure 1 MQTT communication
  • the system specifically includes: a first device, a server and at least one second device, wherein the first device can perform MQTT communication with the at least one second device through the server.
  • Fig. 2 is a schematic diagram of an MQTT communication method.
  • the communication method shown in Fig. 2 can be applied to the MQTT communication system shown in Fig. 1.
  • the P1 part of the communication method in order to carry out MQTT communication, it is first necessary to carry out equipment To connect with the server, establish an MQTT connection between the first device and the server through S11, and establish an MQTT connection between the second device and the server through S12. After the P1 part, MQTT communication can be performed between the first device and the second device through the server.
  • the user needs to establish an MQTT communication connection with the server through S12 through After the first device such as the mobile phone carried by the user establishes an MQTT communication connection with the server.
  • the user can use the MQTT communication between the first device and the second device in the home, so as to realize the smart home function that the user obtains the dynamics in the home and controls the devices in the home.
  • the device sending MQTT data may be called a "publisher”, and the device receiving MQTT data may be called a "subscriber".
  • the first device can serve as a publisher and send the first MQTT data to the server in S21, so that the server sends the first MQTT data to at least one second device as a subscriber in S22 .
  • the first device can act as a subscriber.
  • the MQTT service sends the second MQTT data to the first device in S32 .
  • the device before the device performs MQTT communication, it needs to perform MQTT connection according to the usage of the user, especially when the first device is a device such as a mobile phone carried by the user, often Due to signal coverage, application settings in the mobile phone, etc., the connection to the server is disconnected, so that the user needs to manually connect every time MQTT communication is required, resulting in insufficient intelligence of the device when performing MQTT communication, and due to user
  • the steps required to manually make an MQTT connection are cumbersome, time-consuming, and inefficient, which in turn reduces the communication efficiency for MQTT communication between devices.
  • the present application provides an MQTT communication method, device, electronic equipment, and storage medium to solve the technical problem of insufficient intelligence of the equipment during MQTT communication, to reduce the number of MQTT connections manually performed by the user, and to improve the efficiency of the equipment when performing MQTT communication.
  • the degree of intelligence improves the communication efficiency of MQTT communication between devices.
  • FIG. 3 is a schematic flow diagram of an embodiment of the MQTT communication method provided by the present application.
  • the MQTT communication method shown in FIG. 3 can be applied to the MQTT communication system shown in FIG. 1 , specifically, including:
  • the first device determines its geographic location.
  • the first device may specifically determine its geographic location by means of an AutoNavi Fused Location Provider (FLP for short).
  • FLP AutoNavi Fused Location Provider
  • the first device with integrated positioning service function integrates multiple positioning methods including Global Positioning System (Global Positioning System, GPS) positioning, base station positioning, Wi-Fi positioning, Bluetooth positioning and sensor positioning at its system layer. Therefore, the geographic location of the first device is jointly determined through the fusion of multiple positioning results, which can realize indoor and outdoor integration and precise positioning under different motion states.
  • the determined geographic location may be identified by latitude and longitude coordinates, etc., and different geographic locations have different latitude and longitude coordinates.
  • S102 When the geographic location determined in S101 satisfies the first preset condition, and the current first device does not establish a connection with the server, the first device establishes an MQTT connection relationship with the server.
  • This application does not limit the specific implementation of establishing an MQTT connection between the first device and the server.
  • the first device may send a connection establishment request to the server. After receiving the request, the server sends a connection establishment response to the first device. Establishment of MQTT connection, etc.
  • S103 Perform MQTT communication between the first device and the server through the MQTT connection established in S102.
  • the MQTT communication includes: the first device sends the first MQTT data to the server, so that the server sends the first MQTT data to at least one second device; or, the first device receives the second MQTT data sent by the server, and the second The MQTT data is sent by the second device, and after the first device establishes a connection with the server, the server sends the second MQTT data to the first device.
  • the first preset condition includes: the distance between the geographic location and the first preset location is smaller than a first threshold.
  • the first preset location may be the location of his home specified by the user in advance, and the first threshold may be 10 meters, 50 meters, 100 meters, etc., when the distance between the geographic location and the first preset location is less than the first threshold , indicating that the user brings the first device close to the first preset location, and may connect to the server and perform MQTT communication.
  • the first device "automatically" establishes an MQTT connection relationship with the server without any operation by the user, and can then use the established MQTT connection relationship to perform MQTT communication.
  • the first device when the user is carrying the first device on the way home, when the first device determines that the distance between its geographic location and the first preset location in the home is less than the first threshold through FLP, the first device establishes an MQTT connection relationship between servers. Subsequently, the first device may send the control command to the second device stored by the user in advance as the first MQTT data to the server, so that the server sends the first MQTT data to the corresponding second device, so that the second device receives the first After the MQTT data, execute the control command stored in the first device in advance by the user.
  • the control command may be a command to turn on smart devices such as air conditioners and purifiers, a mode adjustment command, and the like.
  • the first device can also receive the second MQTT data sent by the server from the second device.
  • the second MQTT data can be the data collected by the second device such as the temperature and humidity sensor and camera in the user's home, so that the first device can send The user presents a real-time scene at home. Therefore, before the user returns home, and without the user operating the first device to establish an MQTT connection, the first device has automatically established a connection with the server and performed MQTT communication.
  • the relationship between the smart bracelet supervisor and the server The MQTT connection relationship between them.
  • the smart bracelet can send the detected patient's human body data such as heartbeat, blood pressure, temperature, etc. to the server as the first MQTT data, so that the server sends these human body data to the hospital database as the second device, so that the patient No further baseline measurements are required upon arrival at the hospital.
  • the smart bracelet can also receive the second MQTT data sent by the hospital database through the server, the second MQTT data can include the basic information of the hospital, medical information, flow information, etc.
  • the interaction between the smart bracelet and the hospital database based on MQTT communication for patient information and hospital information is realized.
  • the first device is the patient's smart bracelet
  • the smart bracelet detects that it is on the ambulance, regardless of whether the geographical location meets the first preset condition, it will automatically establish an MQTT connection and perform MQTT Communication, realize the interaction of patient information and hospital information between the smart bracelet and the hospital database in advance.
  • the first preset condition includes: the distance between the geographic location and the second preset location is greater than a second threshold.
  • the second preset location may be the location of his home specified by the user in advance, and the second threshold may be 10 kilometers, 20 kilometers, etc.
  • the first device can actively connect to the server and perform MQTT communication, and send the geographic location of the first device to the second device at home through MQTT communication, so that The family was able to confirm its location.
  • the first device may also "automatically" establish an MQTT connection relationship with the server without any operation by the user, and then use the established MQTT connection relationship to perform MQTT communication.
  • the first device disconnects the MQTT communication connection with the server.
  • the second preset condition may be that the distance between the geographic location and the fourth preset location is greater than a fourth threshold, for example, the fourth preset location may be the location of the user's home specified in advance, and the fourth threshold may be 10 meters, 50 meters, etc.
  • the first device takes the temperature control module at home as an example.
  • the first device When it is placed at home and the distance from the fourth preset position is less than the fourth threshold, the first device maintains the MQTT communication connection with the server; when it is moved away from home, it cannot continue In normal use, when the geographical position detected by the first device and the fourth preset position are greater than the fourth threshold, the first device actively disconnects the MQTT communication connection to reduce the invalid MQTT communication connection and data of the first device. Interactive, save power consumption.
  • MQTT communication performed by the first device in the above example is only an example, and this application does not limit the MQTT-related operations performed after the first device establishes an MQTT connection with the server.
  • MQTT-related operations such as publishing, subscribing, and unsubscribing in MQTT communication may also be included.
  • the first device detects that its geographic location meets the first preset condition, it establishes an MQTT connection with the server; thus, MQTT communication can be performed through the MQTT connection; and After the geographic location satisfies the second preset condition, disconnect the MQTT connection with the server.
  • the user of the first device can automatically establish an MQTT connection and perform MQTT communication, or disconnect the MQTT connection more intelligently without manual operation and settings, thereby reducing the need for the user of the first device to perform MQTT
  • the operations required for communication and the time consumed during operation improve the intelligence of the device when performing MQTT communication, thereby improving the communication efficiency during MQTT communication between devices, and also improving the user experience of devices performing MQTT communication.
  • the specific communication method when establishing an MQTT connection between the first device and the server is not limited. Establish an MQTT connection.
  • the GPRS network may specifically be a 4G network, a 5G network, and the like.
  • the first device may also establish an MQTT connection with the server through a wireless fidelity (Wireless Fidelity, Wi-Fi for short) network.
  • wireless fidelity Wireless Fidelity, Wi-Fi for short
  • the first device when the first device establishes an MQTT connection with the server through the Wi-Fi network, before establishing the MQTT connection, if the Wi-Fi service of the first device is not enabled, the first device may first enable the Wi-Fi service .
  • the user when the first device establishes an MQTT connection with the server through the Wi-Fi network, the user can connect the first device to the Wi-Fi access point (Access Point, referred to as: AP) used by the Wi-Fi network It is configured so that the storage unit of the first device stores AP information near different geographic locations in advance. Then when the distance between the geographic location of the first device and the stored geographic location is smaller than the first threshold, the first device can directly determine the AP information corresponding to the geographic location from the storage unit, and according to the Wi-Fi network provided by the AP and the The server establishes an MQTT connection.
  • AP Wi-Fi access Point
  • the storage unit of the first device can store multiple geographic locations and the AP information corresponding to each geographic location information, so that the first device can establish APs based on AP information in different geographic locations through pre-configured APs.
  • MQTT connection so as to further improve the intelligence and automation of the first device to establish the MQTT connection, and further improve the communication efficiency of the device when performing MQTT communication.
  • the first device provided in the embodiment of the present application can not only connect and disconnect the MQTT connection according to the geographical location, but also switch between the publisher mode and the subscriber mode according to the geographical location, so as to realize a more flexible MQTT communication. For example, when the first device determines that the distance between its geographic location and the third preset location is less than the third threshold, it will perform MQTT communication in publisher mode and actively send the first MQTT data to the server; when the first device determines that its geographic location If the distance between the location and the third preset location is greater than the third threshold, the MQTT communication is performed in the subscriber mode, and the second MQTT data sent by the server from the second device is received.
  • the first device when the first device is in the venue and the distance from the third preset position in the venue is less than the third threshold, the first device sends a message to the venue in publisher mode.
  • the management server sends the information of the participants; when the first device leaves the venue and the distance from the third preset position in the venue is greater than the third threshold, the first device receives the conference information sent by the management server in the venue in subscriber mode .
  • the first device can automatically establish an MQTT connection and perform MQTT communication according to the geographic location, while in other embodiments, after the server establishes the MQTT connection, the first device can also use ringing, vibration Send a prompt message in the form of other forms, prompting the user that the MQTT connection has been established. Subsequently, after receiving the user's instruction information, the first device performs corresponding MQTT communication according to the user's instruction information, thereby improving the controllability of MQTT communication, and performing MQTT communication strictly according to the user's instruction.
  • the first device can obtain its geographic location in the form of FLP, when the geographic location obtained by the first device within the preset time period, the location of the first device within the preset time period can be obtained. Therefore, the first device can determine the MQTT data to be sent to the server according to the current moving speed, and finally send the MQTT data corresponding to the moving speed to the server. That is, the MQTT data is related to the moving speed of the first device.
  • the second A device can send a mid-range mode control command to the home air purifier through MQTT communication; and when the user takes the first device home by car, the first device determines the distance from the first preset location in the home according to the geographic location.
  • the first device can send a high-end mode control command to the home air purifier through MQTT communication, so as to complete the air purification faster.
  • the first device performs different MQTT communications according to the moving speed of the first device, such as sending different MQTT data, which further enriches the application scenarios of this embodiment and the second
  • the functions of a device and further reduce the settings that users need to make, replace the user's selection of MQTT data, improve the intelligence of the device when performing MQTT communication, thereby improving the communication efficiency of MQTT communication between devices, and also Improved user experience for devices communicating with MQTT.
  • the MQTT communication method provided by the embodiment of the present application is introduced, and in order to realize the functions of the MQTT communication method provided by the above-mentioned embodiment of the present application, the first device as the execution subject may include a hardware structure and and/or software modules, which implement the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether one of the above-mentioned functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
  • FIG. 4 is a schematic diagram of an embodiment of an MQTT communication device provided in this application.
  • the MQTT communication device 100 shown in FIG. 4 includes: a processing module 1001 and a communication module 1002 .
  • the processing module 1001 is used to determine the geographic location, and when the geographic location satisfies the first preset condition, establish an MQTT connection with the server through the communication module 1002, and perform MQTT communication through the MQTT connection.
  • the processing module 1001 is used to determine the geographic location, and when the geographic location satisfies the first preset condition, establish an MQTT connection with the server through the communication module 1002, and perform MQTT communication through the MQTT connection.
  • each module of the above device is only a division of logical functions, and may be fully or partially integrated into one physical entity or physically separated during actual implementation.
  • these modules can all be implemented in the form of calling software through processing elements; they can also be implemented in the form of hardware; some modules can also be implemented in the form of calling software through processing elements, and some modules can be implemented in the form of hardware. It may be a separately established processing element, or it may be integrated into a certain chip of the above-mentioned device. In addition, it may also be stored in the memory of the above-mentioned device in the form of program code, which is called and executed by a certain processing element of the above-mentioned device. Determine the functionality of the module.
  • each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
  • the above modules may be one or more integrated circuits configured to implement the above method, for example: one or more specific integrated circuits (application specific integrated circuit, ASIC), or, one or more microprocessors (digital signal processor, DSP), or, one or more field programmable gate arrays (field programmable gate array, FPGA), etc.
  • ASIC application specific integrated circuit
  • DSP digital signal processor
  • FPGA field programmable gate array
  • the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes.
  • these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)), etc.
  • FIG. 5 is a schematic structural diagram of an embodiment of an electronic device provided by the present application.
  • the present application also provides an electronic device 200, including: a processor 2001 and a memory 2002; wherein, a computer program is stored in the memory 2002.
  • the processor 2001 executes As a computer program, the processor 2001 may be used to execute the MQTT communication method in any one of the foregoing embodiments of the present application.
  • the processor 2001 can establish an MQTT connection, perform MQTT communication, etc. through the communication interface 2003.
  • the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed, it can be used to execute the MQTT communication method in any one of the foregoing embodiments of the present application.
  • the embodiment of the present application also provides a chip for running instructions, and the chip is used to implement the MQTT communication method according to any one of the foregoing embodiments of the present application.
  • the aforementioned program can be stored in a computer-readable storage medium.
  • the program executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Des modes de réalisation de la présente demande concernent un procédé et un appareil de communication MQTT, un dispositif électronique, et un support d'enregistrement. Lors de la détection selon laquelle une position géographique d'un premier dispositif satisfait à une première condition prédéfinie, le premier dispositif établit une connexion MQTT avec un serveur, de telle sorte que le premier dispositif peut réaliser une communication MQTT au moyen de la connexion MQTT. Selon les modes de réalisation de la présente demande, des opérations requises pour réaliser une communication MQTT par un utilisateur du premier dispositif et le temps consommé par les opérations sont réduits, ce qui permet d'améliorer le niveau d'intelligence du dispositif lors d'une communication MQTT.
PCT/CN2022/139551 2021-12-23 2022-12-16 Procédé et appareil de communication mqtt, dispositif électronique, et support d'enregistrement WO2023116564A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111589302.3 2021-12-23
CN202111589302.3A CN114339469B (zh) 2021-12-23 2021-12-23 Mqtt通信方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2023116564A1 true WO2023116564A1 (fr) 2023-06-29

Family

ID=81055356

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/139551 WO2023116564A1 (fr) 2021-12-23 2022-12-16 Procédé et appareil de communication mqtt, dispositif électronique, et support d'enregistrement

Country Status (2)

Country Link
CN (1) CN114339469B (fr)
WO (1) WO2023116564A1 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339469B (zh) * 2021-12-23 2024-07-09 锐迪科创微电子(北京)有限公司 Mqtt通信方法、装置、电子设备及存储介质
CN115580700A (zh) * 2022-09-15 2023-01-06 海南视联通信技术有限公司 终端退会方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108173860A (zh) * 2017-12-29 2018-06-15 深圳市泛海三江科技发展有限公司 一种低端受限设备的mqtt连接方法、系统、终端及服务器
CN109040326A (zh) * 2018-11-02 2018-12-18 北京京东金融科技控股有限公司 推送消息的方法和装置
US20210248905A1 (en) * 2020-02-12 2021-08-12 Global Traffic Technologies, Llc Location-based message distribution
CN113246117A (zh) * 2020-02-11 2021-08-13 株式会社日立制作所 一种机器人的控制方法、设备及楼宇管理系统
CN114339469A (zh) * 2021-12-23 2022-04-12 锐迪科创微电子(北京)有限公司 Mqtt通信方法、装置、电子设备及存储介质
CN114501378A (zh) * 2022-03-06 2022-05-13 南京理工大学 一种基于车路协同的特殊环境应急通信方法及系统

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316399A (zh) * 2007-05-31 2008-12-03 华为技术有限公司 一种通信终端外观的更新方法、系统及其装置
CN102956052A (zh) * 2012-08-14 2013-03-06 姚利龙 一种基于移动智能终端的排队叫号方法及系统
CN105208029B (zh) * 2015-09-30 2018-01-16 北京奇虎科技有限公司 一种数据处理方法及终端设备
CN105553796A (zh) * 2015-12-31 2016-05-04 杭州智蚁科技有限公司 一种基于手机定位的智能家居控制方法及系统
US20180189303A1 (en) * 2016-12-29 2018-07-05 Ca, Inc. Publisher-subscriber system with publisher based taxonomy for multi-data source publisher
CN110278221A (zh) * 2018-03-15 2019-09-24 蔚来汽车有限公司 远程控制车辆的方法
CN108683573A (zh) * 2018-03-27 2018-10-19 青岛海尔科技有限公司 一种安全建立远程控制的方法及装置
CN108965319A (zh) * 2018-08-03 2018-12-07 珠海格力电器股份有限公司 设备控制方法、系统和存储介质
CN109215304A (zh) * 2018-10-28 2019-01-15 全家慧 重要物品防丢失系统及防丢失方法
CN109712375B (zh) * 2018-12-29 2021-06-15 杭州平普智能科技有限公司 一种用于特定人员的监控管理方法及装置
CN110139220A (zh) * 2019-05-06 2019-08-16 江南大学 一种基于NB-IoT的防丢追踪系统
CN112229037B (zh) * 2019-06-30 2022-09-09 广东美的制冷设备有限公司 空调器的控制方法、终端、空调器和存储介质
WO2021245693A1 (fr) * 2020-05-30 2021-12-09 Sensegiz Technologies Pvt. Ltd. Procédés et systèmes de suivi de personnes à des fins d'obligation de respect de distanciation sociale et de traçage d'historique de contacts
CN111880551A (zh) * 2020-07-21 2020-11-03 中通服软件科技有限公司 一种无人机信号传输方法、系统、设备及存储介质
CN111866161A (zh) * 2020-07-28 2020-10-30 中国联合网络通信集团有限公司 信息订阅发布方法及装置、服务器、系统、设备、介质
CN112383960A (zh) * 2021-01-15 2021-02-19 南京安全无忧网络科技有限公司 一种二三维一体化的厂区人员定位系统
CN113347074B (zh) * 2021-04-09 2023-05-12 成都中科创达软件有限公司 一种主题确定方法、相关方法、装置和系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108173860A (zh) * 2017-12-29 2018-06-15 深圳市泛海三江科技发展有限公司 一种低端受限设备的mqtt连接方法、系统、终端及服务器
CN109040326A (zh) * 2018-11-02 2018-12-18 北京京东金融科技控股有限公司 推送消息的方法和装置
CN113246117A (zh) * 2020-02-11 2021-08-13 株式会社日立制作所 一种机器人的控制方法、设备及楼宇管理系统
US20210248905A1 (en) * 2020-02-12 2021-08-12 Global Traffic Technologies, Llc Location-based message distribution
CN114339469A (zh) * 2021-12-23 2022-04-12 锐迪科创微电子(北京)有限公司 Mqtt通信方法、装置、电子设备及存储介质
CN114501378A (zh) * 2022-03-06 2022-05-13 南京理工大学 一种基于车路协同的特殊环境应急通信方法及系统

Also Published As

Publication number Publication date
CN114339469A (zh) 2022-04-12
CN114339469B (zh) 2024-07-09

Similar Documents

Publication Publication Date Title
WO2023116564A1 (fr) Procédé et appareil de communication mqtt, dispositif électronique, et support d'enregistrement
EP3735785B1 (fr) Services de diffusions groupée et générale dans des réseaux 5g pour des applications iot
CN107409269A (zh) 确定对移动客户端和代理设备之间的代理流量的路由
CN109792684A (zh) 使ue保持唤醒
KR101945779B1 (ko) 웨이크 온 무선랜을 운용하는 방법 및 장치
EP3100471A1 (fr) Gestion de la connectivité d'une couche de service sensible au contexte et à la proximité
WO2015161442A1 (fr) Procédé, dispositif et système de détection de communication de dispositif à dispositif (d2d)
JP2006518162A5 (fr)
EP3068150B1 (fr) Procédé et dispositif pour commander un dispositif
CN110351828A (zh) 一种定位方法及装置
CN107258092A (zh) 用于移动客户端设备的发现和数据传输的云支持
WO2018233510A1 (fr) Procédé et appareil de communication
CN108270745B (zh) 一种业务定制信息的推送方法、终端及主控蓝牙设备
TW201921961A (zh) 增強的網路輔助服務
JP4842968B2 (ja) 配信ネットワークへのマルチメディアコンテンツフローの生成およびトランスポートのための方法および装置
WO2022105711A1 (fr) Procédé d'enregistrement ims, dispositif terminal et support de stockage
WO2019238050A1 (fr) Procédé et appareil de communication
KR20170050552A (ko) 그룹 통신을 위한 방법 및 장치
EP4050964A1 (fr) Procédé et appareil permettant de modifier une session de pdu et une session de pdu permanente dans un système de communication sans fil
JP2012507227A (ja) 通信装置及びサーバ並びにこれらのための方法及びコンピュータプログラム
JP7513688B2 (ja) 配信サーバ、配信サーバの制御方法、及び配信サーバの制御プログラム
WO2024036453A1 (fr) Procédé d'apprentissage fédéré et dispositif associé
WO2024021853A1 (fr) Procédé de communication et appareil de communication
EP4358589A1 (fr) Appareil électronique, circuit de commande et procédé de commande de transmission
WO2024109221A1 (fr) Procédé et appareil de mise en correspondance de tranches de réseau

Legal Events

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

Ref document number: 22909878

Country of ref document: EP

Kind code of ref document: A1