CN116208564B - High-performance Internet of things scheduling method and system based on X86 platform - Google Patents

High-performance Internet of things scheduling method and system based on X86 platform Download PDF

Info

Publication number
CN116208564B
CN116208564B CN202310189067.3A CN202310189067A CN116208564B CN 116208564 B CN116208564 B CN 116208564B CN 202310189067 A CN202310189067 A CN 202310189067A CN 116208564 B CN116208564 B CN 116208564B
Authority
CN
China
Prior art keywords
calculation formula
data
transmission
unit time
port
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.)
Active
Application number
CN202310189067.3A
Other languages
Chinese (zh)
Other versions
CN116208564A (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.)
Beijing Leyan Technology Co ltd
Original Assignee
Beijing Leyan 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 Beijing Leyan Technology Co ltd filed Critical Beijing Leyan Technology Co ltd
Priority to CN202310189067.3A priority Critical patent/CN116208564B/en
Publication of CN116208564A publication Critical patent/CN116208564A/en
Application granted granted Critical
Publication of CN116208564B publication Critical patent/CN116208564B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of Internet, in particular to a high-performance Internet of things scheduling method and system based on an X86 platform. The scheme comprises the connection with 88E6193X through a high-speed interface; is connected with an external gigabit optical port through 88E 6193X; the high-speed interface is connected with an external megalight port; automatically reading current transmission data and judging a communication interface in a working state; forming a specific transmission resource allocation scheme for the communication interface in the working state; and automatically distributing hardware resources according to the transmission resource distribution scheme. According to the scheme, by setting a plurality of interfaces and combining comprehensive scheduling of resources in the X86 platform, efficient resource utilization based on the hardware of the Internet of things is realized.

Description

High-performance Internet of things scheduling method and system based on X86 platform
Technical Field
The invention relates to the technical field of Internet, in particular to a high-performance Internet of things scheduling method and system based on an X86 platform.
Background
Due to the development of technologies such as 5G, more and more fields begin to use wireless internet of things devices or wired connections. In order to enable data transmission in different scenarios in different areas, sufficient resources are needed for management and scheduling.
Prior to the present technology, the number of optical ports configured in the X86 platform in the prior art is small, and the problem that resources are not utilized maximally often occurs. In addition, if there is a problem of uneven resource allocation in the corresponding X86 platform, it is difficult to efficiently schedule and allocate.
Disclosure of Invention
In view of the above problems, the invention provides a high-performance internet of things scheduling method and system based on an X86 platform, which are used for realizing high-efficiency resource utilization based on internet of things hardware by setting a plurality of interfaces and combining comprehensive scheduling of resources in the X86 platform.
According to a first aspect of the embodiment of the invention, a high-performance Internet of things scheduling method based on an X86 platform is provided.
In one or more embodiments, preferably, the high-performance internet of things scheduling method based on the X86 platform includes:
is connected with 88E6193X through a high-speed interface;
is connected with an external gigabit optical port through 88E 6193X;
the high-speed interface is connected with an external megalight port;
automatically reading current transmission data and judging a communication interface in a working state;
forming a specific transmission resource allocation scheme for the communication interface in the working state;
and automatically distributing hardware resources according to the transmission resource distribution scheme.
In one or more embodiments, preferably, the connection with 88E6193X through a high-speed interface specifically includes:
selecting 4 high-speed interfaces on a CPU of a processor;
the selected 4 interfaces are connected by using an 88E6193X bridge piece.
In one or more embodiments, preferably, the connection with the external gigabit optical port through 88E6193X specifically includes:
external connection is carried out according to the 88E6193X bridge pieces, and each 88E6193X bridge piece is connected with 1 gigabit optical port SFP;
each 88E6193X bridge piece is connected with 1 multi-megaoptical port SFP+;
each 88E6193X bridge piece is connected with 1 kilomega electric port RJ45.
In one or more embodiments, preferably, the connection with the external multi-megalight port through the high-speed interface specifically includes:
4 unused external expansion interfaces are selected through the CPU automatic high-speed interface;
and connecting the external expansion interface with an external multi-megaoptical port SFP+.
In one or more embodiments, preferably, the automatically reading the current transmission data and determining the communication interface in the working state specifically includes:
reading the service condition of each interface under the running state of the CPU;
and judging all communication interfaces in a working state according to the use condition.
In one or more embodiments, preferably, the forming a specific transmission resource allocation scheme for the communication interface in the working state specifically includes:
obtaining the communication interface in the working state;
acquiring the total data amount of each type of resources of the current CPU, and calculating the total resource amount of unit time in a data area to be transmitted by using a first calculation formula;
when the total amount of resources in unit time in the data area to be transmitted is smaller than a preset value, the data type is directly transmitted, a multi-megalight port is preferentially selected during transmission, the flow rate ratio of each channel is calculated by utilizing a second calculation formula, and when each transmission is performed, the time reserved for at least 20% is selected and no data is transmitted;
judging whether the third calculation formula is satisfied according to the flow ratio of each channel, if not, calculating the capacity ratio of unit time by using the fourth calculation formula, and if so, not processing;
according to the capacity ratio of the unit time, the channels which do not meet the fifth calculation formula send data, so that the data are sent in all time periods, the time for not sending the data is not reserved any more, and if the channels which meet the fifth calculation formula do not send the data;
carrying out optical fiber classification number division on the transmission data of the gigabit optical fiber by utilizing a sixth calculation formula;
judging that if a seventh calculation formula is met for the optical fiber with the gigabit optical fiber class number of 1, carrying out shunt transmission on part of transmission data through a gigabit electric port;
recording a final transmission resource allocation scheme;
the first calculation formula is as follows:
Z=ΣZx
wherein Z is the total amount of resources in the data area to be transmitted in unit time, and Zx is the total amount of resources in the type x in unit time;
the second calculation formula is as follows:
L=B/L Z
wherein L is the flow rate duty ratio, B is the distribution flow rate, L Z Is the rated total flow;
the third calculation formula is as follows:
H=100×MAX(L-50)<80
wherein H is a flow rate exceeding 50%, and MAX () is a function of calculating the maximum value;
the fourth calculation formula is as follows:
DR=DZ/DE
wherein DR is the capacity ratio of the unit time, DZ is the total capacity of the unit time in the corresponding order, and DE is the rated capacity of the unit time;
the fifth calculation formula is:
T<80%×TD
wherein T is the total time after the automatic data feeding in the unit period, and TD is the unit period;
the sixth calculation formula is:
wherein U is the gigabit optical fiber class number, S is the transmission flow of each task below gigabit;
the seventh calculation formula is:
K<0.8×L E
wherein K is a flow value corresponding to 100% of time, L E Is rated flow.
In one or more embodiments, preferably, the automatic hardware resource allocation according to the transmission resource allocation scheme specifically includes:
acquiring the transmission resource allocation scheme, and performing data allocation according to the communication interface in the current working state;
and waiting for the completion of data transmission, and carrying out data transmission of the next period.
According to a second aspect of the embodiment of the invention, a high-performance internet of things dispatching system based on an X86 platform is provided.
In one or more embodiments, preferably, the high-performance internet of things scheduling system based on the X86 platform includes:
the first expansion module is used for being connected with 88E6193X through a high-speed interface;
the second expansion module is used for being connected with an external gigabit optical port through 88E 6193X;
the third expansion module is used for being connected with an external megalight port through a high-speed interface;
the interface information acquisition module is used for automatically reading the current transmission data and judging a communication interface in a working state;
the scheme setting module is used for forming a specific transmission resource allocation scheme for the communication interface in the working state;
and the scheme execution module is used for automatically carrying out hardware resource allocation according to the transmission resource allocation scheme.
According to a third aspect of embodiments of the present invention, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement a method according to any of the first aspect of embodiments of the present invention.
According to a fourth aspect of embodiments of the present invention there is provided an electronic device comprising a memory and a processor, the memory being for storing one or more computer program instructions, wherein the one or more computer program instructions are executable by the processor to implement the method of any of the first aspects of embodiments of the present invention.
The technical scheme provided by the embodiment of the invention can comprise the following beneficial effects:
in the scheme of the invention, the X86 platform is rapidly monitored and configured, so that the rapid use of network resources is realized.
In the scheme of the invention, in the X86 platform, the rapid resource monitoring is combined, so that the resource scheduling among different interfaces is realized.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a high-performance internet of things scheduling method based on an X86 platform according to an embodiment of the present invention.
Fig. 2 is a flowchart of a high-speed interface connection with 88E6193X in a high-performance internet of things scheduling method based on an X86 platform according to an embodiment of the present invention.
Fig. 3 is a flowchart of a high-performance internet of things scheduling method based on an X86 platform according to an embodiment of the present invention, which is connected to an external gigabit optical port through 88E 6193X.
Fig. 4 is a flowchart of a high-speed interface connected to an external multi-megaoptical port in a high-performance internet of things scheduling method based on an X86 platform according to an embodiment of the present invention.
Fig. 5 is a flowchart of a method for scheduling a high-performance internet of things based on an X86 platform to automatically read current transmission data and determine a communication interface in a working state according to an embodiment of the present invention.
Fig. 6 is a flowchart of a specific transmission resource allocation scheme for the communication interface in the working state in the high-performance internet of things scheduling method based on the X86 platform according to an embodiment of the present invention.
Fig. 7 is a flowchart of automatic hardware resource allocation according to the transmission resource allocation scheme in a high-performance internet of things scheduling method based on an X86 platform according to an embodiment of the present invention.
Fig. 8 is a block diagram of a high performance internet of things scheduling system based on an X86 platform according to an embodiment of the present invention.
Fig. 9 is a block diagram of an electronic device in one embodiment of the invention.
Detailed Description
In some of the flows described in the specification and claims of the present invention and in the foregoing figures, a plurality of operations occurring in a particular order are included, but it should be understood that the operations may be performed out of order or performed in parallel, with the order of operations such as 101, 102, etc., being merely used to distinguish between the various operations, the order of the operations themselves not representing any order of execution. In addition, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first" and "second" herein are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, and are not limited to the "first" and the "second" being different types.
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
Due to the development of technologies such as 5G, more and more fields begin to use wireless internet of things devices or wired connections. In order to enable data transmission in different areas and under different scenarios, sufficient resources are required for management and scheduling.
Prior to the present technology, the number of optical ports configured in the X86 platform in the prior art is small, and the problem that resources are not utilized maximally often occurs. In addition, if there is a problem of uneven resource allocation in the corresponding X86 platform, it is difficult to efficiently schedule and allocate.
The embodiment of the invention provides a high-performance Internet of things scheduling method and system based on an X86 platform. According to the scheme, by setting a plurality of interfaces and combining comprehensive scheduling of resources in the X86 platform, efficient resource utilization based on the hardware of the Internet of things is realized.
According to a first aspect of the embodiment of the invention, a high-performance Internet of things scheduling method based on an X86 platform is provided.
Fig. 1 is a flowchart of a high-performance internet of things scheduling method based on an X86 platform according to an embodiment of the present invention.
In one or more embodiments, preferably, the high-performance internet of things scheduling method based on the X86 platform includes:
s101, connecting with 88E6193X through a high-speed interface;
s102, connecting with an external gigabit optical port through 88E 6193X;
s103, connecting with an external megalight port through a high-speed interface;
s104, automatically reading current transmission data and judging a communication interface in a working state;
s105, forming a specific transmission resource allocation scheme for the communication interface in the working state;
s106, automatically allocating hardware resources according to the transmission resource allocation scheme.
In the embodiment of the invention, the core is how to perform maximum resource utilization by combining the configured optical port according to specific data to be sent, fully utilizes the software and hardware resources of the CPU, utilizes the high-speed interface of the CPU and is matched with 4 88E6193X bridge sheets to build a complete architecture system, fully plays the function of the CPU, maximally utilizes the resources, and truly achieves the design requirements of low cost, double functions and performance satisfaction.
Fig. 2 is a flowchart of a high-speed interface connection with 88E6193X in a high-performance internet of things scheduling method based on an X86 platform according to an embodiment of the present invention.
As shown in fig. 2, in one or more embodiments, preferably, the connection with 88E6193X through a high-speed interface specifically includes:
s201, selecting 4 high-speed interfaces on a CPU of a processor;
s202, connecting the selected 4 interfaces by using 88E6193X bridge pieces.
In the embodiment of the invention, the core mode is that the expansion of CPU resources is completed through an 88E6193 bridge chip, wherein 88E6193X is an Ethernet two-layer exchange chip.
Fig. 3 is a flowchart of a high-performance internet of things scheduling method based on an X86 platform according to an embodiment of the present invention, which is connected to an external gigabit optical port through 88E 6193X.
As shown in fig. 3, in one or more embodiments, preferably, the connection with the external gigabit optical port through 88E6193X specifically includes:
s301, externally connecting the 88E6193X bridge pieces, wherein each 88E6193X bridge piece is connected with 1 gigabit optical port SFP;
s302, each 88E6193X bridge piece is connected with 1 multi-megalight port SFP+;
s303, each 88E6193X bridge piece is connected with 1 kilomega electric port RJ45.
In the embodiment of the invention, the interface is expanded through the 88E6193X bridge chip, so that more resource interfaces are formed.
Fig. 4 is a flowchart of a high-speed interface connected to an external multi-megaoptical port in a high-performance internet of things scheduling method based on an X86 platform according to an embodiment of the present invention.
As shown in fig. 4, in one or more embodiments, preferably, the connection with the external multi-megaoptical port through the high-speed interface specifically includes:
s401, selecting 4 unused external expansion interfaces through a CPU automatic high-speed interface;
s402, connecting the external expansion interface with an external multi-megaoptical port SFP+.
In the embodiment of the invention, besides the 88E6193X bridge chip expansion, the direct interface expansion of the CPU is also carried out, so that the platform of the Internet of things is effectively supported.
Fig. 5 is a flowchart of a method for scheduling a high-performance internet of things based on an X86 platform to automatically read current transmission data and determine a communication interface in a working state according to an embodiment of the present invention.
As shown in fig. 5, in one or more embodiments, preferably, the automatically reading the current transmission data and determining the communication interface in the working state specifically includes:
s501, reading the service condition of each interface in the running state of the CPU;
s502, judging all communication interfaces in working states according to the use condition.
In the embodiment of the invention, in order to effectively divide resources, the communication interface in the working state is judged, and the corresponding resources are allocated in real time.
Fig. 6 is a flowchart of a specific transmission resource allocation scheme for the communication interface in the working state in the high-performance internet of things scheduling method based on the X86 platform according to an embodiment of the present invention.
As shown in fig. 6, in one or more embodiments, preferably, the forming a specific transmission resource allocation scheme for the communication interface in the working state specifically includes:
s601, obtaining the communication interface in the working state;
s602, acquiring the total data amount of each type of resources of a current CPU, and calculating the total resource amount of unit time in a data area to be transmitted by using a first calculation formula;
s603, when the total amount of resources in unit time in the data area to be transmitted is smaller than a preset value, the data type is directly transmitted, a multi-megalight port is preferentially selected during transmission, the flow rate ratio of each channel is calculated by using a second calculation formula, and when each transmission is performed, the time reserved for at least 20% is selected and no data is transmitted;
s604, judging whether a third calculation formula is satisfied according to the flow rate ratio of each channel, if not, calculating the capacity ratio of unit time by using a fourth calculation formula, and if so, not processing;
s605, according to the capacity ratio of the unit time, transmitting data by a channel which does not meet the fifth calculation formula, so that data are transmitted in all time periods, reserving no-data transmitting time, and if the channel which meets the fifth calculation formula does not transmit data;
s606, dividing the transmission data of the gigabit optical fiber into optical fiber classification numbers by utilizing a sixth calculation formula;
s607, judging that if a seventh calculation formula is met for the optical fiber with the gigabit optical fiber class number of 1, carrying out shunt transmission on part of transmission data through a gigabit electric port;
s608, recording a final transmission resource allocation scheme;
the first calculation formula is as follows:
Z=ΣZx
wherein Z is the total amount of resources in the data area to be transmitted in unit time, and Zx is the total amount of resources in the type x in unit time;
the second calculation formula is as follows:
L=B/L Z
wherein L is the flow rate duty ratio, B is the distribution flow rate, L Z Is the rated total flow;
the third calculation formula is as follows:
H=100×MAX(L-50)<80
wherein H is a flow rate exceeding 50%, and MAX () is a function of calculating the maximum value;
the fourth calculation formula is as follows:
DR=DZ/DE
wherein DR is the capacity ratio of the unit time, DZ is the total capacity of the unit time in the corresponding order, and DE is the rated capacity of the unit time;
the fifth calculation formula is:
T<80%×TD
wherein T is the total time after the automatic data feeding in the unit period, and TD is the unit period;
the sixth calculation formula is:
wherein U is the gigabit optical fiber class number, S is the transmission flow of each task below gigabit;
the seventh calculation formula is:
K<0.8×L E
wherein K is a flow value corresponding to 100% of time, L E Is rated flow.
In the embodiment of the invention, after all the resources are set, the specific on-line monitoring of the use condition of the resources is automatically carried out, the corresponding time adjustment and transmission data transfer are carried out for the larger use of the flow of the resources, the maximum utilization of the resources of the Internet of things is realized, the efficient and reliable data transmission is realized, and the transmission resource allocation scheme is recorded.
Fig. 7 is a flowchart of automatic hardware resource allocation according to the transmission resource allocation scheme in a high-performance internet of things scheduling method based on an X86 platform according to an embodiment of the present invention.
As shown in fig. 7, in one or more embodiments, preferably, the automatic hardware resource allocation according to the transmission resource allocation scheme specifically includes:
s701, acquiring the transmission resource allocation scheme, and performing data allocation according to the communication interface in the current working state;
s702, waiting for data transmission to be completed, and carrying out data transmission in the next period.
In the embodiment of the invention, after each transmission, the data is obtained through real-time operation in the next data transmission, and the data is executed according to the data distribution scheme of the next period.
According to a second aspect of the embodiment of the invention, a high-performance internet of things dispatching system based on an X86 platform is provided.
Fig. 8 is a block diagram of a high performance internet of things scheduling system based on an X86 platform according to an embodiment of the present invention.
In one or more embodiments, preferably, the high-performance internet of things scheduling system based on the X86 platform includes:
the first expansion module 801 is used for being connected with 88E6193X through a high-speed interface;
the second expansion module 802 is used for being connected with an external gigabit optical port through 88E 6193X;
a third expansion module 803, configured to connect to an external megaoptical port through a high-speed interface;
the interface information acquisition module 804 is configured to automatically read current transmission data and determine a communication interface in a working state;
a scheme setting module 805, configured to form a specific transmission resource allocation scheme for the communication interface in the working state;
a scheme execution module 806, configured to automatically perform hardware resource allocation according to the transmission resource allocation scheme.
In the embodiment of the invention, a system suitable for different structures is realized through a series of modularized designs, and the system can realize closed-loop, reliable and efficient execution through acquisition, analysis and control.
According to a third aspect of embodiments of the present invention, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement a method according to any of the first aspect of embodiments of the present invention.
According to a fourth aspect of an embodiment of the present invention, there is provided an electronic device. Fig. 9 is a block diagram of an electronic device in one embodiment of the invention. The electronic equipment shown in fig. 9 is a general high-performance internet of things dispatching device based on an X86 platform. The electronic device can be a smart phone, a tablet computer and the like. As shown, the electronic device 900 includes a processor 901 and a memory 902. The processor 901 is electrically connected to the memory 902. The processor 901 is a control center of the electronic device 900, connects respective parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or calling a computer program stored in the memory 902 and calling data stored in the memory 902, thereby performing overall monitoring of the terminal.
In this embodiment, the processor 901 in the electronic device 900 loads instructions corresponding to the processes of one or more computer programs into the memory 902 according to the following steps, and the processor 901 executes the computer programs stored in the memory 902, so as to implement various functions: is connected with 88E6193X through a high-speed interface; is connected with an external gigabit optical port through 88E 6193X; the high-speed interface is connected with an external megalight port; automatically reading current transmission data and judging a communication interface in a working state; forming a specific transmission resource allocation scheme for the communication interface in the working state; and automatically distributing hardware resources according to the transmission resource distribution scheme.
Memory 902 may be used to store computer programs and data. The memory 902 stores a computer program having instructions executable in a processor. The computer program may constitute various functional modules. The processor 901 executes various functional applications and data processing by calling a computer program stored in the memory 902.
The technical scheme provided by the embodiment of the invention can comprise the following beneficial effects:
in the scheme of the invention, the X86 platform is rapidly monitored and configured, so that the rapid use of network resources is realized.
In the scheme of the invention, in the X86 platform, the rapid resource monitoring is combined, so that the resource scheduling among different interfaces is realized.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (9)

1. The high-performance Internet of things scheduling method based on the X86 platform is characterized by comprising the following steps of:
is connected with 88E6193X through a high-speed interface;
is connected with an external gigabit optical port through 88E 6193X;
the high-speed interface is connected with an external megalight port;
automatically reading current transmission data and judging a communication interface in a working state;
forming a specific transmission resource allocation scheme for the communication interface in the working state;
automatically allocating hardware resources according to the transmission resource allocation scheme;
the forming a specific transmission resource allocation scheme for the communication interface in the working state specifically includes:
obtaining the communication interface in the working state;
acquiring the total data amount of each type of resources of the current CPU, and calculating the total resource amount of unit time in a data area to be transmitted by using a first calculation formula;
when the total amount of resources in unit time in the data area to be transmitted is smaller than a preset value, the data type is directly transmitted, a multi-megalight port is preferentially selected during transmission, the flow rate ratio of each channel is calculated by utilizing a second calculation formula, and when each transmission is performed, the time reserved for at least 20% is selected and no data is transmitted;
judging whether the third calculation formula is satisfied according to the flow ratio of each channel, if not, calculating the capacity ratio of unit time by using the fourth calculation formula, and if so, not processing;
according to the capacity ratio of the unit time, the channels which do not meet the fifth calculation formula send data, so that the data are sent in all time periods, the time for not sending the data is not reserved any more, and if the channels which meet the fifth calculation formula do not send the data;
carrying out optical fiber classification number division on the transmission data of the gigabit optical fiber by utilizing a sixth calculation formula;
judging that if a seventh calculation formula is met for the optical fiber with the gigabit optical fiber class number of 1, carrying out shunt transmission on part of transmission data through a gigabit electric port;
recording a final transmission resource allocation scheme;
the first calculation formula is as follows:
Z=ΣZx
wherein Z is the total amount of resources in the data area to be transmitted in unit time, and Zx is the total amount of resources in the type x in unit time;
the second calculation formula is as follows:
L=B/L Z
wherein L is the flow rate duty ratio, B is the distribution flow rate, L Z Is the rated total flow;
the third calculation formula is as follows:
H=100×MAX(L-50)<80
wherein H is a flow rate exceeding 50%, and MAX () is a function of calculating the maximum value;
the fourth calculation formula is as follows:
DR=DZ/DE
wherein DR is the capacity ratio of the unit time, DZ is the total capacity of the unit time in the corresponding order, and DE is the rated capacity of the unit time;
the fifth calculation formula is:
T<80%×TD
wherein T is the total time after the automatic data feeding in the unit period, and TD is the unit period;
the sixth calculation formula is:
wherein U is the gigabit optical fiber class number, S is the transmission flow of each task below gigabit;
the seventh calculation formula is:
K<0.8×L E
wherein K is a flow value corresponding to 100% of time, L E Is rated flow.
2. The method for scheduling the high-performance internet of things based on the X86 platform according to claim 1, wherein the method is connected with 88E6193X through a high-speed interface, and specifically comprises the following steps:
selecting 4 high-speed interfaces on a CPU of a processor;
the selected 4 interfaces are connected by using an 88E6193X bridge piece.
3. The method for scheduling the high-performance internet of things based on the X86 platform according to claim 2, wherein the method is connected with an external gigabit optical port through 88E6193X, and specifically comprises the following steps:
external connection is carried out according to the 88E6193X bridge pieces, and each 88E6193X bridge piece is connected with 1 gigabit optical port SFP;
each 88E6193X bridge piece is connected with 1 multi-megaoptical port SFP+;
each 88E6193X bridge piece is connected with 1 kilomega electric port RJ45.
4. The method for scheduling the high-performance internet of things based on the X86 platform according to claim 1, wherein the method is connected with an external megaoptical port through a high-speed interface, and specifically comprises the following steps:
4 unused external expansion interfaces are selected through the CPU automatic high-speed interface;
and connecting the external expansion interface with an external multi-megaoptical port SFP+.
5. The method for scheduling the high-performance internet of things based on the X86 platform according to claim 1, wherein the method for automatically reading the current transmission data and judging the communication interface in the working state comprises the following steps:
reading the service condition of each interface under the running state of the CPU;
and judging all communication interfaces in a working state according to the use condition.
6. The method for scheduling the high-performance internet of things based on the X86 platform according to claim 1, wherein the method for automatically performing hardware resource allocation according to the transmission resource allocation scheme comprises the following steps:
acquiring the transmission resource allocation scheme, and performing data allocation according to the communication interface in the current working state;
and waiting for the completion of data transmission, and carrying out data transmission of the next period.
7. A high performance internet of things scheduling system based on an X86 platform, wherein the system is configured to implement the method of any one of claims 1-6, the system comprising:
the first expansion module is used for being connected with 88E6193X through a high-speed interface;
the second expansion module is used for being connected with an external gigabit optical port through 88E 6193X;
the third expansion module is used for being connected with an external megalight port through a high-speed interface;
the interface information acquisition module is used for automatically reading the current transmission data and judging a communication interface in a working state;
the scheme setting module is used for forming a specific transmission resource allocation scheme for the communication interface in the working state;
the scheme execution module is used for automatically carrying out hardware resource allocation according to the transmission resource allocation scheme;
the forming a specific transmission resource allocation scheme for the communication interface in the working state specifically includes:
obtaining the communication interface in the working state;
acquiring the total data amount of each type of resources of the current CPU, and calculating the total resource amount of unit time in a data area to be transmitted by using a first calculation formula;
when the total amount of resources in unit time in the data area to be transmitted is smaller than a preset value, the data type is directly transmitted, a multi-megalight port is preferentially selected during transmission, the flow rate ratio of each channel is calculated by utilizing a second calculation formula, and when each transmission is performed, the time reserved for at least 20% is selected and no data is transmitted;
judging whether the third calculation formula is satisfied according to the flow ratio of each channel, if not, calculating the capacity ratio of unit time by using the fourth calculation formula, and if so, not processing;
according to the capacity ratio of the unit time, the channels which do not meet the fifth calculation formula send data, so that the data are sent in all time periods, the time for not sending the data is not reserved any more, and if the channels which meet the fifth calculation formula do not send the data;
carrying out optical fiber classification number division on the transmission data of the gigabit optical fiber by utilizing a sixth calculation formula;
judging that if a seventh calculation formula is met for the optical fiber with the gigabit optical fiber class number of 1, carrying out shunt transmission on part of transmission data through a gigabit electric port;
recording a final transmission resource allocation scheme;
the first calculation formula is as follows:
Z=ΣZx
wherein Z is the total amount of resources in the data area to be transmitted in unit time, and Zx is the total amount of resources in the type x in unit time;
the second calculation formula is as follows:
L=B/L Z
wherein L is the flow rate duty ratio, B is the distribution flow rate, L Z Is the rated total flow;
the third calculation formula is as follows:
H=100×MAX(L-50)<80
wherein H is a flow rate exceeding 50%, and MAX () is a function of calculating the maximum value;
the fourth calculation formula is as follows:
DR=DZ/DE
wherein DR is the capacity ratio of the unit time, DZ is the total capacity of the unit time in the corresponding order, and DE is the rated capacity of the unit time;
the fifth calculation formula is:
T<80%×TD
wherein T is the total time after the automatic data feeding in the unit period, and TD is the unit period;
the sixth calculation formula is:
wherein U is the gigabit optical fiber class number, S is the transmission flow of each task below gigabit;
the seventh calculation formula is:
K<0.8×L E
wherein K is a flow value corresponding to 100% of time, L E Is rated flow.
8. A computer readable storage medium, on which computer program instructions are stored, which computer program instructions, when executed by a processor, implement the method of any of claims 1-6.
9. An electronic device comprising a memory and a processor, wherein the memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method of any of claims 1-6.
CN202310189067.3A 2023-02-22 2023-02-22 High-performance Internet of things scheduling method and system based on X86 platform Active CN116208564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310189067.3A CN116208564B (en) 2023-02-22 2023-02-22 High-performance Internet of things scheduling method and system based on X86 platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310189067.3A CN116208564B (en) 2023-02-22 2023-02-22 High-performance Internet of things scheduling method and system based on X86 platform

Publications (2)

Publication Number Publication Date
CN116208564A CN116208564A (en) 2023-06-02
CN116208564B true CN116208564B (en) 2023-12-15

Family

ID=86509162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310189067.3A Active CN116208564B (en) 2023-02-22 2023-02-22 High-performance Internet of things scheduling method and system based on X86 platform

Country Status (1)

Country Link
CN (1) CN116208564B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385390A (en) * 2016-09-27 2017-02-08 武汉虹信通信技术有限责任公司 Method and system for realizing 10-gigabit Ethernet electrical port transmission based on FPGA (field programmable gate array)
CN109981753A (en) * 2019-03-07 2019-07-05 中南大学 A kind of system and resource allocation methods of the edge calculations of the software definition of internet of things oriented
CN110266585A (en) * 2019-06-14 2019-09-20 长飞光纤光缆股份有限公司 A kind of full light intelligent industrial gateway based on edge calculations
CN112995337A (en) * 2021-04-13 2021-06-18 北京乐研科技有限公司 High-performance processor chip-based high-performance Internet of things hardware platform and method
CN216016884U (en) * 2021-08-02 2022-03-11 杭州创谐信息技术股份有限公司 High-speed network isolation card based on FPGA integrated kilomega and tera optical port

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9961138B2 (en) * 2016-02-16 2018-05-01 Justin G. Lelacheur Fiber-based distributed data center architecture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385390A (en) * 2016-09-27 2017-02-08 武汉虹信通信技术有限责任公司 Method and system for realizing 10-gigabit Ethernet electrical port transmission based on FPGA (field programmable gate array)
CN109981753A (en) * 2019-03-07 2019-07-05 中南大学 A kind of system and resource allocation methods of the edge calculations of the software definition of internet of things oriented
CN110266585A (en) * 2019-06-14 2019-09-20 长飞光纤光缆股份有限公司 A kind of full light intelligent industrial gateway based on edge calculations
CN112995337A (en) * 2021-04-13 2021-06-18 北京乐研科技有限公司 High-performance processor chip-based high-performance Internet of things hardware platform and method
CN216016884U (en) * 2021-08-02 2022-03-11 杭州创谐信息技术股份有限公司 High-speed network isolation card based on FPGA integrated kilomega and tera optical port

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
光纤物联网中的云调度平台的设计与改进;潘惠苹;;激光杂志(01);全文 *

Also Published As

Publication number Publication date
CN116208564A (en) 2023-06-02

Similar Documents

Publication Publication Date Title
CN101826970B (en) Intelligent power management of an intermediate network device switching circuitry and PoE delivery
CN111459665A (en) Distributed edge computing system and distributed edge computing method
CN103841129B (en) Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method
CN103279351A (en) Method and device for task scheduling
CN117032937B (en) Task scheduling method based on GPU, electronic device and storage medium
CN106020777A (en) Data processing method, device and system
CN103955436A (en) Data processing device and terminal
CN109614228B (en) Comprehensive monitoring front-end system based on dynamic load balancing mode and working method
CN111354990A (en) Battery pack, identification information distribution system and method thereof, and storage medium
CN116208564B (en) High-performance Internet of things scheduling method and system based on X86 platform
CN113485842B (en) Method and device for data analysis based on device cluster
CN116402318B (en) Multi-stage computing power resource distribution method and device for power distribution network and network architecture
CN104184685B (en) Data center resource distribution method, apparatus and system
CN110221998B (en) Data acquisition method, device and system and computer storage medium
CN102084220A (en) Method for remotely reading electric meters
US7212493B2 (en) Controlling network traffic
CN111490904A (en) Uplink bandwidth allocation method, device, medium and equipment
CN108281958A (en) Power consumption management method and device
CN112054926A (en) Cluster management method and device, electronic equipment and storage medium
CN116095087B (en) Virtual power plant distributed computing network resource scheduling method, system and electronic equipment
CN115276762B (en) Satellite network connection method, system, electronic equipment and storage medium
CN118227338B (en) Intelligent power management method and system based on Internet of things
CN102006199B (en) Time division multiplexing (TDM) switching module testing device, method and system
CN113347692B (en) Power utilization system, method and equipment, and computer-readable storage medium
CN115022259B (en) Method for processing and transmitting OAM (operation administration and maintenance) of multi-core switching chip and application

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