Method and apparatus for controlling service device, storage medium and electronic device

By configuring device identifiers and target reporting time periods for each service device, the problem of low control efficiency of master devices over slave devices is solved, enabling orderly data reporting by service devices, avoiding network congestion and packet loss, and improving network stability and efficiency.

CN122120128APending Publication Date: 2026-05-29SUNWAVE COMM

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SUNWAVE COMM
Filing Date
2026-01-07
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

In master-slave architecture cluster device management, the master device has low control efficiency over the slave device, which leads to network congestion, packet loss and increased transmission latency, and may even cause network paralysis.

Method used

By configuring a device identifier and target reporting time period for each service device, the reporting of service data is arranged in an orderly manner based on the device information and the bandwidth information of the host device, thus avoiding multiple devices reporting data at the same time.

Benefits of technology

This enables multiple business devices to report operational data in an orderly manner, avoiding network congestion and packet loss, and improving the host's control efficiency over slave devices and network stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122120128A_ABST
    Figure CN122120128A_ABST
Patent Text Reader

Abstract

The application discloses a control method and device of a service device, a storage medium and an electronic device method and device, and a storage medium and an electronic device. The method comprises the following steps: obtaining a data acquisition request of a host device; in response to the data acquisition request, configuring a corresponding device identifier for each service device according to device information of the service device; configuring a target reporting time period of service data for each service device according to the device identifier and bandwidth information of the host device; and controlling the service device to report target service data of the service device in the configured target reporting time period. By using the technical solution, the problem of low control efficiency of the host device on the connected slave device in the related art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and more specifically, to a control method and apparatus for a service device, a storage medium, and an electronic device. Background Technology

[0002] In master-slave architecture cluster device management, a control device with operation control functions is configured to connect with multiple service devices. The control device acts as the master device, and the multiple service devices act as slave devices of the master device. During service maintenance and device control, the master device needs to obtain the operation data of the connected slave devices. Currently, the common method is for the master device to send a broadcast command to all connected slave devices requesting the slave operation data. The slave devices respond to the received broadcast command and send their respective operation data back to the master device. In this process, hundreds or even thousands of slave devices may respond to the master device's broadcast command almost simultaneously, causing a large number of data packets to flood the network where the master is located, resulting in an excessively high instantaneous surge in Ethernet bandwidth. This phenomenon not only causes network congestion, leading to data packet loss and increased transmission latency, but in severe cases, it may also paralyze the entire network, affecting system stability and service continuity.

[0003] There is still no effective solution to the problem of low control efficiency of the host device over the connected slave device in related technologies. Summary of the Invention

[0004] This application provides a control method and apparatus for a business device, a storage medium, and an electronic device to at least solve the problem of low control efficiency of the host device over the connected slave device in the related art.

[0005] According to one embodiment of this application, a control method for a service device is provided, comprising: obtaining a data acquisition request from a host device, wherein the data acquisition request is used to instruct the host device to request to acquire service data from multiple service devices connected to the host device, and the service data is used to indicate the processing status of the service devices for services; responding to the data acquisition request, configuring a corresponding device identifier for each service device according to the device information of the service devices, wherein the device information is used to indicate the device attributes of the service devices, and the device identifier is used to characterize the service data reporting order of the corresponding service devices; configuring a target reporting period for the service data for each service device according to the device identifier and the bandwidth information of the host device; and controlling the service devices to report the target service data of the service devices during the configured target reporting period.

[0006] Optionally, configuring a corresponding device identifier for each business device based on the device information of the business device includes: dividing the multiple business devices into multiple device groups based on the device association information of the business devices, wherein the device association information is used to indicate the device association relationship between the business devices; configuring a group number for each device group according to the business information of the business processed by the business devices in each device group, and configuring a reference device number for the business devices according to the business information, wherein the group number is used to indicate the order of business data reporting among the business devices included in the multiple device groups, the reference device number is used to indicate the order of business data reporting of the business device in its respective device group, the device identifier includes the group number and the reference device number, the business information is used to indicate the business processing attribute of the business processed by the corresponding business device, and the device information includes the device association information and the business information.

[0007] Optionally, configuring the group number of each device group according to the business information of the business processed by the business devices in each device group includes: obtaining the business processing time of each business device for the business processed, wherein the business information includes the business processing time; and configuring the group number of the device group according to the chronological order of the business processing times of the business devices included in each device group.

[0008] The step of configuring the reference device number of the service device according to the service information includes: sorting the service devices in the device group according to the service weight of the services handled by the service devices in the device group in descending order to obtain a target sequence, wherein the target sequence records the service data reporting order of the corresponding service devices in the device group, and the service information includes the service weight; configuring the reference device number for the corresponding service devices in the device group according to the reporting order indicated by the target sequence.

[0009] Optionally, dividing the multiple business devices into multiple device groups based on the device association information of the business devices includes one of the following: grouping the multiple business devices according to the location information of the business devices to obtain multiple device groups, wherein the location information is used to indicate the device deployment location of the business devices, the device association information includes the location information, and the distance between the deployment locations of the business devices in each device group is less than or equal to a target threshold; or grouping the multiple business devices according to the business association information of each business device to obtain multiple device groups, wherein the business association information is used to indicate the association relationship between the business handled by each business device and the business handled by other business devices in the multiple business devices excluding the current business device, the device association information includes the business association information, and the degree of association between the business handled by the business devices included in the device group is greater than or equal to a target degree of association.

[0010] Optionally, configuring a corresponding device identifier for each service device based on the device information of the service device includes: sorting the multiple service devices according to the chronological order of the service processing time of the services handled by each service device to obtain a service device sequence, wherein the device information includes the service processing time; configuring a target device sequence number for each service device according to the chronological order of the service devices in the service device sequence, wherein the device identifier includes the target device sequence number, and the target device sequence number is used to indicate the data reporting order of the corresponding service device among the multiple service devices connected to the host device.

[0011] Optionally, configuring a target reporting period for service data for each service device based on the device identifier and the bandwidth information of the host device includes: obtaining a reference data volume of reference service data reported by each service device in the service data reporting phase before the current time; detecting the target data volume of service data reported by the service device corresponding to the reference data volume in the current service data reporting phase based on the reference data volume; determining the data reporting duration configured for each service device in the current service data reporting phase based on the bandwidth information and the target data volume, wherein the data reporting duration is used to indicate the time consumed by the service device to report service data to the host device; and configuring the target reporting period for each service device based on the data reporting duration and the device identifier.

[0012] Optionally, configuring the target reporting time period for each service device based on the data reporting duration and the device identifier includes one of the following: configuring the target reporting time period for each service device according to the data reporting duration and the target device sequence number of each service device, wherein the device identifier includes the target device sequence number, which is used to indicate the data reporting order of the corresponding service device among the plurality of service devices connected to the host device; configuring the target reporting duration for each device group using the data reporting duration, wherein the plurality of service devices are divided into a plurality of devices, and the target reporting time period is configured as follows: The reporting duration is used to indicate the time consumed by the service devices included in the device group to report service data to the host device; a reference reporting period is configured for each device group using a group sequence number and the target reporting duration, wherein the group sequence number is used to indicate the order in which service devices included in multiple device groups report service data; within the reference reporting period, a target reporting period is configured for each service device using a reference device sequence number and the data reporting duration, wherein the reference device sequence number is used to indicate the order in which the service device reports service data in its respective device group, and the device identifier includes the group sequence number and the reference device sequence number.

[0013] According to another embodiment of this application, a control device for a service device is also provided, comprising: a receiving module, configured to receive a data acquisition request from a host device, wherein the data acquisition request is used to instruct the host device to request acquisition of service data from multiple service devices connected to the host device, and the service data is used to indicate the processing status of the service devices for the service; a first configuration module, configured to respond to the data acquisition request and configure a corresponding device identifier for each service device according to the device information of the service devices, wherein the device information is used to indicate the device attributes of the service devices, and the device identifier is used to characterize the service data reporting order of the corresponding service devices; a second configuration module, configured to configure a target reporting period for the service data for each service device according to the device identifier and the bandwidth information of the host device; and a reporting module, configured to control the service devices to report the target service data of the service devices during the configured target reporting period.

[0014] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute the control method of the above-mentioned business device when running.

[0015] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the control method of the aforementioned business device through the computer program.

[0016] In this embodiment, when a host device needs to obtain service data from multiple connected service devices, a device identifier is configured for each service device based on its device information. This allows the service data reporting order of each service device to be configured according to its device information. Furthermore, a target reporting time period is configured for each service device based on the device identifier and the host device's bandwidth information. This ensures that a target reporting time period is allocated for each service device to report service data, enabling multiple service devices to report their respective operational data in an orderly manner. This avoids network congestion and packet loss caused by all service devices connected to the host device simultaneously reporting service data. By adopting the above technical solution, the problem of low control efficiency of the host device over connected slave devices in related technologies is solved, achieving the technical effect of improving the control efficiency of the host over connected slave devices. Attached Figure Description

[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a schematic diagram of the hardware environment for a control method of a service device according to an embodiment of this application;

[0020] Figure 2 This is a flowchart of a control method for a service device according to an embodiment of this application;

[0021] Figure 3 This is a schematic diagram of a return packet control for an optional service device according to an embodiment of this application;

[0022] Figure 4 This is a schematic diagram of an optional dynamic control of return packet delay according to an embodiment of this application;

[0023] Figure 5 This is a schematic diagram of an optional data merging method according to an embodiment of this application;

[0024] Figure 6 This is a schematic diagram of an optional proxy device return packet according to an embodiment of this application;

[0025] Figure 7 This is a schematic diagram of an optional return packet time slot allocation according to an embodiment of this application;

[0026] Figure 8 This is a structural block diagram of a control device for a service equipment according to an embodiment of this application. Detailed Implementation

[0027] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0028] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0029] The methods and embodiments provided in this application can be executed on a computer terminal, device terminal, or similar computing device. Taking running on a computer terminal as an example, Figure 1 This is a schematic diagram of the hardware environment for a control method of a service device according to an embodiment of this application. Figure 1 As shown, a computer terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. In one exemplary embodiment, the computer terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1The structure shown is for illustrative purposes only and does not limit the structure of the computer terminal described above. For example, the computer terminal may also include components that are more complex than those described above. Figure 1 The more or fewer components shown, or having the same Figure 1 Equivalent functions or ratios shown Figure 1 The functions shown have more different configurations.

[0030] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the message push sending method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to a computer terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0031] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider for the computer terminal. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0032] This embodiment provides a control method for a service device, applied to the aforementioned computer terminal. Figure 2 This is a flowchart of a control method for a service device according to an embodiment of this application, the process including the following steps:

[0033] Step S202: Obtain a data acquisition request from the host device, wherein the data acquisition request is used to instruct the host device to request the acquisition of service data from multiple service devices connected to the host device, and the service data is used to indicate the processing status of the service devices for the service.

[0034] Step S204: In response to the data acquisition request, configure a corresponding device identifier for each service device according to the device information of the service device, wherein the device information is used to indicate the device attributes of the service device, and the device identifier is used to characterize the service data reporting order of the corresponding service device;

[0035] Step S206: Configure a target reporting period for service data for each service device according to the device identifier and the bandwidth information of the host device;

[0036] Step S208: Control the service device to report the target service data of the service device during the configured target reporting period.

[0037] Through the above steps, when a host device needs to obtain service data from multiple connected service devices, a device identifier is configured for each service device based on its device information. This allows the service data reporting order of each service device to be configured according to its device information. Furthermore, a corresponding target reporting time period is configured for each service device based on the device identifier and the host device's bandwidth information. This ensures that a target reporting time period is allocated for each service device to report service data, enabling multiple service devices to report their respective operational data in an orderly manner. This avoids network congestion and packet loss caused by all service devices connected to the host device simultaneously reporting service data. This technical solution solves the problem of low control efficiency of the host device over connected slave devices in related technologies, achieving the technical effect of improving the host's control efficiency over connected slave devices.

[0038] The control method for service devices provided in this application embodiment can be, but is not limited to, a control method run by a host device. The host device, by running the control method for service devices, allocates a corresponding target reporting time period to each service device and controls the service devices to report their target service data during the corresponding target reporting time period. Alternatively, the aforementioned control method for service devices can also be run by a control device connected to the host device. The control device, by running the aforementioned control method for service devices, allocates a corresponding target reporting time period to each service device connected to the host device, and then controls the corresponding service device to report service data during each target reporting time period.

[0039] In the technical solution provided in step S204 above, the device information may be, but is not limited to, the service priority of the service carried by the service device. The way to configure a device identifier for each service device according to the device information of the service device may be: sorting multiple service devices in descending order of the service priority of the service carried by each service device, and configuring a device identifier for each service device according to the sorting order of the service devices.

[0040] Optionally, in this embodiment of the application, the device information may also be the business processing time of the business device. Then, the method of configuring a device identifier for each business device according to the device information may be: sorting multiple business devices according to the order of the business processing time of each business device, and configuring a device identifier for each business device according to the sorting order of the business devices.

[0041] In the technical solution provided in step S206 above, the method of configuring a target reporting time period for each service device according to the device identifier and bandwidth information can be as follows: obtain the amount of service data required for each service device to report the service data; determine the data reporting duration required for the service data to be reported to the host device according to the data transmission bandwidth indicated by the bandwidth information; divide the data acquisition time window of the host device according to the data reporting order indicated by the device identifier and the data reporting duration of each service device, thereby obtaining the target reporting time period for each service device.

[0042] In the technical solution provided in step S208 above, the method of controlling the service device to report target service data during the target reporting time period can be by sending a data reporting instruction carrying the target reporting time to each service device. When the service device receives the data reporting instruction, it obtains the target reporting time carried in the data reporting instruction, and then the service device can report its own operating data to the host device at the target reporting time indicated by the data reporting instruction. In this embodiment, the data reporting instruction can be sent to the service devices in batch broadcast. That is, after determining the target reporting time period for each service device, a data reporting instruction is configured for each service device. The data reporting instruction specifies the target reporting time period of the service device. The data reporting instruction instructs the service device that receives the data reporting instruction to report service data according to the target data reporting time period carried in the data reporting instruction. The data reporting instruction is marked with the device tag of the service device to which the data reporting instruction belongs, and the host device broadcasts the data reporting instructions to all service devices. Thus, each service device obtains the broadcast data and extracts the data reporting instruction carrying its own device tag from the broadcast data. In addition, the host device can also send a data reporting command to the service device corresponding to the target reporting period at the start of the target reporting period. This application does not limit this.

[0043] As an optional embodiment, configuring a corresponding device identifier for each service device based on the device information of the service device includes:

[0044] The multiple business devices are divided into multiple device groups based on the device association information of the business devices, wherein the device association information is used to indicate the device association relationship between the business devices;

[0045] Configure a group number for each device group according to the business information of the business processed by the business equipment in each device group, and configure a reference device number for the business equipment according to the business information. The group number is used to indicate the order in which business data is reported among the business equipment included in multiple device groups, and the reference device number is used to indicate the order in which the business equipment reports business data in its respective device group. The device identifier includes the group number and the reference device number. The business information is used to indicate the business processing attributes of the business processed by the corresponding business equipment, and the device information includes the device association information and the business information.

[0046] Optionally, in this embodiment, the device association information may include, but is not limited to, time association information and data association information. The time association information indicates the association between the business processing times of the business devices. For example, if the business processing times of device A and device B are similar, it can be determined that there is a time association between device A and device B. Therefore, the similarity value of the business processing times of device A and device B can be determined as the time association information between device A and device B. The data association information indicates the business data dependency relationship between the business devices during the business processing process. For example, business data generated by device A is transmitted to device B to complete the business processed by device B. Therefore, there is a data association between device A and device B. Thus, the business data transmission information between devices can be determined as the data association information between devices.

[0047] Optionally, in this embodiment, the device association information may be, but is not limited to, the business type of the business handled by the business device. When two business devices handle the same business type, it can be determined that there is an association between the two devices, and they can be assigned to the same group.

[0048] Optionally, in this embodiment, the business information may be, but is not limited to, the business priority that represents the importance of the business handled by the business equipment. Then, the business priorities of the business equipment included in each equipment group are summarized to obtain the equipment group business priority. Then, the multiple equipment groups are sorted in descending order of the equipment group business priority to obtain the group number of each equipment group. Among them, the equipment group with higher business priority is assigned a smaller (earlier) group number.

[0049] Optionally, in this embodiment, the business information is the business priority that represents the importance of the business handled by the business equipment. Then, the business equipment in the equipment group is sorted in descending order of business priority to obtain the reference equipment number of each business equipment in the equipment group. The business equipment with higher business priority is assigned a smaller reference equipment number (the earlier it is).

[0050] As an optional embodiment, configuring the grouping number of each device group according to the business information of the business handled by the business equipment in each device group includes:

[0051] Obtain the processing time of each of the aforementioned service devices for the services they handle, wherein the service information includes the processing time;

[0052] Configure the group number of the equipment group according to the order of the business processing time of the business equipment included in each equipment group;

[0053] The step of configuring the reference device serial number of the service device according to the service information includes:

[0054] The business devices in the device group are sorted in descending order of the business weights of the business devices in the device group to obtain a target sequence. The target sequence records the business data reporting order of the business devices in the corresponding device group, and the business information includes the business weights.

[0055] Configure the reference device serial number for the service devices included in the corresponding device group according to the reporting order indicated by the target sequence.

[0056] Optionally, in this embodiment, service devices are first grouped according to service time, and then the service devices within a group are sorted according to their chronological order. This avoids network congestion caused by multiple service devices simultaneously sending packets back. For example, during peak service periods, such as 9:00 AM to 11:00 AM and 3:00 PM to 5:00 PM, the host monitors and finds that the amount of service data reported by devices is large during these periods, resulting in high network bandwidth usage. Therefore, the host groups the devices and configures group numbers based on the service weight of the service devices. First, the host obtains the service processing time of each service device and assigns group numbers to the device groups according to the chronological order of service processing time. Then, the host sorts the service devices within the device group according to their service weight, obtaining a target sequence that indicates the order in which the devices within the device group report service data. Next, the host configures reference device numbers for the service devices within the device group according to the reporting order indicated by the target sequence, ensuring that high-weight services are reported first, thereby achieving prediction and control of network traffic. Before the peak period arrives, the host dynamically adjusts the basic latency parameter A based on the traffic prediction results to reduce the instantaneous network load and ensure the smooth operation of services.

[0057] The above steps first involve grouping devices and setting inter-group delays to avoid overlapping packet return times between different groups, thus balancing network load. Second, devices dynamically adjust packet return delays based on real-time network conditions, improving network bandwidth utilization. Third, a strategy of immediately returning high-priority packets and merging low-priority data into a single packet is introduced, prioritizing different types of data packets to further reduce network congestion. Furthermore, a proxy device mechanism alleviates the packet return processing pressure on the host by reducing the number of packets through distributed data collection and integration. Time-synchronized time-slot scheduling ensures each device returns packets within a fixed time slot, avoiding time conflicts. Finally, a service detection module predicts and adjusts future traffic to proactively address high-traffic periods and prevent network anomalies. These mechanisms work together to achieve orderly and efficient data return from large-scale cluster devices, avoiding instantaneous Ethernet bandwidth surges and improving network communication stability and efficiency. Service devices within each group return packets according to the group sequence number configured with service information, including the service processing time, ensuring the priority and efficiency of service processing. Business weights are used as the basis for configuring reference device serial numbers to optimize the order of business data reporting, thereby further improving the rational allocation and utilization efficiency of network resources.

[0058] As an optional embodiment, dividing the plurality of service devices into multiple device groups based on the device association information of the service devices includes one of the following:

[0059] The multiple business devices are grouped according to their location information to obtain multiple device groups. The location information is used to indicate the deployment location of the business devices. The device association information includes the location information. The distance between the deployment locations of the business devices in each device group is less than or equal to a target threshold.

[0060] The plurality of business devices are grouped according to the business association information of each business device to obtain a plurality of device groups. The business association information is used to indicate the association relationship between the business handled by each business device and the business handled by other business devices among the plurality of business devices except the current business device. The device association information includes the business association information. The degree of association between the business handled by the business devices included in the device group is greater than or equal to the target degree of association.

[0061] Optionally, in some large data center scenarios, to optimize network resource utilization, administrators decide to manage servers by grouping them. They first examine the server location information, finding that the servers are distributed across different racks throughout the data center. The administrator sets a target threshold—the maximum allowable distance between two servers—and then groups nearby servers into the same device group based on this distance standard. This ensures that servers within each device group are physically adjacent, enabling more efficient localized management and monitoring, and reducing latency and bandwidth consumption in cross-regional communication. Next, the administrator analyzes the servers' business dependencies, learning that some servers are dedicated to running database services, while others are used for web applications. They group the devices based on the types of business services these servers undertake and their interdependencies, ensuring that servers with similar business needs and high interdependencies are grouped together. This approach allows for centralized handling of specific types of business requirements, optimizes resource allocation, and facilitates monitoring and maintenance of the business health within the same group. Through this grouping strategy, administrators not only manage servers efficiently based on their physical location but also consider business-level needs, achieving more granular network traffic control and resource allocation.

[0062] To further optimize the management strategy of cluster devices, this application introduces a device grouping mechanism. Based on device association information, such as location information or service association information, multiple service devices are rationally divided into several device groups. Specifically, when grouping by location information, the distance between the deployment locations of devices within the same group is ensured not to exceed a pre-set target threshold, thus achieving physical dispersion. Grouping by service association information emphasizes the close association between services within a device group, requiring the association degree to reach or exceed a target association degree, aiming to optimize the synergy of service processing. This grouping strategy not only spatially distributes the pressure of return packets but also achieves efficient information integration and transmission at the service level, effectively reducing the burden on the host when receiving and processing return packets, and improving the overall operating efficiency and stability of the cluster system. This device attribute-based grouping logic, combined with the previously proposed delayed return packets and adaptive adjustment mechanisms, constitutes a comprehensive flow control system, enabling the cluster to maintain good network performance and service quality even during large-scale expansion.

[0063] As an optional embodiment, configuring a corresponding device identifier for each service device based on the device information of the service device includes:

[0064] The multiple business devices are sorted according to the order of the business processing time of each business device to obtain a business device sequence, wherein the device information includes the business processing time;

[0065] A target device serial number is configured for each service device according to the order of service devices in the service device sequence, wherein the device identifier includes the target device serial number, and the target device serial number is used to indicate the data reporting order of the corresponding service device among the multiple service devices connected to the host device.

[0066] Optionally, in this embodiment, the host device assigns a unique device identifier, i.e., a target device sequence number, to all devices in the cluster based on the device information of each service device, especially the service processing time. This strategy effectively establishes a logical sequence of service devices and determines their data reporting order. Specifically, the host device first collects the current status of all service devices, including the services being processed and their processing time, and then constructs a service device sequence based on this information. After the sequence is constructed, the host assigns a target device sequence number to each service device according to its position in the sequence. This sequence number not only reflects the relative position of the device in the sequence but also indirectly specifies its priority and time window in the data reporting process. Through this time-series-based device identifier allocation, the host can more accurately control the packet return behavior of devices, ensuring the reasonable allocation and efficient utilization of network resources, while reducing the risk of network congestion caused by a large number of devices returning packets simultaneously, thus achieving refined and intelligent cluster management. In addition, this mechanism also supports flexible network traffic control, which can dynamically adjust the packet return delay of devices according to actual business needs and network conditions, thereby better balancing network load and improving the stability and response speed of the entire system.

[0067] As an optional embodiment, configuring a target reporting period for service data for each service device based on the device identifier and the bandwidth information of the host device includes:

[0068] Obtain the reference data volume of reference service data reported by each of the aforementioned service devices during the service data reporting phase prior to the current time.

[0069] Detect the target data volume of the business data reported by the business device corresponding to the reference data volume during the current business data reporting phase based on the reference data volume;

[0070] The data reporting duration configured for each service device in the current service data reporting phase is determined based on the bandwidth information and the target data volume, wherein the data reporting duration is used to indicate the time consumed by the service device to report service data to the host device;

[0071] Configure the target reporting period for each of the service devices based on the data reporting duration and the device identifier.

[0072] Optionally, in this embodiment, the method for detecting the target data volume of the service device based on the reference data volume may include, but is not limited to: constructing a data volume change curve using the reference data volume of the service data reported in multiple service data reporting time periods prior to the current time, wherein the data volume change curve records the relationship between the data reporting volume of the service device and the change over time; and monitoring the target data volume in the current service data reporting stage according to the data volume change trend of the service data reported by the service device recorded in the data volume change curve.

[0073] Optionally, in this embodiment, a feedback-based dynamic prediction method can also be used to predict the target data volume for the current business data reporting stage. Specifically, the following steps are taken: a reference data volume change curve is constructed using reference data volumes of business data reported during multiple business data reporting time periods prior to the current moment. This curve records the relationship between the data reporting volume of the business device and time. The target data volume for the current business data reporting stage is then monitored according to the data volume change trend recorded in the curve. After determining the target data volume, the candidate data volume actually reported by the business device in the current data reporting stage is detected. The slope of the reference data volume change curve is calibrated based on the data volume difference between the candidate data volume and the target data volume to obtain the target data volume change curve. The host device uses this target data volume change curve to predict the data volume of the business data to be reported by the business device in the reference data reporting stage following the current business data reporting stage. He used the above scheme, which, after predicting the amount of data to be reported in each business data reporting stage, calibrated the slope of the data volume change curve by detecting the difference between the actual amount of data that the business equipment needs to report and the predicted amount of data to be reported. This made the predicted amount of data to be reported more accurate, and thus made the data reporting time period allocated to each business equipment more accurate and reliable.

[0074] Based on the above, to optimize the management strategy of large-scale cluster devices, a target reporting period is configured for each service device according to the device identifier and the bandwidth information of the host device. Specifically, the system obtains the reference data volume of the reference service data reported by each service device in the service data reporting phase before the current time, and detects the target data volume of the service data reported by the corresponding service device in the current service data reporting phase. Based on this data, combined with the bandwidth information of the host device, the system determines the data reporting duration of each service device in the current service data reporting phase. This duration reflects the actual time consumed by the service device to report service data to the host device. Next, according to the determined data reporting duration and device identifier, the system configures a target reporting period for each service device, thereby avoiding devices reporting data at the same time, effectively balancing network load, reducing instantaneous Ethernet bandwidth occupation, reducing packet loss and latency, and ensuring the continuity and stability of services. In addition, this mechanism can also adjust in real time according to network status, improving the flexibility and efficiency of large-scale cluster management. In other embodiments not shown, the system can further optimize the allocation of target reporting periods through more refined traffic monitoring and prediction to ensure efficient utilization of network resources.

[0075] As an optional embodiment, configuring the target reporting period for each service device based on the data reporting duration and the device identifier includes one of the following:

[0076] Configure the target reporting time period for each service device according to the data reporting duration and the target device serial number of each service device, wherein the device identifier includes the target device serial number, and the target device serial number is used to indicate the data reporting order of the corresponding service device among the multiple service devices connected to the host device;

[0077] The target reporting duration for each device group is configured using the data reporting duration, wherein the plurality of service devices are divided into a plurality of devices, and the target reporting duration is used to indicate the time consumed by the service devices included in the device group to report service data to the host device; a reference reporting period is configured for each device group using the group sequence number and the target reporting duration, wherein the group sequence number is used to indicate the order in which service data is reported among the service devices included in the plurality of device groups; within the reference reporting period, the target reporting period for each service device is configured using the reference device sequence number and the data reporting duration, wherein the reference device sequence number is used to indicate the order in which the service device reports service data in its respective device group, and the device identifier includes the group sequence number and the reference device sequence number.

[0078] Through the above embodiments, this application introduces a multi-dimensional optimization strategy based on device identification and data reporting duration. Specifically, according to the target device serial number of each service device, a target reporting time period is configured for each device, ensuring the orderliness of data reporting and effectively avoiding network congestion caused by overlapping return packets. Simultaneously, by dynamically adjusting the basic delay parameter A and the correction value ΔA, the device can intelligently respond to changes in network status and automatically adjust the return packet delay, achieving improved efficiency during network idle periods and reduced impact during network busy periods. Furthermore, the device also has a data merging function, capable of caching multiple low-priority data entries within the return packet window, merging them into a unified return packet, significantly reducing the total transport traffic. The introduction of proxy devices is another highlight of this strategy. These devices are responsible for collecting and integrating data from subordinate devices and then reporting it uniformly to the host, further reducing the number of return packets processed by the host and optimizing network resource allocation. A time-slot scheduling mechanism based on clock synchronization ensures that each device returns packets within a fixed time slot, avoiding data transmission conflicts caused by time inconsistencies. Finally, the traffic prediction mechanism of the service detection module, through monitoring and analysis of historical traffic, can predict and execute traffic control in advance, effectively preventing sudden surges in traffic from impacting the network and achieving rational utilization of network bandwidth and stable service operation. In summary, the strategy in this embodiment, through refined management and intelligent adjustment, significantly improves the efficiency of managing large-scale cluster devices and the stability of network operation.

[0079] The basic control approach of this application is that the host device assigns a unique index (i.e., device identifier) ​​to the service device and issues a basic delay parameter A;

[0080] The device return packet delay time is T = index × A;

[0081] The host can dynamically adjust A based on network load to achieve overall traffic control.

[0082] Improve details and business methods:

[0083] (1) Multi-level group scheduling mechanism:

[0084] When broadcasting, the host divides devices into multiple groups (Group1, Group2, ...). (This grouping is not limited to the broadcast target IP address; it can also be grouped according to service layer labels).

[0085] Set an inter-group delay ΔG between each group to ensure that groups do not send back packets simultaneously.

[0086] Within each group, the return packet is delayed by a factor of index × A.

[0087] Advantages: It can avoid instantaneous impacts even in the case of thousands of devices.

[0088] When the host sends out information, it includes the group ID and basic parameter A.

[0089] The device calculates the return packet delay based on `(GroupID×ΔG)+(index×A)`.

[0090] Figure 3 This is a schematic diagram of a return packet control for an optional service device according to an embodiment of this application, such as... Figure 3 As shown, the host device sends a report request to N connected service devices, carrying the target reporting period allocated to each service device in the report request. Then, the service devices send their own service data packets to the host device during the corresponding target reporting period.

[0091] (2) Adaptive latency adjustment mechanism (monitoring network card latency adjustment):

[0092] Real-time network status monitoring of devices:

[0093] Detect whether packet loss or corrupted packets (e.g., ACK loss);

[0094] Monitor interface bandwidth utilization.

[0095] When network idle is detected: automatically shorten latency and improve efficiency;

[0096] When network congestion is detected: automatically increase latency to reduce impact.

[0097] The host sends the baseline value A;

[0098] When the device returns a packet, it can dynamically calculate the correction value ΔA based on the network status. Note that the correction value is generally less than A to prevent packet overlay.

[0099] Tdelay = index × (A + ΔA).

[0100] Figure 4 This is a schematic diagram of an optional dynamic control of return packet delay according to an embodiment of this application, such as... Figure 4 As shown, during the process of the service device sending a packet back to the host device, the host device dynamically adjusts the latency of each service device according to the interface bandwidth utilization.

[0101] (3) Packet return priority and packet merging logic:

[0102] High-priority responses: such as alarms and fault information, respond immediately;

[0103] Low-priority response packets, such as heartbeats and log messages, will use a delay mechanism.

[0104] Data merging: The device caches multiple low-priority data entries within the return packet window, merges them into a single data packet, and then sends it back, thereby reducing the total transport throughput. Figure 5 This is an optional data merging diagram according to an embodiment of this application, such as... Figure 5 As shown, the service device can merge multiple service data to be transmitted to the host device into a single data packet and then send it back, thereby reducing the total transport traffic.

[0105] (4) Distributed packet return mechanism for proxy devices:

[0106] Designate a subset of devices in the cluster as proxy nodes;

[0107] When a regular device sends a response packet, it first reports the data to the proxy node;

[0108] The proxy nodes collect the data and then send a unified response packet back to the host.

[0109] Reduce the total number of return packets that the host needs to process.

[0110] Figure 6 This is an optional proxy device return packet diagram according to an embodiment of this application, such as... Figure 6 As shown, the host specifies a proxy device during the access phase (which needs to be rotated according to the actual network bandwidth and network card load); the proxy device maintains a local index table and merges the data of subordinate devices before sending back packets.

[0111] (5) Clock-synchronized time-slot scheduling mechanism:

[0112] Use PTP / NTP protocols to achieve time synchronization between the host and the device (including but not limited to PTP, NTP);

[0113] Figure 7 This is a schematic diagram of an optional return packet time slot allocation according to an embodiment of this application, such as... Figure 7 As shown, the host divides the packet return time into fixed-length time slots (Slot1, Slot2, ...); each device is assigned a fixed time slot for packet return to avoid packet overlap. The slot duration is configurable; devices strictly return packets within their assigned slot time, and if a slot has expired, it is rolled over to the next period.

[0114] (6) Traffic prediction mechanism based on the business detection module:

[0115] Traffic is monitored and recorded for multiple time periods throughout the day.

[0116] During periods of high traffic, implement traffic control in advance to prevent sudden surges in traffic from causing momentary network card malfunctions. On the host, record network card traffic every 5 minutes. After completing a day's recording, compare it with records from the past week to generate traffic prediction results. Check the traffic prediction records every 5 minutes. If high traffic is expected in the next 5 minutes, prioritize configuring A to a larger value. By increasing A, reduce the bandwidth consumed by other services and allocate it to other critical services.

[0117] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software and necessary general-purpose hardware platforms, and of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0118] Figure 8 This is a structural block diagram of a control device for a service equipment according to an embodiment of this application; as shown below. Figure 8 As shown, it includes:

[0119] The acquisition module is used to receive a data acquisition request from a host device, wherein the data acquisition request is used to instruct the host device to request the acquisition of business data from multiple business devices connected to the host device, and the business data is used to indicate the processing status of the business by the business devices.

[0120] The first configuration module is used to respond to the data acquisition request and configure a corresponding device identifier for each of the service devices according to the device information of the service devices, wherein the device information is used to indicate the device attributes of the service devices and the device identifier is used to characterize the service data reporting order of the corresponding service devices;

[0121] The second configuration module is used to configure a target reporting period for service data for each service device according to the device identifier and the bandwidth information of the host device;

[0122] The reporting module is used to control the service device to report the target service data of the service device during the configured target reporting period.

[0123] Through the above embodiments, when a host device needs to obtain service data from multiple connected service devices, a device identifier is configured for each service device based on its device information. This allows the service data reporting order of each service device to be configured according to its device information. Furthermore, a corresponding target reporting time period is configured for each service device based on the device identifier and the host device's bandwidth information. This ensures that a target reporting time period for reporting service data is allocated to each service device based on its device information and the host device's bandwidth information, enabling multiple service devices to report their respective operational data in an orderly manner. This avoids network congestion and packet loss caused by all service devices connected to the host device simultaneously reporting service data. The above technical solution solves the problem of low control efficiency of the host device over connected slave devices in related technologies, achieving the technical effect of improving the host's control efficiency over connected slave devices.

[0124] Optionally, the first configuration module includes:

[0125] A partitioning unit is used to partition the plurality of business devices into a plurality of device groups according to the device association information of the business devices, wherein the device association information is used to indicate the device association relationship between the business devices;

[0126] The processing unit is configured to configure a group number for each device group according to the business information of the business processed by the business device in each device group, and to configure a reference device number for the business device according to the business information. The group number is used to indicate the order in which business data is reported among the business devices included in multiple device groups, and the reference device number is used to indicate the order in which the business device reports business data in its respective device group. The device identifier includes the group number and the reference device number. The business information is used to indicate the business processing attribute of the business processed by the corresponding business device, and the device information includes the device association information and the business information.

[0127] Optionally, the processing unit is used for:

[0128] Obtain the processing time of each of the aforementioned service devices for the services they handle, wherein the service information includes the processing time;

[0129] Configure the group number of the equipment group according to the order of the business processing time of the business equipment included in each equipment group;

[0130] The processing unit is used for:

[0131] The business devices in the device group are sorted in descending order of the business weights of the business devices in the device group to obtain a target sequence. The target sequence records the business data reporting order of the business devices in the corresponding device group, and the business information includes the business weights.

[0132] Configure the reference device serial number for the service devices included in the corresponding device group according to the reporting order indicated by the target sequence.

[0133] Optionally, the partitioning unit is configured to perform one of the following operations:

[0134] The multiple business devices are grouped according to their location information to obtain multiple device groups. The location information is used to indicate the deployment location of the business devices. The device association information includes the location information. The distance between the deployment locations of the business devices in each device group is less than or equal to a target threshold.

[0135] The plurality of business devices are grouped according to the business association information of each business device to obtain a plurality of device groups. The business association information is used to indicate the association relationship between the business handled by each business device and the business handled by other business devices among the plurality of business devices except the current business device. The device association information includes the business association information. The degree of association between the business handled by the business devices included in the device group is greater than or equal to the target degree of association.

[0136] Optionally, the first configuration module includes:

[0137] A sorting unit is used to sort the multiple business devices according to the order of the business processing time of each business device to obtain a business device sequence, wherein the device information includes the business processing time;

[0138] The first configuration unit is configured to configure a target device number for each service device according to the order of service devices in the service device sequence, wherein the device identifier includes the target device number, and the target device number is used to indicate the data reporting order of the corresponding service device among the plurality of service devices connected to the host device.

[0139] Optionally, the second configuration module includes:

[0140] The acquisition unit is used to acquire the reference data volume of the reference service data reported by each of the service devices in the service data reporting phase before the current time.

[0141] The detection unit is used to detect the target data volume of the business data reported by the business device in the current business data reporting stage based on the reference data volume.

[0142] The determining unit is configured to determine the data reporting duration configured for each of the service devices in the current service data reporting phase based on the bandwidth information and the target data volume, wherein the data reporting duration is used to indicate the time consumed by the service device to report service data to the host device;

[0143] The second configuration unit is configured to configure the target reporting period for each of the service devices according to the data reporting duration and the device identifier.

[0144] Optionally, the second configuration unit is configured to perform one of the following operations:

[0145] Configure the target reporting time period for each service device according to the data reporting duration and the target device serial number of each service device, wherein the device identifier includes the target device serial number, and the target device serial number is used to indicate the data reporting order of the corresponding service device among the multiple service devices connected to the host device;

[0146] The target reporting duration for each device group is configured using the data reporting duration, wherein the plurality of service devices are divided into a plurality of devices, and the target reporting duration is used to indicate the time consumed by the service devices included in the device group to report service data to the host device; a reference reporting period is configured for each device group using the group sequence number and the target reporting duration, wherein the group sequence number is used to indicate the order in which service data is reported among the service devices included in the plurality of device groups; within the reference reporting period, the target reporting period for each service device is configured using the reference device sequence number and the data reporting duration, wherein the reference device sequence number is used to indicate the order in which the service device reports service data in its respective device group, and the device identifier includes the group sequence number and the reference device sequence number.

[0147] Embodiments of this application also provide a storage medium including a stored program, wherein the program executes the control method of any of the above-mentioned service devices when it is run.

[0148] Optionally, in this embodiment, the storage medium may be configured to store program code for performing the following steps:

[0149] Receive a data acquisition request from a host device, wherein the data acquisition request is used to instruct the host device to request the acquisition of service data from multiple service devices connected to the host device, and the service data is used to indicate the processing status of the service devices for the service.

[0150] In response to the data acquisition request, a corresponding device identifier is configured for each of the service devices according to the device information of the service devices, wherein the device information is used to indicate the device attributes of the service devices, and the device identifier is used to characterize the service data reporting order of the corresponding service devices;

[0151] Configure a target reporting period for service data for each service device based on the device identifier and the bandwidth information of the host device;

[0152] The system controls the service device to report the target service data during the configured target reporting period.

[0153] Embodiments of this application also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above-described embodiments of the control method for business devices.

[0154] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0155] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:

[0156] Receive a data acquisition request from a host device, wherein the data acquisition request is used to instruct the host device to request the acquisition of service data from multiple service devices connected to the host device, and the service data is used to indicate the processing status of the service devices for the service.

[0157] In response to the data acquisition request, a corresponding device identifier is configured for each of the service devices according to the device information of the service devices, wherein the device information is used to indicate the device attributes of the service devices, and the device identifier is used to characterize the service data reporting order of the corresponding service devices;

[0158] Configure a target reporting period for service data for each service device based on the device identifier and the bandwidth information of the host device;

[0159] The system controls the service device to report the target service data during the configured target reporting period.

[0160] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0161] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.

[0162] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.

[0163] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A control method for business equipment, characterized in that, include: Obtain a data acquisition request from a host device, wherein the data acquisition request is used to instruct the host device to request business data from multiple business devices connected to the host device, and the business data is used to indicate the processing status of the business by the business devices; In response to the data acquisition request, a corresponding device identifier is configured for each of the service devices according to the device information of the service devices, wherein the device information is used to indicate the device attributes of the service devices, and the device identifier is used to characterize the service data reporting order of the corresponding service devices; Configure a target reporting period for service data for each service device based on the device identifier and the bandwidth information of the host device; The system controls the service device to report the target service data during the configured target reporting period.

2. The method according to claim 1, characterized in that, The step of configuring a corresponding device identifier for each service device based on the device information of the service device includes: The multiple business devices are divided into multiple device groups based on the device association information of the business devices, wherein the device association information is used to indicate the device association relationship between the business devices; Configure a group number for each device group according to the business information of the business processed by the business equipment in each device group, and configure a reference device number for the business equipment according to the business information. The group number is used to indicate the order in which business data is reported among the business equipment included in multiple device groups, and the reference device number is used to indicate the order in which the business equipment reports business data in its respective device group. The device identifier includes the group number and the reference device number. The business information is used to indicate the business processing attributes of the business processed by the corresponding business equipment, and the device information includes the device association information and the business information.

3. The method according to claim 2, characterized in that, The step of configuring the group number of each device group according to the business information of the business handled by the business equipment in each device group includes: Obtain the processing time for each of the aforementioned service devices for the services they handle, wherein the service information includes the processing time; Configure the group number of the equipment group according to the order of the business processing time of the business equipment included in each equipment group; The step of configuring the reference device serial number of the service device according to the service information includes: The business devices in the device group are sorted in descending order of the business weights of the business devices in the device group to obtain a target sequence. The target sequence records the business data reporting order of the business devices in the corresponding device group, and the business information includes the business weights. Configure the reference device serial number for the service devices included in the corresponding device group according to the reporting order indicated by the target sequence.

4. The method according to claim 2, characterized in that, The step of dividing the multiple service devices into multiple device groups based on the device association information of the service devices includes one of the following: The multiple business devices are grouped according to their location information to obtain multiple device groups. The location information is used to indicate the deployment location of the business devices. The device association information includes the location information. The distance between the deployment locations of the business devices in each device group is less than or equal to a target threshold. The plurality of business devices are grouped according to the business association information of each business device to obtain a plurality of device groups. The business association information is used to indicate the association relationship between the business handled by each business device and the business handled by other business devices among the plurality of business devices except the current business device. The device association information includes the business association information. The degree of association between the business handled by the business devices included in the device group is greater than or equal to the target degree of association.

5. The method according to claim 1, characterized in that, The step of configuring a corresponding device identifier for each service device based on the device information of the service device includes: The multiple business devices are sorted according to the order of the business processing time of each business device to obtain a business device sequence, wherein the device information includes the business processing time; A target device serial number is configured for each service device according to the order of service devices in the service device sequence, wherein the device identifier includes the target device serial number, and the target device serial number is used to indicate the data reporting order of the corresponding service device among the multiple service devices connected to the host device.

6. The method according to claim 1, characterized in that, The step of configuring a target reporting period for service data for each service device based on the device identifier and the bandwidth information of the host device includes: Obtain the reference data volume of reference service data reported by each of the aforementioned service devices during the service data reporting phase prior to the current time. Detect the target data volume of the business data reported by the business device corresponding to the reference data volume during the current business data reporting phase based on the reference data volume; The data reporting duration configured for each service device in the current service data reporting phase is determined based on the bandwidth information and the target data volume, wherein the data reporting duration is used to indicate the time consumed by the service device to report service data to the host device; Configure the target reporting period for each of the service devices based on the data reporting duration and the device identifier.

7. The method according to claim 6, characterized in that, The step of configuring the target reporting period for each service device based on the data reporting duration and the device identifier includes one of the following: Configure the target reporting time period for each service device according to the data reporting duration and the target device serial number of each service device, wherein the device identifier includes the target device serial number, and the target device serial number is used to indicate the data reporting order of the corresponding service device among the multiple service devices connected to the host device; The target reporting duration for each device group is configured using the data reporting duration, wherein the plurality of service devices are divided into a plurality of devices, and the target reporting duration is used to indicate the time consumed by the service devices included in the device group to report service data to the host device; a reference reporting period is configured for each device group using the group sequence number and the target reporting duration, wherein the group sequence number is used to indicate the order in which service data is reported among the service devices included in the plurality of device groups; within the reference reporting period, the target reporting period for each service device is configured using the reference device sequence number and the data reporting duration, wherein the reference device sequence number is used to indicate the order in which the service device reports service data in its respective device group, and the device identifier includes the group sequence number and the reference device sequence number.

8. A control device for business equipment, characterized in that, include: A receiving module is used to receive a data acquisition request from a host device, wherein the data acquisition request is used to instruct the host device to request the acquisition of service data from multiple service devices connected to the host device, and the service data is used to indicate the processing status of the service devices for the service. The first configuration module is used to respond to the data acquisition request and configure a corresponding device identifier for each of the service devices according to the device information of the service devices, wherein the device information is used to indicate the device attributes of the service devices and the device identifier is used to characterize the service data reporting order of the corresponding service devices; The second configuration module is used to configure a target reporting period for service data for each of the service devices based on the device identifier and the bandwidth information of the host device. The reporting module is used to control the service device to report the target service data of the service device during the configured target reporting period.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method of any one of claims 1 to 7.

10. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method of any one of claims 1 to 7 through the computer program.