Internet of Things communication method, system and device, and storage medium
By establishing streaming media links and mobile communication links in IoT cloud video devices, the problem that terminal devices find it difficult to perceive important information in real time is solved, and real-time audio or video communication between IoT cloud devices and terminal devices is realized.
Patent Information
- Application Number
- CN202411732072.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-04-11
AI Technical Summary
In the environment of information explosion, important information is easily ignored or delayed processing, making it difficult for terminal devices to perceive and respond to event messages in real time and conveniently.
Through the cloud platform, a connection between the streaming media link and the IoT cloud device is established, and a mobile communication link is established based on the operator network to communicate with the terminal device in two-way direction to realize audio or video communication.
Direct audio or video communication between the IoT cloud device and the terminal device is realized. The terminal device can sense event messages in real time without installing application software, ensuring real-time interactive communication between the IoT cloud device and the terminal device.
Smart Images

Figure CN119814740A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an Internet of Things communication method, system, device and storage medium. Background Art
[0002] At present, the application of IoT technology has penetrated into every corner of homes and enterprises, especially in the field of security. IoT cloud video devices have become particularly important due to their intelligent analysis, early warning, on-site data collection and data storage capabilities. These devices can not only provide real-time monitoring, but also issue alarms when abnormal conditions are detected, which plays an irreplaceable role in protecting the safety of life and property.
[0003] However, although IoT cloud video devices currently have intelligent functions, in today's information explosion, users' terminal devices receive a large number of message notifications and reminders every day, making it easy for important information from IoT cloud devices to be ignored or delayed. Therefore, it is particularly important to enable terminal devices to perceive important information in real time and conveniently, and to achieve efficient contact and real-time interactive communication between IoT cloud devices and terminal devices. Summary of the invention
[0004] In order to solve the above technical problems, the technical solution adopted in this application is: to provide an Internet of Things communication method, system, device and storage medium, so as to enable terminal devices to perceive important information in real time and conveniently, and to achieve efficient reach and real-time interactive communication between Internet of Things cloud devices and terminal devices.
[0005] According to an embodiment of the present invention, there is provided an Internet of Things communication method, which is applied to an Internet of Things system, wherein the Internet of Things system includes a cloud platform and an Internet of Things cloud device, and the method includes:
[0006] The cloud platform establishes a streaming media link with the IoT cloud device in response to the event message reported by the IoT cloud device, and establishes a mobile communication link with the terminal device based on the operator network;
[0007] Message forwarding is performed between the IoT cloud device and the terminal device in a bidirectional communication link formed by the streaming media link and the mobile communication link to achieve audio or video communication between the IoT cloud device and the terminal device.
[0008] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide an electronic device, including a memory and a processor, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, it is used to implement the Internet of Things communication method in the above technical solution.
[0009] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide a computer-readable storage medium, which is used to store a computer program, and when the computer program is executed by a processor, it is used to implement the Internet of Things communication method in the above technical solution.
[0010] Through the above scheme, the beneficial effect of the present application is: the IoT communication method provided by the present application responds to the event message reported by the IoT cloud device through the cloud platform in the IoT system, establishes a streaming media link with the IoT cloud device, and establishes a mobile communication link with the terminal device based on the operator network, and forwards messages between the IoT cloud device and the terminal device in the two-way communication link formed by the streaming media link and the mobile communication link to realize audio or video communication between the IoT cloud device and the terminal device; in this way, the present application can directly establish audio or video communication between the IoT cloud device and the terminal device, and then the terminal device can perceive the event message in real time and conveniently without installing application software, and finally realize real-time interactive communication between the IoT cloud device and the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0012] Figure 1 It is a flowchart of an embodiment of an Internet of Things communication method provided by the present application;
[0013] Figure 2 It is a flowchart of another embodiment of the Internet of Things communication method provided by the present application;
[0014] Figure 3 It is a flowchart of a trigger event message and mobile call mechanism provided by the present application;
[0015] Figure 4 It is a flow chart of a real-time visual mechanism for mobile communication provided by the present application;
[0016] Figure 5 This is a flow chart of a mechanism for a mobile terminal to remotely control an IoT cloud device provided by the present application;
[0017] Figure 6 It is a structural diagram of an Internet of Things communication system provided by this application;
[0018] Figure 7 It is a structural schematic diagram of an embodiment of an electronic device provided by the present application;
[0019] Figure 8 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present application. DETAILED DESCRIPTION
[0020] The present application is further described in detail below in conjunction with the accompanying drawings and examples. It is particularly noted that the following examples are only used to illustrate the present application, but are not intended to limit the scope of the present application. Similarly, the following examples are only some embodiments of the present application rather than all embodiments, and all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0021] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0022] It should be noted that the terms "first", "second", etc. in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second", etc. can explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0023] With the rapid development of IoT technology, more and more devices are connected to the Internet, forming a huge network system. Through these devices, data is collected and exchanged, providing users with convenient and intelligent services. The data generated by IoT devices also needs to be transmitted to users in real time so that users can respond in time.
[0024] In the existing technology, many IoT devices rely on network push or in-application notifications to send event messages such as alarms. However, in modern life, since everyone receives a large number of message notifications and reminders every day, this may cause event messages such as alarms to be delayed or lost when the network is unstable or the user fails to check the application in time, making it impossible to quickly respond to the occurrence of key events.
[0025] The present application provides an Internet of Things communication method, which establishes a streaming media link with the Internet of Things cloud device in response to an event message reported by the Internet of Things cloud device through a cloud platform, and establishes a mobile communication link with the terminal device based on the operator network, and forwards messages between the Internet of Things cloud device and the terminal device in a two-way communication link formed by the streaming media link and the mobile communication link to realize audio or video communication between the Internet of Things cloud device and the terminal device; in this way, the present application can directly establish audio or video communication between the Internet of Things cloud device and the terminal device, perceive event messages in real time and conveniently without installing application software, and finally realize real-time interactive communication between the Internet of Things cloud device and the terminal device.
[0026] See also Figure 1 , Figure 1 1 is a flow chart of an embodiment of the Internet of Things communication method provided by the present application. It should be noted that if there are substantially the same results, this embodiment does not take Figure 1 The process sequence shown is limited. Figure 1 As shown, this embodiment includes:
[0027] S110: The cloud platform establishes a streaming media link with the IoT cloud device in response to the event message reported by the IoT cloud device, and establishes a mobile communication link with the terminal device based on the operator network.
[0028] In the IoT system, the cloud platform and IoT cloud devices are two core components that work together to achieve data collection, processing, storage and analysis, as well as remote control and management of devices. The cloud platform processes large amounts of data from IoT cloud devices and provides various services and functions. IoT cloud devices interact directly with the physical world, collect data and execute commands.
[0029] When an IoT cloud device detects a specific event, such as motion detection or abnormal temperature, it reports the detected specific event to the cloud platform as a message. The specific event can be a preset alarm condition or a real-time update of the device status.
[0030] The cloud platform establishes a streaming media link with the IoT cloud device in response to the event message reported by the IoT cloud device. In one embodiment, after the cloud platform receives the event message reported by the IoT cloud device, it establishes a streaming media link with the IoT cloud device according to the type and importance of the event message. The streaming media link is used to transmit audio, video or other multimedia data to achieve real-time monitoring and two-way communication. Through the streaming media link, the cloud platform can not only receive audio streams or video streams from the IoT cloud device, but also send control instructions or feedback information to the IoT cloud device.
[0031] In one embodiment, the cloud platform includes at least a streaming server and a transcoding server. The streaming media link includes a streaming link between the streaming server and the IoT cloud device, and an audio and video transcoding link between the streaming server and the transcoding server. The audio and video transcoding link is used to convert the audio and video data obtained by the streaming link into data that meets the operator's network requirements.
[0032] Among them, the streaming server is responsible for receiving the original audio and video data from the IoT cloud device, managing the streaming link with the IoT cloud device, ensuring the real-time transmission of data, and can also store and manage the audio and video data for further processing or distribution. The transcoding server receives the original audio and video data from the streaming server and converts the original audio and video data into a format suitable for playback in different network environments and terminal devices. The streaming link and the audio and video transcoding link together constitute the streaming media link between the cloud platform and the IoT cloud device, which is used to pull real-time audio and video streams from the IoT cloud device and convert the pulled real-time audio and video streams into data that meets the needs of the operator's mobile network.
[0033] In addition, the cloud platform responds to the event message reported by the IoT cloud device and establishes a mobile communication link with the terminal device based on the operator network. In one embodiment, the cloud platform accesses the operator's backbone network through a predetermined communication protocol, and then establishes a connection with the user's terminal device through the operator's mobile communication network, where the terminal device includes but is not limited to a smartphone and a tablet computer. The mobile communication link established between the cloud platform and the terminal device can be real-time or based on a connection triggered by an event message.
[0034] When the cloud platform receives an event message sent by an IoT cloud device, it forwards the event message to the terminal device through a mobile communication link. It can also receive a user's control command for the IoT cloud device and forward the control command back to the IoT cloud device. When the cloud platform sends an event message to a terminal device or receives a user command, the communication method through the mobile communication link may include SMS, phone calls, data push, and other forms.
[0035] S120: forwarding messages between the IoT cloud device and the terminal device in a bidirectional communication link formed by a streaming media link and a mobile communication link, so as to realize audio or video communication between the IoT cloud device and the terminal device.
[0036] After the cloud platform establishes a streaming link with the IoT cloud device and a mobile communication link with the terminal device, a two-way communication link is formed between the IoT cloud device and the terminal device. Messages are forwarded through the two-way communication link to ensure real-time audio or video communication between the IoT cloud device and the terminal device to meet the needs of emergency response and real-time monitoring.
[0037] In one embodiment, a streaming link is started to obtain audio and video data of the IoT cloud device streamed by the streaming server. The transcoding server converts the audio and video data of the IoT cloud device into data that meets the needs of the operator network to obtain first converted data; the first converted data is sent to the terminal device through a mobile communication link. The audio and video data of the terminal device is obtained through the mobile communication link, and the audio and video data of the terminal device is converted to obtain second converted data; the second converted data is pushed to the IoT cloud device to realize audio or video communication between the IoT cloud device and the terminal device.
[0038] In one example, the streaming server in the cloud platform actively establishes a connection with the IoT cloud device, starts the streaming process of the streaming link, and the streaming server obtains the audio and video data stream from the IoT cloud device and transmits it to the transcoding server. The transcoding server receives the original audio and video data obtained by the streaming server, and performs transcoding processing according to the requirements of the operator network to obtain the first conversion data. The first conversion data meets the type and encapsulation format required by the operator network, so that the cloud platform can send the first conversion data to the terminal device through the mobile communication link. When the terminal device receives the first conversion data sent by the cloud platform, it decodes and plays the audio and video data according to actual needs, so that the user can view the audio and video content transmitted by the IoT cloud device in real time.
[0039] At the same time, after the terminal device establishes a connection with the cloud platform through a mobile communication link, it sends audio and video data to the cloud platform. After receiving the audio and video data, the cloud platform transcodes the audio and video data of the terminal device through a transcoding server to generate second conversion data. The second conversion data can ensure that the IoT cloud device receives and processes the audio and video data or other types of data transmitted by the terminal device. Through the above embodiments, real-time interactive communication between the IoT cloud device and the terminal device can be achieved.
[0040] In one embodiment, after the first conversion data is obtained for the first time, the terminal device is called through the operator network to establish a mobile communication link with the terminal device based on the operator network. Exemplarily, after the transcoding server of the cloud platform completes the transcoding processing of the audio and video data of the IoT cloud device to obtain the first conversion data, the cloud platform accesses the operator's mobile network through the interface with the operator network using a specific communication protocol. The cloud platform sends a call request to the operator network, requesting to call the specified terminal device through the mobile network. When the operator network receives the call request from the cloud platform, it sends a call signal to the terminal device through the mobile communication network. After the terminal device receives the call signal, the user can choose to answer the call, thereby establishing a mobile communication link. Once the mobile communication link is established, the cloud platform can send the first conversion data to the terminal device through this link, and the terminal device receives and plays the audio and video data in real time, thereby realizing real-time communication with the IoT cloud device.
[0041] In one embodiment, the cloud platform further includes an operator docking server, which is responsible for the interface and communication with the operator network, performs the operation of calling the terminal device, and manages the mobile communication link between the terminal device. In response to the terminal device answering the call of the operator docking server, the operator docking server sequentially executes the steps of sending the first conversion data to the terminal device through the mobile communication link, obtaining the audio and video data of the terminal device through the mobile communication link, converting the audio and video data of the terminal device to obtain the second conversion data, and pushing the second conversion data to the IoT cloud device, so as to realize the audio or video communication between the IoT cloud device and the terminal device.
[0042] In one embodiment, the cloud platform further includes a message server. The message server responds to the event message reported by the IoT cloud device and determines whether the event message reported by the IoT cloud device meets the reporting conditions, that is, whether it meets the preset conditions, wherein the preset conditions include the type of message, the degree of urgency, and the credibility of the source of the message. If the event message meets the reporting conditions, it further determines whether the IoT cloud device has the ability to trigger mobile communication. If the IoT cloud device does not have the ability to trigger mobile communication, the message server will end the event process and may adopt other notification methods or wait for the device to restore the communication capability; if the IoT cloud device has the ability to trigger mobile communication, the message server will execute the next step of calling the terminal device through the operator network. Once the terminal device responds to the call, a mobile communication link with the terminal device can be established based on the operator network to achieve audio or video communication between the IoT cloud device and the terminal device.
[0043] In one embodiment, the terminal device edits and sends a signaling through the dial pad of the terminal device based on the event message reported by the IoT cloud device, and sends the signaling to the IoT cloud device through a two-way communication link composed of a streaming link and a mobile communication link, so that the terminal device controls the IoT cloud device. Exemplarily, the user views the event message reported by the IoT cloud device received by the terminal device and decides whether it is necessary to control the IoT cloud device. Since the cloud platform establishes a connection with the terminal device through a mobile communication link, that is, the user may answer the call in the form of a phone or video call, the user can edit and send a signaling through the dial pad or other corresponding control interface of the terminal device, and the signaling includes control commands such as adjusting parameters, starting / stopping equipment, or changing working modes. The terminal device sends a signaling to the IoT cloud device through a two-way communication link composed of a mobile communication link and a streaming link, so that the IoT cloud device adjusts its own working state or performs a specific task according to the signaling.
[0044] See also Figure 2 , Figure 2is a flow chart of another embodiment of the IoT communication method provided by the present application. It should be noted that if there are substantially the same results, this embodiment is not used. Figure 2 This embodiment takes the example of an IoT cloud device triggering an event message and performing real-time visual intercom and device control with a mobile terminal. This implementation includes:
[0045] S201: IoT cloud device triggers event message and mobile call.
[0046] See also Figure 3 , Figure 3 It is a flow chart of a trigger event message and mobile call mechanism provided by the present application.
[0047] When the IoT cloud device detects a specific event, it generates a corresponding event message, which includes but is not limited to dynamic detection, abnormal behavior recognition or temperature warning, etc. The IoT cloud device encapsulates the event information into a message and sends it to the cloud platform via the Internet.
[0048] After receiving the event message from the IoT cloud device, the message server checks whether the message meets the reporting conditions according to the preset rules (such as event type, severity, device status, etc.): if the preset conditions are not met, the process ends; if the preset conditions are met, the process continues.
[0049] The message server checks whether the IoT cloud device that reports the event message has the ability to trigger by mobile communication, such as the device network connection status, user settings, etc. If the IoT cloud device does not have the ability to trigger by mobile communication, the process ends; if the IoT cloud device has the ability to trigger by mobile communication, the process continues.
[0050] The message server initiates a mobile call to a preset mobile terminal through the operator docking server. The operator network is responsible for sending the call signal to the mobile terminal and waiting for the user to answer. For example, the message server has the target mobile phone number of the mobile terminal and initiates a mobile phone contact process to the target mobile terminal through the operator docking server.
[0051] Once the call link with the terminal device is established, the video call process between the IoT cloud device and the mobile terminal begins. The streaming server starts to pull the real-time audio or video stream from the IoT cloud device, and the transcoding server transcodes the received audio or video stream to adapt to the transmission characteristics of the mobile network and the playback capabilities of the mobile terminal. The transcoded video stream is transmitted to the mobile terminal through the operator network. At the same time, the mobile terminal can send control signaling or feedback information to the IoT cloud video device through the mobile communication link to achieve two-way communication.
[0052] Users can make video calls with IoT cloud video devices on mobile terminals, view the event scene in real time, and interact as needed. Users can handle the event accordingly based on the information obtained in the video call, such as remotely controlling equipment, alarming, etc.
[0053] After the event is handled, the mobile terminal hangs up the call, ending the video call session. The cloud platform and the operator network release related resources and can prepare to handle subsequent events and communications.
[0054] S202: Real-time visual process of mobile communication.
[0055] See also Figure 4 , Figure 4 It is a flow chart of a real-time visual mechanism for mobile communications provided by this application, involving a streaming server, a transcoding server and an operator docking server of a cloud platform.
[0056] When the streaming server receives a mobile call event, it starts to establish a streaming link with the IoT cloud device. The streaming server pulls the real-time video stream from the IoT cloud device for preview, so as to provide the live picture before the call is established. At the same time, the streaming server is also ready to receive the audio stream from the IoT cloud device to support the two-way intercom function.
[0057] The transcoding server receives the original audio and video code streams from the streaming server, and converts the original audio and video code streams into a format and encapsulation suitable for transmission over the operator's network, such as adjusting the resolution, frame rate, and bit rate to adapt to different network conditions.
[0058] The operator docking server initiates a call to the mobile terminal through the operator network. After the mobile terminal answers the call, the operator docking server starts sending uplink audio and video streams and prepares to receive downlink audio and video streams.
[0059] The operator docking server sends the transcoded uplink audio and video code stream to the operator network and receives the downlink audio and video code stream from the mobile terminal. The downlink audio and video code stream is transmitted back from the operator network to the operator docking server and then passed to the transcoding server, which converts the downlink audio and video code stream into a format suitable for playback on IoT cloud devices.
[0060] The transcoded downlink audio and video stream is sent to the IoT cloud device, which receives and plays the audio and video stream from the mobile terminal and sends the uplink audio and video stream to the mobile terminal to establish a two-way mobile real-time visual session.
[0061] If the mobile terminal does not answer the call or hangs up the current two-way mobile real-time visual session, the current mobile real-time visual session is terminated.
[0062] S203: The mobile terminal remotely controls the IoT cloud device.
[0063] See also Figure 5 , Figure 5 This is a flow chart of a mobile terminal remotely controlling an IoT cloud device mechanism provided by the present application. When a user establishes a two-way mobile real-time visual session with an IoT cloud device through a mobile terminal, the user can choose to input control instructions through a dial pad or a dedicated application interface on the mobile terminal.
[0064] The input control command is encapsulated into signaling or data packets and sent to the cloud platform through the mobile network. The operator's docking server receives the command signaling from the mobile terminal and checks whether the IoT cloud device supports the corresponding command capability: if the IoT cloud device does not support the command, the server can send an error message or prompt to the user to end the command process; if the IoT cloud device supports the command, the process continues.
[0065] When the IoT cloud device supports the command, the operator's docking server will route the command to the specified IoT cloud device. After receiving the command, the IoT cloud device will perform corresponding operations according to the content of the command, such as adjusting parameters, changing status, starting or stopping services, etc.
[0066] After the IoT cloud device executes the instruction, it can also send feedback of the execution result to the cloud platform. The cloud platform updates the device status information based on the device's feedback so that the user can understand the latest status of the device, thereby enabling the user to visually control the IoT cloud device.
[0067] The technical solution of this application can solve the problem that users can still perceive event messages in real time and conveniently without installing application software on their mobile phones. By establishing a streaming media link between the cloud platform and the IoT cloud device, as well as a mobile communication link between the cloud platform and the terminal device, and performing encapsulation conversion of the upstream and downstream audio and video streams, and then connecting to the operator network, a two-way link is finally established with the terminal device to achieve a visual intercom function without application software. In addition, by editing and issuing the signaling of the dial pad of the terminal device, and converting and issuing it to the corresponding IoT cloud device through the cloud platform, the visual control function of the IoT cloud device is realized.
[0068] See also Figure 6 , Figure 6 It is a structural diagram of an Internet of Things communication system provided by this application, including an Internet of Things cloud device, a cloud platform and terminal devices, wherein the cloud platform also includes an event message server, a streaming server, a transcoding server and an operator docking server.
[0069] The IoT cloud device is used to access the cloud platform, report event messages to the cloud platform, establish a mobile communication link with the mobile terminal through a two-way communication link composed of a streaming media link and a mobile communication link, and receive and execute instructions issued by the mobile terminal;
[0070] The terminal device is connected to the operator network, is used to receive event messages and / or audio and video data, and sends control instructions to the IoT cloud device through a two-way communication link consisting of a streaming media link and a mobile communication link.
[0071] The cloud platform is used to receive event messages reported by IoT cloud devices, establish streaming media links with IoT cloud devices, and establish mobile communication links with terminal devices based on the operator network; forward messages between IoT cloud devices and terminal devices in the two-way communication link formed by the streaming media link and the mobile communication link to achieve audio or video communication between the IoT cloud devices and the terminal devices.
[0072] The cloud platform includes a message server, a streaming server, a transcoding server, and an operator docking server. The message server responds to the event message reported by the IoT cloud device, checks whether the event message reported by the IoT cloud device meets the preset conditions, and whether the IoT cloud device has the ability to trigger audio or video communication, and stores the target mobile terminal information such as mobile phone number, etc., to determine whether to call the terminal device through the operator network.
[0073] The streaming server is used for the streaming service of audio and video data of IoT cloud devices. After receiving the notification from the message server, it initiates the streaming to the IoT cloud devices and is responsible for pulling out the preview audio and video streams.
[0074] The transcoding server is used to convert the audio and video data obtained from the streaming link into data that meets the needs of the operator's network.
[0075] The operator docking server is responsible for docking with the operator network and realizing signaling forwarding and streaming media forwarding between the operator network. For example, it is used to call the terminal device through the operator network to realize audio or video communication between the IoT cloud device and the terminal device.
[0076] See also Figure 7 , Figure 7 It is a structural diagram of an embodiment of an electronic device provided in the present application. The electronic device 60 includes a memory 61 and a processor 62 connected to each other. The memory 61 is used to store a computer program. When the computer program is executed by the processor 62, it is used to implement the Internet of Things communication method in the above embodiment.
[0077] The above-mentioned method is an embodiment, which can exist in the form of a computer program. Therefore, the present application proposes a computer-readable storage medium. Figure 8 , Figure 8 It is a structural diagram of an embodiment of a computer-readable storage medium provided in the present application. The computer-readable storage medium 80 is used to store a computer program 81, which can be executed to implement the Internet of Things communication method in the above embodiment.
[0078] The computer-readable storage medium 80 may be a server, a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other media that can store program codes.
[0079] The above description is only an embodiment of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. An Internet of Things communication method, characterized in that: Applied to an Internet of Things system, the Internet of Things system includes a cloud platform and an Internet of Things cloud device, and the method includes: The cloud platform establishes a streaming media link with the IoT cloud device in response to the event message reported by the IoT cloud device, and establishes a mobile communication link with the terminal device based on the operator network; Message forwarding is performed between the IoT cloud device and the terminal device in a bidirectional communication link formed by the streaming media link and the mobile communication link to achieve audio or video communication between the IoT cloud device and the terminal device.
2. The Internet of Things communication method according to claim 1, characterized in that: The cloud platform includes at least a streaming server and a transcoding server. The streaming media link includes a streaming link between the streaming server and the IoT cloud device, and an audio and video transcoding link between the streaming server and the transcoding server. The audio and video transcoding link is used to convert the audio and video data obtained by the streaming link into data that meets the requirements of the operator network.
3. The Internet of Things communication method according to claim 2, characterized in that: The message forwarding between the IoT cloud device and the terminal device in the bidirectional communication link formed by the streaming media link and the mobile communication link to achieve audio or video communication between the IoT cloud device and the terminal device includes: Starting the streaming link to obtain the audio and video data of the IoT cloud device streamed by the streaming server; The transcoding server converts the audio and video data of the IoT cloud device into data that meets the requirements of the operator network to obtain first converted data; sending the first converted data to the terminal device via the mobile communication link; Acquire the audio and video data of the terminal device through the mobile communication link, and convert the audio and video data of the terminal device to obtain second converted data; The second conversion data is pushed to the IoT cloud device to implement audio or video communication between the IoT cloud device and the terminal device.
4. The Internet of Things communication method according to claim 3, characterized in that: After obtaining the first conversion data for the first time, calling the terminal device through the operator network to establish the mobile communication link with the terminal device based on the operator network.
5. The Internet of Things communication method according to claim 4, characterized in that: The cloud platform further includes a message server, and the calling of the terminal device through the operator network to establish the mobile communication link with the terminal device based on the operator network includes: The message server responds to the event message reported by the IoT cloud device to determine whether the event message reported by the IoT cloud device meets a preset condition; If the event message meets the preset conditions and the IoT cloud device is provided with the capability of audio or video communication triggering, the step of calling the terminal device through the operator network to establish the mobile communication link with the terminal device based on the operator network is performed.
6. The Internet of Things communication method according to claim 1, characterized in that: The method further comprises: The terminal device edits and sends a signaling command through a dial pad of the terminal device based on the event message reported by the IoT cloud device; The downlink signaling is sent to the IoT cloud device via a bidirectional communication link formed by the streaming link and the mobile communication link, so that the terminal device controls the IoT cloud device.
7. An Internet of Things communication system, characterized in that: include: The cloud platform is used to receive event messages reported by IoT cloud devices, establish a streaming media link with the IoT cloud devices, and establish a mobile communication link with the terminal device based on the operator network; Message forwarding is performed between the IoT cloud device and the terminal device in a bidirectional communication link formed by the streaming media link and the mobile communication link to achieve audio or video communication between the IoT cloud device and the terminal device.
8. The Internet of Things communication system according to claim 7, characterized in that: The cloud platform includes a message server, a streaming server, a transcoding server and an operator docking server; The message server responds to the event message reported by the IoT cloud device, determines whether the event message reported by the IoT cloud device meets a preset condition, and whether the IoT cloud device has the ability to trigger audio or video communication, so as to determine whether to execute a call to the terminal device through the operator network; The streaming server is used for streaming services of audio and video data of the IoT cloud device; The transcoding server is used to convert the audio and video data obtained by the streaming link into data that meets the requirements of the operator network; The operator docking server is used to execute a call to the terminal device through the operator network to achieve audio or video communication between the IoT cloud device and the terminal device.
9. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the processor is coupled to the memory, and the processor is configured to execute one or more steps of the Internet of Things communication method according to any one of claims 1 to 6 based on instructions stored in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the Internet of Things communication method according to any one of claims 1 to 6.