Centralized downlink communication resource distribution system and method for intelligent terminal
By using a centralized downlink communication resource allocation system, which dynamically adjusts resource allocation through message bus and resource management applications, the problems of concurrency and synchronization management in downlink communication of smart terminals are solved, and efficient unified management and orderly communication of downlink communication resources of smart terminals are realized.
Patent Information
- Application Number
- CN202511047482.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-29
- Publication Date
- 2025-11-25
AI Technical Summary
Smart terminals suffer from chaotic concurrency and synchronization management in downlink communication, especially when multiple applications access the same downlink channel or the same application accesses multiple downlink channels, resulting in untimely resource allocation and chaotic management.
A centralized downlink communication resource allocation system is adopted, which realizes data interaction between business applications and downlink communication resource management applications through a message bus. The downlink communication resource management application dynamically adjusts resource allocation according to the priority of business requests and channel load status, including the optimized configuration of access permissions and communication load.
It enables unified management of downlink communication resources for smart terminals, such as carrier waves, RS-485, and Bluetooth channels, ensuring that each channel completes communication tasks efficiently and in an orderly manner, reducing the probability of interaction failures, and improving overall communication efficiency.
Smart Images

Figure CN121012802A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the field of intelligent terminal communication software, and more particularly relates to a centralized downlink communication resource allocation system and method for intelligent terminals. BACKGROUND
[0002] The current intelligent terminal is developing rapidly, and in order to improve the reusability of functions, various functions are often deployed in an application manner, and the applications interact with each other through a message bus.
[0003] The intelligent terminal is a kind of terminal that connects the past and the future, and communicates with the meter and sensor through the downlink channel, and communicates with the master station through the uplink channel, so as to realize data acquisition, control and other functions. The downlink channel mainly includes Bluetooth, carrier, RS-485 and other interfaces.
[0004] In this process, the concurrent problem of multiple applications accessing the same downlink channel and the synchronization problem of the same application accessing multiple downlink channels often occur.
[0005] In order to solve the problems of management confusion, non-timely concurrent processing and the like in downlink communication, a centralized downlink communication resource allocation method for intelligent terminals is urgently needed. SUMMARY
[0006] The purpose of the present application is to solve the problems of concurrency and synchronization in downlink communication of intelligent terminals, and a centralized downlink communication resource allocation system and method for intelligent terminals are proposed. In the present application, the business application interacts with the downlink communication resource management application through the message bus, and sends a downlink channel interaction request; the downlink communication resource management application dynamically adjusts the resource allocation according to the business priority and the channel load state, including the optimization configuration of access permission and communication load.
[0007] The technical scheme of the present application is:
[0008] The present application provides a downlink communication resource allocation system for intelligent terminals, characterized in that it comprises:
[0009] A downlink communication resource management application is used to acquire and uniformly manage the downlink communication channel resources of the intelligent terminal, and dynamically adjusts the resource allocation according to the business request priority sent by the business application and the load state of the communication interface;
[0010] A message bus is used for data interaction between the business application and the downlink communication resource management application.
[0011] Further, the downlink communication channel includes a carrier channel, a 485 communication channel and a Bluetooth communication channel.
[0012] Further, the business applications include marketing, power distribution business collection applications; the business applications communicate with each other in a message bus mode, in a one-to-one mode, a many-to-one mode or a one-to-many mode.
[0013] Further, the downlink communication resource management application performs the following steps:
[0014] Obtaining the interactive request content sent by the business application, including the target downlink communication channel, the request message, the timeout time and the request priority; generating an interactive request queue based on the request priority for each downlink communication channel involved;
[0015] Obtaining the available state of the downlink communication channel, if available, assigning channel resources to different interactive requests in the priority order of the interactive request queue; if overloaded, executing a timeout strategy.
[0016] Further, the available state of the downlink communication channel specifically includes:
[0017] Obtaining the current data bandwidth and the theoretical maximum bandwidth of the downlink communication channel;
[0018] According to the ratio of the current data bandwidth to the theoretical maximum bandwidth, calculating the load rate of the downlink communication channel, which is used to evaluate the usage degree of the channel resources;
[0019] If the load rate reaches a preset threshold, it is determined to be overloaded; otherwise, it is determined to be available.
[0020] Further, the timeout strategy includes: first executing the low-priority interactive request that is about to timeout, and then executing the high-priority interactive request.
[0021] A method adopted by an intelligent terminal downlink communication resource allocation system, comprising:
[0022] The business application sends an interactive request to the downlink communication resource management application through a message bus, and the interactive request content includes a target downlink communication channel, a request message, a timeout time and a request priority;
[0023] The downlink communication resource management application accepts the interactive request sent by the business application, updates the interactive request queue based on the request priority for each downlink communication channel involved, and initially generates the interactive request queue;
[0024] The downlink communication resource management application obtains the available state of the downlink communication channel, and sends the interactive request to the downlink communication channel involved according to the priority order of the interactive request queue;
[0025] The downlink communication resource management application obtains the response message of the downlink communication interface and feeds back to the corresponding business application through the message bus.
[0026] The service application processes the received interaction request response to complete an interaction.
[0027] Further, the available state of the downlink communication channel is acquired, and when the channel is overloaded, a low-priority request is processed based on a timeout strategy.
[0028] Further, a load rate of the downlink communication channel is calculated according to a ratio of a current data bandwidth to the theoretical maximum bandwidth, and if the load rate value reaches a preset threshold, it is determined that the downlink communication interface is in an overloaded state.
[0029] Further, before the downlink communication resource management application acquires the available state of the downlink communication channel, the interface state of the downlink communication channel is acquired, and if it is abnormal, a reset operation is performed to re-open the corresponding interface for initialization.
[0030] Advantages of the present application:
[0031] The intelligent terminal centralized downlink communication resource allocation system and method can realize unified management of downlink communication resources of carriers, 485, Bluetooth channels and other intelligent terminals, realize sharing of downlink communication resources, and ensure that each channel can complete communication tasks efficiently and orderly according to different business types.
[0032] In the present application, message bus technology is used for data interaction between multiple applications. The service application sends an interaction request of the downlink communication interface to the downlink resource management application for unified management through the message bus.
[0033] In the present application, the downlink resource management application can control the priority of the communication interface interaction request, monitor the load of the communication interface, and protect the communication interface from abnormality, thereby realizing high-reliability and high-performance centralized management.
[0034] The present application also supports attempting to respond to low-priority requests when the channel is full, balancing high-priority and low-priority requests through a timeout strategy, reducing the probability of interaction failure, realizing efficient use and flexible allocation of downlink communication resources, ensuring orderly completion of communication tasks, and improving the overall communication efficiency of the intelligent terminal.
[0035] Other features and advantages of the present application will be described in detail in the following specific embodiments. BRIEF DESCRIPTION OF DRAWINGS
[0036] The above and other objects, features and advantages of the present application will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings, in which like reference characters refer to like parts throughout the several views, and in which:
[0037] Figure 1 The framework diagram of the intelligent terminal centralized downlink communication resource allocation system of the present application is shown.
[0038] Figure 2 The implementation flowchart of the downlink communication resource management application in the intelligent terminal centralized downlink communication resource allocation method of the present application is shown.
[0039] Figure 3 The implementation flowchart of the service application accessing the downlink communication channel in the intelligent terminal centralized downlink communication resource allocation method of the present application is shown. DETAILED DESCRIPTION
[0040] The preferred embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein.
[0041] Example 1
[0042] Figure 1 The framework diagram of the intelligent terminal centralized downlink communication resource allocation system of the present application is shown.
[0043] As Figure 1 shown, the present application provides an intelligent terminal downlink communication resource allocation system, comprising:
[0044] a downlink communication resource management application, configured to acquire and uniformly manage the downlink communication channel resources of the intelligent terminal, and dynamically adjust the resource allocation according to the service request priority sent by the service application and the load state of the communication interface;
[0045] a message bus, configured to interact data between the service application and the downlink communication resource management application.
[0046] Preferably, the downlink communication interface comprises a Bluetooth communication, a carrier wave communication and an RS485 communication; the downlink communication resource management application directly accesses the downlink communication interface, and other service applications do not directly access the downlink communication interface.
[0047] Preferably, the service application sends the interactive request accessed by the downlink communication to the downlink communication resource management application through the message bus, and the downlink communication resource management application returns the response result to the service application through the message bus after accessing the downlink communication interface.
[0048] Example 2
[0049] The present application provides a method for the intelligent terminal downlink communication resource allocation system, comprising:
[0050] The business application sends an interaction request to the downlink communication resource management application through the message bus, and the interaction request content includes a target downlink communication channel, a request message, a timeout time and a request priority.
[0051] The downlink communication resource management application accepts the interaction request sent by the business application, and updates the interaction request queue based on the request priority for each downlink communication channel involved. In the initial state, the interaction request queue is first generated.
[0052] The downlink communication resource management application obtains the available state of the downlink communication channel, and sends the interaction request to the downlink communication channel involved according to the priority order of the interaction request queue.
[0053] The downlink communication resource management application obtains the response message of the downlink communication interface and feeds back to the corresponding business application through the message bus.
[0054] The business application processes the received interaction request response and completes an interaction.
[0055] As shown in the instance process of the downlink communication resource management application, Figure 2 the main steps are:
[0056] S1, check the state of the downlink communication interface involved. If the downlink communication interface state is normal, go to step 3, otherwise go to step 2.
[0057] S2, reset the abnormal downlink communication interface and reopen the corresponding interface for interface initialization operation.
[0058] S3, check the interaction request queue. If the queue is not empty, go to the next step.
[0059] S4, check the load of the downlink communication interface of the interaction request. If it is overloaded, go to step S6.
[0060] S5, execute the interaction request according to the priority order of the interaction request queue.
[0061] S6, execute the low-priority interaction request that is about to time out according to the timeout strategy, and then execute the high-priority interaction request.
[0062] S7, execute step S1.
[0063] Example 3
[0064] As shown in the instance process of the business application requesting access to the carrier module, Figure 3 the main steps are:
[0065] S1, the service application sends an interaction request to the downlink communication resource management application through the message bus; the interaction request includes a downlink interface, a request message, a request priority, a request timeout, etc.
[0066] S2, the downlink communication resource management application receives the interaction request, sends a message from the carrier module according to the steps in Embodiment 2, and waits for a message reply.
[0067] S3, the downlink communication resource management application reads the response message of the carrier module.
[0068] S4, the downlink communication resource management application sends the response message to the service application through the message bus.
[0069] S5, the service application processes the received interaction request response to complete an interaction.
[0070] The above has described the embodiments of the present application, the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes are obvious to those skilled in the art without departing from the scope and spirit of the described embodiments.
Claims
1. A system for allocating downlink communication resources to intelligent terminals, characterized in that The application comprises: a downlink communication resource management application for acquiring and uniformly managing downlink communication channel resources of the intelligent terminal, and dynamically adjusting resource allocation according to the service request priority sent by the service application and the load state of the communication interface; a message bus for data interaction between the service application and the downlink communication resource management application.
2. The intelligent terminal downlink communication resource allocation system of claim 1, wherein, The downlink communication channel comprises a carrier channel, a 485 communication channel and a Bluetooth communication channel.
3. The intelligent terminal downlink communication resource allocation system of claim 1, wherein, The service application comprises marketing and power distribution service collection applications; the service applications communicate with each other in a one-to-one, one-to-many or many-to-one manner through the message bus.
4. The intelligent terminal downlink communication resource allocation system of claim 1, wherein, The downlink communication resource management application performs the following steps: acquiring the interaction request content sent by the service application, including the target downlink communication channel, the request message, the timeout time and the request priority; generating an interaction request queue based on the request priority for each downlink communication channel involved; acquiring the available state of the downlink communication channel, if available, allocating channel resources to different interaction requests in the order of the priority of the interaction request queue; if overloaded, executing a timeout strategy.
5. The intelligent terminal downlink communication resource allocation system of claim 4, wherein, The available state of the downlink communication channel is acquired in detail as follows: acquiring the current data bandwidth and the theoretical maximum bandwidth of the downlink communication channel; calculating the load rate of the downlink communication channel according to the ratio of the current data bandwidth to the theoretical maximum bandwidth, for evaluating the usage degree of the channel resources; if the load rate reaches a preset threshold, it is determined to be overloaded; otherwise, it is determined to be available.
6. The intelligent terminal downlink communication resource allocation system of claim 4, wherein, The timeout strategy comprises: first executing the low-priority interaction request about to timeout, and then executing the high-priority interaction request.
7. A method for use in a system for allocating downlink communication resources to intelligent terminals according to any one of claims 1-6, characterized by The application comprises: the service application sends an interaction request to the downlink communication resource management application through the message bus, and the interaction request content comprises the target downlink communication channel, the request message, the timeout time and the request priority; the downlink communication resource management application accepts the interaction request sent by the service application, updates the interaction request queue based on the request priority for each downlink communication channel involved, and generates the interaction request queue in the initial state; the downlink communication resource management application acquires the available state of the downlink communication channel, and sends the interaction request to the downlink communication channel involved according to the priority order of the interaction request queue; the downlink communication resource management application acquires the response message of the downlink communication interface and feeds it back to the corresponding service application through the message bus; the service application processes the received interaction request response to complete an interaction.
8. The method for allocating downlink communication resources for intelligent terminals according to claim 7, wherein The available state of the downlink communication channel is acquired, and low-priority requests are processed based on the timeout strategy when the channel is overloaded.
9. The method for allocating downlink communication resources for intelligent terminals according to claim 8, wherein The load rate of the downlink communication channel is calculated according to the ratio of the current data bandwidth to the theoretical maximum bandwidth, and if the load rate value reaches a preset threshold, it is determined that the downlink communication interface is in an overloaded state.
10. The method for allocating downlink communication resources for intelligent terminals according to claim 7, wherein Before the downlink communication resource management application acquires the available state of the downlink communication channel, the interface state of the downlink communication channel is acquired, and if it is abnormal, a reset operation is performed to re-open the corresponding interface for initialization.