CN117336300A - Resource management system for state machine - Google Patents

Resource management system for state machine Download PDF

Info

Publication number
CN117336300A
CN117336300A CN202311627815.8A CN202311627815A CN117336300A CN 117336300 A CN117336300 A CN 117336300A CN 202311627815 A CN202311627815 A CN 202311627815A CN 117336300 A CN117336300 A CN 117336300A
Authority
CN
China
Prior art keywords
data
transmission
preset
adjusted
transmission channels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311627815.8A
Other languages
Chinese (zh)
Other versions
CN117336300B (en
Inventor
张继东
李文君
徐珊珊
刘亦安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Jiejing Intelligent Manufacturing Technology Co ltd
Original Assignee
Shandong Jiejing Intelligent Manufacturing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Jiejing Intelligent Manufacturing Technology Co ltd filed Critical Shandong Jiejing Intelligent Manufacturing Technology Co ltd
Priority to CN202311627815.8A priority Critical patent/CN117336300B/en
Publication of CN117336300A publication Critical patent/CN117336300A/en
Application granted granted Critical
Publication of CN117336300B publication Critical patent/CN117336300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2477Temporal data queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1025Dynamic adaptation of the criteria on which the server selection is based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computational Linguistics (AREA)
  • Communication Control (AREA)

Abstract

The invention relates to the technical field of data management, and discloses a resource management system for a state machine, which comprises the following components: the data transmission device comprises a storage database, a processing module, a display module and a temporary storage module, and the management device comprises an acquisition unit, a judgment unit, a processing unit and an adjustment unit. The acquisition unit compares the loading time with the standard loading time and judges whether to adjust the transmission strategy; the judging unit compares the downloading time Tx with a downloading time threshold Txmin and judges whether to adjust a downloading transmission strategy; the processing unit determines the number of transmission channels occupied by the main data according to the data quantity; the adjusting unit judges whether to adjust the number of the transmission channels according to the data difference value, and judges whether to perform secondary adjustment according to the transmission speed difference value. The invention improves the response speed of the state machine, reduces the problems of blocking and loading delay, and provides smoother and efficient user experience.

Description

Resource management system for state machine
Technical Field
The invention relates to the technical field of data management, in particular to a resource management system for a state machine.
Background
The purpose of the state machine is to help model and control the behavior of a complex system so that the system can make state transitions based on external events or changes in conditions to achieve a particular task, logic, or protocol. The state machine is widely applied to the fields of software development, automatic control, communication protocol, game development and the like, is helpful for clearly describing the system behavior, improving the maintainability and performance of the system, and realizing intelligent decision adapting to different situations and demands. The transmission channel of the state machine is a channel or path for data transmission in the state machine system. In a state machine, a transmission channel may be used to transfer data, messages, events, or signals between different states, thereby triggering state transitions and achieving specific behavior. These channels establish connections between the different states of the state machine to ensure that information can be transferred and processed according to defined rules.
In today's digitized world, with the popularity of internet applications, real-time communications, and cloud computing, there is an increasing demand for real-time performance and low latency. Users expect their operations and messages to be immediately responsive, whether online gaming, video conferencing, financial transactions, or smart home. The back of this desire is the pursuit of a more efficient digital experience to better meet user needs.
However, current digital applications are not always able to meet these highly desirable real-time properties. Users often encounter problems such as application jamming and slow loading speed, which may be caused by the inability of the state machine to meet the requirements for high load operation transmission channels. When a user accesses a large network resource, a transmission channel may be insufficient, resulting in a decrease in data transmission efficiency. This can negatively impact the performance of applications, websites, and online services, extending loading time and even causing connectivity problems.
Accordingly, there is a need for a resource management system for a state machine that addresses the problems of the prior art.
Disclosure of Invention
In view of this, the present invention proposes a resource management system for a state machine, which aims to solve the problems of easy jamming, slow loading speed and lack of automatic adjustment mechanism of the current state machine under high load.
The invention provides a resource management system for a state machine, which comprises:
the data transmission device comprises a storage database, a processing module, a display module and a temporary storage module, wherein the processing module acquires target data from the storage database and sends the target data to the display module, and the temporary storage module is used for temporarily storing the data; the management device comprises an acquisition unit, a judging unit, a processing unit and an adjusting unit, and is used for controlling the data transmission device to transmit data; wherein,
The acquisition unit is configured to acquire the uploading time Ts of the storage database for transmitting the target data to the processing module, acquire the downloading time Tx of the display module for receiving the target data from the processing module, acquire the loading time T according to the uploading time Ts and the downloading time Tx, compare t=ts+tx with the standard loading time Tmax, judge whether to adjust the transmission strategy according to the comparison result, and judge to adjust the transmission strategy when T > Tmax; the target data includes primary data and secondary data;
the judging unit is configured to compare the uploading time Ts with an uploading time threshold Tsmin when judging to adjust the transmission policy, judge whether to adjust the uploading transmission policy according to the comparison result, compare the downloading time Tx with a downloading time threshold Txmin, and judge whether to adjust the downloading transmission policy according to the comparison result;
the processing unit is configured to start the temporary storage module when Tx < Txmin, the primary data is sent to the display module by the processing module, and the secondary data is sent to the temporary storage module by the processing module and then sent to the display module by the temporary storage module;
The processing unit is further configured to determine, after determining to start the temporary storage module, the number of transmission channels occupied by the main data by the display module according to the data amount of the main data, and the display module downloads the target data through the transmission channels;
the adjusting unit is configured to collect a data volume difference value between the main data and the secondary data, judge whether to adjust the number of transmission channels occupied by the main data by the display module according to the data volume difference value, and acquire the number of the transmission channels after adjustment;
the adjusting unit is further configured to collect a transmission speed difference value between the primary data and the secondary data after determining whether to adjust the number of transmission channels according to the data difference value, and determine whether to secondarily adjust the number of adjusted transmission channels according to the transmission speed difference value.
Further, the comparing the loading time T with the standard loading time Tmax by the collecting unit, when judging whether to adjust the transmission policy according to the comparison result, includes:
when T is less than or equal to Tmax, judging that the loading time T is shorter, sending the target data from the storage database to the processing module, and sending the target data to the display module by the processing module to meet the requirement of use, wherein the transmission strategy is not adjusted at the moment;
When T is larger than Tmax, the loading time T is judged to be longer, the target data is sent to the processing module from the storage database, and the processing module sends the target data to the display module again to be unsatisfied for use, and at the moment, the transmission strategy is adjusted.
Further, when determining to adjust the transmission policy, the determining unit is further configured to compare the uploading time Ts with an uploading time threshold Tsmin, and determine whether to adjust the uploading transmission policy according to the comparison result, including:
when Ts is less than or equal to Tsmin, judging that the uploading time is shorter, and not adjusting the uploading transmission strategy;
when Ts is larger than Tsmin, the uploading time is longer, and uploading of non-target data is closed.
Further, when determining to adjust the transmission policy, the determining unit is further configured to compare the download time Tx with a download time threshold Txmin, and determine whether to adjust the download transmission policy according to the comparison result, including:
when Tx is less than or equal to Txmin, judging that the downloading time is shorter, and not adjusting the downloading transmission strategy;
when Tx is larger than Txmin, the downloading time is judged to be longer, the processing module sends the main data to the display module, and after the processing module sends the secondary data to the temporary storage module, the temporary storage module adjusts the transmission speed of the secondary data according to the transmission speed of the main data.
Further, when the processing unit is further configured to determine, after the temporary storage module is started, the number of transmission channels occupied by the main data according to the data amount of the main data, the processing unit includes:
presetting a first preset data amount N1, a second preset data amount N2 and a third preset data amount N3, wherein N1 is smaller than N2 and smaller than N3; presetting a first preset transmission channel number S1, a second preset transmission channel number S2 and a third preset transmission channel number S3, wherein S1 is more than S2 and less than S3;
the processing unit acquires the data quantity N0 of the main data, and determines the number of transmission channels occupied by the main data by the display module according to the relation between the data quantity N0 of the main data and each preset data quantity:
when N1 is less than or equal to N0 and less than N2, determining the number of transmission channels occupied by the main data by the display module as the first preset transmission channel number S1;
when N2 is less than or equal to N0 and less than N3, determining the number of transmission channels occupied by the main data by the display module as the second preset transmission channel number S2;
and when N3 is less than or equal to N0, determining the number of the transmission channels occupied by the main data by the display module as a third preset transmission channel number S3.
Further, the adjusting unit is further configured to, after determining that the number of transmission channels occupied by the primary data occupies the display module is the ith preset number of transmission channels Si, i=1, 2,3, collect a data volume difference Δn between the primary data and the secondary data, where Δn=n0-Ns, where N0 represents the data volume of the primary data and Ns represents the data volume of the secondary data, determine, according to the data volume difference Δn, whether to adjust the number of transmission channels occupied by the primary data by the display module, and obtain the adjusted number of transmission channels, including:
presetting a data quantity difference threshold DeltaNmax, judging whether the quantity Si of the transmission channels occupied by the main data by the display module is adjusted according to the relation between the data quantity difference DeltaN and the data quantity difference threshold DeltaNmax, and acquiring the quantity of the transmission channels after adjustment:
when delta N > -delta Nmax, judging to adjust the number Si of transmission channels occupied by the main data by the display module, and acquiring the adjusted number Sy of the transmission channels;
when DeltaN is less than or equal to DeltaNmax, judging that the number Si of the transmission channels of the main data occupation display module is not adjusted, and taking the number Si of the transmission channels as the adjusted number Sy of the transmission channels, wherein Sy=Si at the moment.
Further, the adjusting unit is further configured to, when it is determined that the main data occupies the number Si of the transmission channels of the display module, adjust the number Si of the transmission channels, and obtain the adjusted number Sy of the transmission channels, include:
presetting a first preset data quantity difference delta N1, a second preset data quantity difference delta N2 and a third preset data quantity difference delta N3, wherein delta Nmax is less than delta N1 and delta N2 is less than delta N3; presetting a first preset channel number adjustment coefficient A1, a second preset channel number adjustment coefficient A2 and a third preset channel number adjustment coefficient A3, wherein A1 is more than 1 and A2 is more than 2 and A3 is more than 2;
selecting a channel number adjustment coefficient according to the size relation between the data volume difference delta N and each preset data volume difference, and adjusting the number Si of the transmission channels of the main data occupation display module to obtain the adjusted number Sy of the transmission channels:
when DeltaNmax is less than DeltaN 1, selecting the first preset channel quantity adjustment coefficient A1 to adjust the quantity Si of the transmission channels of the main data occupation display module, and obtaining the adjusted quantity Sy=Si×A1 of the transmission channels, wherein the adjusted quantity Sy is rounded upwards;
when delta N1 is less than or equal to delta N2, selecting the second preset channel quantity adjustment coefficient A2 to adjust the quantity Si of the transmission channels of the main data occupation display module, and obtaining the adjusted transmission channel quantity Sy=Si×A2, wherein the adjusted transmission channel quantity Sy is rounded upwards;
When delta N2 is less than or equal to delta N3, selecting the third preset channel quantity adjusting coefficient A3 to adjust the quantity Si of the transmission channels of the main data occupation display module, and obtaining the adjusted transmission channel quantity Sy=Si×A3, wherein the adjusted transmission channel quantity Sy is rounded upwards.
Further, the adjusting unit is further configured to, after determining whether to adjust the number of transmission channels and acquiring the adjusted number of transmission channels Sy, collect a transmission speed difference value between the primary data and the secondary data, and determine whether to perform secondary adjustment on the adjusted number of transmission channels according to the transmission speed difference value, where the method includes:
the transmission speed difference Δv=vz-Vc, where Vz represents the transmission speed of the primary data and Vc represents the transmission speed of the secondary data; a transmission speed difference threshold DeltaVmax is preset, and whether secondary adjustment is carried out on the number Sy of the adjusted transmission channels is judged according to the magnitude relation between the transmission speed difference DeltaV and the transmission speed difference threshold DeltaVmax or not:
when DeltaV > DeltaVmax, judging that the adjusted transmission channel quantity Sy is subjected to secondary adjustment, and continuing to operate according to the secondary adjusted transmission channel quantity Se;
When DeltaV is less than or equal to DeltaVmax, the secondary adjustment of the adjusted transmission channel number Sy is judged not to be carried out, and the operation is continued with the adjusted transmission channel number Sy.
Further, the adjusting unit performs secondary adjustment on the adjusted number of transmission channels Sy, and when the secondary adjusted number of transmission channels Se continues to operate, the adjusting unit includes:
presetting a first preset transmission speed difference DeltaV 1, a second preset transmission speed difference DeltaV 2 and a third preset transmission speed difference DeltaV 3, wherein DeltaVmax is < DeltaV1 < DeltaV2 < DeltaV3; presetting a first preset secondary adjustment coefficient B1, a second preset secondary adjustment coefficient B2 and a third preset secondary adjustment coefficient B3, wherein B1 is more than 1 and B2 is more than 1 and B3 is more than 1.5; selecting a secondary adjustment coefficient according to the magnitude relation between the transmission speed difference DeltaV and each preset transmission speed difference value, and performing secondary adjustment on the adjusted transmission channel number Sy, and continuing to operate according to the secondary adjusted transmission channel number Se:
when DeltaVmax is less than DeltaV and less than or equal to DeltaV 1, selecting the third preset secondary adjustment coefficient B3 to carry out secondary adjustment on the adjusted transmission channel number Sy, and obtaining the secondary adjusted transmission channel number Se=Sy×B3, wherein the secondary adjusted transmission channel number Se is rounded upwards;
When DeltaV 1 < DeltaV2 is less than or equal to DeltaV 2, selecting the second preset secondary adjustment coefficient B2 to carry out secondary adjustment on the adjusted transmission channel number Sy, and obtaining the secondary adjusted transmission channel number Se=Sy×B2, wherein the secondary adjusted transmission channel number Se is rounded upwards;
when DeltaV 2 < DeltaVis less than or equal to DeltaV 3, selecting the first preset secondary adjustment coefficient B1 to carry out secondary adjustment on the adjusted transmission channel number Sy, obtaining the secondary adjusted transmission channel number Se=Sy×B1, and rounding up the secondary adjusted transmission channel number Se.
Compared with the prior art, the invention has the beneficial effects that: and comparing the data such as uploading time and downloading time according to a preset threshold value and standard loading time, and monitoring the performance of the state machine system in real time. When the system load is higher, the number of the transmission channels is dynamically adjusted, so that the main data and the secondary data can be efficiently transmitted among all modules, the congestion of the transmission channels is avoided, and the real-time performance and the stability of data transmission are improved. Meanwhile, secondary adjustment is performed on the basis of the data quantity difference value and the transmission speed difference value, so that configuration of a transmission channel is further optimized, and the system can keep good performance under different loads. The response speed of the state machine is effectively improved, the problems of blocking and loading delay are reduced, smoother and efficient user experience is provided, and the high requirements of the current digital world on real-time performance and low delay are met.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a block diagram of a resource management system for a state machine according to an embodiment of the present invention;
fig. 2 is a block diagram of a data transmission device and a management device according to an embodiment of the present invention;
fig. 3 is a flowchart of a resource management method for a state machine according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other. The invention will be described in detail below with reference to the drawings in connection with embodiments.
In some embodiments of the present application, referring to fig. 1-2, the present embodiment provides a resource management system for a state machine, including: the data transmission device comprises a storage database, a processing module, a display module and a temporary storage module, wherein the processing module acquires target data from the storage database and sends the target data to the display module, and the temporary storage module is used for temporarily storing the data. The management device comprises an acquisition unit, a judging unit, a processing unit and an adjusting unit, and is used for controlling the data transmission device when transmitting data. The acquisition unit is configured to acquire and store the uploading time Ts of the target data sent by the database to the processing module, the acquisition and display module receives the downloading time Tx of the target data from the processing module, acquires the loading time T according to the uploading time Ts and the downloading time Tx, compares the loading time T with the standard loading time Tmax, judges whether to adjust the transmission strategy according to the comparison result, and judges to adjust the transmission strategy when T is larger than Tmax. The target data includes primary data and secondary data.
The judging unit is configured to compare the uploading time Ts with the uploading time threshold Tsmin when judging to adjust the transmission policy, judge whether to adjust the uploading transmission policy according to the comparison result, compare the downloading time Tx with the downloading time threshold Txmin, and judge whether to adjust the downloading transmission policy according to the comparison result.
The processing unit is configured to start the temporary storage module when Tx < Txmin, the primary data is sent to the display module by the processing module, and the secondary data is sent to the temporary storage module by the processing module and then sent to the display module by the temporary storage module.
The processing unit is further configured to determine, after determining to start the temporary storage module, the number of transmission channels occupied by the main data by the display module according to the data amount of the main data, and the display module downloads the target data through the transmission channels.
The adjusting unit is configured to collect a data quantity difference value between the main data and the secondary data, judge whether to adjust the number of transmission channels of the main data occupation display module according to the data quantity difference value, and acquire the adjusted number of transmission channels.
The adjusting unit is further configured to collect a transmission speed difference value between the primary data and the secondary data after determining whether to adjust the number of transmission channels according to the data difference value, and determine whether to secondarily adjust the number of adjusted transmission channels according to the transmission speed difference value.
Specifically, the acquisition unit is responsible for collecting data of uploading time and downloading time, then calculating loading time and comparing the loading time with standard loading time. It is determined whether there is a situation in which the transmission policy needs to be adjusted. After comparing the loading time with the standard loading time, if T > Tmax, it is determined that the transmission strategy needs to be adjusted. The judging unit is used for comparing the relation between the uploading time and the uploading time threshold value and the relation between the downloading time and the downloading time threshold value, and determining whether to adjust the uploading and downloading transmission strategies according to the comparison result.
It can be appreciated that by dynamically adjusting the transmission strategy, real-time performance, efficiency and reliability of data transmission are ensured. According to the real-time performance index, the transmission strategy is automatically adjusted to meet the high requirements of users on real-time performance and low delay, so that the user experience is improved, the transmission channel blockage is reduced, the automatic network performance optimization is realized, and the efficient transmission of data under various situations and requirements is ensured.
In some embodiments of the present application, when the acquisition unit compares the loading time T with the standard loading time Tmax and determines whether to adjust the transmission policy according to the comparison result, the method includes: when T is less than or equal to Tmax, the loading time T is short, the target data is sent to the processing module from the storage database, and then the processing module sends the target data to the display module to be used, so that the use can be met, and the transmission strategy is not adjusted at the moment. When T is larger than Tmax, the loading time T is longer, the target data is sent to the processing module from the storage database, and the processing module sends the target data to the display module, so that the target data cannot meet the requirement of use, and the transmission strategy is adjusted.
Specifically, when T is less than or equal to Tmax, the loading time is short, and the judgment target data is sent to the processing module from the storage database and then sent to the display module, so that the user requirement is satisfied. In this case no adjustment of the transmission strategy is made, the current transmission mode is already efficient enough. When T is larger than Tmax, the loading time is longer, and the target data is judged to be sent to the processing module from the storage database and then to the display module, so that the user requirement cannot be met. In which case the transmission strategy will be adjusted in hopes of improving loading speed and real-time performance. Assume a vehicle customization effect presentation page. When a user views, pages need to be extracted from a storage database and transmitted to the user's device. If the network environment is good, the running state of the equipment is good, the loading speed is high, and the loading time T is smaller than Tmax, the current transmission strategy is considered to be efficient enough, and adjustment is not needed. The data is sent from the database to the processing module and then to the user device, and the user can seamlessly view the effects page. However, if the network is congested or the server load is high, resulting in a longer loading time T, exceeding Tmax, it may be determined that the current transmission policy cannot meet the user demand. In this case, some strategies may be adopted to improve bandwidth utilization, or to improve device performance, thereby improving loading speed.
It can be understood that through the monitoring of real-time performance and the adjustment of intelligent transmission strategies, the user experience which is faster and smoother can be provided while the data transmission is ensured, the method is beneficial to adapting to different state machines and different equipment states, and the user can be ensured to access the application smoothly all the time.
In some embodiments of the present application, when determining to adjust the transmission policy, the determining unit compares the uploading time Ts with the uploading time threshold Tsmin, and determines whether to adjust the uploading transmission policy according to the comparison result, including: when Ts is less than or equal to Tsmin, the uploading time is short, and the uploading transmission strategy is not adjusted. When Ts is larger than Tsmin, the uploading time is longer, and uploading of non-target data is closed.
It can be appreciated that the adjustment of the uploading transmission policy in real time can help to cope with the change of the transmission channel of the state machine, and ensure that unnecessary delay is not incurred when uploading data. Different uploading situations can be automatically adapted, and better user experience is provided.
In some embodiments of the present application, when determining to adjust the transmission policy, the determining unit is further configured to compare the download time Tx with the download time threshold Txmin, and determine whether to adjust the download transmission policy according to the comparison result, including: when Tx is less than or equal to Txmin, the downloading time is short, and the downloading transmission strategy is not adjusted. When Tx is larger than Txmin, the download time is longer, the processing module sends the main data to the display module, and after the processing module sends the secondary data to the temporary storage module, the temporary storage module adjusts the transmission speed of the secondary data according to the transmission speed of the main data.
It will be appreciated that by preferentially sending the primary data to the presentation module, the user can obtain a portion of the data faster, thereby reducing latency. This is important for applications requiring fast loading for effect graph presentation. The primary data is preferentially transmitted to the ue, while the secondary data waits in the temporary storage module. The method is beneficial to balancing the use of the transmission channel and ensures that the transmission of the main data is not interfered by other data. If the transmission speed of the primary data starts to increase, the transmission of the secondary data is correspondingly accelerated to ensure the balance of the overall transmission speed. Since the transmission of the secondary data is regulated by the transmission speed of the primary data, the transmission channel can be more effectively utilized, and unnecessary data waste is reduced.
In some embodiments of the present application, when the processing unit is further configured to determine, after the temporary storage module is started, the number of transmission channels of the display module occupied by the main data according to the data amount of the main data, the processing unit includes: the first preset data amount N1, the second preset data amount N2 and the third preset data amount N3 are preset, and N1 is smaller than N2 and smaller than N3. The first preset transmission channel number S1, the second preset transmission channel number S2 and the third preset transmission channel number S3 are preset, and S1 is more than S2 and less than S3. The processing unit acquires the data quantity N0 of the main data, and determines the number of transmission channels of the display module occupied by the main data according to the size relation between the data quantity N0 of the main data and each preset data quantity.
Specifically, when N1 is less than or equal to N0 and less than N2, the number of transmission channels of the main data occupation display module is determined to be the first preset number S1 of transmission channels. When N2 is less than or equal to N0 and less than N3, determining the number of transmission channels of the main data occupation display module as the second preset number S2 of transmission channels. When N3 is less than or equal to N0, determining the number of transmission channels of the main data occupation display module as a third preset transmission channel number S3.
It will be appreciated that transmission channels are paths for the transmission of data or information in networks and communication systems, which are critical to ensuring reliable transmission and communication efficiency of data. When the loading time is longer, the transmission channel is dynamically adjusted to ensure that the resource allocation is more intelligent and efficient, and the adaptive service is provided according to the conditions of different data sizes.
In some embodiments of the present application, the adjusting unit is further configured to, after determining that the number of transmission channels of the main data occupation display module is the i th preset number of transmission channels Si, i=1, 2,3, collect a data amount difference Δn between the main data and the secondary data, Δn=n0—ns, where N0 represents the data amount of the main data, ns represents the data amount of the secondary data, determine whether to adjust the number of transmission channels of the main data occupation display module according to the data amount difference Δn, and obtain the adjusted number of transmission channels, including.
Specifically, when Δn > Δnmax, it is determined to adjust the number Si of transmission channels of the main data occupation display module, and the adjusted number Sy of transmission channels is obtained. When DeltaN is less than or equal to DeltaNmax, judging that the number Si of the transmission channels of the main data occupation display module is not adjusted, and taking the number Si of the transmission channels as the adjusted number Sy of the transmission channels, wherein Sy=Si at the moment.
In some embodiments of the present application, the adjusting unit is further configured to, when it is determined to adjust the number Si of transmission channels of the main data occupation display module, obtain the adjusted number Sy of transmission channels, including: the first preset data volume difference delta N1, the second preset data volume difference delta N2 and the third preset data volume difference delta N3 are preset, and delta Nmax < [ delta ] N1 < [ delta ] N2 < [ delta ] N3. The method comprises the steps of presetting a first preset channel quantity adjusting coefficient A1, a second preset channel quantity adjusting coefficient A2 and a third preset channel quantity adjusting coefficient A3, wherein A1 is more than 1 and A2 is more than 1 and less than 3 and less than 2. And selecting a channel quantity adjusting coefficient according to the size relation between the data quantity difference delta N and each preset data quantity difference, and adjusting the quantity Si of the transmission channels of the main data occupation display module to obtain the adjusted quantity Sy of the transmission channels.
Specifically, when Δnmax is less than or equal to Δn1, a first preset channel number adjustment coefficient A1 is selected to adjust the number Si of transmission channels of the main data occupation display module, the adjusted transmission channel number sy=si×a1 is obtained, and the adjusted transmission channel number Sy is rounded up. When delta N1 is less than or equal to delta N2, a second preset channel quantity adjusting coefficient A2 is selected to adjust the quantity Si of the transmission channels of the main data occupation display module, the adjusted transmission channel quantity Sy=Si×A2 is obtained, and the adjusted transmission channel quantity Sy is rounded upwards. When delta N2 is less than or equal to delta N3, a third preset channel quantity adjusting coefficient A3 is selected to adjust the quantity Si of the transmission channels of the main data occupation display module, the adjusted transmission channel quantity Sy=Si×A3 is obtained, and the adjusted transmission channel quantity Sy is rounded upwards.
It can be understood that when the transmission duration is longer, the target data is divided into main data and secondary data, taking the vehicle customization effect display page as an example, the main frame and the rough outline in the page are marked as the main data, the detail paste is marked as the secondary data, when the user wants to load the page, the number of occupied channels is primarily determined according to the size of the main data so as to realize quick loading of the main data, and meanwhile, the transmission channels are dynamically adjusted according to the difference value between the main data and the secondary data, so that the problem that after the secondary data is completely loaded, the main data is slower in transmission, and the user cannot acquire all resources is avoided. The number of transmission channels is intelligently allocated according to the difference of the data amount, so that the primary data and the secondary data can be transmitted at the optimal speed. The number of the transmission channels is adjusted according to the change of the data quantity, so that bandwidth resources are effectively utilized, and the data transmission efficiency is improved.
In some embodiments of the present application, the adjusting unit is further configured to, after determining whether to adjust the number of transmission channels and obtaining the adjusted number of transmission channels Sy, collect a transmission speed difference between the primary data and the secondary data, and determine whether to perform secondary adjustment on the adjusted number of transmission channels according to the transmission speed difference, including: transmission speed difference Δv=vz-Vc, where Vz represents the transmission speed of the primary data and Vc represents the transmission speed of the secondary data. A transmission speed difference threshold DeltaVmax is preset, and whether the adjusted transmission channel quantity Sy is subjected to secondary adjustment is judged according to the magnitude relation between the transmission speed difference DeltaV and the transmission speed difference threshold DeltaVmax.
Specifically, when Δv > - Δvmax, it is determined that the adjusted number of transmission channels Sy is secondarily adjusted, and the operation is continued with the secondarily adjusted number of transmission channels Se. When DeltaV is less than or equal to DeltaVmax, the secondary adjustment of the adjusted transmission channel number Sy is judged not to be carried out, and the operation is continued with the adjusted transmission channel number Sy.
In some embodiments of the present application, the adjusting unit performs secondary adjustment on the adjusted number of transmission channels Sy, and when the secondary adjusted number of transmission channels Se continues to operate, the adjusting unit includes: the first preset transmission speed difference DeltaV 1, the second preset transmission speed difference DeltaV 2 and the third preset transmission speed difference DeltaV 3 are preset, and DeltaVmax < DeltaV1 < DeltaV2 < DeltaV3. The first preset secondary adjustment coefficient B1, the second preset secondary adjustment coefficient B2 and the third preset secondary adjustment coefficient B3 are preset, and B1 is smaller than B2 and smaller than B3. And selecting a secondary adjustment coefficient according to the magnitude relation between the transmission speed difference DeltaV and each preset transmission speed difference value, and carrying out secondary adjustment on the adjusted transmission channel number Sy, so as to continue to operate according to the secondary adjusted transmission channel number Se.
Specifically, when Δvmax < Δvβm1is less than or equal to Δv1, a third preset secondary adjustment coefficient B3 is selected to perform secondary adjustment on the adjusted number of transmission channels Sy, and the number of transmission channels se=sy×b3 after secondary adjustment is obtained. When DeltaV 1 < DeltaVis less than or equal to DeltaV 2, selecting a second preset secondary adjustment coefficient B2 to carry out secondary adjustment on the adjusted transmission channel quantity Sy, and obtaining the secondary adjusted transmission channel quantity Se=Sy.B2. When DeltaV 2 < DeltaVis less than or equal to DeltaV 3, selecting a first preset secondary adjustment coefficient B1 to carry out secondary adjustment on the adjusted transmission channel number Sy, and obtaining the secondary adjusted transmission channel number Se=Sy.B1. The number Se of the transmission channels after the secondary adjustment is rounded upwards.
It can be understood that the actual transmission speed judgment is performed after the primary adjustment is completed, and the secondary adjustment is further intelligently performed according to the transmission speed difference between the primary data and the secondary data, so as to better adapt to the requirements of different data transmission speeds. The situation that the primary data occupy more channels to complete transmission of the primary data and the secondary data is slower in transmission is avoided. The transmission speed of main data can be further optimized by secondarily adjusting the number of the transmission channels, and the user experience is improved, especially under the high-load operation of a state machine. Through intelligent secondary adjustment, the transmission channel is effectively utilized, the data transmission efficiency is further improved, and the resource waste is reduced.
The resource management system for the state machine in the above embodiment monitors the performance of the state machine system in real time by collecting data such as uploading time and downloading time and comparing the data according to a preset threshold value and standard loading time. When the load is higher, the number of the transmission channels is dynamically adjusted, so that the main data and the secondary data can be efficiently transmitted among all modules, the congestion of the transmission channels is avoided, and the real-time performance and the stability of data transmission are improved. Meanwhile, secondary adjustment is performed on the basis of the data quantity difference value and the transmission speed difference value, so that configuration of a transmission channel is further optimized, and the system can keep good performance under different loads. The response speed of the state machine is effectively improved, the problems of blocking and loading delay are reduced, smoother and efficient user experience is provided, and the high requirements of the current digital world on real-time performance and low delay are met.
In another preferred manner based on the foregoing embodiment, referring to fig. 3, the present embodiment provides a resource management method for a state machine, which is applied to the foregoing resource management system, and includes:
s100: the method comprises the steps of collecting and storing uploading time Ts of target data sent by a database to a processing module, collecting and displaying downloading time Tx of the target data received by a module from the processing module, obtaining loading time T according to the uploading time Ts and the downloading time Tx, comparing the loading time T with standard loading time Tmax, and judging whether to adjust a transmission strategy according to a comparison result; when T > Tmax, judging to adjust the transmission strategy; the target data includes primary data and secondary data;
S200: when the transmission strategy is judged to be adjusted, comparing the uploading time Ts with an uploading time threshold Tsmin, and judging whether to adjust the uploading transmission strategy according to the comparison result; comparing the downloading time Tx with a downloading time threshold Txmin, and judging whether to adjust a downloading transmission strategy according to the comparison result;
s300: when Tx is smaller than Txmin, starting the temporary storage module, transmitting main data to the display module by the processing module, transmitting secondary data to the temporary storage module by the processing module, and transmitting the secondary data to the display module by the temporary storage module;
s400: after the temporary storage module is determined to be started, determining the number of transmission channels occupied by the main data according to the data quantity of the main data, and downloading target data by the display module through the transmission channels;
s500: acquiring a data quantity difference value of the main data and the secondary data, judging whether to adjust the number of transmission channels of the main data occupation display module according to the data quantity difference value, and acquiring the number of the adjusted transmission channels;
s600: after determining whether to adjust the number of transmission channels according to the data difference value, collecting the transmission speed difference value of the main data and the secondary data, and judging whether to secondarily adjust the number of the adjusted transmission channels according to the transmission speed difference value.
It can be understood that, in the above embodiment, by collecting data such as uploading time and downloading time, comparing the data according to a preset threshold value and standard loading time, the performance of the state machine is monitored in real time. When the load is higher, the number of the transmission channels is dynamically adjusted, so that the efficient transmission of the main data and the secondary data among all modules is ensured, the congestion of the transmission channels is avoided, and the real-time performance and the stability of data transmission are improved. Meanwhile, secondary adjustment is performed on the basis of the data quantity difference value and the transmission speed difference value, so that configuration of a transmission channel is further optimized, and the state machine can keep good performance under different loads. The embodiment effectively improves the response speed of the state machine, reduces the problems of blocking and loading delay, and provides smoother and efficient user experience.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flowchart and/or block of the flowchart illustrations and/or block diagrams, and combinations of flowcharts and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical aspects of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those of ordinary skill in the art that: modifications and equivalents may be made to the specific embodiments of the invention without departing from the spirit and scope of the invention, which is intended to be covered by the claims.

Claims (9)

1. A resource management system for a state machine, comprising:
the data transmission device comprises a storage database, a processing module, a display module and a temporary storage module, wherein the processing module acquires target data from the storage database and sends the target data to the display module, and the temporary storage module is used for temporarily storing the data; the management device comprises an acquisition unit, a judging unit, a processing unit and an adjusting unit, and is used for controlling the data transmission device to transmit data; wherein,
The acquisition unit is configured to acquire the uploading time Ts of the storage database for transmitting the target data to the processing module, acquire the downloading time Tx of the display module for receiving the target data from the processing module, acquire the loading time T according to the uploading time Ts and the downloading time Tx, compare t=ts+tx with the standard loading time Tmax, judge whether to adjust the transmission strategy according to the comparison result, and judge to adjust the transmission strategy when T > Tmax; the target data includes primary data and secondary data;
the judging unit is configured to compare the uploading time Ts with an uploading time threshold Tsmin when judging to adjust the transmission policy, judge whether to adjust the uploading transmission policy according to the comparison result, compare the downloading time Tx with a downloading time threshold Txmin, and judge whether to adjust the downloading transmission policy according to the comparison result;
the processing unit is configured to start the temporary storage module when Tx < Txmin, the primary data is sent to the display module by the processing module, and the secondary data is sent to the temporary storage module by the processing module and then sent to the display module by the temporary storage module;
The processing unit is further configured to determine, after determining to start the temporary storage module, the number of transmission channels occupied by the main data by the display module according to the data amount of the main data, and the display module downloads the target data through the transmission channels;
the adjusting unit is configured to collect a data volume difference value between the main data and the secondary data, judge whether to adjust the number of transmission channels occupied by the main data by the display module according to the data volume difference value, and acquire the number of the transmission channels after adjustment;
the adjusting unit is further configured to collect a transmission speed difference value between the primary data and the secondary data after determining whether to adjust the number of transmission channels according to the data difference value, and determine whether to secondarily adjust the number of adjusted transmission channels according to the transmission speed difference value.
2. The resource management system for a state machine according to claim 1, wherein the acquisition unit compares the loading time T with a standard loading time Tmax, and when determining whether to adjust a transmission policy according to the comparison result, the resource management system comprises:
when T is less than or equal to Tmax, judging that the loading time T is shorter, sending the target data from the storage database to the processing module, and sending the target data to the display module by the processing module to meet the requirement of use, wherein the transmission strategy is not adjusted at the moment;
When T is larger than Tmax, the loading time T is judged to be longer, the target data is sent to the processing module from the storage database, and the processing module sends the target data to the display module again to be unsatisfied for use, and at the moment, the transmission strategy is adjusted.
3. The resource management system for a state machine according to claim 2, wherein the judging unit is further configured to compare the uploading time Ts with an uploading time threshold Tsmin when judging to adjust the transmission policy, and when judging whether to adjust the uploading transmission policy according to the comparison result, comprising:
when Ts is less than or equal to Tsmin, judging that the uploading time is shorter, and not adjusting the uploading transmission strategy;
when Ts is larger than Tsmin, the uploading time is longer, and uploading of non-target data is closed.
4. The resource management system for a state machine according to claim 3, wherein the judging unit is further configured to, when judging to adjust the transmission policy, compare the download time Tx with a download time threshold Txmin, judge whether to adjust the download transmission policy according to the comparison result, include:
when Tx is less than or equal to Txmin, judging that the downloading time is shorter, and not adjusting the downloading transmission strategy;
When Tx is larger than Txmin, the downloading time is judged to be longer, the processing module sends the main data to the display module, and after the processing module sends the secondary data to the temporary storage module, the temporary storage module adjusts the transmission speed of the secondary data according to the transmission speed of the main data.
5. The resource management system for a state machine of claim 4, wherein the processing unit is further configured to, when determining the number of transmission channels occupied by the primary data according to the data amount of the primary data after the temporary storage module is started, include:
presetting a first preset data amount N1, a second preset data amount N2 and a third preset data amount N3, wherein N1 is smaller than N2 and smaller than N3; presetting a first preset transmission channel number S1, a second preset transmission channel number S2 and a third preset transmission channel number S3, wherein S1 is more than S2 and less than S3;
the processing unit acquires the data quantity N0 of the main data, and determines the number of transmission channels occupied by the main data by the display module according to the relation between the data quantity N0 of the main data and each preset data quantity:
when N1 is less than or equal to N0 and less than N2, determining the number of transmission channels occupied by the main data by the display module as the first preset transmission channel number S1;
When N2 is less than or equal to N0 and less than N3, determining the number of transmission channels occupied by the main data by the display module as the second preset transmission channel number S2;
and when N3 is less than or equal to N0, determining the number of the transmission channels occupied by the main data by the display module as a third preset transmission channel number S3.
6. The resource management system for a state machine according to claim 5, wherein the adjustment unit is further configured to, after determining that the number of transmission channels occupied by the primary data by the display module is an i-th preset transmission channel number Si, i=1, 2,3, collect a data amount difference Δn between the primary data and the secondary data, Δn=n0-Ns, where N0 represents a data amount of the primary data, ns represents a data amount of the secondary data, determine whether to adjust the number of transmission channels occupied by the primary data by the display module according to the data amount difference Δn, and obtain the adjusted number of transmission channels, including:
presetting a data quantity difference threshold DeltaNmax, judging whether the quantity Si of the transmission channels occupied by the main data by the display module is adjusted according to the relation between the data quantity difference DeltaN and the data quantity difference threshold DeltaNmax, and acquiring the quantity of the transmission channels after adjustment:
When delta N > -delta Nmax, judging to adjust the number Si of transmission channels occupied by the main data by the display module, and acquiring the adjusted number Sy of the transmission channels;
when DeltaN is less than or equal to DeltaNmax, judging that the main data occupies the quantity Si of the transmission channels of the display module, and taking the quantity Si of the transmission channels as the quantity Sy of the transmission channels after adjustment, wherein Sy=Si at the moment.
7. The resource management system for a state machine according to claim 6, wherein the adjustment unit is further configured to, when it is determined that the main data occupies the number Si of transmission channels of the presentation module, adjust and acquire the adjusted number Sy of transmission channels, include:
presetting a first preset data quantity difference delta N1, a second preset data quantity difference delta N2 and a third preset data quantity difference delta N3, wherein delta Nmax is less than delta N1 and delta N2 is less than delta N3; presetting a first preset channel number adjustment coefficient A1, a second preset channel number adjustment coefficient A2 and a third preset channel number adjustment coefficient A3, wherein A1 is more than 1 and A2 is more than 2 and A3 is more than 2;
selecting a channel number adjustment coefficient according to the size relation between the data volume difference delta N and each preset data volume difference, and adjusting the number Si of the transmission channels of the main data occupation display module to obtain the adjusted number Sy of the transmission channels:
When DeltaNmax is less than DeltaN 1, selecting the first preset channel quantity adjustment coefficient A1 to adjust the quantity Si of the transmission channels of the main data occupation display module, and obtaining the adjusted quantity Sy=Si×A1 of the transmission channels, wherein the adjusted quantity Sy is rounded upwards;
when delta N1 is less than or equal to delta N2, selecting the second preset channel quantity adjustment coefficient A2 to adjust the quantity Si of the transmission channels of the main data occupation display module, and obtaining the adjusted transmission channel quantity Sy=Si×A2, wherein the adjusted transmission channel quantity Sy is rounded upwards;
when delta N2 is less than or equal to delta N3, selecting the third preset channel quantity adjusting coefficient A3 to adjust the quantity Si of the transmission channels of the main data occupation display module, and obtaining the adjusted transmission channel quantity Sy=Si×A3, wherein the adjusted transmission channel quantity Sy is rounded upwards.
8. The resource management system for a state machine according to claim 7, wherein the adjustment unit is further configured to, after determining whether to adjust the number of transmission channels and acquiring the adjusted number of transmission channels Sy, the adjustment unit acquires a transmission speed difference between the primary data and the secondary data, and determines whether to perform secondary adjustment on the adjusted number of transmission channels according to the transmission speed difference, including:
The transmission speed difference Δv=vz-Vc, where Vz represents the transmission speed of the primary data and Vc represents the transmission speed of the secondary data; a transmission speed difference threshold DeltaVmax is preset, and whether secondary adjustment is carried out on the number Sy of the adjusted transmission channels is judged according to the magnitude relation between the transmission speed difference DeltaV and the transmission speed difference threshold DeltaVmax or not:
when DeltaV > DeltaVmax, judging that the adjusted transmission channel quantity Sy is subjected to secondary adjustment, and continuing to operate according to the secondary adjusted transmission channel quantity Se;
when DeltaV is less than or equal to DeltaVmax, the secondary adjustment of the adjusted transmission channel number Sy is judged not to be carried out, and the operation is continued with the adjusted transmission channel number Sy.
9. The resource management system for a state machine according to claim 8, wherein the adjusting unit performs a secondary adjustment on the adjusted number of transmission channels Sy, and when continuing to operate with the secondary adjusted number of transmission channels Se, includes:
presetting a first preset transmission speed difference DeltaV 1, a second preset transmission speed difference DeltaV 2 and a third preset transmission speed difference DeltaV 3, wherein DeltaVmax is < DeltaV1 < DeltaV2 < DeltaV3; presetting a first preset secondary adjustment coefficient B1, a second preset secondary adjustment coefficient B2 and a third preset secondary adjustment coefficient B3, wherein B1 is more than 1 and B2 is more than 1 and B3 is more than 1.5; selecting a secondary adjustment coefficient according to the magnitude relation between the transmission speed difference DeltaV and each preset transmission speed difference value, and performing secondary adjustment on the adjusted transmission channel number Sy, and continuing to operate according to the secondary adjusted transmission channel number Se:
When DeltaVmax is less than DeltaV and less than or equal to DeltaV 1, selecting the third preset secondary adjustment coefficient B3 to carry out secondary adjustment on the adjusted transmission channel number Sy, and obtaining the secondary adjusted transmission channel number Se=Sy×B3, wherein the secondary adjusted transmission channel number Se is rounded upwards;
when DeltaV 1 < DeltaV2 is less than or equal to DeltaV 2, selecting the second preset secondary adjustment coefficient B2 to carry out secondary adjustment on the adjusted transmission channel number Sy, and obtaining the secondary adjusted transmission channel number Se=Sy×B2, wherein the secondary adjusted transmission channel number Se is rounded upwards;
when DeltaV 2 < DeltaVis less than or equal to DeltaV 3, selecting the first preset secondary adjustment coefficient B1 to carry out secondary adjustment on the adjusted transmission channel number Sy, obtaining the secondary adjusted transmission channel number Se=Sy×B1, and rounding up the secondary adjusted transmission channel number Se.
CN202311627815.8A 2023-12-01 2023-12-01 Resource management system for state machine Active CN117336300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311627815.8A CN117336300B (en) 2023-12-01 2023-12-01 Resource management system for state machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311627815.8A CN117336300B (en) 2023-12-01 2023-12-01 Resource management system for state machine

Publications (2)

Publication Number Publication Date
CN117336300A true CN117336300A (en) 2024-01-02
CN117336300B CN117336300B (en) 2024-01-30

Family

ID=89283430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311627815.8A Active CN117336300B (en) 2023-12-01 2023-12-01 Resource management system for state machine

Country Status (1)

Country Link
CN (1) CN117336300B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117828649A (en) * 2024-03-06 2024-04-05 天津帕克耐科技有限公司 Micro data center system

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101517539A (en) * 2006-09-29 2009-08-26 高通股份有限公司 Method and apparatus for managing resources at a wireless device
CA2806550A1 (en) * 2010-07-26 2012-02-09 Michael Luna Distributed caching for resource and mobile network traffic management
US20140337473A1 (en) * 2009-07-08 2014-11-13 Bogdan FRUSINA Multipath data streaming over multiple wireless networks
CN104202548A (en) * 2014-08-12 2014-12-10 深圳英飞拓科技股份有限公司 Network video recorder (NVR) multithreading management method and device
CN105282048A (en) * 2014-06-27 2016-01-27 中兴通讯股份有限公司 Business channel management method, device and optical transmission equipment
CN107527128A (en) * 2016-06-21 2017-12-29 阿里巴巴集团控股有限公司 A kind of method and apparatus for determining resource parameters
CN109600315A (en) * 2017-09-30 2019-04-09 阿里巴巴集团控股有限公司 The flow control method and method of adjustment of data channel
US20190129818A1 (en) * 2016-07-24 2019-05-02 Pure Storage, Inc. Calibration of flash channels in ssd
CN110073301A (en) * 2017-08-02 2019-07-30 强力物联网投资组合2016有限公司 The detection method and system under data collection environment in industrial Internet of Things with large data sets
CN110175095A (en) * 2019-04-28 2019-08-27 南京大学 A kind of multi-functional FPGA coincidence measurement system of man-machine interactive and its measurement method
CN112684994A (en) * 2020-12-24 2021-04-20 苏州华兴源创科技股份有限公司 Multichannel resource adjustment method and computer-readable storage medium
CN115174686A (en) * 2022-07-12 2022-10-11 江苏苏宁银行股份有限公司 Method and device for dynamically adjusting weights of multiple service channels based on service efficiency
CN115576710A (en) * 2022-09-22 2023-01-06 山东云海国创云计算装备产业创新中心有限公司 Data transmission method of substrate management controller and related device
CN115665059A (en) * 2022-11-17 2023-01-31 北京润泽云溪科技有限公司 Data transmission hierarchical storage system
CN115712594A (en) * 2023-01-09 2023-02-24 苏州浪潮智能科技有限公司 Channel allocation method and device, storage system and equipment and medium
CN116781864A (en) * 2023-06-21 2023-09-19 浙江宏远智能科技有限公司 Factory operation state remote monitoring system and method based on Internet of things data acquisition
CN116980569A (en) * 2023-08-29 2023-10-31 高花妹 Security monitoring system and method based on cloud computing

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101517539A (en) * 2006-09-29 2009-08-26 高通股份有限公司 Method and apparatus for managing resources at a wireless device
US20140337473A1 (en) * 2009-07-08 2014-11-13 Bogdan FRUSINA Multipath data streaming over multiple wireless networks
CA2806550A1 (en) * 2010-07-26 2012-02-09 Michael Luna Distributed caching for resource and mobile network traffic management
CN105282048A (en) * 2014-06-27 2016-01-27 中兴通讯股份有限公司 Business channel management method, device and optical transmission equipment
CN104202548A (en) * 2014-08-12 2014-12-10 深圳英飞拓科技股份有限公司 Network video recorder (NVR) multithreading management method and device
CN107527128A (en) * 2016-06-21 2017-12-29 阿里巴巴集团控股有限公司 A kind of method and apparatus for determining resource parameters
US20190129818A1 (en) * 2016-07-24 2019-05-02 Pure Storage, Inc. Calibration of flash channels in ssd
CN110073301A (en) * 2017-08-02 2019-07-30 强力物联网投资组合2016有限公司 The detection method and system under data collection environment in industrial Internet of Things with large data sets
CN109600315A (en) * 2017-09-30 2019-04-09 阿里巴巴集团控股有限公司 The flow control method and method of adjustment of data channel
CN110175095A (en) * 2019-04-28 2019-08-27 南京大学 A kind of multi-functional FPGA coincidence measurement system of man-machine interactive and its measurement method
CN112684994A (en) * 2020-12-24 2021-04-20 苏州华兴源创科技股份有限公司 Multichannel resource adjustment method and computer-readable storage medium
CN115174686A (en) * 2022-07-12 2022-10-11 江苏苏宁银行股份有限公司 Method and device for dynamically adjusting weights of multiple service channels based on service efficiency
CN115576710A (en) * 2022-09-22 2023-01-06 山东云海国创云计算装备产业创新中心有限公司 Data transmission method of substrate management controller and related device
CN115665059A (en) * 2022-11-17 2023-01-31 北京润泽云溪科技有限公司 Data transmission hierarchical storage system
CN115712594A (en) * 2023-01-09 2023-02-24 苏州浪潮智能科技有限公司 Channel allocation method and device, storage system and equipment and medium
CN116781864A (en) * 2023-06-21 2023-09-19 浙江宏远智能科技有限公司 Factory operation state remote monitoring system and method based on Internet of things data acquisition
CN116980569A (en) * 2023-08-29 2023-10-31 高花妹 Security monitoring system and method based on cloud computing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117828649A (en) * 2024-03-06 2024-04-05 天津帕克耐科技有限公司 Micro data center system
CN117828649B (en) * 2024-03-06 2024-05-28 天津帕克耐科技有限公司 Micro data center system

Also Published As

Publication number Publication date
CN117336300B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
CN117336300B (en) Resource management system for state machine
CN108173698B (en) Network service management method, device, server and storage medium
US20060020703A1 (en) Methods and systems for a receiver to allocate bandwidth among incoming communications flows
CN102238068B (en) Message transmitting method and system
EP0444395B1 (en) Method for controlling call processing based upon load conditions
CN105873022A (en) Downloading method and device for mobile terminal
CN111212114B (en) Method and device for downloading resource file
CN107800574B (en) Storage QOS adjusting method, system, equipment and computer readable memory
CN116233928A (en) Unloading decision and resource allocation method based on general sense calculation integration
CN113194040A (en) Intelligent control method for instantaneous high-concurrency server thread pool congestion
CN117527591A (en) Resource elastic expansion method, device and equipment
US20230379268A1 (en) Resource scheduling method and system, electronic device, computer readable storage medium
CN117032977A (en) Mixed part application resource allocation method and device, computer equipment and storage medium
CN115118667A (en) Transmission control method and device
CN116302578A (en) QoS (quality of service) constraint stream application delay ensuring method and system
CN114024913B (en) Network performance optimization method, device, equipment and storage medium
WO2022105504A1 (en) Method and system for scheduling function service, computing device and storage medium
CN114337916A (en) Network transmission rate adjusting method, device, equipment and storage medium
CN110636104B (en) Resource request method, electronic device and storage medium
CN108881051B (en) Node load balancing method based on request queue in P2P streaming media on-demand system
CN110290556B (en) Resource load balancing scheduling method based on optimal control variational method
CN103686874B (en) Bandwidth allocation method
CN112995693A (en) Intelligent processing method of streaming media file, control panel and computer readable storage medium
CN111309484A (en) Management method and device for improving terminal performance and computer readable storage medium
US5941948A (en) Admission controller for network access

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant