Message reporting method and device, cloud and electronic equipment

By analyzing the frequency of the device's message reporting and issuing the adjusted frequency, the network load and cloud pressure problems caused by frequent device message reporting are solved, improving the stability and reliability of message reporting and improving the user experience.

CN119324862APending Publication Date: 2025-01-17SHENZHEN TCL NEW-TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411481103.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2025-01-17

AI Technical Summary

Technical Problem

The frequent state changes of existing equipment during the message reporting process lead to increased network costs, high load of network communication modules, high pressure for cloud message processing, and poor reliability and user experience of message reporting.

Method used

By receiving device frequency configuration instructions, analyze the actual reporting frequency of the device on different message types and the user-setting reporting frequency, determine the target equipment that needs to be adjusted, and issue the adjusted message reporting frequency, and use the frequency limiter to limit the message reporting frequency to avoid frequent Report.

Benefits of technology

It improves the stability and reliability of device message reporting, reduces network costs and cloud processing pressure, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119324862A_ABST
    Figure CN119324862A_ABST
Patent Text Reader

Abstract

The invention discloses a message reporting method and device, a cloud end and electronic equipment, and relates to the technical field of the Internet of Things. The cloud end can receive an equipment frequency configuration instruction and determine at least one piece of equipment according to the equipment frequency configuration instruction; performing frequency modulation analysis according to the type according to the actual message reporting frequency corresponding to the specified message type of the at least one device, obtaining one or more pieces of equipment needing frequency adjustment in the at least one piece of equipment as target equipment and obtaining the adjusted message reporting frequency corresponding to the specified message type of the target equipment; and issuing the adjusted message reporting frequency to the target device to indicate the target device to report the message of the specified message type according to the adjusted message reporting frequency. According to the invention, the stability of device message reporting can be accurately improved, the reliability of message reporting is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet of Things, and in particular to a message reporting method, device, cloud and electronic device. Background Art

[0002] Electronic devices, such as household appliances, can be connected to their corresponding cloud through wireless networks and exchange data. Devices usually have the need to report various messages to the cloud through the network. For example, air conditioners will report information such as power on and off status and working mode to the cloud through messages.

[0003] However, due to the characteristics of the message transmission protocol between the device and the cloud (such as the MQTT protocol) and the frequent state changes that may occur in the device, the device may report messages frequently. Frequent message reporting may lead to increased network costs, high load on the network communication module resulting in a crash and restart, and high pressure on cloud message processing.

[0004] Therefore, the current message reporting method of the device has the problem of unstable message reporting frequency, resulting in poor message reporting reliability and poor user experience. Summary of the invention

[0005] The embodiment of the present application provides a message reporting solution that can accurately improve the stability of device message reporting, improve the reliability of message reporting, and improve user experience.

[0006] The embodiments of the present application provide the following technical solutions:

[0007] According to one embodiment of the present application, a message reporting method is applied to the cloud, which includes: receiving a device frequency configuration instruction, and determining at least one device according to the device frequency configuration instruction; performing a frequency modulation analysis by type according to the actual message reporting frequency corresponding to one or more specified message types of the at least one device, obtaining one or more devices that need to be frequency adjusted in the at least one device as target devices and obtaining the adjusted message reporting frequency of the target device corresponding to the specified message type; sending the adjusted message reporting frequency to the target device to instruct the target device to report the message of the specified message type according to the adjusted message reporting frequency.

[0008] In some embodiments of the present application, the receiving device frequency configuration instruction and determining at least one device based on the device frequency configuration instruction include: receiving a device frequency configuration instruction sent by the at least one device, the device frequency configuration instruction including device information of each of the devices; and obtaining the at least one device requesting frequency modulation based on the device information of each of the devices in the device frequency configuration instruction.

[0009] In some embodiments of the present application, the device frequency configuration instruction of each of the devices carries the actual message reporting frequency of the device corresponding to the specified message type; the type-based frequency modulation analysis is performed according to the actual message reporting frequency of the at least one device corresponding to one or more specified message types, and one or more devices that need to be frequency adjusted in the at least one device are obtained as target devices, and the adjusted message reporting frequency of the target device corresponding to the specified message type is obtained, including: from the device frequency configuration instruction of each of the devices, the actual message reporting frequency of each of the devices corresponding to the specified message type is obtained, and the user-set reporting frequency of each of the devices corresponding to the specified message type is obtained from the cloud; the actual message reporting frequency of each of the devices corresponding to the specified message type is compared with the user-set reporting frequency, respectively, to obtain the comparison result corresponding to each of the devices; the device with a different frequency as the comparison result is determined as the target device, and the user-set reporting frequency of the target device corresponding to the specified message type is determined as the adjusted message reporting frequency.

[0010] In some embodiments of the present application, the receiving device frequency configuration instruction and determining at least one device based on the device frequency configuration instruction include: receiving a device frequency configuration instruction triggered by an operation platform, the device frequency configuration instruction including a user-set frequency configuration; and obtaining the at least one device based on the device information included in the user-set frequency configuration.

[0011] In some embodiments of the present application, the user-set frequency configuration also includes a user-set reporting frequency corresponding to a specified message type of the at least one device; the type-based frequency modulation analysis is performed according to the actual message reporting frequency corresponding to one or more specified message types of the at least one device, and one or more devices that need to be frequency adjusted in the at least one device are obtained as target devices, and the adjusted message reporting frequency corresponding to the specified message type of the target device is obtained, including: detecting the actual message reporting frequency corresponding to the specified message type of each of the devices, and obtaining the user-set reporting frequency corresponding to the specified message type of each of the devices from the user-set frequency configuration; comparing the actual message reporting frequency corresponding to the specified message type of each of the devices with the user-set reporting frequency to obtain a comparison result; determining the device with a different frequency as the comparison result as the target device, and determining the user-set reporting frequency of the target device corresponding to the specified message type as the adjusted message reporting frequency.

[0012] In some embodiments of the present application, sending the adjusted message reporting frequency to the target device includes: if the number of the target devices exceeds a predetermined number, putting the frequency modulation instructions corresponding to the multiple target devices into the task scheduler; and sending the frequency modulation instructions corresponding to each target device to each target device in batches through the task scheduler, wherein the frequency modulation instructions carry the adjusted message reporting frequency.

[0013] According to one embodiment of the present application, a message reporting method is applied to a target device, and the method includes: receiving an adjusted message reporting frequency corresponding to one or more specified message types sent from a cloud, wherein the adjusted message reporting frequency is obtained by the cloud by performing a type-based frequency modulation analysis on an actual message reporting frequency corresponding to the specified message type by the target device; and reporting messages of the specified message type according to the adjusted message reporting frequency.

[0014] In some embodiments of the present application, the receiving of the adjusted message reporting frequency corresponding to the specified message type sent from the cloud includes: receiving the adjusted message reporting frequency through the network communication module in the target device; distributing the adjusted message reporting frequency to the frequency limiter corresponding to the specified message type through the network communication module, the frequency limiter being used to limit the reporting frequency of messages of the specified message type to the adjusted message reporting frequency.

[0015] In some embodiments of the present application, the target device includes an electronic control module and a network communication module, a first frequency limiter is set in the electronic control module, and a second frequency limiter is installed in the network communication module; the adjusted message reporting frequency is distributed to the frequency limiter corresponding to the specified message type through the network communication module, including: if the specified message type is an electronic control data message type, the adjusted message reporting frequency is distributed to the first frequency limiter; if the specified message type is a physical model message type, the adjusted message reporting frequency is distributed to the second frequency limiter.

[0016] According to one embodiment of the present application, a message reporting device is applied to the cloud, and the device includes: a cloud receiving module, which is used to receive a device frequency configuration instruction, and determine at least one device according to the device frequency configuration instruction; an analysis module, which is used to perform a frequency modulation analysis by type according to an actual message reporting frequency corresponding to one or more specified message types of the at least one device, obtain one or more devices that need to be frequency adjusted in the at least one device as target devices, and obtain the adjusted message reporting frequency of the target device corresponding to the specified message type; a sending module, which is used to send the adjusted message reporting frequency to the target device to instruct the target device to report the message of the specified message type according to the adjusted message reporting frequency.

[0017] In some embodiments of the present application, the cloud receiving module is used to: receive a device frequency configuration instruction sent by a device, wherein the device frequency configuration instruction includes device information of each of the devices; and obtain at least one device requesting frequency modulation according to the device information of each of the devices in the device frequency configuration instruction.

[0018] In some embodiments of the present application, the device frequency configuration instruction of each of the devices carries the actual message reporting frequency of the device corresponding to the specified message type; the analysis module is used to: respectively compare the actual message reporting frequency of each of the devices corresponding to the specified message type with the reporting frequency set by the user to obtain the comparison results corresponding to each of the devices; determine the device with a different frequency as the target device, and determine the user-set reporting frequency of the target device corresponding to the specified message type as the adjusted message reporting frequency.

[0019] In some embodiments of the present application, the cloud receiving module is used to: receive a device frequency configuration instruction triggered by an operation platform, wherein the device frequency configuration instruction includes a user-set frequency configuration; and obtain the at least one device according to the device information included in the user-set frequency configuration.

[0020] In some embodiments of the present application, the user-set frequency configuration also includes a user-set reporting frequency corresponding to the specified message type of at least one device; the analysis module is used to: detect the actual message reporting frequency corresponding to the specified message type of each device, and obtain the user-set reporting frequency corresponding to the specified message type of each device from the user-set frequency configuration; respectively compare the actual message reporting frequency corresponding to the specified message type of each device with the user-set reporting frequency to obtain the comparison result corresponding to each device; determine the device with a different frequency as the target device, and determine the user-set reporting frequency corresponding to the specified message type of the target device as the adjusted message reporting frequency.

[0021] In some embodiments of the present application, the sending module is used to: if the number of the target devices exceeds a predetermined number, then the frequency modulation instructions corresponding to the multiple target devices are put into the task scheduler; and the frequency modulation instructions corresponding to each target device are sent to each target device in batches through the task scheduler, wherein the frequency modulation instructions carry the adjusted message reporting frequency.

[0022] According to one embodiment of the present application, a message reporting device is applied to a target device, and the device includes: a device receiving module, used to receive an adjusted message reporting frequency corresponding to one or more specified message types sent from the cloud, wherein the adjusted message reporting frequency is obtained by the cloud by performing a type-based frequency modulation analysis on the actual message reporting frequency corresponding to the specified message type of the target device; a reporting module, used to report messages of the specified message type according to the adjusted message reporting frequency.

[0023] In some embodiments of the present application, the device receiving module is used to: receive the adjusted message reporting frequency through the network communication module in the target device; distribute the adjusted message reporting frequency to the frequency limiter corresponding to the specified message type through the network communication module, and the frequency limiter is used to limit the reporting frequency of messages of the specified message type to the adjusted message reporting frequency.

[0024] In some embodiments of the present application, the device receiving module is used to: if the specified message type is an electronic control data message type, distribute the adjusted message reporting frequency to the first frequency limiter; if the specified message type is a physical model message type, distribute the adjusted message reporting frequency to the second frequency limiter.

[0025] According to another embodiment of the present application, a storage medium stores a computer program thereon. When the computer program is executed by a processor in the cloud, the cloud executes the method described in the embodiment of the present application.

[0026] According to another embodiment of the present application, a storage medium stores a computer program thereon, and when the computer program is executed by a processor of a target device, the target device executes the method described in the embodiment of the present application.

[0027] According to another embodiment of the present application, a cloud may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the method described in the embodiment of the present application.

[0028] According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the method described in the embodiment of the present application.

[0029] According to another embodiment of the present application, a computer program product or a computer program includes a computer instruction stored in a computer-readable storage medium. A processor of a device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the device executes the method provided in various optional implementations described in the embodiments of the present application.

[0030] In an embodiment of the present application, the cloud can: receive a device frequency configuration instruction, and determine at least one device according to the device frequency configuration instruction; perform a frequency modulation analysis by type according to the actual message reporting frequency corresponding to the specified message type of the at least one device, obtain one or more devices that need to be frequency adjusted in the at least one device as target devices, and obtain the adjusted message reporting frequency of the target device corresponding to the specified message type; send the adjusted message reporting frequency to the target device to instruct the target device to report the message of the specified message type according to the adjusted message reporting frequency.

[0031] In this way, the cloud can perform frequency modulation analysis on one or more specified message types by type, accurately determine the adjusted message reporting frequency of the target device that needs to be frequency modulated corresponding to the specified message type, and after the adjusted message reporting frequency is sent to the target device, the target device can report the message of the specified message type according to the adjusted message reporting frequency, thereby avoiding the messages of the specified message type being reported frequently and erroneously without affecting the reporting of other types of messages, and avoiding problems such as increased network costs, high load on network communication modules, and high pressure on cloud message processing caused by frequent and erroneous reporting. Overall, it can accurately improve the stability of device message reporting, improve message reporting reliability, and improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0033] Figure 1 A flow chart of a message reporting method according to an embodiment of the present application is shown.

[0034] Figure 2A message reporting system architecture diagram according to an embodiment of the present application is shown.

[0035] Figure 3 A message reporting system architecture diagram according to another embodiment of the present application is shown.

[0036] Figure 4 A block diagram of a message reporting device according to an embodiment of the present application is shown.

[0037] Figure 5 A block diagram of a message reporting device according to another embodiment of the present application is shown.

[0038] Figure 6 A block diagram of a cloud according to an embodiment of the present application is shown.

[0039] Figure 7 A block diagram of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0040] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are only used to explain the present disclosure and are not intended to limit the present disclosure. In addition, the embodiments provided below are partial embodiments for implementing the present disclosure, rather than providing all embodiments for implementing the present disclosure. In the absence of conflict, the technical solutions recorded in the embodiments of the present disclosure can be implemented in any combination.

[0041] It should be noted that, in the embodiments of the present disclosure, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or apparatus including a series of elements includes not only the elements explicitly recorded, but also includes other elements not explicitly listed, or also includes elements inherent to the implementation of the method or apparatus. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other related elements in the method or apparatus including the element (such as a step in the method or a unit in the apparatus, for example, a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.).

[0042] For example, the message reporting method provided by the embodiment of the present disclosure includes a series of steps, but the message reporting method provided by the embodiment of the present disclosure is not limited to the recorded steps. Similarly, the message reporting device provided by the embodiment of the present disclosure includes a series of units, but the device provided by the embodiment of the present disclosure is not limited to including the units explicitly recorded, and may also include units required to obtain relevant information or perform processing based on the information.

[0043] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.

[0044] It is understandable that in the specific implementation of this application, relevant data is involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0045] The message reporting system architecture of the embodiment of the present application may include a cloud and at least one device connected to the cloud, wherein the device has the need to report various messages to the cloud through the network. For example, when the device is an air conditioner, the air conditioner usually reports messages such as power-on and power-off status and working mode to the cloud. However, due to the characteristics of the message transmission protocol (such as the MQTT protocol) between the device and the cloud and the frequent state changes that may occur in the device, the device may frequently report messages, thereby causing a series of problems. To this end, the embodiment of the present application provides the following technical solutions to solve these problems, as described below.

[0046] Figure 1 The flowchart of the message reporting method according to an embodiment of the present application is schematically shown. The execution subject of the message reporting method may be a cloud with processing capabilities. The cloud may execute as follows Figure 1 The steps shown are as follows Figure 1 The message reporting method shown may include steps S110 to S130.

[0047] Step S110, receiving a device frequency configuration instruction, and determining at least one device according to the device frequency configuration instruction; Step S120, performing a frequency modulation analysis by type according to the actual message reporting frequency of the at least one device corresponding to one or more specified message types, obtaining one or more devices that need to be frequency adjusted in the at least one device as target devices and obtaining the adjusted message reporting frequency of the target device corresponding to the specified message type; Step S130, sending the adjusted message reporting frequency to the target device to instruct the target device to report messages of the specified message type according to the adjusted message reporting frequency.

[0048] The cloud can receive the device frequency configuration instruction triggered by the operation platform or the device frequency configuration instruction reported by the device itself. The device frequency configuration instruction will include device information, and at least one of the devices can be obtained based on the device information.

[0049] The cloud can obtain the actual message reporting frequency corresponding to the specified message type of each device in the at least one device, where the actual message reporting frequency corresponding to the specified message type is the current frequency at which the device reports messages of the specified message type to the cloud or other servers.

[0050] The cloud performs frequency modulation analysis by type based on the actual message reporting frequency corresponding to the specified message type of at least one device, obtains one or more devices in the at least one device that need frequency adjustment as target devices, and can obtain the adjusted message reporting frequency corresponding to the target device.

[0051] The cloud can further send the adjusted message reporting frequency to the target device, and the target device can report messages of the specified message type according to the adjusted message reporting frequency. The specified message type can be one or more.

[0052] In this way, the cloud can perform frequency modulation analysis on one or more specified message types by type, accurately determine the adjusted message reporting frequency of the target device that needs to be frequency modulated corresponding to the specified message type, and after the adjusted message reporting frequency is sent to the target device, the target device can report the message of the specified message type according to the adjusted message reporting frequency, thereby avoiding the messages of the specified message type from being reported incorrectly or frequently without affecting the reporting of other types of messages, and avoiding problems such as increased network costs, high load on the network communication module, and high pressure on cloud message processing caused by incorrect or frequent reporting. Overall, it can accurately improve the stability of device message reporting, improve message reporting reliability, and improve user experience.

[0053] Described below Figure 1 When reporting a message under the embodiment, further optional specific embodiments are provided under each step performed.

[0054] In one embodiment, the network communication module in the target device receives the adjusted message reporting frequency, and the network communication module distributes the adjusted message reporting frequency to the frequency limiter corresponding to the specified message type, and the frequency limiter is used to limit the reporting frequency of messages of the specified message type to the adjusted message reporting frequency.

[0055] The target device includes a network communication module, which may be a 4G module or a WiFi module, etc. The cloud sends the adjusted message reporting frequency corresponding to the specified message type to the network communication module in the target device.

[0056] Frequency limiters corresponding to different message types are set in the target device. The network communication module first determines the frequency limiter corresponding to the specified message type, and distributes the adjusted message reporting frequency to the frequency limiter corresponding to the specified message type. The frequency limiter can limit the reporting frequency of messages of the specified message type in the target device to the adjusted message reporting frequency.

[0057] By setting the frequency limiter according to the message type, the network communication module distributes the adjusted message reporting frequency to the corresponding frequency limiter according to the type, and the message reporting frequency can be accurately controlled according to the message type.

[0058] Furthermore, in one embodiment, the target device includes an electronic control module and a network communication module, a first frequency limiter is set in the electronic control module, and a second frequency limiter is set in the network communication module; the specified message type includes a physical model message type or an electronic control data message type, the frequency limiter corresponding to the electronic control data message type is the first frequency limiter, and the frequency limiter corresponding to the physical model message type is the second frequency limiter.

[0059] See also Figure 2 , the target device 210 includes an electric control module 211 and a network communication module 212, a first frequency limiter 2112 is set in the electric control module, a second frequency limiter 2122 is set in the network communication module, the frequency limiter corresponding to the electric control data message type is the first frequency limiter 2112, and the frequency limiter corresponding to the physical model message type is the second frequency limiter 2122. The cloud 220 can send the adjusted message reporting frequency to the frequency distribution unit 2123 in the network communication module 212 through the frequency limiting instruction unit 2132. The frequency distribution unit 2123: if the specified message type is the electric control data message type, the adjusted message reporting frequency is distributed to the first frequency limiter 2112; if the specified message type is the physical model message type, the adjusted message reporting frequency is distributed to the second frequency limiter 2122.

[0060] The message reporting unit 2111 of the electric control data message type in the electric control module 211 can transmit the electric control data message carrying the electric control data to the network communication module 212 under the frequency limit of the first frequency limiter 2112, and report it to the message receiving unit 2131 in the cloud through the transparent transmission unit 2121 in the network communication module 212. The message reporting unit 2113 of the physical model message type in the electric control module 211 transmits the physical model message carrying the physical model data to the network communication module 212, and the network communication module 212 reports the physical model message to the message receiving unit 2131 in the cloud under the frequency limit of the second frequency limiter 2122.

[0061] By setting the first frequency limiter in the electronic control module and the second frequency limiter in the network communication module, the reporting of messages of the electronic control data message type and the physical model message type can be restricted respectively, so that the message reporting frequency can be controlled with higher performance and the reliability of message reporting can be further improved.

[0062] The following describes a related embodiment of the cloud actively triggering the adjustment of the message reporting frequency of the device. The cloud can actively adjust the message reporting frequency of the device under the triggering of its associated operation platform.

[0063] Specifically, in one embodiment, the receiving of device frequency configuration instructions and determining at least one device based on the device frequency configuration instructions may include: receiving a device frequency configuration instruction triggered by an operation platform, wherein the device frequency configuration instruction includes a user-set frequency configuration; and obtaining the at least one device based on the device information included in the user-set frequency configuration.

[0064] For example, see Figure 3 , operators and other users can manually input the user-set frequency configuration of a device or a batch of devices they want to control on the cloud-related operation platform and trigger adjustment. Then, the operation platform configuration unit 2134 can receive the device frequency configuration instruction with the user-set frequency configuration triggered by the operation platform. The user-set frequency configuration may include device information of at least one device and the user-set reporting frequency corresponding to each device for different specified message types. The frequency limit configuration unit 2133 obtains at least one device according to the device information included in the user-set frequency configuration.

[0065] Further, the user-set frequency configuration also includes a user-set reporting frequency of the at least one device corresponding to the specified message type; the type-based frequency modulation analysis is performed according to the actual message reporting frequency of the at least one device corresponding to one or more specified message types, and one or more devices in the at least one device that need to be frequency adjusted are obtained as target devices, and the adjusted message reporting frequency of the target device corresponding to the specified message type is obtained, which may specifically include:

[0066] Detect the actual message reporting frequency of each of the devices corresponding to the specified message type, and obtain the user-set reporting frequency of each of the devices corresponding to the specified message type from the user-set frequency configuration; compare the actual message reporting frequency of each of the devices corresponding to the specified message type with the user-set reporting frequency, respectively, to obtain the comparison result corresponding to each of the devices; determine the device with a different frequency as the comparison result as the target device, and determine the user-set reporting frequency of the target device corresponding to the specified message type as the adjusted message reporting frequency.

[0067] For example, see Figure 3 The frequency limiting configuration unit 2133 can compare the actual message reporting frequency corresponding to the specified message type of each device with the reporting frequency set by the user to obtain a comparison result. If the actual message reporting frequency corresponding to the specified message type of a device is different from the reporting frequency set by the user, the device will be taken as a target device. At the same time, the user-set reporting frequency corresponding to the specified message type can be determined as the adjusted message reporting frequency and sent to the frequency limiting instruction unit 2132 to be sent to the target device.

[0068] Furthermore, sending the adjusted message reporting frequency to the target device may include: if the number of the target devices exceeds a predetermined number, putting the frequency modulation instructions corresponding to the multiple target devices into the task scheduler; and sending the frequency modulation instructions corresponding to each target device to each target device in batches through the task scheduler, wherein the frequency modulation instructions carry the adjusted message reporting frequency.

[0069] If the number of identified target devices exceeds the predetermined number, the frequency modulation instructions corresponding to multiple target devices can be put into the task scheduler. The frequency modulation instructions carry the adjusted message reporting frequency. The task scheduler sends the frequency modulation instructions corresponding to each target device to each target device in batches, thereby further improving the reliability of frequency adjustment.

[0070] When the embodiment of the present application is applied in a scenario, when the cloud can actively adjust the message reporting frequency of the device under the trigger of its associated operation platform: the operation personnel and other users can manually input the user-set frequency configuration of a device or a batch of devices to be controlled on the operation platform associated with the cloud and trigger the adjustment. The cloud receives the device frequency configuration instruction carrying the user-set frequency configuration, and the state perception service in the cloud will circle the device according to the actual message reporting frequency corresponding to the specified message type and the user-set reporting frequency. If the actual message reporting frequency corresponding to the specified message type of a certain device is different from the user-set reporting frequency, the certain device will be used as a target device. At the same time, the user-set reporting frequency corresponding to the specified message type can be determined as the adjusted message reporting frequency and sent to the target device through the access layer. If the number of circled target devices exceeds the predetermined number, the frequency modulation instructions corresponding to multiple target devices can be put into the task scheduler, and the frequency modulation instructions carry the adjusted message reporting frequency. The task scheduler sends the frequency modulation instructions corresponding to each target device to each target device in batches.

[0071] The following describes the relevant embodiments of passively triggering the cloud to adjust the message reporting frequency of the device. The cloud can passively adjust the message reporting frequency of the device at the request of the device. Passive triggering can avoid the frequency setting failure caused by the device not being connected to the network or network fluctuations in active triggering, and further improve the success rate of frequency adjustment.

[0072] Specifically, in one embodiment, the receiving device frequency configuration instruction and determining at least one device based on the device frequency configuration instruction may include: receiving a device frequency configuration instruction sent by the at least one device, the device frequency configuration instruction including device information of each of the devices; and obtaining the at least one device requesting frequency modulation based on the device information of each of the devices in the device frequency configuration instruction.

[0073] The device can send a device frequency configuration instruction to the cloud when the power is turned on again, the network is reconnected, or the message reporting frequency is changed. The device frequency configuration instruction includes the actual message reporting frequency of the device corresponding to the specified message type and the device information of the device. For example, see Figure 3 For example, the electric control frequency configuration unit 2114 in the electric control module 211 can send a device frequency configuration instruction 1 to the cloud through the transparent transmission unit 2125 in the network communication module, and the device frequency configuration instruction 1 includes the actual message reporting frequency of the device corresponding to the "electric control data message type"; for example, the physical model frequency configuration unit 2124 in the electric control module 211 can send a device frequency configuration instruction 2 to the cloud, and the device frequency configuration instruction 2 includes the actual message reporting frequency of the device corresponding to the "physical model message type".

[0074] The instruction receiving unit 2135 in the cloud can receive the device frequency configuration instruction sent by the device and transmit it to the frequency limiting configuration unit 2133. The frequency limiting configuration unit 2133 obtains the device requesting frequency modulation according to the device information in the device frequency configuration instruction.

[0075] Furthermore, the device frequency configuration instruction of each of the devices carries the actual message reporting frequency of the device corresponding to the specified message type; the type-based frequency modulation analysis is performed according to the actual message reporting frequency of at least one device corresponding to the specified message type, and one or more devices that need to be frequency adjusted in the at least one device are obtained as target devices, and the adjusted message reporting frequency of the target device corresponding to the specified message type is obtained, which may include: obtaining the actual message reporting frequency of each of the devices corresponding to the specified message type from the device frequency configuration instruction of each of the devices, and obtaining the user-set reporting frequency of each of the devices corresponding to the specified message type from the cloud; comparing the actual message reporting frequency of the device corresponding to the specified message type with the user-set reporting frequency, respectively, to obtain the comparison result corresponding to each of the devices; determining the device with a different frequency as the comparison result as the target device, and determining the user-set reporting frequency of the target device corresponding to the specified message type as the adjusted message reporting frequency.

[0076] For example, see Figure 3 The frequency limit configuration unit 2133 can compare the actual message reporting frequency of the device corresponding to the specified message type with the reporting frequency set by the user to obtain a comparison result; if the comparison result is that the two frequencies are different, the device that sends the device frequency configuration instruction is determined as the target device, and the user-set reporting frequency of the target device corresponding to the specified message type is determined as the adjusted message reporting frequency. At the same time, the adjusted message reporting frequency can be sent to the frequency limit instruction unit 2132 to be sent to the target device.

[0077] When an embodiment of the present application is applied in a scenario, when the cloud can passively adjust the message reporting frequency of the device at the request of the device, if the device is connected to the emq node of the cloud through the mqtt protocol, the access layer of the cloud receives the device frequency configuration instruction sent by the device, and distributes it to the state awareness service via the message queue; the state awareness service can compare the actual message reporting frequency of the device corresponding to the specified message type with the user-set reporting frequency to obtain a comparison result; if the comparison result is that the two frequencies are different, the device that sends the device frequency configuration instruction is determined as the target device, and the user-set reporting frequency of the target device corresponding to the specified message type is determined as the adjusted message reporting frequency; at the same time, the state awareness service can send the adjusted message reporting frequency to the device through the control service, the access layer, and finally the emq node.

[0078] Figure 4 The flowchart of the message reporting method according to an embodiment of the present application is schematically shown. The execution subject of the message reporting method may be a device with processing capabilities. The device may execute as follows: Figure 4 The steps shown are as follows Figure 4The message reporting method shown may include steps S410 to S420.

[0079] Step S410, receiving the adjusted message reporting frequency corresponding to one or more specified message types sent by the cloud, wherein the adjusted message reporting frequency is obtained by the cloud by performing type-based frequency modulation analysis on the actual message reporting frequency corresponding to the specified message type of the target device; Step S420, reporting the message of the specified message type according to the adjusted message reporting frequency.

[0080] In this way, the cloud can perform frequency modulation analysis on one or more specified message types by type, accurately determine the adjusted message reporting frequency of the target device that needs to be frequency modulated corresponding to the specified message type, and after the adjusted message reporting frequency is sent to the target device, the target device can report the message of the specified message type according to the adjusted message reporting frequency, thereby avoiding the messages of the specified message type being reported frequently and erroneously without affecting the reporting of other types of messages, and avoiding problems such as increased network costs, high load on network communication modules, and high pressure on cloud message processing caused by frequent and erroneous reporting. Overall, it can accurately improve the stability of device message reporting, improve message reporting reliability, and improve user experience.

[0081] Described below Figure 4 When reporting a message under the embodiment, further optional specific embodiments are provided under each step performed.

[0082] In one embodiment, the receiving of the adjusted message reporting frequency corresponding to the specified message type sent from the cloud includes: receiving the adjusted message reporting frequency through the network communication module in the target device; distributing the adjusted message reporting frequency to the frequency limiter corresponding to the specified message type through the network communication module, the frequency limiter being used to limit the reporting frequency of messages of the specified message type to the adjusted message reporting frequency.

[0083] The target device includes a network communication module, which may be a communication module such as a 4G module (4G Module) or a WiFi module (WiFi Module). The cloud sends the adjusted message reporting frequency corresponding to the specified message type to the network communication module in the target device. The target device is set with frequency limiters corresponding to different message types. The network communication module first determines the frequency limiter corresponding to the specified message type, and distributes the adjusted message reporting frequency to the frequency limiter corresponding to the specified message type. The frequency limiter can limit the reporting frequency of messages of the specified message type in the target device to the adjusted message reporting frequency. By setting the frequency limiter according to the message type, the network communication module distributes the adjusted message reporting frequency to the corresponding frequency limiter according to the type, and the message reporting frequency can be accurately controlled according to the message type.

[0084] Furthermore, in one embodiment, the target device includes an electronic control module and a network communication module, a first frequency limiter is set in the electronic control module, and a second frequency limiter is set in the network communication module; the adjusted message reporting frequency is distributed to the frequency limiter corresponding to the specified message type through the network communication module, including: if the specified message type is an electronic control data message type, the adjusted message reporting frequency is distributed to the first frequency limiter; if the specified message type is a physical model message type, the adjusted message reporting frequency is distributed to the second frequency limiter.

[0085] By setting a first frequency limiter in the electronic control module and a second frequency limiter in the network communication module, reporting restrictions are imposed on messages of electronic control data message type and physical model message type respectively, so that message reporting frequency control can be performed with higher performance and the reliability of message reporting can be further improved.

[0086] In order to better implement the message reporting method provided in the embodiment of the present application, the embodiment of the present application also provides a message reporting device based on the above message reporting method. The meanings of the terms are the same as those in the above message reporting method, and the specific implementation details can refer to the description in the method embodiment.

[0087] Figure 4 FIG. 4 is a block diagram of a message reporting device according to an embodiment of the present application. Figure 4 The message reporting device 300 shown is applied to the cloud, and the message reporting device 300 may include: a cloud receiving module 310 can be used to receive a device frequency configuration instruction, and determine at least one device according to the device frequency configuration instruction; an analysis module 320 can be used to perform a frequency modulation analysis by type according to the actual message reporting frequency corresponding to the specified message type of the at least one device, obtain one or more devices that need to be frequency adjusted in the at least one device as target devices, and obtain the adjusted message reporting frequency of the target device corresponding to the specified message type; a sending module 330 can be used to send the adjusted message reporting frequency to the target device to instruct the target device to report the message of the specified message type according to the adjusted message reporting frequency.

[0088] In some embodiments of the present application, the cloud receiving module is used to: receive a device frequency configuration instruction sent by the at least one device, wherein the device frequency configuration instruction includes device information of each of the devices; and obtain the at least one device requesting frequency modulation according to the device information of each of the devices in the device frequency configuration instruction.

[0089] In some embodiments of the present application, the device frequency configuration instruction of each of the devices carries the actual message reporting frequency of the device corresponding to the specified message type; the analysis module is used to: obtain the actual message reporting frequency of each of the devices corresponding to the specified message type from the device frequency configuration instruction of each of the devices, and obtain the user-set reporting frequency of each of the devices corresponding to the specified message type from the cloud; compare the actual message reporting frequency of each of the devices corresponding to the specified message type with the user-set reporting frequency, respectively, to obtain the comparison result corresponding to each of the devices; determine the device with a different frequency as the target device, and determine the user-set reporting frequency of the target device corresponding to the specified message type as the adjusted message reporting frequency.

[0090] In some embodiments of the present application, the cloud receiving module is used to: receive a device frequency configuration instruction triggered by an operation platform, wherein the device frequency configuration instruction includes a user-set frequency configuration; and obtain the at least one device according to the device information included in the user-set frequency configuration.

[0091] In some embodiments of the present application, the user-set frequency configuration also includes a user-set reporting frequency corresponding to the specified message type of at least one device; the analysis module is used to: detect the actual message reporting frequency corresponding to the specified message type of each device, and obtain the user-set reporting frequency corresponding to the specified message type of each device from the user-set frequency configuration; respectively compare the actual message reporting frequency corresponding to the specified message type of each device with the user-set reporting frequency to obtain the comparison result corresponding to each device; determine the device with a different frequency as the target device, and determine the user-set reporting frequency corresponding to the specified message type of the target device as the adjusted message reporting frequency.

[0092] In some embodiments of the present application, the sending module is used to: if the number of the target devices exceeds a predetermined number, then the frequency modulation instructions corresponding to the multiple target devices are put into the task scheduler; and the frequency modulation instructions corresponding to each target device are sent to each target device in batches through the task scheduler, wherein the frequency modulation instructions carry the adjusted message reporting frequency.

[0093] Figure 5 FIG. 4 is a block diagram of a message reporting device according to an embodiment of the present application. Figure 5The message reporting device 400 shown is applied to the target device, and the message reporting device 400 may include: a device receiving module 410 can be used to receive an adjusted message reporting frequency corresponding to a specified message type sent from the cloud, wherein the adjusted message reporting frequency is obtained by the cloud by performing a type-based frequency modulation analysis on an actual message reporting frequency corresponding to the specified message type of the target device; a reporting module 420 can be used to report messages of the specified message type according to the adjusted message reporting frequency.

[0094] In some embodiments of the present application, the device receiving module is used to: receive the adjusted message reporting frequency through the network communication module in the target device; distribute the adjusted message reporting frequency to the frequency limiter corresponding to the specified message type through the network communication module, and the frequency limiter is used to limit the reporting frequency of messages of the specified message type to the adjusted message reporting frequency.

[0095] In some embodiments of the present application, the device receiving module is used to: if the specified message type is an electronic control data message type, distribute the adjusted message reporting frequency to the first frequency limiter; if the specified message type is a physical model message type, distribute the adjusted message reporting frequency to the second frequency limiter.

[0096] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0097] In addition, the present application embodiment also provides a cloud, such as Figure 6 As shown, Figure 6 A block diagram of a cloud according to an embodiment of the present application is shown, and the cloud 500 may include a memory 510 storing a computer program; a processor 520 reading the computer program stored in the memory to execute the method described in the embodiment of the present application.

[0098] For example, the processor 520 can execute: receiving a device frequency configuration instruction, and determining at least one device according to the device frequency configuration instruction; performing a frequency modulation analysis by type according to the actual message reporting frequency corresponding to one or more specified message types of the at least one device, obtaining one or more devices that need to be frequency adjusted in the at least one device as target devices and obtaining the adjusted message reporting frequency of the target device corresponding to the specified message type; sending the adjusted message reporting frequency to the target device, so that at least the target device reports the message of the specified message type according to the adjusted message reporting frequency.

[0099] In addition, the present application also provides an electronic device, such as Figure 7 As shown, Figure 7 A block diagram of an electronic device according to an embodiment of the present application is shown, specifically:

[0100] The electronic device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will appreciate that Figure 7 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0101] in:

[0102] The processor 601 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, it executes various functions of the computer device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.

[0103] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0104] The electronic device also includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 603 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

[0105] The electronic device may further include an input unit 604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0106] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 601 in the electronic device will load the executable files corresponding to the processes of one or more computer programs into the memory 602 according to the following instructions, and the processor 601 will run the computer programs stored in the memory 602, thereby realizing various functions in the aforementioned embodiments of the present application.

[0107] For example, processor 601 can execute: receiving an adjusted message reporting frequency corresponding to one or more specified message types sent from the cloud, wherein the adjusted message reporting frequency is obtained by the cloud by performing a type-based frequency modulation analysis on an actual message reporting frequency corresponding to the specified message type of the target device; and reporting messages of the specified message type according to the adjusted message reporting frequency.

[0108] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by a computer program, or by controlling related hardware through a computer program. The computer program may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0109] To this end, an embodiment of the present application further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor in the cloud, the cloud executes the method described in the embodiment of the present application.

[0110] The embodiment of the present application also provides another storage medium on which a computer program is stored. When the computer program is executed by a processor of a target device, the target device executes the method described in the embodiment of the present application.

[0111] The storage medium may be a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0112] Since the computer program stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by the method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0113] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0114] It should be understood that the present application is not limited to the embodiments that have been described above and shown in the accompanying drawings, but various modifications and changes may be made without departing from the scope thereof.

Claims

1. A message reporting method, characterized in that: Applied to the cloud, the method includes: receiving a device frequency configuration instruction, and determining at least one device according to the device frequency configuration instruction; Performing frequency modulation analysis by type according to the actual message reporting frequency of the at least one device corresponding to one or more specified message types, obtaining one or more devices in the at least one device that need frequency adjustment as target devices, and obtaining the adjusted message reporting frequency of the target device corresponding to the specified message type; The adjusted message reporting frequency is sent to the target device to instruct the target device to report the message of the specified message type according to the adjusted message reporting frequency.

2. The method according to claim 1, characterized in that The receiving device frequency configuration instruction, and determining at least one device according to the device frequency configuration instruction, comprises: receiving a device frequency configuration instruction sent by the at least one device, wherein the device frequency configuration instruction includes device information of each of the devices; The at least one device requesting frequency modulation is obtained according to the device information of each device in the device frequency configuration instruction.

3. The method according to claim 2, characterized in that The device frequency configuration instruction of each of the devices carries the actual message reporting frequency of the device corresponding to the specified message type; The performing frequency modulation analysis by type according to the actual message reporting frequency corresponding to one or more specified message types of the at least one device, obtaining one or more devices in the at least one device that need to perform frequency adjustment as target devices, and obtaining the adjusted message reporting frequency of the target device corresponding to the specified message type, includes: Obtaining the actual message reporting frequency of each device corresponding to the specified message type from the device frequency configuration instruction of each device, and obtaining the user-set reporting frequency of each device corresponding to the specified message type from the cloud; Respectively comparing the actual message reporting frequency corresponding to the specified message type of each device with the reporting frequency set by the user to obtain a comparison result corresponding to each device; The device with a different frequency as a result of the comparison is determined as the target device, and the user-set reporting frequency of the target device corresponding to the specified message type is determined as the adjusted message reporting frequency.

4. The method according to claim 1, characterized in that: The receiving device frequency configuration instruction, and determining at least one device according to the device frequency configuration instruction, comprises: Receiving a device frequency configuration instruction triggered by an operation platform, wherein the device frequency configuration instruction includes a user-set frequency configuration; The at least one device is obtained according to the device information included in the user-set frequency configuration.

5. The method according to claim 4, characterized in that The user-set frequency configuration also includes a user-set reporting frequency corresponding to a specified message type of the at least one device; The performing frequency modulation analysis by type according to the actual message reporting frequency corresponding to one or more specified message types of the at least one device, obtaining one or more devices in the at least one device that need to perform frequency adjustment as target devices, and obtaining the adjusted message reporting frequency of the target device corresponding to the specified message type, includes: Detecting an actual message reporting frequency corresponding to a specified message type of each of the devices, and obtaining a user-set reporting frequency corresponding to the specified message type of each of the devices from the user-set frequency configuration; Respectively comparing the actual message reporting frequency of each device corresponding to the specified message type with the reporting frequency set by the user to obtain a comparison result corresponding to each device; The device with a different frequency as a result of the comparison is determined as the target device, and the user-set reporting frequency of the target device corresponding to the specified message type is determined as the adjusted message reporting frequency.

6. The method according to claim 5, characterized in that The sending the adjusted message reporting frequency to the target device includes: If the number of the target devices exceeds a predetermined number, the frequency modulation instructions corresponding to the plurality of the target devices are put into the task scheduler; The task scheduler sends frequency modulation instructions corresponding to each of the target devices to each of the target devices in batches, wherein the frequency modulation instructions carry the adjusted message reporting frequency.

7. A message reporting method, characterized in that: Applied to a target device, the method comprises: Receiving adjusted message reporting frequencies corresponding to one or more specified message types sent by the cloud, wherein the adjusted message reporting frequencies are obtained by the cloud by performing frequency modulation analysis by type based on actual message reporting frequencies corresponding to the specified message types by the target device; Report the message of the specified message type according to the adjusted message reporting frequency.

8. The method according to claim 7, characterized in that The receiving the adjusted message reporting frequency corresponding to one or more specified message types sent by the cloud includes: Receiving the adjusted message reporting frequency through a network communication module in the target device; The adjusted message reporting frequency is distributed to a frequency limiter corresponding to the specified message type through the network communication module, and the frequency limiter is used to limit the reporting frequency of messages of the specified message type to the adjusted message reporting frequency.

9. The method according to claim 8, characterized in that The target device includes an electric control module and a network communication module, the electric control module is provided with a first frequency limiter, and the network communication module is provided with a second frequency limiter; The distributing the adjusted message reporting frequency to the frequency limiter corresponding to the specified message type through the network communication module includes: If the designated message type is an electronic control data message type, distributing the adjusted message reporting frequency to the first frequency limiter; If the designated message type is a physical model message type, the adjusted message reporting frequency is distributed to the second frequency limiter.

10. A message reporting device, characterized in that: Applied to the cloud, the device comprises: A cloud receiving module, used to receive a device frequency configuration instruction, and determine at least one device according to the device frequency configuration instruction; An analysis module, configured to perform frequency modulation analysis by type according to an actual message reporting frequency of the at least one device corresponding to one or more specified message types, obtain one or more devices in the at least one device that need to be frequency adjusted as target devices, and obtain the adjusted message reporting frequency of the target device corresponding to the specified message type; The sending module is used to send the adjusted message reporting frequency to the target device to instruct the target device to report the message of the specified message type according to the adjusted message reporting frequency.

11. A message reporting device, characterized in that: Applied to a target device, the apparatus comprises: A device receiving module, used to receive the adjusted message reporting frequency corresponding to one or more specified message types sent by the cloud, wherein the adjusted message reporting frequency is obtained by the cloud performing a type-based frequency adjustment analysis based on the actual message reporting frequency corresponding to the specified message type by the target device; A reporting module is used to report the message of the specified message type according to the adjusted message reporting frequency.

12. A cloud, characterized in that: include: a memory storing a computer program; A processor reads a computer program stored in a memory to execute the method according to any one of claims 1 to 6.

13. An electronic device, characterized in that: include: a memory storing a computer program; A processor reads a computer program stored in a memory to execute the method according to any one of claims 7 to 9.

Citation Information

Cited By

  • Message reporting method and apparatus, and cloud and electronic device

    WO2026086427A1