Internet of Things device control method, device, equipment and medium based on 5G message
Through the 5G message-based IoT device control method, the unified configuration and control of the operator's server and the Internet of Things server are used to solve the problem of inconvenient control of IoT devices, and the lightweight user operation interface and unified management of multi-vendor equipment is realized. Improve user experience and development efficiency.
Patent Information
- Application Number
- CN202111222985.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-20
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2041-10-20
AI Technical Summary
The existing technology lacks solutions to use 5G message management and control IoT devices, resulting in inconvenient control of IoT devices, consuming development resources and poor user experience.
Provide a 5G message-based IoT device control method and device, through the operator's server and the Internet of Things server, use 5G messages to send requests and operation requests to realize unified configuration and control of IoT devices. Users can use native SMS The app is convenient to operate.
It saves the development resources of IoT device manufacturers, and users can uniformly control IoT devices of different brands without a third-party app, improving user experience, and issuing natural identity information through mobile phone numbers, simplifying the registration and authentication process.
Smart Images

Figure CN113965829B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a method, device, equipment and medium for controlling an Internet of Things device based on 5G messages. Background Art
[0002] 5G (5th Generation Mobile Communication Technology) messages are an enhanced rich media text message that can contain text and pictures, as well as voice, video, files, geographic location, payment and other information, and can even call the phone's dial pad, calendar and other applications. Through 5G messages, users can be provided with rich interactive services.
[0003] Internet of Things (IoT) devices are widely used in all aspects of production and life, such as smart cities and personal wearables, reflecting the advantages of IoT in connecting everything and facilitating life.
[0004] However, there is no solution to manage and control IoT devices using 5G messages, which makes it very inconvenient to control IoT devices. For IoT device manufacturers, at least one App (Application) needs to be developed for their IoT devices, which consumes development resources; for IoT device users, every time they purchase an IoT device from a manufacturer, they need to download the App launched by the manufacturer to control the relevant IoT devices, which is cumbersome and has a poor user experience.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present invention, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] In view of this, the present invention provides an IoT device control method, apparatus, equipment and medium based on 5G messages, which realizes the control of IoT devices based on 5G messages, provides a unified 5G message configuration and distribution platform for IoT device manufacturers, saves development resources, and enables IoT device users to control various IoT devices through 5G message operations, facilitates user operations, and improves user experience.
[0007] One aspect of the present invention provides an IoT device control method based on 5G messages, which is applied to an operator service end, comprising: responding to a 5G message sending request issued by the IoT service end, obtaining user terminal information and a 5G message carried by the 5G message sending request, wherein the 5G message is configured to control at least one IoT device belonging to the IoT service end; sending the 5G message to a user terminal corresponding to the user terminal information, so that the user terminal controls the IoT device via the IoT service end through the 5G message.
[0008] In some embodiments, the operator service end provides a user-side service platform for the Internet of Things service end that encapsulates the communication protocols of each operator, and the 5G message sending request is issued through the user-side service platform.
[0009] In some embodiments, before responding to the 5G message sending request issued by the Internet of Things server, it also includes: generating a 5G message configuration interface in response to the 5G message configuration request issued by the Internet of Things server through the user-side service platform; generating the 5G message according to the configuration information input in the 5G message configuration interface; the 5G message contains multiple cards, each of which contains multiple operation buttons, and when the operation button is triggered, an operation request is issued to enable the corresponding Internet of Things device to perform a preset operation or to enable the corresponding Internet of Things device and its associated application to perform a preset operation.
[0010] In some embodiments, before generating the 5G message, it also includes: reviewing the material information in the configuration information, and generating the 5G message after the review is passed.
[0011] In some embodiments, after generating the 5G message, it also includes: simulating displaying the 5G message on the 5G message configuration interface; monitoring whether the 5G message configuration interface inputs update configuration information, and if so, updating the 5G message according to the update configuration information.
[0012] In some embodiments, after generating the 5G message, it also includes: determining whether there are data of multiple IoT service terminals in the user-side service platform; if so, isolating the data of the multiple IoT service terminals from each other.
[0013] In some embodiments, sending the 5G message to the user terminal corresponding to the user terminal information includes: determining the operator to which the number of the user terminal belongs based on the user terminal information; sending the 5G message to the interface protocol module of the operator to which the number belongs, and the interface protocol module of the operator to which the number belongs sends the 5G message to the user terminal.
[0014] Another aspect of the present invention provides an IoT device control method based on 5G messages, which is applied to an IoT server and includes: responding to an operation request issued by a user terminal via a 5G message, obtaining IoT device information and operation information carried in the operation request; generating a control request according to the operation request, and sending the control request to the IoT device corresponding to the IoT device information, so that the IoT device executes a preset operation corresponding to the operation information.
[0015] In some embodiments, before sending the control request to the IoT device corresponding to the IoT device information, it also includes: determining whether pairing between the user terminal and the IoT device is completed; if not, sending a pairing prompt to the user terminal to control the user terminal and the IoT device to pair under the same network.
[0016] In some embodiments, the controlling the user terminal to pair with the IoT device under the same network includes: receiving a first pairing request sent by the user terminal; sending a selection message in the form of a 5G message to the user terminal, the selection message including the models of all IoT devices belonging to the IoT server; searching, based on the geographic location of the user terminal, whether there is an IoT device matching the target model within a preset distance range under the same network according to the target model returned by the user terminal; if so, sending a second pairing request to the IoT device, and completing the pairing of the IoT device and the user terminal based on the confirmation message returned by the IoT device; if not, sending a pairing failure prompt to the user terminal.
[0017] In some embodiments, sending a second pairing request to the IoT device includes: determining whether the IoT device is a device with a screen; if so, sending a second pairing request in the form of a 5G message to the IoT device; if not, sending a second pairing request in the form of a prompt light to the IoT device.
[0018] Another aspect of the present invention provides an IoT device control device based on 5G messages, which is applied to an operator server and includes: a sending request response module, which is used to respond to a 5G message sending request issued by the IoT server, and obtain user terminal information and a 5G message carried by the 5G message sending request, wherein the 5G message is configured to control at least one IoT device belonging to the IoT server; and a 5G message sending module, which is used to send the 5G message to a user terminal corresponding to the user terminal information, so that the user terminal controls the IoT device via the IoT server through the 5G message.
[0019] Another aspect of the present invention provides an IoT device control device based on 5G messages, which is applied to an IoT server and includes: an operation request response module, which is used to respond to an operation request issued by a user terminal through a 5G message, and obtain IoT device information and operation information carried in the operation request; a control request issuing module, which is used to generate a control request according to the operation request, and send the control request to the IoT device corresponding to the IoT device information, so that the IoT device performs a preset operation corresponding to the operation information.
[0020] Another aspect of the present invention provides an electronic device, which is applied to an operator service end, comprising: a processor; a memory, in which executable instructions are stored; wherein, when the executable instructions are executed by the processor, the Internet of Things device control method based on 5G messages as described in any of the above embodiments is implemented.
[0021] Another aspect of the present invention provides an electronic device, which is applied to an Internet of Things server, comprising: a processor; a memory, in which executable instructions are stored; wherein, when the executable instructions are executed by the processor, the Internet of Things device control method based on 5G messages as described in any of the above embodiments is implemented.
[0022] Another aspect of the present invention provides a computer-readable storage medium for storing a program, which, when executed by a processor, implements the 5G message-based IoT device control method as described in any of the above embodiments.
[0023] Another aspect of the present invention provides a computer-readable storage medium for storing a program, which, when executed by a processor, implements the 5G message-based IoT device control method as described in any of the above embodiments.
[0024] The beneficial effects of the present invention compared with the prior art include at least:
[0025] By combining 5G messages with IoT devices, a unified 5G message configuration and delivery platform is provided for IoT device manufacturers, allowing IoT device manufacturers to present the user operation interface with lightweight, native 5G messages, saving development resources; it can unify the management and operation of IoT devices, and the user operation interfaces of multiple manufacturers are presented through the native SMS App of the user terminal;
[0026] IoT device users can obtain a unified IoT device control portal through lightweight 5G messages. Without the need for third-party apps, they can conveniently and quickly operate IoT devices of different brands through 5G messages, improving the user experience. 5G messages are sent through mobile phone numbers and have natural identity information, eliminating the need for registration and authentication.
[0027] By coupling 5G messages with IoT devices, the business scenarios of 5G messages can also be expanded.
[0028] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present invention, and together with the specification are used to explain the principles of the present invention. Obviously, the accompanying drawings described below are only some embodiments of the present invention, and for those of ordinary skill in the art, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0030] Figure 1 A schematic diagram showing the steps of a method for controlling an IoT device based on 5G messages in an embodiment of the present invention is shown;
[0031] Figure 2 A schematic diagram of a text message interface of a 5G message in one embodiment of the present invention is shown;
[0032] Figure 3 A schematic diagram showing the steps of a 5G message adaptation and delivery process in one embodiment of the present invention is shown;
[0033] Figure 4 A schematic diagram showing the steps of a method for controlling an IoT device based on 5G messages in another embodiment of the present invention is shown;
[0034] Figure 5 A schematic diagram showing the overall architecture of a method for controlling an IoT device based on 5G messages in an embodiment of the present invention is shown;
[0035] Figure 6 The overall process diagram of the method for controlling an IoT device based on 5G messages in one embodiment of the present invention is shown;
[0036] Figure 7 A schematic diagram showing the steps of a pairing process between a user terminal and an IoT device in one embodiment of the present invention;
[0037] Figure 8 A module schematic diagram of an IoT device control device based on 5G messages in one embodiment of the present invention is shown;
[0038] Fig. 9 A module schematic diagram of an IoT device control device based on 5G messages in another embodiment of the present invention is shown;
[0039] Fig.10 A schematic structural diagram of an electronic device in an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0040] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the embodiments set forth herein. Instead, these embodiments are provided to make the present invention comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art.
[0041] The accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0042] In addition, the processes shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps can be decomposed, some steps can be combined or partially combined, and the actual execution order may change according to the actual situation. The words "first", "second" and similar words used in the specific description do not indicate any order, quantity or importance, but are only used to distinguish different components. It should be noted that the embodiments of the present invention and the features in different embodiments can be combined with each other without conflict.
[0043] Figure 1 The main steps of an IoT device control method based on 5G messages in an embodiment are shown. The IoT device control method of this embodiment is applied to the operator service end, including: step S110, in response to a 5G message sending request issued by the IoT service end, obtaining user terminal information and 5G messages carried in the 5G message sending request, the 5G message being configured to control at least one IoT device belonging to the IoT service end; step S120, sending the 5G message to the user terminal corresponding to the user terminal information, so that the user terminal controls the IoT device via the IoT service end through the 5G message.
[0044] The operator service end refers to the unified service end of each operator, including China Telecom, China Mobile and China Unicom. The IoT service end is the service end of the IoT device (hereinafter referred to as IoT device) manufacturer. The operator service end provides a user-side service platform that encapsulates the underlying communication protocols of each operator for the IoT server end, and the 5G message sending request is issued through the user-side service platform. The user-side service platform, also known as the User Service Provider (USP), is the user-side entrance of the 5G message and provides a unified Web (World Wide Web) operation interface. Therefore, IoT device manufacturers do not need to develop apps or perform complex technical docking. They only need to register with the USP, edit 5G messages on the visual Web operation interface and send them to users, so as to provide users with an IoT device control interface with a good operating experience; users can view 5G messages in user terminals, such as the native SMS application of smartphones, and conveniently control IoT devices through the operation buttons in the 5G messages.
[0045] The user-side service platform may include a template creation module, a material review module, an effect simulation module, a user management module and a message adaptation module.
[0046] The template making module is used to provide a configuration interface for making 5G messages for the IoT server. Specifically, before responding to the 5G message sending request issued by the IoT server, it also includes: generating a 5G message configuration interface in response to the 5G message configuration request issued by the IoT server through the user-side service platform; generating a 5G message according to the configuration information input in the 5G message configuration interface, including the style, layout, materials and other information content of the 5G message.
[0047] In this embodiment, the 5G message produced contains multiple cards, each card contains multiple operation buttons, and when the operation button is triggered, an operation request is issued to make the corresponding IoT device perform a preset operation or to make the corresponding IoT device and its associated application perform a preset operation. Multi-card message is a form of 5G message, which consists of at least two cards, and the user can switch different cards by sliding left and right. Each card consists of a material + a paragraph of text + up to four operation buttons, where the material can be a picture, a video or an audio, and the operation button can be a normal button or a floating button. Each operation button is configured with a corresponding click event. The click event can be to operate a certain IoT device, or to call an App in the user terminal, such as a dial pad, calendar, map, payment, etc. When the operation button is triggered, an operation request is issued to the IoT device, or the IoT device and its associated App.
[0048] After the 5G message is produced, the IoT server can send the 5G message to the user terminal through USP. The 5G message will be displayed in the native SMS App of the user terminal, showing the model, appearance, introduction and function operation of the IoT device. Users can conveniently operate the IoT device through the operation button of the 5G message.
[0049] Figure 2 A 5G message text message interface diagram is shown in one embodiment, referring to Figure 2 As shown, in the SMS interface of the user terminal 200, the 5G message is presented in the form of a multi-card message. The header can display the information of the IoT device manufacturer, such as "xxx company's smart IoT device", and the content part displays the card content. Figure 2 Two cards 210 and 220 are shown in the figure. In card 210, the model and appearance of the first IoT device (smart bracelet) are displayed. Clicking the "Learn More" operation button can jump to the introduction interface of the smart bracelet. Clicking other operation buttons (including operation 1, operation 2 and operation 3) can realize other functional operations of the smart bracelet, such as turning on the heartbeat monitoring function of the smart bracelet, calling the payment app of the user terminal 200 to purchase the song being listened to in the smart bracelet, etc. In card 220, the model, appearance, introduction and functional operation of the second IoT device (monitoring) are displayed, and no further description will be given.
[0050] In addition to multi-card messages, in other embodiments, 5G messages may also be presented in other forms as long as they are convenient for user interaction operations.
[0051] The material review module is used to review the materials in 5G messages. Specifically, before generating a 5G message, it also includes: reviewing the material information in the configuration information, and generating a 5G message after the review is passed. All materials in 5G messages need to be reviewed, and only materials that have passed the review can be added to 5G messages and sent. The material review module can specifically submit the materials uploaded by users to the operator's message capability platform for review to prevent the 5G message from containing illegal content. When the message capability platform returns the review pass information, a 5G message can be generated.
[0052] The effect simulation module is used to simulate the real screen of the 5G message presented on the user terminal to realize the WYSIWYG editing process. Specifically, after generating the 5G message, it also includes: simulating the display of the 5G message on the 5G message configuration interface; monitoring whether the 5G message configuration interface has input updated configuration information, and if so, updating the 5G message according to the updated configuration information. By displaying the prepared 5G message on the Web operation interface in real time, the producer can intuitively see the display effect of the 5G message and make adjustments according to actual needs.
[0053] The user management module is used to manage all users registered on USP. Specifically, after generating a 5G message, it also includes: determining whether there are data from multiple IoT servers in the user-side service platform; if so, isolating the data from multiple IoT servers from each other. By allocating accounts to each registered IoT device manufacturer and isolating the data, the data from each IoT device manufacturer will not affect each other. In addition, the user management module can also count and display the prepared 5G messages.
[0054] The message adaptation module is used to adapt and send 5G messages according to the communication protocols of each operator. Specifically, sending the 5G message to the user terminal corresponding to the user terminal information includes: judging the operator to which the user terminal number belongs according to the user terminal information; sending the 5G message to the interface protocol module of the operator to which the number belongs, and the interface protocol module of the operator to which the number belongs sends the 5G message to the user terminal.
[0055] Figure 3 The steps of the 5G message adaptation and delivery process in one embodiment are shown, referring to Figure 3 As shown, since the communication protocols of 5G messages of various operators are not the same and are not interoperable, they need to be adapted according to the communication protocols of each operator. The message adaptation module includes a number ownership judgment program 310, which uses the ENUM (E.164 Number URI MApping, phone number mapping) network element 320 to determine the operator to which the user terminal information (i.e., mobile phone number) belongs, and sends the 5G message to be sent to the interface protocol module of the corresponding operator for distribution. The interface protocol module is located in the operator's message capability platform MaaP (Messaging as a Platform), as shown in the figure. Figure 3 As shown, when the ENUM network element 320 determines that the number operator of the user terminal is China Telecom, the number ownership determination program 310 sends the 5G message to the telecommunications interface protocol module 330 of the telecommunications MaaP, and the telecommunications interface protocol module 330 sends the 5G message; similarly, when it is determined that the number operator is China Mobile, the 5G message is sent to the mobile interface protocol module 340 of the mobile MaaP, and when it is determined that the number operator is China Unicom, the 5G message is sent to the Unicom interface protocol module 350 of the Unicom MaaP.
[0056] The above-mentioned IoT device control method can help IoT device manufacturers reduce the development cost of user portals, and provide customers with a unified operation interface by simply configuring 5G messages and a simple IoT device introduction webpage. For users, there is no need to download apps from various IoT device manufacturers. They can quickly control IoT devices of various brands through 5G messages provided by various IoT device manufacturers in the native SMS app.
[0057] Figure 4 The main steps of an IoT device control method based on 5G messages in another embodiment are shown. The IoT device control method of this embodiment is applied to the IoT server, including: step S410, responding to an operation request sent by a user terminal through a 5G message, obtaining IoT device information and operation information carried in the operation request; step S420, generating a control request according to the operation request, and sending the control request to the IoT device corresponding to the IoT device information, so that the IoT device performs a preset operation corresponding to the operation information.
[0058] If the operation information needs to call the mobile phone App associated with the IoT device, the IoT server can also send the control request to the App associated with the IoT device. For details, please refer to the above embodiment. Figure 2 The description is not repeated here.
[0059] Figure 5 The overall architecture of the IoT device control method based on 5G messages in one embodiment is shown. Figure 6 The overall process of the IoT device control method based on 5G messages is shown, combined with Figure 5 and Figure 6 As shown, in a specific control interaction example, it includes a 5G message user side service platform USP 510, an operator message capability platform 520, a user terminal 530, an IoT server 540 and an IoT device 550.
[0060] The user-side service platform USP 510 includes a template making module, a material review module, an effect simulation module, a user management module and a message adaptation module. For details, please refer to the description of the above embodiment, which will not be repeated here. IoT device manufacturers can make and send 5G messages on the user-side service platform USP 510.
[0061] The operator message capability platform 520 includes China Telecom MaaP, China Mobile MaaP and China Unicom MaaP, which are built by each operator and expose the interface protocol module to the outside to facilitate the connection with the third-party platform. The operator message capability platform 520 is responsible for the processing and actual delivery of 5G messages.
[0062] The user terminal 530 can be a terminal device such as a smartphone, which can display 5G messages in the SMS App. Currently, a single card in a 5G message can contain up to four operation buttons, and the number of cards contained in a multi-card message varies according to the operator agreement, and at least 10 cards can be supported. Therefore, a 5G message can have 40 operation buttons, corresponding to different operations of multiple IoT devices, and users can easily send operation requests through 5G messages.
[0063] The IoT server 540 is used to receive the operation request sent by the user through the button in the 5G message, process the operation request, and generate a control request to control the IoT device 550. In addition, when the IoT device 550 is used for the first time, the IoT server 540 needs to authenticate the user, locate the controlled IoT device 550, and then send the control request. The authentication part will be described in detail below.
[0064] The IoT device 550 can be a watch, monitor, TV, tablet, etc., which is used to receive the control request sent by the IoT server 540, perform corresponding operations according to the control request, and complete the entire control chain.
[0065] In the authentication part, before the IoT server sends the control request to the IoT device corresponding to the IoT device information, it also includes: determining whether the pairing between the user terminal and the IoT device is completed; if not, sending a pairing prompt to the user terminal to control the user terminal and the IoT device to pair under the same network.
[0066] Figure 7 The pairing process between the user terminal and the IoT device in one embodiment is shown, referring to Figure 7 As shown, controlling the user terminal to pair with the IoT device in the same network includes the following steps.
[0067] S710, receiving the first pairing request sent by the user terminal. Specifically, the user terminal and the IoT device must first be connected to the same network; then the user terminal searches for the 5G message applet of the IoT device manufacturer in the SMS App, enters the applet after finding it, finds "Device Authentication" in the bottom menu bar and clicks it; thus, the applet will automatically send an authentication request to the IoT server, i.e., the first pairing request.
[0068] S720, sending a selection message in the form of a 5G message to the user terminal, the selection message including the models of all IoT devices belonging to the IoT server. After receiving the authentication request, the IoT server sends a 5G message, which can be a multi-card message, including the models of all IoT devices sold by the IoT device manufacturer for the user to select.
[0069] S730: Based on the target model returned by the user terminal, search for IoT devices matching the target model within a preset distance range under the same network based on the geographical location of the user terminal. After receiving the 5G message, the user selects the IoT device model to be authenticated. After receiving the model selected by the user, the IoT server searches for the nearest IoT device matching the model within a 20-meter range by geographically locating the location of the user terminal.
[0070] S740, if there is an IoT device that matches the target model, send a second pairing request to the IoT device, and complete the pairing of the IoT device and the user terminal based on the confirmation message returned by the IoT device. Sending a second pairing request to the IoT device specifically includes: determining whether the IoT device is a device with a screen; if so, sending a second pairing request in the form of a 5G message to the IoT device, which can be a plain text 5G message, prompting whether the user terminal is allowed to control the IoT device, and the user manually confirms to complete the pairing; if not, sending a second pairing request in the form of a prompt light to the IoT device, for example, the prompt light of the IoT device starts flashing, and the user needs to press and hold the power button for 3 seconds to complete the pairing.
[0071] S750: If there is no IoT device matching the target model, a pairing failure prompt is sent to the user terminal. If no IoT device matching the model is found within a 20-meter range, a 5G message is sent to prompt the user that the device cannot be found. The user can check the network status, the location of the IoT device, etc., or reselect the model for pairing.
[0072] In summary, the IoT device control method based on 5G messages of the present invention has built a new business model for coupling 5G messages with IoT devices. Through the native SMS portal of the user terminal, 5G messages are used to control IoT devices, which can help users of IoT devices obtain a unified device control portal and operation experience, achieve de-Appization, and uniformly enter control from the native SMS portal, making the interaction simpler and more direct; and 5G messages are sent through mobile phone numbers, with natural identity information, and no registration and authentication is required. For IoT device manufacturers, it can avoid investing too much development resources in user portal applications, and realize the presentation of device operation interfaces with lightweight and native 5G multi-card messages, thereby reducing development costs.
[0073] The embodiment of the present invention also provides an IoT device control device based on 5G messages, which can be used to implement the IoT device control method based on 5G messages described in any of the above embodiments. The features and principles of the IoT device control method described in any of the above embodiments can be applied to the following IoT device control device embodiments. In the following IoT device control device embodiments, the features and principles of IoT device control based on 5G messages that have been explained will not be repeated.
[0074] Figure 8 The main modules of an IoT device control device based on 5G messages in an embodiment are shown. The IoT device control device 800 of this embodiment is applied to the operator service end, including: a sending request response module 810, which is used to respond to the 5G message sending request issued by the IoT service end, obtain the user terminal information and 5G message carried by the 5G message sending request, and the 5G message is configured to control at least one IoT device belonging to the IoT service end; a 5G message sending module 820, which is used to send the 5G message to the user terminal corresponding to the user terminal information, so that the user terminal can control the IoT device via the IoT service end through the 5G message.
[0075] Furthermore, the IoT device control apparatus 800 may also include modules for implementing other process steps of the IoT device control method embodiment applied to the operator service end, for example, Figure 2 Each functional module in Figure 2 Some functional modules in are merged, and the specific principles of each module can refer to the description of the above embodiment, which will not be repeated here.
[0076] Fig. 9 The main modules of an IoT device control device based on 5G messages in another embodiment are shown. The IoT device control device 900 of this embodiment is applied to an IoT server, including: an operation request response module 910, which is used to respond to an operation request sent by a user terminal through a 5G message, and obtain IoT device information and operation information carried in the operation request; a control request sending module 920, which is used to generate a control request according to the operation request, and send the control request to the IoT device corresponding to the IoT device information, so that the IoT device performs a preset operation corresponding to the operation information.
[0077] Furthermore, the Internet of Things device control device 900 may also include modules for implementing other process steps of the above-mentioned Internet of Things device control method embodiment applied to the Internet of Things server. The specific principles of each module can refer to the description of the above-mentioned embodiment and will not be repeated here.
[0078] An embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein executable instructions are stored in the memory, and when the executable instructions are executed by the processor, the method for controlling an IoT device based on 5G messages described in any of the above embodiments is implemented. The electronic device can be deployed on an operator service end to implement the method for controlling an IoT device applied to an operator service end; or, the electronic device can be deployed on an IoT service end to implement the method for controlling an IoT device applied to an IoT service end.
[0079] Fig.10 is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. It should be understood that: Fig.10 The modules are only schematically shown, and these modules may be virtual software modules or actual hardware modules. The combination and splitting of these modules and the addition of other modules are all within the protection scope of the present invention.
[0080] like Fig.10 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 include but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.
[0081] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps of the 5G message-based IoT device control method described in any of the above embodiments. For example, the processing unit 610 can execute the following steps: Figure 1 or Figure 4 Steps shown.
[0082] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0083] The storage unit 620 may also include a program / utility 6204 having one or more program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0084] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0085] The electronic device 600 can also communicate with one or more external devices 6000, and the external device 6000 can be one or more of the devices such as keyboard, pointing device, Bluetooth device, etc. These external devices 6000 enable the user to communicate interactively with the electronic device 600. The electronic device 600 can also communicate with one or more other computing devices, and the computer device shown includes a router and a modem. Such communication can be performed through an input / output (I / O) interface 650. In addition, the electronic device 600 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 660. The network adapter 660 can communicate with other modules of the electronic device 600 through a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms.
[0086] The embodiment of the present invention also provides a computer-readable storage medium for storing a program, which, when executed, implements the IoT device control method based on 5G messages described in any of the above embodiments. The storage medium can be applied to an operator service end to implement the IoT device control method applied to the operator service end when executed; or, the storage medium can be applied to an IoT service end to implement the IoT device control method applied to the IoT service end when executed.
[0087] In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the above-mentioned Internet of Things device control method applied to the operator service end, or the Internet of Things device control method applied to the Internet of Things service end.
[0088] The program product may be a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0089] The program product may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media include, but are not limited to: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0090] The readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein the readable program code is carried. The data signal of this propagation may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0091] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device, such as through the Internet using an Internet service provider.
[0092] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A method for controlling an IoT device based on 5G messages, characterized in that: include: The operator service side provides a user-side service platform that encapsulates the communication protocols of various operators for the IoT service side; The user-side service platform generates a 5G message configuration interface in response to the 5G message configuration request sent by the IoT server; The user-side service platform generates a 5G message in response to the configuration information input by the IoT server in the 5G message configuration interface; wherein the 5G message is a rich media text message, the 5G message includes multiple cards, each card includes multiple operation buttons, and the 5G message is configured to control at least one IoT device belonging to the IoT server; The operator service end responds to the 5G message sending request sent by the Internet of Things service end, obtains the user terminal information and the 5G message carried in the 5G message sending request, and sends the 5G message to the user terminal corresponding to the user terminal information, so that the user terminal controls the Internet of Things device through the operation button in the 5G message; When the operation button is triggered, an operation request is issued to enable the corresponding IoT device to perform a preset operation or to enable the corresponding IoT device and its associated application to perform a preset operation.
2. The method according to claim 1, characterized in that Before generating the 5G message, the method further includes: The user-side service platform reviews the material information in the configuration information and generates the 5G message after the review is passed.
3. The method according to claim 1, characterized in that After generating the 5G message, the method further includes: The user-side service platform simulates and displays the 5G message on the 5G message configuration interface; The user-side service platform monitors whether the 5G message configuration interface has input updated configuration information, and if so, updates the 5G message according to the updated configuration information.
4. The method according to claim 1, characterized in that After generating the 5G message, the method further includes: Determine whether there is data of multiple IoT servers in the user-side service platform; If so, the data of the multiple IoT servers are isolated from each other.
5. The method according to claim 1, characterized in that The operator service end sends the 5G message to the user terminal corresponding to the user terminal information, including: Determining, according to the user terminal information, the operator to which the number of the user terminal belongs; The 5G message is sent to the interface protocol module of the operator to which the number belongs, and the interface protocol module of the operator to which the number belongs sends the 5G message to the user terminal.
6. A method for controlling an IoT device based on 5G messages, characterized in that: The method according to any one of claims 1 to 5 is implemented, comprising: The IoT server responds to the operation request sent by the user terminal through the 5G message, and obtains the IoT device information and operation information carried in the operation request; The Internet of Things service end generates a control request according to the operation request, and sends the control request to the Internet of Things device corresponding to the Internet of Things device information, so that the Internet of Things device performs the preset operation corresponding to the operation information.
7. The method according to claim 6, characterized in that Before the Internet of Things service end sends the control request to the Internet of Things device corresponding to the Internet of Things device information, the method further includes: Determine whether pairing between the user terminal and the IoT device is completed; If not, a pairing prompt is sent to the user terminal to control the user terminal to pair with the IoT device under the same network.
8. The method according to claim 7, characterized in that The Internet of Things server controls the user terminal to pair with the Internet of Things device in the same network, including: Receiving a first pairing request sent by the user terminal; Sending a selection message in the form of a 5G message to the user terminal, wherein the selection message includes the models of all IoT devices belonging to the IoT server; According to the target model returned by the user terminal, searching whether there is an IoT device matching the target model within a preset distance range under the same network based on the geographical location of the user terminal; If yes, send a second pairing request to the IoT device, and complete the pairing of the IoT device and the user terminal based on a confirmation message returned by the IoT device; If not, a pairing failure prompt is sent to the user terminal.
9. The method according to claim 8, characterized in that The Internet of Things server sends a second pairing request to the Internet of Things device, including: Determine whether the IoT device is a device with a screen; If yes, send a second pairing request in the form of a 5G message to the IoT device; If not, a second pairing request in the form of a prompt light is sent to the IoT device.
10. An electronic device, characterized in that: The electronic device is applied to the operator side, and includes: A processor; a memory storing executable instructions; When the executable instruction is executed by the processor, the 5G message-based IoT device control method as described in any one of claims 1 to 5 is implemented.
11. An electronic device, characterized in that: The electronic device is applied to the Internet of Things side, including: A processor; a memory storing executable instructions; When the executable instruction is executed by the processor, the 5G message-based IoT device control method as described in any one of claims 6 to 9 is implemented.
12. A computer-readable storage medium for storing a program, characterized in that: When the program is executed by the processor, the 5G message-based IoT device control method as described in any one of claims 1 to 5 is implemented.
13. A computer-readable storage medium for storing a program, characterized in that: When the program is executed by the processor, the 5G message-based IoT device control method as described in any one of claims 6 to 9 is implemented.
Citation Information
Patent Citations
Household appliance control method and device, electronic equipment and storage medium
CN110247829A
Intelligent device interaction method, server and client
CN113419652A
