CN110245013A - Internet of Things managing computing resources method and apparatus - Google Patents

Internet of Things managing computing resources method and apparatus Download PDF

Info

Publication number
CN110245013A
CN110245013A CN201810195830.2A CN201810195830A CN110245013A CN 110245013 A CN110245013 A CN 110245013A CN 201810195830 A CN201810195830 A CN 201810195830A CN 110245013 A CN110245013 A CN 110245013A
Authority
CN
China
Prior art keywords
elastic calculation
internet
equipment
calculation equipment
resource
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
CN201810195830.2A
Other languages
Chinese (zh)
Other versions
CN110245013B (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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810195830.2A priority Critical patent/CN110245013B/en
Publication of CN110245013A publication Critical patent/CN110245013A/en
Application granted granted Critical
Publication of CN110245013B publication Critical patent/CN110245013B/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
    • G06F9/5038Allocation 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 execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • 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/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/502Proximity

Landscapes

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

Abstract

The disclosure provides a kind of Internet of Things managing computing resources method and apparatus.Internet of Things managing computing resources method includes: to establish connection by the first predetermined period and at least one available elastic calculation equipment, and the elastic calculation equipment is connect with multiple first calculating equipment;Response computation task overflows message, the calculating task for calling the elastic calculation equipment processing to overflow by pre-set priority.The network architecture of Internet of Things edge node devices computing resource automatically retractable may be implemented in the Internet of Things managing computing resources method that the disclosure provides.

Description

Internet of Things managing computing resources method and apparatus
Technical field
This disclosure relates to internet of things field, in particular to a kind of Internet of Things managing computing resources method and dress It sets.
Background technique
With the rise of technology of Internet of things, more and more internet-of-things terminal equipment are continued to bring out, to existing network rack Structure proposes new challenge.The relevant technologies are provided with fringe node between the Internet of Things network terminal and cloud, to handle Internet of Things The height of network termination calculates demand in real time.
Fig. 1 is the schematic diagram with the internet of things data processing framework of fringe node.Due to the number of internet-of-things terminal equipment Amount and the calculating of consumption, storage resource are predictable, therefore under the environment of internet of things of relative quiescent, and this network architecture can be compared with Good meets the needs of internet-of-things terminal calculates in real time.But be in dynamic change when internet-of-things terminal accesses quantity, especially It is when being in the presence of happening suddenly accessing on a large scale, which often will appear inadequate resource, lead to real-time calculating task congestion, from And reduce the real-time of entire Internet of Things network.
On the other hand, even in the case where internet-of-things terminal accesses the predictable scene of scale, when certain fringe nodes occur When failure, internet-of-things terminal equipment needs to switch the fringe node of connection, also results in certain edge node devices and counts The situation of resource saturation is calculated, and then calculating task congestion and real-time is caused to reduce.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
Internet of Things edge node devices computing resource automatically retractable may be implemented in the one kind that is designed to provide of the disclosure Internet of Things managing computing resources method and internet of things data processing system, for overcoming the burst of a large amount of internet-of-things terminal equipment to connect Enter or part edge node breaks down that other fringe nodes access internet-of-things terminal equipment is caused to be uprushed caused calculating Task Congestion and real-time reduce.
According to the first aspect of the embodiments of the present disclosure, a kind of Internet of Things managing computing resources method is provided, comprising: press first Predetermined period and at least one available elastic calculation equipment establish connection, and the elastic calculation equipment is calculated with multiple first and set Standby connection;Response computation task overflows message, appoints by the calculating that pre-set priority calls the elastic calculation equipment processing to overflow Business.
In a kind of exemplary embodiment of the disclosure, further includes: disconnected by the second predetermined period and meet preset condition Elastic calculation equipment connection.
In a kind of exemplary embodiment of the disclosure, the first calculating equipment includes fringe node.
It is described to be set by the first predetermined period and multiple available elastic calculations in a kind of exemplary embodiment of the disclosure Include: for connection is established
The normal elastic calculation equipment of communication connection is identified by first predetermined period;
Resource allocation application is sent to the elastic calculation equipment;
The elastic calculation equipment is responded to resource allocation application by message, each elastic calculation equipment is recorded and provides Available computational resources and connection speed with each elastic calculation equipment.
In a kind of exemplary embodiment of the disclosure, the response computation task overflows message, by pre-set priority tune Handling the calculating task overflowed with the elastic calculation equipment includes:
It responds the calculating task and overflows message, obtain the calculating task amount of spilling;
Resource transfer application is sent to the highest elastic calculation equipment of current priority by the pre-set priority;
The available computational resources for responding the elastic calculation equipment feedback are that the elastic calculation equipment distributes calculating task;
Judge whether that there are also the calculating tasks overflowed, if so, repeating above step until the calculating task that do not overflow Or there is no available computational resources.
In a kind of exemplary embodiment of the disclosure, the rating scale of the pre-set priority includes connection speed, can Use computing resource.
In a kind of exemplary embodiment of the disclosure, the bullet disconnected by the second predetermined period and meet preset condition Property calculate equipment connection include:
It is judged whether there is by second predetermined period and idle has connected elastic calculation equipment;
If so, sending computing resource release notice to the elastic calculation equipment that free time length is more than preset value.
According to the second aspect of an embodiment of the present disclosure, a kind of Internet of Things managing computing resources device is provided, comprising:
Resource establishes module, is set as being established and being connected by the first predetermined period and at least one available elastic calculation equipment It connects, the elastic calculation equipment is connect with multiple first calculating equipment;
Resource expands module, is set as response computation task and overflows message, calls the elastic calculation by pre-set priority The calculating task that equipment processing is overflowed.
According to the third aspect of the disclosure, a kind of internet of things data processing system is provided, comprising:
Cloud platform is coupled to multiple fringe nodes by multiple routing nodes;
Multiple fringe nodes and multiple elastic calculation equipment, wherein each elastic calculation equipment is coupled to multiple edges Node, each fringe node are coupled at least one described elastic calculation equipment;
Multiple internet-of-things terminal equipment, are coupled to the multiple fringe node.
In a kind of exemplary embodiment of the disclosure, the fringe node includes processor, and the processor is set as It executes to give an order:
Connection is established by the first predetermined period and at least one available elastic calculation equipment;
Receive the calculating task that the internet-of-things terminal equipment is sent;
The calculating task for calling the elastic calculation equipment processing to overflow by pre-set priority when calculating task is overflowed.
According to the fourth aspect of the disclosure, a kind of Internet of Things managing computing resources device is provided, comprising: memory;And The processor of memory belonging to being coupled to, the processor is configured to the instruction based on storage in the memory, executes Method as described in above-mentioned any one.
According to the 5th of the disclosure the aspect, a kind of computer readable storage medium is provided, program is stored thereon with, the program The Internet of Things managing computing resources method as described in above-mentioned any one is realized when being executed by processor.
The embodiment of the present disclosure promotes edge section by way of shared elastic calculation resource is arranged for Internet of Things fringe node The real-time calculating extended capability and availability of point device are mentioned using the mechanism of multiple one elastic calculation equipment of nodes sharing It increases salary the overall utilization rate in source, effectively avoids being equipped with elastic calculation resource bring problem of resource waste for single fringe node. Meanwhile multiple nodes are carried out in a manner of application/release when using elastic calculation resource, avoid idle resource occupation, will provided Source is assigned to busy fringe node, promotes the level of resources utilization.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the schematic diagram of the internet of things data processing framework with fringe node in the related technology.
Fig. 2 is the network architecture schematic diagram using the Internet of Things managing computing resources method of the disclosure.
Fig. 3 is the flow chart of Internet of Things managing computing resources method in disclosure exemplary embodiment.
Fig. 4 is a sub-process figure of Internet of Things managing computing resources method in disclosure exemplary embodiment.
Fig. 5 is another sub-process figure of Internet of Things managing computing resources method in disclosure exemplary embodiment.
Fig. 6 is another flow chart of Internet of Things managing computing resources method in disclosure exemplary embodiment.
Fig. 7 is a sub-process figure of the method for Internet of Things managing computing resources shown in Fig. 6.
Fig. 8 is a kind of block diagram of Internet of Things managing computing resources device in one exemplary embodiment of the disclosure.
Fig. 9 is a kind of block diagram of fringe node in one exemplary embodiment of the disclosure.
Figure 10 is a kind of work flow diagram of fringe node shown in Fig. 9.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.In the following description, it provides perhaps More details fully understand embodiment of the present disclosure to provide.It will be appreciated, however, by one skilled in the art that can It is omitted with technical solution of the disclosure one or more in the specific detail, or others side can be used Method, constituent element, device, step etc..In other cases, be not shown in detail or describe known solution to avoid a presumptuous guest usurps the role of the host and So that all aspects of this disclosure thicken.
In addition, attached drawing is only the schematic illustrations of the disclosure, identical appended drawing reference indicates same or similar portion in figure Point, thus repetition thereof will be omitted.Some block diagrams shown in the drawings are functional entitys, not necessarily necessary and object The entity managed or be logically independent is corresponding.These functional entitys can be realized using software form, or in one or more These functional entitys are realized in hardware module or integrated circuit, or in heterogeneous networks and/or processor device and/or microcontroller These functional entitys are realized in device.
Disclosure example embodiment is described in detail with reference to the accompanying drawing.
Fig. 2 is the network architecture schematic diagram using the Internet of Things managing computing resources method of the disclosure.
With reference to Fig. 2, disclosed technique scheme is multiple sides on the basis of edge node devices are arranged in legacy network framework 21 equipment of edge node is equipped with a shared elastic calculation equipment 22.For example, elastic calculation equipment can be set with 3 fringe nodes It is standby to be connected in such a way that physics is direct-connected, and keep having at a distance from equal with each fringe node.Elastic calculation equipment is for example Can be the micro server based on x86 framework, more computing resource and storage resource can be provided, as core cpu quantity, Memory headroom etc..
Meanwhile elastic calculation equipment can also be interconnected by multiple high speed Ethernet interfaces with fringe node.Generally Ground, the physical link between elastic calculation equipment and edge node devices can be carried out direct-connected using gigabit Ethernet;In software Level realizes the mutual identification between elastic calculation equipment and edge node devices, and utilize Shen by way of configuration distributing Please/release mechanism realizes the flexible management of elastic calculation resource, realizes the effective use of resource.
Mutual contact mode between edge node devices and elastic calculation equipment may include but be not limited only to high speed Ethernet Interconnection, other high speed interconnection techniques can be equally applicable in, as long as edge node devices software has corresponding hardware adaptation program.
Fig. 3 is the flow chart of Internet of Things managing computing resources method in disclosure exemplary embodiment.With reference to Fig. 3, Internet of Things Net managing computing resources method 100 may include:
Step S1 establishes connection, the elastometer by the first predetermined period and at least one available elastic calculation equipment Equipment is calculated to connect with multiple first calculating equipment.
Step S2, response computation task overflow message, call the elastic calculation equipment processing to overflow by pre-set priority Calculating task.
The present invention provides a kind of network racks that Internet of Things edge node devices computing resource automatically retractable may be implemented Structure promotes the real-time calculating of edge node devices by way of shared elastic calculation resource is arranged for Internet of Things fringe node Extended capability and availability.Using the mechanism of multiple one elastic calculation equipment of nodes sharing, the whole utilization of resource is promoted Rate effectively avoids being equipped with elastic calculation resource bring problem of resource waste for single fringe node.Meanwhile multiple nodes make It when with elastic calculation resource, is carried out in a manner of application/release, avoids idle resource occupation, allocate resources to busy side Edge node, improves the level of resources utilization.
In the following, each step of Internet of Things managing computing resources method 100 is described in detail.
In step S1, connection, the elasticity are established by the first predetermined period and at least one available elastic calculation equipment Equipment is calculated to connect with multiple first calculating equipment.
In the embodiments of the present disclosure, Internet of Things managing computing resources method 100 can be by internet of things data processing framework Fringe node is realized.
Fig. 4 is the sub-process figure in a kind of exemplary embodiment of the disclosure.
With reference to Fig. 4, in one embodiment, step S1 may include:
Step S11, Xiang Suoshu elastic calculation equipment sends resource allocation application;
Step S12 responds the elastic calculation equipment to resource allocation application by message, records each elastic calculation The available computational resources that equipment provides and the connection speed with each elastic calculation equipment.
Increasing itself using the process established by flexible resource pond is needed before flexible resource in fringe node can be with The flexible resource used.
In step S11, the communication between elastic calculation equipment and fringe node can be configured in advance.In configuration Before, therefore, to assure that physical connection, and edge node devices and elasticity have been carried out between edge node devices and elastic calculation equipment It calculates equipment and has accessed cloud management network, physical connection fault-free.
Next, can be configured by cloud Internet of Things control centre between edge node devices and elastic calculation equipment mutually The IP address of internetwork interface between the IP address and elastic calculation equipment and edge node devices of network interface, two kinds IP address is in phase same network segment.
After the completion of configuration, edge node devices send resource allocation application to elastic calculation equipment, and monitor elastic calculation Reply of the resource for resource allocation application.
In step S12, if elastic calculation equipment replys available mode to edge node devices, edge node devices will This elastic calculation equipment is added in the available elastic calculation the Resources list of oneself, reads the elastic calculation equipment and distributes to oneself The resource quota upper limit (such as maximum CPU core calculation, maximum memory) and the connection speed connecting with the elastic calculation equipment are (such as Ethernet connection speed 1000Mbps), and available elastic calculation the Resources list is updated, write-in quota information with connect speed Rate information.
Edge node devices are detected respectively according to the above process can be with elastic calculation equipment, and by all elastic calculating equipment And information is added in the available elastic calculation the Resources list of oneself.
If elastic calculation equipment does not send to edge node devices and replys, fringe node can consider this elastic calculation Equipment is in down state, retransmits resource allocation application afterwards in preset time (such as 30 seconds).
In step S2, response computation task overflows message, calls the elastic calculation equipment to handle by pre-set priority and overflows Calculating task out.
Fig. 5 is a sub-process figure of step S2 in the embodiment of the present disclosure.
With reference to Fig. 5, in a kind of exemplary embodiment of the disclosure, step S2 may include:
Step S21 responds the calculating task and overflows message, obtains the calculating task amount of spilling;
Step S22 sends resource transfer Shen to the highest elastic calculation equipment of current priority by the pre-set priority Please;
Step S23 responds the available computational resources of the elastic calculation equipment feedback as elastic calculation equipment distribution Calculating task;
Step S24 judges whether that there are also the calculating tasks overflowed, if so, repeating above step until not overflowing Calculating task or no available computational resources.
After elastic calculation equipment is added to available elastic calculation the Resources list by edge node devices, if encountering resource Insufficient scene, edge node devices can be carried out extending computing resource automatically to meet real-time calculating demand.
In step S21, firstly, edge node devices constantly receive real-time calculating task, and real-time calculating task is placed In task queue, when the task quantity in task queue is overflowed, responds the calculating task and overflow message, obtain and overflow Calculating task amount.
In step S22, in a kind of exemplary embodiment of the disclosure, the rating scale of the pre-set priority includes connecting Connect rate, available computational resources.
Edge node devices can inquire itself available elastic calculation the Resources list, according to connection speed to available elastometer It calculates resource to be ranked up, the preferential elastic calculation equipment for selecting connection speed most fast carries out resource expansion.When there is multiple elastometers When the connection speed of calculation equipment is identical, it can preferentially select to distribute to the smallest elastometer of current edge node device resource quota It calculates equipment and elastic calculation equipment can be randomly selected if resource quota is also identical.
After the selected elastic calculation resource for needing to extend, edge node devices send resource Shen to selected elastic calculation equipment It please message.
It, can be according to the fringe node in current bullet after elastic calculation resource node receives the resource bid of fringe node Property computing resource node resource quota be the fringe node distribute computing resource.For example, if the resource of fringe node application It is not above the quota upper limit, then carries out resource allocation according to the resource quantity of fringe node application;If fringe node application Resource is more than or equal to the quota upper limit, then carries out resource allocation according to the resource quota for distributing to the fringe node.Next, elastic Computing resource node can be with lock resource, such as core cpu quantity, memory headroom, and distributing to the fringe node filed an application makes With, and corresponding application services is activated, make fringe node that elastic calculation resource can be used in the way of network connection.
In step S23, for edge node devices, after confirmation elastic calculation resource bid success, can read The practical elastic calculation resource quantity distributed of elastic calculation equipment, and list of available resources is updated, refresh actually available number of resources Amount, identifies the available resources and has occupied, and the real-time calculating task in task queue is sent to elastic calculation resource and is handled.
Elastic calculation equipment is including CPU, memory source etc. in the resource of edge node devices distribution, operation and edge Identical business application on node device.Business application starts specific process and receives the reality from edge node devices When calculating task, complete after the operation of task returned data result to edge node devices.
After edge node devices receive the calculated result from elastic calculation equipment, calculated result can be returned into object Networked terminals equipment is uploaded to cloud.
In step S24, whether the elastic calculation resource for judging local resource (fringe node computing resource) plus having applied may be used To meet the real-time calculating demand of task queue, if meet if keep current state, if be not able to satisfy, fringe node after The most fast resource of connection speed carries out resource bid in vacant resource in continuous selection list of available resources.
Further, if local resource adds the elastic calculation of all elastic calculating equipment in list of available resources to provide Source is also unable to satisfy the calculating demand of spilling, then the calculating task that can not be handled local resource and elastic calculation resource is sent out It is handled toward cloud.
Fig. 6 is another flow chart of the embodiment of the present disclosure.
With reference to Fig. 6, in a kind of exemplary embodiment of the disclosure, Internet of Things managing computing resources method can also be wrapped It includes:
Step S3 disconnects the connection with the elastic calculation equipment for meeting preset condition by the second predetermined period.
In a kind of exemplary embodiment of the disclosure, step S3 may include:
Step S31 is judged whether there is by second predetermined period and idle is had connected elastic calculation equipment;
Step S32, if so, it is logical to send computing resource release to the elastic calculation equipment that free time length is more than preset value Know.
In order to effectively promote the elastic calculation level of resources utilization, it can discharge and occupy but for idle state in time Elastic calculation resource.
In step S31, edge node devices periodic monitor can use the elastic calculation resource shape in elastic calculation the Resources list State, judges whether elastic calculation resource is in idle condition.
If elastic calculation resource is in use state, any operation is not executed, continues to monitor in next timing point.
In step S32, if elastic calculation resource is in idle condition, current elastic calculation resource can be inquired and be in The duration of idle state judges whether elastic calculation resource free time length has been more than free time length threshold value.If elastic calculation provides Source free time length is less than threshold value, then timing monitors again;If elastic calculation resource free time length has been more than threshold value, edge Node device can send elastic calculation resource release notice to elastic calculation equipment.
It is permissible that resource response release notice closes the operation side connecting between elastic calculation equipment and edge node devices For edge node devices, but in further embodiments, can also be realized by elastic calculation equipment.
For example, elastic calculation equipment can close after receiving the elastic calculation resource release notice of edge device sending The network connection between edge node devices and elastic calculation equipment is closed, and starts the resource reservation time timer of the resource, The resource is discharged when not new resource bid within the resource reservation time, or preferential full dose will when there is new resource bid The resource is reassigned to the edge node devices, and restarts network connection.The above-mentioned processing to resource release notice is only to show Example, in the other embodiments of the disclosure, release resource, close connection mode can also there are many, the disclosure to this not Make particular determination.
After sending elastic calculation resource release notice, edge node devices can update elastic calculation resource status, to The elastic calculation resource of release changes recording mode.
Fringe node may be implemented by way of being equipped with elastic calculation equipment for Internet of Things edge node devices in the present invention The automatic telescopic function of computing resource, to cope with the scene that terminal device access quantity is uprushed.
Existing network architecture of Internet of things mostly use beyond the clouds between internet-of-things terminal increase fringe node mode into Row deployment, is provided for internet-of-things terminal by local fringe node and calculates service in real time, and manages data and requirement of real-time Lower data are handled by way of being uploaded to cloud.This network architecture can be pre- in reply internet-of-things terminal scale When the scene of survey, can preferably meet the needs of internet-of-things terminal calculates in real time.But at internet-of-things terminal access quantity In dynamic change, especially it is in the presence of happening suddenly when accessing on a large scale, which often will appear inadequate resource, lead to reality When calculating task congestion, to reduce the real-time of entire Internet of Things network.The present invention is by increasing elastic calculation resource node The mode of equipment makes edge node devices when in face of accessing the case where quantity is uprushed, and stretching automatically for computing resource may be implemented Contracting promotes computational efficiency, meets the real-time demand of Internet of Things.
On the other hand, even internet-of-things terminal access the predictable scene of scale under, Internet of Things fringe node according to Terminal quantity is disposed with flow scale, but when certain fringe nodes break down, internet-of-things terminal equipment needs are cut The fringe node for changing connection also results in certain edge node devices and is in the presence of that computing resource is saturated, and then causes to count Calculating Task Congestion and real-time reduces.The present invention has increased elastic calculation resource node newly, may be implemented under failover scene, When a large amount of internet-of-things terminal equipment access certain edge node devices suddenly, automatic telescopic is may be implemented in edge node devices, from And realize the high availability of Internet of things system.
Present invention employs the frameworks that multiple edge node devices share an elastic calculation equipment, can effectively promote bullet Property computing resource utilization rate, avoid single edge node devices from being equipped with unitary elasticity and calculate the wasting of resources of equipment bring.Together When, elastic calculation resource uses application/release mechanism, can be with more flexible managerial elasticity computing resource.
Corresponding to above method embodiment, the disclosure also provides a kind of Internet of Things managing computing resources device, can be used for Execute above method embodiment.
Fig. 7 is a kind of block diagram of Internet of Things managing computing resources device in one exemplary embodiment of the disclosure.
With reference to Fig. 7, Internet of Things managing computing resources device 700 may include:
Resource establishes module 71, is set as being established and being connected by the first predetermined period and at least one available elastic calculation equipment It connects, the elastic calculation equipment is connect with multiple first calculating equipment;
Resource expands module 72, is set as response computation task and overflows message, calls the elastometer by pre-set priority Calculate the calculating task that equipment processing is overflowed.
In a kind of exemplary embodiment of the disclosure, further includes:
Resource release module 73 is set as that the elastic calculation equipment of preset condition is disconnected and met by the second predetermined period Connection.
In a kind of exemplary embodiment of the disclosure, the first calculating equipment includes fringe node.
In a kind of exemplary embodiment of the disclosure, resource establishes module 71 and may include:
Resource identification unit 711 is set as identifying that the normal elastic calculation of communication connection is set by first predetermined period It is standby;
Communication unit 712 is set as sending resource allocation application to the elastic calculation equipment;
Resource record unit 713 is set as responding the elastic calculation equipment to resource allocation application through message, note Record the available computational resources that each elastic calculation equipment provides and the connection speed with each elastic calculation equipment.
In a kind of exemplary embodiment of the disclosure, resource expansion module 72 may include:
Trigger unit 721 is expanded, is set as responding the calculating task spilling message, obtains the calculating task amount of spilling;
Resource transfer unit 722 is set as by the pre-set priority to the highest elastic calculation equipment of current priority Send resource transfer application;
Resource uses unit 723, is set as responding the available computational resources of the elastic calculation equipment feedback being the bullet Property calculate equipment distribute calculating task;
Call unit 724 is extended, is set as judging whether that there are also the calculating tasks overflowed, if so, repeating above step Until the calculating task or no available computational resources do not overflowed.
In a kind of exemplary embodiment of the disclosure, the rating scale of the pre-set priority includes connection speed, can Use computing resource.
In a kind of exemplary embodiment of the disclosure, resource release module 73 may include:
Free device query unit 731 is set as judging whether there is idle have connected by second predetermined period Elastic calculation equipment;
Resource discharges notification unit 732, is set as if so, sending out to the elastic calculation equipment that free time length is more than preset value Send computing resource release notice.
Since each function of device 700 has been described in detail in its corresponding embodiment of the method, the disclosure in this not It repeats again.Person of ordinary skill in the field is it is understood that various aspects of the invention can be implemented as system, method or journey Sequence product.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
Fig. 8 is a kind of internet of things data processing system schematic diagram that the disclosure provides.
With reference to Fig. 8, internet of things data processing system 800 may include:
Cloud platform 81 is coupled to multiple fringe nodes 83 by multiple routing nodes 82;
Multiple fringe nodes 83 and multiple elastic calculation equipment 84, wherein each elastic calculation equipment be coupled to it is multiple Fringe node, each fringe node are coupled at least one described elastic calculation equipment;
Multiple internet-of-things terminal equipment 85 are coupled to the multiple fringe node 83.
Fig. 9 is the schematic diagram of a fringe node 831 in internet of things data processing system 800.
With reference to Fig. 9, in a kind of exemplary embodiment of the disclosure, fringe node 831 may include processor 900, place Reason device is arranged to carry out instruction shown in Fig. 10:
Step S101 establishes connection by the first predetermined period and at least one available elastic calculation equipment;
Step S102 receives the calculating task that the internet-of-things terminal equipment is sent;
Step S103 calls the elastic calculation equipment to handle based on spilling when calculating task is overflowed by pre-set priority Calculation task.
Wherein, pre-set priority for example can be according to how much generations of the size, available resources of connection speed.
In some embodiments, processor may be arranged as executing:
Step S104 disconnects the connection with the elastic calculation equipment for meeting preset condition by the second predetermined period.
Wherein, preset condition can be more than for example preset value for free time.
In addition, fringe node 831 can also include storage unit 910, bus 920.Storage unit 910 may include volatile The readable medium of property storage unit form, such as Random Access Storage Unit (RAM) 9101 and/or cache memory unit 9102, it can further include read-only memory unit (ROM) 9103.
Storage unit 910 can also include program/utility with one group of (at least one) program module 9105 9104, such program module 9105 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 920 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Fringe node 831 can also be communicated with one or more external equipments 930, can also to use with one or more The communication of equipment (such as internet-of-things terminal) that family can be interacted with the fringe node, and/or with enable the fringe node 831 and one A or a number of other any equipment (such as router, modem etc.) communications for calculating equipment and being communicated.It is this logical Letter can be carried out by input/output (I/O) interface 940.Also, fringe node 831 can also by network adapter 950 with One or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.Such as Shown in figure, network adapter 950 is communicated by bus 920 with other modules of fringe node 831.Although should be understood that in figure It is not shown, other hardware and/or software module can be used with jointing edge node 831, including but not limited to: microcode, equipment Driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system Deng.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to disclosure embodiment Method.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also In the form of being embodied as a kind of program product comprising program code, when described program product is run on the terminal device, institute Program code is stated for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to this hair The step of bright various illustrative embodiments.
Program product can be using portable compact disc read only memory (CD-ROM) and including program code, and can be It is run on terminal device, such as PC.However, program product of the invention is without being limited thereto, and in this document, readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope of the disclosure and design are wanted by right It asks and points out.

Claims (12)

1. a kind of Internet of Things managing computing resources method is applied to first and calculates equipment characterized by comprising
Establish connection by the first predetermined period and at least one available elastic calculation equipment, the elastic calculation equipment with it is multiple First calculates equipment connection;
Response computation task overflows message, the calculating task for calling the elastic calculation equipment processing to overflow by pre-set priority.
2. Internet of Things managing computing resources method as described in claim 1, which is characterized in that further include:
The connection with the elastic calculation equipment for meeting preset condition is disconnected by the second predetermined period.
3. Internet of Things managing computing resources method as described in claim 1, which is characterized in that described first, which calculates equipment, includes Fringe node.
4. Internet of Things managing computing resources method as described in claim 1, which is characterized in that it is described press the first predetermined period with Multiple available elastic calculation equipment establish connection and include:
The normal elastic calculation equipment of communication connection is identified by first predetermined period;
Resource allocation application is sent to the elastic calculation equipment;
The elastic calculation equipment is responded to resource allocation application by message, record that each elastic calculation equipment provides can Connection speed with computing resource and with each elastic calculation equipment.
5. Internet of Things managing computing resources method as described in claim 1, which is characterized in that the response computation task is overflowed Message, the calculating task for calling the elastic calculation equipment processing spilling by pre-set priority include:
It responds the calculating task and overflows message, obtain the calculating task amount of spilling;
Resource transfer application is sent to the highest elastic calculation equipment of current priority by the pre-set priority;
The available computational resources for responding the elastic calculation equipment feedback are that the elastic calculation equipment distributes calculating task;
Judge whether that there are also the calculating tasks overflowed, if so, repeating above step until the calculating task do not overflowed or not having There are available computational resources.
6. Internet of Things managing computing resources method as described in claim 1, which is characterized in that the grading of the pre-set priority Standard includes connection speed, available computational resources.
7. Internet of Things managing computing resources method as claimed in claim 2, which is characterized in that second predetermined period of pressing is broken The connection opened and meet the elastic calculation equipment of preset condition includes: the bullet that preset condition is disconnected and met by the second predetermined period Property calculate equipment connection
It is judged whether there is by second predetermined period and idle has connected elastic calculation equipment;
If so, sending computing resource release notice to the elastic calculation equipment that free time length is more than preset value.
8. a kind of Internet of Things managing computing resources device characterized by comprising
Resource establishes module, is set as establishing connection by the first predetermined period and at least one available elastic calculation equipment, institute Elastic calculation equipment is stated to connect with multiple first calculating equipment;
Resource expands module, is set as response computation task and overflows message, calls the elastic calculation equipment by pre-set priority Handle the calculating task overflowed.
9. a kind of internet of things data processing system characterized by comprising
Cloud platform is coupled to multiple fringe nodes by multiple routing nodes;
Multiple fringe nodes and multiple elastic calculation equipment, wherein each elastic calculation equipment is coupled to multiple edge sections Point, each fringe node are coupled at least one described elastic calculation equipment;
Multiple internet-of-things terminal equipment, are coupled to the multiple fringe node.
10. internet of things data processing system as claimed in claim 9, which is characterized in that the fringe node includes processor, The processor is arranged to carry out to give an order:
Connection is established by the first predetermined period and at least one available elastic calculation equipment;
Receive the calculating task that the internet-of-things terminal equipment is sent;
The calculating task for calling the elastic calculation equipment processing to overflow by pre-set priority when calculating task is overflowed.
11. a kind of electronic equipment characterized by comprising
Memory;And
The processor of memory belonging to being coupled to, the processor is configured to the instruction based on storage in the memory, Execute such as the described in any item Internet of Things managing computing resources methods of claim 1-7.
12. a kind of computer readable storage medium, is stored thereon with program, realized when which is executed by processor as right is wanted Seek the described in any item Internet of Things managing computing resources methods of 1-7.
CN201810195830.2A 2018-03-09 2018-03-09 Internet of Things computing resource management method and device Active CN110245013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810195830.2A CN110245013B (en) 2018-03-09 2018-03-09 Internet of Things computing resource management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810195830.2A CN110245013B (en) 2018-03-09 2018-03-09 Internet of Things computing resource management method and device

Publications (2)

Publication Number Publication Date
CN110245013A true CN110245013A (en) 2019-09-17
CN110245013B CN110245013B (en) 2023-11-07

Family

ID=67882775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810195830.2A Active CN110245013B (en) 2018-03-09 2018-03-09 Internet of Things computing resource management method and device

Country Status (1)

Country Link
CN (1) CN110245013B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552570A (en) * 2020-04-29 2020-08-18 章稳建 Self-adaptive distribution method of data processing resources of Internet of things and cloud computing server
CN111736988A (en) * 2020-05-29 2020-10-02 浪潮电子信息产业股份有限公司 Heterogeneous acceleration method, equipment and device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801792A (en) * 2012-07-26 2012-11-28 华南理工大学 Statistical-prediction-based automatic cloud CDN (Content Delivery Network) resource automatic deployment method
CN103729229A (en) * 2011-12-31 2014-04-16 华茂云天科技(北京)有限公司 Elastic calculation service system
CN106603618A (en) * 2016-09-14 2017-04-26 浪潮电子信息产业股份有限公司 Cloud platform-based application auto scaling method
US20170237863A1 (en) * 2016-02-16 2017-08-17 Saguna Networks Ltd. Methods Circuits Devices Systems and Functionally Associated Computer Executable Code to Support Edge Computing on a Communication Network
US20170337091A1 (en) * 2016-05-17 2017-11-23 International Business Machines Corporation Allocating compute offload resources

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729229A (en) * 2011-12-31 2014-04-16 华茂云天科技(北京)有限公司 Elastic calculation service system
CN102801792A (en) * 2012-07-26 2012-11-28 华南理工大学 Statistical-prediction-based automatic cloud CDN (Content Delivery Network) resource automatic deployment method
US20170237863A1 (en) * 2016-02-16 2017-08-17 Saguna Networks Ltd. Methods Circuits Devices Systems and Functionally Associated Computer Executable Code to Support Edge Computing on a Communication Network
US20170337091A1 (en) * 2016-05-17 2017-11-23 International Business Machines Corporation Allocating compute offload resources
CN106603618A (en) * 2016-09-14 2017-04-26 浪潮电子信息产业股份有限公司 Cloud platform-based application auto scaling method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552570A (en) * 2020-04-29 2020-08-18 章稳建 Self-adaptive distribution method of data processing resources of Internet of things and cloud computing server
CN111736988A (en) * 2020-05-29 2020-10-02 浪潮电子信息产业股份有限公司 Heterogeneous acceleration method, equipment and device and computer readable storage medium

Also Published As

Publication number Publication date
CN110245013B (en) 2023-11-07

Similar Documents

Publication Publication Date Title
CN111651253B (en) Computing resource scheduling method and device
KR102154446B1 (en) Method for fast scheduling for resource balanced allocation on distributed and collaborative container platform environment
WO2020207264A1 (en) Network system, service provision and resource scheduling method, device, and storage medium
CN108965485B (en) Container resource management method and device and cloud platform
US8656404B2 (en) Statistical packing of resource requirements in data centers
CN105335229B (en) Scheduling method and device of service resources
US20160216994A1 (en) Method, system, computer program and computer program product for monitoring data packet flows between virtual machines, vms, within a data centre
CN113742031B (en) Node state information acquisition method and device, electronic equipment and readable storage medium
CN105144110A (en) Automatic configuration of external services based upon network activity
US10993127B2 (en) Network slice instance management method, apparatus, and system
CN105554178B (en) A kind of method, gateway and the system of address distribution
Racheg et al. Profit-driven resource provisioning in NFV-based environments
CN112559182A (en) Resource allocation method, device, equipment and storage medium
WO2016095524A1 (en) Resource allocation method and apparatus
CN110245013A (en) Internet of Things managing computing resources method and apparatus
CN114064229A (en) Cluster node processing method, system, device and medium
CN107155403B (en) A kind of processing method and VNFM of life cycle events
CN111064666B (en) Networking method and device
CN112769829B (en) Deployment method of cloud physical machine, related equipment and readable storage medium
CN113806027B (en) Task orchestration method, apparatus, electronic device, and computer-readable storage medium
Zhu et al. IoT‐B&B: Edge‐based NFV for IoT devices with CPE crowdsourcing
CN108667920B (en) Service flow acceleration system and method for fog computing environment
CN109962941A (en) Communication means, device and server
CN108737120A (en) A kind of idle method and set-top box of set-top box
CN115328612A (en) Resource allocation method, device, equipment and storage medium

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