CN107454137B - Method, device and equipment for on-line business on-demand service - Google Patents

Method, device and equipment for on-line business on-demand service Download PDF

Info

Publication number
CN107454137B
CN107454137B CN201710457824.5A CN201710457824A CN107454137B CN 107454137 B CN107454137 B CN 107454137B CN 201710457824 A CN201710457824 A CN 201710457824A CN 107454137 B CN107454137 B CN 107454137B
Authority
CN
China
Prior art keywords
service
resource
service resource
business
resources
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
CN201710457824.5A
Other languages
Chinese (zh)
Other versions
CN107454137A (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.)
Guangzhou Tianning Information Technology Co ltd
Original Assignee
Guangzhou Keyuan Information Technology Co ltd
Guangzhou Tianning 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 Guangzhou Keyuan Information Technology Co ltd, Guangzhou Tianning Information Technology Co ltd filed Critical Guangzhou Keyuan Information Technology Co ltd
Priority to CN201710457824.5A priority Critical patent/CN107454137B/en
Publication of CN107454137A publication Critical patent/CN107454137A/en
Application granted granted Critical
Publication of CN107454137B publication Critical patent/CN107454137B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Game Theory and Decision Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method, a device and equipment for on-line business on-demand service, which are used for analyzing business service capacity requirements, configuring and reconstructing service resources on demand and scheduling business operations on demand, wherein the method comprises the following steps: the business service requirement analysis step comprises the following steps: receiving a business service capacity requirement, and generating a business operation scheduling strategy when judging that the existing service resources meet the business service capacity requirement; when judging that the existing service resources do not meet the service capability requirement of the service, generating a service resource configuration requirement; generating a new service operation scheduling strategy according to the received new service resource attribute; the method further comprises the following steps: the method comprises the steps of business service configuration management, service resource flexible configuration, business operation management and service resource running state management. The invention realizes on-line service on demand, can better meet various application requirements of users, and meets the requirement of more than billion-level on-line concurrent random crossing of various service systems.

Description

Method, device and equipment for on-line business on-demand service
Technical Field
The invention relates to the field of computers and internet, in particular to a method, a device and equipment for on-line business on-demand service.
Background
With the continuous push of the internet and the strategy, the internet is continuously fused with various industries, various novel service modes are continuously emerged, and particularly, the rapid development of cloud services, electronic commerce, electronic payment, shared economy, large data centers and social networks directly leads to the great increase of the number of users and the variety of services. For an internet service system, great challenges of various service types, individualized resource requirements, multiple rounds of service interaction, high concurrency of links, random request intersection, large peak difference and the like are faced. The high-efficiency management and utilization of various service resources are urgently needed, and the on-demand supply capacity of the service resources is formed.
The stability of the service system directly affects the development of the service. When the service system provides services, the resources should be dynamically configured, managed and scheduled according to the characteristics and requirements of the service system, and the capability of on-demand services is provided to meet the current characteristics and requirements of the service. The resources of the existing service system, such as storage, calculation, network and the like, can not be dynamically configured, managed and scheduled according to the requirements, and can not meet the requirements of billion-level online concurrent random crossing of various services.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method, a device and equipment for on-line business on-demand service, which realize dynamic configuration and expansion of service resources, virtualization of business operation and fine-grained scheduling.
In order to achieve the above object, an embodiment of the present invention provides an online business on-demand service method, used for analyzing business service requirements, configuring and reconstructing service resources on demand, and scheduling business jobs on demand, where the method includes, but is not limited to:
the business service requirement analysis step comprises the following steps: receiving a business service capacity requirement, generating a business operation scheduling strategy when judging that the existing service resources meet the business service capacity requirement, and providing the business operation scheduling strategy for a business operation management step; when judging that the existing service resources do not meet the service capability requirement, generating a service resource configuration requirement, and providing the service resource configuration requirement for the service configuration management step; generating a new service operation scheduling strategy according to the received new service resource attribute, and providing the new service operation scheduling strategy, the new service resource attribute and/or the change condition of the service resource attribute to the service operation management step; generating new service supply capacity according to the new service resource attribute and/or the change condition of the service resource attribute and sending the new service supply capacity to the upper layer service application;
the business service configuration management step comprises: querying service resource attributes from a service resource pool; generating a service resource configuration instruction according to any combination of the service resource configuration requirement, the service resource attribute and the service resource use condition, and providing the service resource configuration instruction for the service resource flexible configuration step; generating a new service resource attribute according to the service resource reconstruction result, and providing the new service resource attribute for the service requirement analysis step;
the flexible configuration step of service resources comprises the following steps: querying service resource attributes from a service resource pool; generating a service resource reconfiguration instruction and/or service reconfiguration resources according to any combination of the service resource configuration instruction, the service resource attribute and the service resource use condition, issuing the service resource reconfiguration instruction and/or the service reconfiguration resources to a service resource pool, receiving a service resource reconfiguration result of the service resource pool, summarizing and analyzing the service resource reconfiguration result, sending the summarized and analyzed result to a service configuration management step, and generating a new service resource attribute; reconstructing the functions of the service resources in the service resource pool according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the performance of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the functions and the performances of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; the service resource sends the running state of the service resource in the service operation scheduling process to the service operation management step and the service resource running state management step;
the business operation management step comprises the following steps: receiving a service operation from an upper layer service application, and inquiring service resource attributes from a service resource pool; dividing the service operation into operation packets according to any combination of the service operation scheduling strategy, the service resource attribute and the service resource use condition and the service resource running state, sending the divided operation packets to the service resources in the service resource pool for service processing, combining the returned operation packet processing results into service operation processing results, and sending the service operation processing results to the upper-layer service application; or, directly sending the service operation to the service resource in the service resource pool for service processing, and sending the returned service operation processing result to the upper-layer service application; the method also comprises the step of sending the service operation scheduling information in the service operation scheduling process to the service resource running state management; the method also comprises the steps of generating a service operation progress, a job package operation progress, service operation state data and job package operation state data according to the service resource operation state comprehensive analysis;
the service resource running state management step comprises the following steps: and receiving the service operation scheduling information and the service resource running state returned by the service resource pool, generating the service resource use condition, and sending the service resource use condition to a service requirement analysis step, a service configuration management step, a service resource flexible configuration step and a service operation management step.
The embodiment of the invention also provides a device for on-line business on-demand service, which is used for analyzing the business service requirement, configuring and reconstructing the service resource on demand and scheduling the business operation on demand, and the device comprises but is not limited to the following components: the system comprises a business service demand analysis unit, a business service configuration management unit, a service resource flexible configuration unit, a business operation management unit and a service resource running state management unit;
the business service requirement analysis unit is used for receiving the business service capability requirement, generating a business operation scheduling strategy when judging that the existing service resource meets the business service capability requirement, and sending the business operation scheduling strategy to the business operation management unit; when judging that the existing service resources do not meet the service capability requirement, generating a service resource configuration requirement, and issuing the service resource configuration requirement to a service configuration management unit; the system is also used for receiving the new service resource attribute, generating a new service operation scheduling strategy and sending the new service operation scheduling strategy, the new service resource attribute and/or the change condition of the service resource attribute to the service operation management unit; generating a new service supply capability according to the new service resource attribute and/or the change condition of the service resource attribute, and sending the new service supply capability to the upper-layer service application;
the service resource allocation management unit is used for inquiring the service resource attribute from the service resource pool, generating a service resource allocation instruction according to any combination of the service resource allocation requirement, the service resource attribute and the service resource use condition, and providing the service resource allocation instruction to the service resource flexible allocation unit; the service resource reconfiguration unit is also used for generating a new service resource attribute according to the service resource reconfiguration result and returning the new service resource attribute to the service requirement analysis unit;
the service resource flexible configuration unit is used for inquiring the service resource attribute from the service resource pool, generating a service resource reconstruction instruction and/or service reconstruction resources according to any combination of the service resource configuration instruction, the service resource attribute and the service resource use condition, issuing the service resource reconstruction instruction and/or the service reconstruction resources to the service resource pool, receiving the service resource reconstruction results of the service resource pool, carrying out summary analysis on the service resource reconstruction results, returning the service resource reconstruction summary analysis results to the service configuration management unit, and generating new service resource attributes;
reconstructing the functions of the service resources in the service resource pool according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resource reconstructs the performance of the service resource according to the service resource reconstruction instruction and/or the service reconstruction resource; or the service resource reconstructs the function and the performance of the service resource according to the service resource reconstruction instruction and/or the service reconstruction resource; the service resource pool returns the service resource reconstruction result to the service resource flexible configuration unit; the service resource sends the service resource running state in the service operation scheduling process to the service operation management unit and the service resource running state management unit;
the service operation management unit is used for receiving service operation from an upper layer service application, inquiring service resource attribute from a service resource pool, splitting the service operation into operation packets according to any combination of service operation scheduling strategy, service resource attribute, service resource use condition and service resource running state, sending the split operation packets to service resources in the service resource pool for service processing, combining returned operation packet processing results into operation processing results and returning the operation processing results to the upper layer service application; or, directly sending the service operation to the service resource in the service resource pool for service processing, and sending the returned service operation processing result to the upper-layer service application; the system is also used for sending the service operation scheduling information in the service operation scheduling process to the service resource running state management unit; the method also comprises the steps of generating a service operation progress, a job package operation progress, service operation state data and job package operation state data according to the service resource operation state comprehensive analysis;
and the service resource running state management unit is used for receiving the service operation scheduling information and the service resource running state returned by the service resource pool, generating a new service resource use condition and returning the new service resource use condition to the service requirement analysis unit, the service configuration management unit, the service resource flexible configuration unit and the service operation management unit.
The embodiment of the invention also provides equipment for on-line business on-demand service, which comprises a processor, a memory, a communication bus and/or a communication network;
the communication bus and/or the communication network are used for realizing connection communication between the processor and the memory;
the processor is used for executing the on-demand service program of the online business stored in the memory so as to realize the following steps:
the business service requirement analysis step comprises the following steps: receiving a business service capacity requirement, generating a business operation scheduling strategy when judging that the existing service resources meet the business service capacity requirement, and providing the business operation scheduling strategy for a business operation management step; when judging that the existing service resources do not meet the service capability requirement, generating a service resource configuration requirement, and providing the service resource configuration requirement for the service configuration management step; generating a new service operation scheduling strategy according to the received new service resource attribute, and providing the new service operation scheduling strategy, the new service resource attribute and/or the change condition of the service resource attribute to the service operation management step; generating new service supply capability according to the new service resource attribute and sending the new service supply capability to the upper layer service application;
the business service configuration management step comprises: querying service resource attributes from a service resource pool; generating a service resource configuration instruction according to any combination of the service resource configuration requirement, the service resource attribute and the service resource use condition, and providing the service resource configuration instruction for the service resource flexible configuration step; generating a new service resource attribute according to the service resource reconstruction result, and providing the new service resource attribute for the service requirement analysis step;
the flexible configuration step of service resources comprises the following steps: querying service resource attributes from a service resource pool; generating a service resource reconfiguration instruction and/or service reconfiguration resources according to any combination of the service resource configuration instruction, the service resource attribute and the service resource use condition, issuing the service resource reconfiguration instruction and/or the service reconfiguration resources to a service resource pool, receiving a service resource reconfiguration result of the service resource pool, summarizing and analyzing the service resource reconfiguration result, sending the summarized and analyzed result to a service configuration management step, and generating a new service resource attribute; reconstructing the functions of the service resources in the service resource pool according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the performance of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the functions and the performances of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; the service resource sends the service resource running state in the service operation scheduling process to the service operation management step and the service resource running state management step;
the business operation management step comprises the following steps: receiving a service job from an upper-layer service application, inquiring service resource attributes from a service resource pool, splitting the service job into job packets according to any combination of a service job scheduling strategy, the service resource attributes, service resource use conditions and service resource running states, sending the split job packets to service resources in the service resource pool for service processing, combining returned job packet processing results into service job processing results, and sending the service job processing results to the upper-layer service application; or, directly sending the service operation to the service resource in the service resource pool for service processing, and sending the returned service operation processing result to the upper-layer service application; the method also comprises the step of sending the service operation scheduling information in the service operation scheduling process to the service resource running state management; the method also comprises the steps of generating a service operation progress, a job package operation progress, service operation state data and job package operation state data according to the service resource operation state comprehensive analysis;
the service resource running state management step comprises the following steps: and receiving the service operation scheduling information and the service resource running state returned by the service resource pool, generating the service resource use condition, and sending the service resource use condition to a service requirement analysis step, a service configuration management step, a service resource flexible configuration step and a service operation management step.
Embodiments of the present invention also provide a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of:
the business service requirement analysis step comprises the following steps: receiving a business service capacity requirement, generating a business operation scheduling strategy when judging that the existing service resources meet the business service capacity requirement, and providing the business operation scheduling strategy for a business operation management step; when judging that the existing service resources do not meet the service capability requirement, generating a service resource configuration requirement, and providing the service resource configuration requirement for the service configuration management step; generating a new service operation scheduling strategy according to the received new service resource attribute, and providing the new service operation scheduling strategy, the new service resource attribute and/or the change condition of the service resource attribute to the service operation management step; generating new service supply capability according to the service resource attribute and sending the new service supply capability to the upper layer service application;
the business service configuration management step comprises: querying service resource attributes from a service resource pool; generating a service resource configuration instruction according to any combination of the service resource configuration requirement, the service resource attribute and the service resource use condition, and providing the service resource configuration instruction for the service resource flexible configuration step; generating a new service resource attribute according to the service resource reconstruction result, and providing the new service resource attribute for the service requirement analysis step;
the flexible configuration step of service resources comprises the following steps: querying service resource attributes from a service resource pool; generating a service resource reconfiguration instruction and/or service reconfiguration resources according to any combination of the service resource configuration instruction, the service resource attribute and the service resource use condition, issuing the service resource reconfiguration instruction and/or the service reconfiguration resources to a service resource pool, receiving a service resource reconfiguration result of the service resource pool, summarizing and analyzing the service resource reconfiguration result, sending the summarized and analyzed result to a service configuration management step, and generating a new service resource attribute; reconstructing the functions of the service resources in the service resource pool according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the performance of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the functions and performances of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; the service resource sends the service resource running state in the service operation scheduling process to the service operation management step and the service resource running state management step;
and a service operation management step: receiving a service job from an upper-layer service application, inquiring service resource attributes from a service resource pool, splitting the service job into job packets according to any combination of a service job scheduling strategy, the service resource attributes, service resource use conditions and service resource running states, sending the split job packets to service resources in the service resource pool for service processing, combining returned job packet processing results into service job processing results, and returning the service job processing results to the upper-layer service application; or, directly sending the service operation to the service resource in the service resource pool for service processing, and sending the returned service operation calculation result to the upper-layer service application; the method also comprises the step of sending the service operation scheduling information in the service operation scheduling process to the service resource running state management; the method also comprises the steps of generating a service operation progress, a job package operation progress, service operation state data and job package operation state data according to the service resource operation state comprehensive analysis;
the service resource running state management step comprises the following steps: and generating service resource use conditions according to the service operation scheduling information and the returned service resource running state, and sending the service resource use conditions to a service requirement analysis step, a service configuration management step, a service resource flexible configuration step and a service operation management step.
Compared with the prior art, the embodiment of the invention provides a method, a device and equipment for on-line business on-demand service. The service resource flexible configuration unit realizes fine-grained configuration of various service resources in the resource pool, data transmission bandwidth of service equipment and a service unit, size of a data cache region, service type, service processing speed, service parameters, service working mode and other related attributes (functions and performances). Therefore, the embodiment of the invention realizes on-line business on-demand service, can better meet various application requirements of users, can analyze the on-line business service requirements, dynamically configure, manage and dispatch service resources according to the requirements, and meet the requirements of more than billion-level on-line concurrent random crossing of various business systems.
Drawings
The accompanying drawings are included to provide a further understanding of the claimed subject matter and are incorporated in and constitute a part of this specification, illustrate embodiments of the subject matter and together with the description serve to explain the principles of the subject matter and not to limit the subject matter. In the drawings:
fig. 1 is a schematic structural diagram of an on-demand service device of an online service according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a service resource pool according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an on-demand service method for online services according to embodiment 2 of the present invention;
fig. 4 is a flowchart illustrating an on-demand service method for online services according to embodiment 3 of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the current network environment and various service system applications, service resources need to be dynamically configured, scheduled and safely migrated according to user requirements, so that service on demand is realized. The specific service application does not need to know the specific service device and the internal unit of the device used. How to realize dynamic configuration and expansion of service resources, virtualization of service resources and fine-grained scheduling is a problem which needs to be solved urgently by technical personnel in the field.
Aiming at the problem of on-line business on-demand service, a hierarchical multi-level processing architecture is adopted to provide an on-demand service architecture based on a virtual service resource pool, which comprises business operation management, business service management, service resource management and a service resource pool and provides on-line business service for various applications. Aiming at the characteristics of multiple types of online service request services, large peak difference and the like, the method for scheduling the service resources is provided, and dynamic expansion of service demand resources is realized. The method generates the business operation scheduling strategy according to the business service capacity requirement, the service resource attribute and the service resource use condition, and solves the problems of dynamic expansion of business service resources and low utilization rate of single equipment.
Example 1:
fig. 1 is a schematic structural diagram of an on-demand service device for online services according to an embodiment of the present invention, and fig. 1 is a diagram illustrating the on-demand service device for online services according to an embodiment of the present invention.
The service on-demand service device provided by the embodiment of the invention is used for meeting the service capacity requirement, configuring and reconstructing service resources as required and scheduling service jobs as required. The service-on-demand device includes but is not limited to: the system comprises a business service requirement analysis unit, a business service configuration management unit, a service resource flexible configuration unit, a business operation management unit and a service resource running state management unit.
The business service requirement analysis unit is used for receiving the business service capability requirement, judging that the existing service resource meets the business service capability requirement according to any combination of the business service capability requirement, the service resource attribute and the service resource use condition, generating a business operation scheduling strategy, issuing the business operation scheduling strategy to the business operation management unit, and generating a service resource configuration requirement and issuing the service resource configuration requirement to the business service configuration management unit when judging that the existing service resource does not meet the business service capability requirement; and the system is also used for generating a new business operation scheduling strategy according to any combination of the business service capacity requirement, the new service resource attribute and the service resource use condition and sending the strategy to the business operation management unit.
The business service configuration management unit is used for generating a service resource configuration instruction according to any combination of service resource configuration requirements, service resource attributes and service resource use conditions; and the service resource analysis unit is also used for generating a new service resource attribute according to the configuration result of the service resource and returning the new service resource attribute to the service requirement analysis unit.
Each service resource configuration requirement can generate one or more service resource configuration instructions, and the service resource configuration instructions can be issued to the service configuration management unit at one time or in batches.
The service resource flexible configuration unit is used for generating a service resource reconfiguration instruction and/or service reconfiguration resources according to the service resource configuration instruction, sending the service resource reconfiguration instruction and/or the service reconfiguration resources to the service resource pool, receiving the service resource reconfiguration results of the service resource pool, carrying out summary analysis, and returning the service resource reconfiguration results to the service configuration management unit; the server is also used for generating a new service resource attribute according to the service resource reconstruction result; each service resource configuration instruction can generate one or more service resource reconfiguration instructions and/or service reconfiguration resources, and can be issued to service resources in a service resource pool at one time or in batches; the service resource reconfiguration result can be sent to the service resource flexible configuration unit once or for multiple times.
Service resources (including service equipment and service units) in the service resource pool reconstruct the functions of the service resources according to service resource reconstruction instructions and/or service reconstruction resources; or reconstructing the performance of the service resource according to the service resource reconstruction instruction and/or the service reconstruction resource; or reconstructing the function and the performance of the service resource according to the service resource reconstruction instruction and/or the service reconstruction resource; the service resource pool returns the service resource reconstruction result to the service resource flexible configuration unit; and the service resources in the service resource pool send the service resource running state in the service job scheduling process to the service job management unit and the service resource running state management unit.
The service operation management unit is used for receiving the service operation, splitting the service operation into operation packets according to any combination of a service operation scheduling strategy, service resource attributes, service resource use conditions and service resource operation states, sending the split operation packets to service resources in a service resource pool for service processing, combining returned operation packet processing results into service operation processing results, and returning the service operation processing results to the upper-layer service application; the method also comprises the steps of directly sending the business operation to the service resources in the service resource pool for business processing, and sending the returned business operation processing result to the upper-layer business application; the system is also used for sending the service operation scheduling information in the service operation scheduling process to the service resource running state management unit; and generating a service operation progress, a job package operation progress, service operation state data and job package operation state data according to the service resource operation state comprehensive analysis.
And the service resource running state management unit is used for receiving the service operation scheduling information and the service resource running state returned by the resource pool, generating a new service resource use condition and returning the new service resource use condition to the service requirement analysis unit, the service configuration management unit, the service resource flexible configuration unit and the service operation management unit.
The service requirement analysis unit, the service configuration management unit, the service resource flexible configuration unit and the service operation management unit all store service resource attributes and service resource use conditions and continuously update, and support is provided for service configuration and management, service resource flexible configuration and service operation virtualization scheduling.
Details of the service on demand provided by the embodiment of the present invention are described in detail below.
The business service capability requirement received by the business service requirement analysis unit comprises one or any combination of more of the following: a traffic service requirement identifier, a traffic service type, an expiry date, a scheduling policy, a maximum service delay, a minimum service delay, a traffic identifier, a traffic parameter, a mode of operation.
The service resource configuration requirement generated by the service requirement analysis unit comprises one or any combination of more of the following: service identifier, service type, service parameter, operation mode, service maximum delay, service minimum delay, service processing time, service resource.
The service resource attribute is used for describing the function and performance index of various service resources in the resource pool; the service resource attributes include any combination of one or more of the following: service device attributes and service unit attributes.
Wherein the service device attributes comprise any combination of one or more of the following: the method comprises the steps of calculating a device identifier, a device type, a version number, a configuration mode, a configuration protocol, a data transmission bandwidth, a data cache region size, a realized service total number, a realized service attribute, a realized service processing rate, a reconfigurable service total number, a reconfigurable service attribute, a reconfigurable service processing rate, the number of main control units and a main control unit attribute.
The master control unit attribute is one or any combination of more of the following: the main control unit identifier, the main control unit type, the version number, the configuration mode, the configuration protocol, the data transmission bandwidth, the data cache area size, the realized service total number, the realized service attribute, the realized service processing rate, the total number of the reconfigurable service, the reconfigurable service attribute, the processing rate of the reconfigurable service, the number of the service units and the service unit attribute.
The business service unit attribute comprises any combination of one or more of the following: a service unit identifier, a service unit type, a version number, a configuration mode, a configuration protocol, a data transmission bandwidth, a data cache area size, a total number of realized services, a realized service attribute, a realized service processing rate, a total number of reconfigurable services, a reconfigurable service attribute, a reconfigurable service processing rate.
The service attribute comprises any combination of one or more of the following: service identifier, service type, service parameter, operating mode.
The service resource usage comprises any combination of one or more of the following: the identifier of the service device, the identifier of the main control unit, the identifier of the service unit, the running state of the service device, the running state of the main control unit and the running state of the service unit.
The service equipment running state comprises one or any combination of more of the following: the total number of the services running in the service device, the running services and the attributes thereof, and the rate of service processing for running or idle.
The operation state of the main control unit comprises one or any combination of more of the following conditions: running or idle, total number of services running in the master control unit, running services and attributes thereof, and rate of service processing.
The operation state of the business service unit comprises one or any combination of more of the following: running or idle, total number of services running in the service unit, running services and their attributes, rate of service processing.
The service resource configuration instruction comprises one or more of the following any combination: service device identifier, master control unit identifier, service unit identifier, service type, service parameter, operating mode, service processing rate.
The service resource reconfiguration instruction comprises one or more of the following any combination: command identifier, instruction, control parameter, status parameter; the description form of the service resource reconfiguration instruction includes but is not limited to the following: command line, binary form, xml, text.
The service reconfiguration resource comprises one or more of the following arbitrary combinations: system configuration files, executable codes, executable code fragments, java programs, xml files, business states, business parameters.
The service resource reconfiguration result comprises one or any combination of more of the following: reconstruction result identifier, state parameter.
The business operation comprises any combination of one or more of the following: business service capability requirement identifier, business job identifier, business attribute, data flow.
The service operation package comprises any combination of one or more of the following components: the service management system comprises a service capability requirement identifier, a service job packet identifier, a job packet serial number, a service device identifier, a main control unit identifier, a service unit identifier, a service attribute and job packet processing information.
The business job processing result comprises one or any combination of more of the following: a service capability requirement identifier, a service operation packet identifier, and a service operation calculation result. And the service operation management unit combines the operation packet processing results according to the service operation scheduling strategy to obtain a service operation processing result.
The service operation management unit can dispatch the service operation which is not required to be executed in sequence, and the operation packet can be distributed to any service unit. The operation packet can be sent to the same service unit in the service operation which needs to be executed in sequence; the operation package can be distributed to the service units with shared operation state cache in a pipeline mode, and different service units can realize sequential operation according to the operation state cache identification in the operation package.
The service operation management unit can send out an instruction to realize the migration of the service operation state among different service resources and realize the migration of the service operation among different service resources.
In this embodiment, the upper layer business application does not need to know the specific service device, business service unit, application program, process, thread, and algorithm code for business processing. The same business operation can be performed by a plurality of service devices, a plurality of business service units in the service devices, a plurality of application programs, a plurality of processes, a plurality of threads, a plurality of algorithm codes and a plurality of functions. Meanwhile, the same service device, the service unit, the application program, the process, the thread, the algorithm code and the function can serve a plurality of service jobs. And the business operation carries out safe migration among service equipment, business service units, application programs, processes, threads, algorithm codes and functions in the service resources according to the state of the service resources and the business service requirements.
The business service requirement identifier is a unique identifier for describing business service requirements, and the business service requirement identifier is a number, a character string and any combination of the number and the character string. The coding mode and the coding length of the business service requirement identifier can be changed according to requirements and different periods.
The business service requirement identifier corresponds to the business service capability requirement one by one in the business service requirement analysis, business service configuration management and flexible configuration stage of service resources; in the business operation management stage, the business service requirement identification associates the business service requirement with the business operation.
The business service type is used to describe the type of business service application, including but not limited to generating, opening, storing, checking, pushing, aggregating, auditing, and auditing.
The service resource parameters are used to describe specific information of the service resources, including but not limited to the number of CPUs and their cores, memory capacity, bandwidth size, number of communication links, number of processes, number of threads, number of middleware concurrency, number of dynamic/static connection library concurrency, number of function concurrency processing, and number of code fragment calls.
And the business operation scheduling strategy generated by the business service requirement analysis unit is used for describing the scheduling strategy adopted when the business operation is scheduled. The expression of the scheduling policy may be arbitrary.
The business service maximum delay is used to describe the minimum requirements of the business service of the application, including but not limited to, the slowest response time, the maximum number of connections.
The minimum delay of the business service is used for describing the highest requirement of the applied business service, including but not limited to the fastest response time and the lowest connection times.
The service validity period is used to describe the service time of the application, and the service validity period may be expressed in any manner, including any combination of one or more of the following: start time, end time, duration.
The service identifier is a unique identifier for describing the service, and the service identifier is a number, a character string and any combination of the number and the character string.
The types of transactions include, but are not limited to, electronic tickets, fiscal evidence, electronic invoices, bank receipts, payment evidence, electronic certificates.
The parameters of the service are used to describe service specific information, including but not limited to, the amount of calculation, storage, and network resources required by the service.
The service requirement identifier, the service type, the validity period, the scheduling policy, the minimum delay of the service, and the maximum delay of the service are used to describe the service-related attributes.
The service resource pool is used for managing all various service resources participating in scheduling in the service on demand management range of the business, and the service resources include but are not limited to computing resources, storage resources and network resources. The service resource pool is shown in fig. 2 and is composed of any of various types of service devices and network devices. The service device includes, but is not limited to, a computing service device, a storage service device, and a network service device. The service device can be any combination of any software, hardware and firmware; the service equipment consists of an equipment management unit, any main control unit and a service unit; the main control unit is used for controlling and/or configuring the service unit; the business service unit is formed by any combination of any software and any firmware; the device management unit is used for managing the main control unit and the service unit on the device; the network equipment is used for forming a communication network and connecting various service equipment, including but not limited to a wired/wireless router, a wired/wireless switch and a network firewall; the network service equipment is used for providing network resource service.
The service device identifier is a unique identifier of the service device, and the service device identifier is a number, a character string, and any combination of a number and a character string. The service equipment identifier can also be represented by an address mode, and the address coding mode can adopt a relative address or an absolute address.
The main control unit identifier is a unique identifier of the main control unit, and the main control unit identifier is a number, a character string and any combination of the number and the character string. The main control unit identifier can also be represented by adopting an address mode, and the address coding mode can adopt a relative address or an absolute address.
The service unit identifier is a unique identifier of the service unit, and the service unit identifier is a number, a character string and any combination of the number and the character string. The service unit identifier can also be represented by an address mode, and the address coding mode can adopt a relative address or an absolute address.
Service resource configuration instruction description forms including, but not limited to, including command lines, binary form, xml, text; the generation mode of the service resource configuration instruction is not limited, and the service resource configuration instruction can be generated statically or dynamically.
When generating the service resource allocation instruction, the principle of optimal efficiency can be adopted, for example, the service resource allocation instruction is allocated to the same service device, the service unit and the main control unit as much as possible; or the load balancing principle is adopted, and the configuration is carried out on different service equipment, service units and main control units as much as possible, so that the load of each service unit is balanced. Whatever the principle employed, generating service resource configuration instructions is within the present invention.
The service resource reconfiguration instruction, the issuing mode of the service reconfiguration resource and the interface can be set arbitrarily.
In the embodiment of the invention, the business service requirement analysis unit and the business service configuration management unit dynamically generate the service resource configuration requirement and the business operation scheduling strategy, support is provided for flexible configuration of service resources and business operation management, and meanwhile, various attributes and use conditions of service equipment and business service units in a resource pool are managed accurately and finely. The service resource flexible configuration unit realizes fine-grained configuration of various service resources in the resource pool, data transmission bandwidth of service equipment and a service unit, the size of a data cache region, service types, service processing speed, service parameters, service working modes and other related attributes (functions and performances); the service operation identifier is a unique identifier of the service operation. The service job identifier is a number, a character string, and any combination of numbers and character strings.
The service operation packet identifier is the unique identifier of the service operation packet. The service bundle identifier is a number, a character string, and any combination of numbers and character strings.
The processing result of the job packet is the result obtained after the processing of the service unit. The operation package processing result is a service capability requirement identifier, a service operation package identifier, a service equipment identifier, a service unit identifier and operation processing information.
And the service operation processing result is obtained by combining the operation packet processing results according to the service operation scheduling strategy by the service operation management.
The business job processing result comprises one or any combination of more of the following: the service capacity requirement identifier, the service operation packet serial number and the operation result.
The service operation management unit splits the service operation according to a preset scheduling strategy and issues the service operation to the resource pool to call the service resource for processing. The business operation management can be executed according to the strategy including but not limited to a load balancing strategy and an efficiency saving strategy, and the business operation scheduling can be accurate to the business service units in the service equipment; the load balancing strategy enables each business service unit in the resource pool to be balanced and operated as much as possible when business operation scheduling is carried out; the efficiency saving strategy enables the single equipment, the single equipment main control unit and the single service unit to run at full load or be idle as much as possible, so that the optimal efficiency is achieved; other scheduling strategies are within the present invention.
The service job scheduling information is used to describe how the service job management unit schedules the service resources in the resource pool in order to complete the service job scheduling. Business job scheduling information comprising any combination of one or more of: a service identifier, a service job identifier, a service device identifier, a master unit identifier, a service unit identifier, a service attribute, a service run rate.
The service resource running state is used for describing the service resource use condition in the resource pool for finishing the service job scheduling. Service resource operating state, including any combination of one or more of: a service identifier, a service job identifier, a service device identifier, a master unit identifier, a service unit identifier, a service attribute, a service processing rate.
Example 2:
the embodiment is used to describe a process for implementing business service requirement analysis and service resource configuration by business service requirement analysis, business service configuration management, and flexible service resource reconfiguration. Referring to fig. 3, the method for on-demand service of online service according to this embodiment includes:
step 201: analyzing and receiving business service capability requirements from upper business application;
step 202: analyzing whether the existing service resources meet the service capability requirement according to any combination of the service capability requirement, the service resource attribute and the service resource use condition, and if the existing service resources meet the service capability requirement, turning to the step 203 and not to the step 204;
step 203: the business service requirement analysis returns successful configuration of business service capability requirement of the upper layer business application, and the business service requirement analysis generates a business operation scheduling strategy according to any combination of the business service capability requirement, the service resource attribute and the service resource use condition;
step 204: analyzing the service requirement, judging whether the new service resource obtained by reconstructing the existing service resource can meet the service capability requirement and cannot meet the service capability requirement according to any combination of the service capability requirement, the service resource attribute and the service resource use condition, turning to step 205, and turning to step 207;
step 205: the service demand analysis returns the service supply capacity which can be obtained through reconstruction to the upper-layer service application;
step 206: the upper layer business application analyzes the returned result according to the business service requirement, and selects to terminate the business service capability requirement application or reduce the business service capability requirement; if the business application selects to terminate the application of the business service capability requirement, and informs the analysis of the business service requirement, the service resource allocation and management of the business service requirement are finished;
when the business application chooses to reduce the business service capability requirement, the business application returns the new business service capability requirement to the business service requirement analysis, and the step 202 is carried out;
step 207: the business service requirement analysis generates a service resource configuration requirement according to any combination of the business service capability requirement, the service resource attribute and the service resource use condition, and sends the service resource configuration requirement to business service configuration management;
step 208: the business service configuration management generates a service resource configuration instruction according to any combination of the service resource configuration requirement, the service resource attribute and the service resource use condition and sends the service resource configuration instruction to the service resource flexible configuration;
step 209: the service resource flexible configuration generates a service resource reconfiguration instruction and/or service reconfiguration resources according to any combination of the service resource configuration instruction, the service resource attribute and the service resource use condition, and sends the service resource reconfiguration instruction and/or service reconfiguration resources to the service resources in the service resource pool;
step 210: service equipment and a service unit in the service resource pool reconstruct the functions of the service equipment and the service unit according to the service resource reconstruction instruction and/or the service reconstruction resource; or reconstructing the function of the service resource according to the service resource reconstruction instruction and/or the service reconstruction resource; after reconstruction is finished, the service resource pool returns a service resource reconstruction result to the service resource flexible configuration; when the reconstruction is unsuccessful, the service equipment and the service in the service equipment are restored to the initial state before the reconstruction;
step 211: the service resource flexible configuration carries out summary analysis on the service resource reconstruction result and returns the service resource reconstruction result to the service configuration management; the service resource flexible configuration generates a new service resource attribute according to the service resource reconstruction result; step 212: the business service configuration management judges whether the business service resource configuration is successful, the step 213 is successfully carried out, and the step 214 is unsuccessfully carried out;
step 213: the business service configuration management generates a new service resource attribute according to the service resource reconstruction result and returns the new service resource attribute and/or the change condition of the service resource attribute to the business service requirement analysis; the business service demand analysis returns the new business service supply capacity to the upper business application; the business service requirement analysis generates a new business operation scheduling strategy according to the business service capability requirement, the new service resource attribute and/or the change condition of the service resource attribute and the service resource use condition, and sends the new business operation scheduling strategy, the new service resource attribute and/or the change condition of the service resource attribute to the business operation management to finish the service resource configuration and management of the business service capability requirement;
step 214: the service configuration management judges whether all service units fail to be configured or part of the service units fail to be configured, when part of the service units fail to be configured, the service configuration management updates service resource attributes according to service resource reconstruction results, returns new service resource attributes and/or service resource attribute change conditions to service requirement analysis, and enters the next step; if all the service configurations fail, directly entering the next step;
step 215: the service demand analysis returns the service supply capability obtained through reconstruction to the upper layer service application, and the step 206 is carried out;
the embodiment is only used for explaining one process of service resource management and reconfiguration through service requirement analysis, service configuration management and service resource flexible configuration, and other processes are all in the invention.
Example 3:
referring to fig. 4, a schematic flow chart of a service-on-demand method according to embodiment 3 of the present invention is shown, which is used to describe a flow of performing a service job by service job management according to service resources in a service resource pool that is dynamically scheduled on demand by a service job.
Step 301: the service operation management receives the service operation, divides the service operation into operation packets according to any combination of the service operation scheduling strategy, the service resource attribute, the service resource using condition and the service resource running state, and sends the operation packets to the service equipment in the service resource pool;
step 302: the service equipment issues the operation packet to a main control unit in the service equipment, and a service unit controlled by the main control unit processes the operation packet data and uploads a processing result to service operation management;
step 303: the service operation management combines the operation packet processing results returned by the service resource pool according to the service operation scheduling strategy to generate a service operation processing result, and returns the service operation processing result to the upper-layer service application;
step 304: the service resource pool sends the service resource running state to service resource running state management and service operation management;
the service resource running states sent by the service resource pool to the service resource running state management and the service operation management can be the same or different;
step 305: the service operation management sends the service operation scheduling information to the service resource running state management;
step 306: the business operation management generates a business operation running progress, a job package running progress, business operation running state data and job package running state data according to the service resource running state comprehensive analysis;
step 307: and the service resource running state management updates the service resource use condition according to the service operation scheduling information and the service resource running state returned by the service resource pool, and returns the service resource use condition to the service requirement analysis, the service configuration management, the service resource flexible configuration and the service operation management.
The embodiment is only used for illustrating one process of business job management and service resource operation state management, and other processes are all in the invention.
In addition, the embodiment of the invention also provides equipment for on-line business on-demand service, wherein the equipment for on-line business on-demand service comprises a processor, a memory, a communication bus and/or a communication network;
the communication bus and/or the communication network are used for realizing connection communication between the processor and the memory;
the communication network and the data exchange mode are used for realizing the communication network and the data communication method among the service resources in the service resource pool, the service requirement analysis, the service configuration management, the service resource flexible configuration, the service operation management and the service resource running state management;
the processor is used for executing the on-demand service program of the online business stored in the memory so as to realize the following steps:
the business service requirement analysis step comprises the following steps: receiving a business service capacity requirement, and generating a business operation scheduling strategy when judging that the existing service resources meet the business service capacity requirement; when judging that the existing service resources do not meet the service capability requirement of the service, generating a service resource configuration requirement; generating a new service operation scheduling strategy according to the received new service resource attribute, and sending the new service operation scheduling strategy, the new service resource attribute and/or the service resource attribute change condition; generating new service supply capacity according to the new service resource attribute and/or the change condition of the service resource attribute and sending the new service supply capacity;
the business service configuration management step comprises: generating a service resource configuration instruction according to the intention combination of the service resource configuration requirement, the service resource attribute and the service resource use condition; generating a new service resource attribute according to the service resource reconstruction result;
the flexible configuration step of service resources comprises the following steps: generating a service resource reconfiguration instruction and/or service reconfiguration resources according to any combination of the service resource configuration instruction, the service resource attribute and the service resource use condition, issuing the service resource reconfiguration instruction and/or the service reconfiguration resources to a service resource pool, receiving a service resource reconfiguration result of the service resource pool, summarizing and analyzing the service resource reconfiguration result, and generating a new service resource attribute; reconstructing the functions of the service resources in the service resource pool according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the performance of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the functions and the performances of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; the service resource sends the running state of the service resource in the service operation scheduling process;
the business operation management step comprises the following steps: receiving a service job, splitting the service job into job packages according to any combination of a service job scheduling strategy, service resource attributes and service resource use conditions and service resource running states, sending the split job packages to service resources in a service resource pool for service processing, combining returned job package processing results into service job processing results, and sending the service job processing results to an upper-layer service application; or, directly sending the service operation to the service resource in the service resource pool for service processing, and sending the returned service operation processing result to the upper-layer service application; the method also comprises the step of sending the service operation scheduling information in the service operation scheduling process; the method also comprises the steps of generating a service operation progress, a job package operation progress, service operation state data and job package operation state data according to the service resource operation state comprehensive analysis;
the service resource running state management step comprises the following steps: and receiving the service job scheduling information and the returned service resource running state, generating service resource use conditions and sending the service resource use conditions.
Embodiments of the present invention also provide a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of:
the business service requirement analysis step comprises the following steps: receiving a business service capacity requirement, and generating a business operation scheduling strategy when judging that the existing service resources meet the business service capacity requirement; when judging that the existing service resources do not meet the service capability requirement of the service, generating a service resource configuration requirement; generating a new service operation scheduling strategy according to the received new service resource attribute, and sending the new service operation scheduling strategy, the new service resource attribute and/or the service resource attribute change condition; generating new service supply capacity according to the new service resource attribute and/or the change condition of the service resource attribute and sending the new service supply capacity;
the business service configuration management step comprises: generating a service resource configuration instruction according to the intention combination of the service resource configuration requirement, the service resource attribute and the service resource use condition; generating a new service resource attribute according to the service resource reconstruction result;
the flexible configuration step of service resources comprises the following steps: generating a service resource reconfiguration instruction and/or service reconfiguration resources according to any combination of the service resource configuration instruction, the service resource attribute and the service resource use condition, issuing the service resource reconfiguration instruction and/or the service reconfiguration resources to a service resource pool, receiving a service resource reconfiguration result of the service resource pool, summarizing and analyzing the service resource reconfiguration result, and generating a new service resource attribute; reconstructing the functions of the service resources in the service resource pool according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the performance of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the functions and the performances of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; the service resource sends the running state of the service resource in the service operation scheduling process;
the business operation management step comprises the following steps: receiving a service job, splitting the service job into job packages according to any combination of a service job scheduling strategy, service resource attributes and service resource use conditions and service resource running states, sending the split job packages to service resources in a service resource pool for service processing, combining returned job package processing results into service job processing results, and sending the service job processing results to an upper-layer service application; or, directly sending the service operation to the service resource in the service resource pool for service processing, and sending the returned service operation processing result to the upper-layer service application; the method also comprises the step of sending the service operation scheduling information in the service operation scheduling process; the method also comprises the steps of generating a service operation progress, a job package operation progress, service operation state data and job package operation state data according to the service resource operation state comprehensive analysis;
the service resource running state management step comprises the following steps: and receiving the service job scheduling information and the returned service resource running state, generating service resource use conditions and sending the service resource use conditions.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (12)

1. A method for on-line business on-demand service, which is used for analyzing business service requirements, configuring and reconstructing service resources on demand, and scheduling business jobs on demand, the method includes but is not limited to the following steps:
the business service requirement analysis step comprises the following steps: receiving a business service capacity requirement, generating a business operation scheduling strategy when judging that the existing service resources meet the business service capacity requirement, and providing the business operation scheduling strategy for a business operation management step; when judging that the existing service resources do not meet the service capability requirement, generating a service resource configuration requirement, and providing the service resource configuration requirement for the service configuration management step; generating a new service operation scheduling strategy according to the received new service resource attribute, and providing the new service operation scheduling strategy, the new service resource attribute and/or the change condition of the service resource attribute to the service operation management step; generating new service supply capacity according to the new service resource attribute and/or the change condition of the service resource attribute and sending the new service supply capacity to the upper layer service application;
the business service configuration management step comprises: querying service resource attributes from a service resource pool; generating a service resource configuration instruction according to any combination of the service resource configuration requirement, the service resource attribute and the service resource use condition, and providing the service resource configuration instruction for the service resource flexible configuration step; generating a new service resource attribute according to the service resource reconstruction result, and providing the new service resource attribute for the service requirement analysis step;
the flexible configuration step of service resources comprises the following steps: querying service resource attributes from a service resource pool; generating a service resource reconfiguration instruction and/or service reconfiguration resources according to any combination of the service resource configuration instruction, the service resource attribute and the service resource use condition, issuing the service resource reconfiguration instruction and/or the service reconfiguration resources to a service resource pool, receiving a service resource reconfiguration result of the service resource pool, summarizing and analyzing the service resource reconfiguration result, sending the summarized and analyzed result to a service configuration management step, and generating a new service resource attribute; reconstructing the functions of the service resources in the service resource pool according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the performance of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the functions and the performances of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; the service resource sends the running state of the service resource in the service operation scheduling process to the service operation management step and the service resource running state management step;
the business operation management step comprises the following steps: receiving a service operation from an upper layer service application, and inquiring service resource attributes from a service resource pool; dividing the service operation into operation packets according to any combination of the service operation scheduling strategy, the service resource attribute and the service resource use condition and the service resource running state, sending the divided operation packets to the service resources in the service resource pool for service processing, combining the returned operation packet processing results into service operation processing results, and sending the service operation processing results to the upper-layer service application; or, directly sending the service operation to the service resource in the service resource pool for service processing, and sending the returned service operation processing result to the upper-layer service application; the method also comprises the step of sending the service operation scheduling information in the service operation scheduling process to the service resource running state management; the method also comprises the steps of generating a service operation progress, a job package operation progress, service operation state data and job package operation state data according to the service resource operation state comprehensive analysis;
the service resource running state management step comprises the following steps: and receiving the service operation scheduling information and the service resource running state returned by the service resource pool, generating the service resource use condition, and sending the service resource use condition to a service requirement analysis step, a service configuration management step, a service resource flexible configuration step and a service operation management step.
2. The method of claim 1,
the step of analyzing the service requirement, which judges that the existing service resource meets the service capability requirement, comprises the following steps: judging that the existing service resources meet the service capability requirements according to any combination of the service capability requirements, the service resource attributes and the service resource use conditions;
the step of analyzing the service requirement generates a new service operation scheduling strategy, which comprises the following steps: and generating a new business operation scheduling strategy according to any combination of the business service capacity requirement, the new service resource attribute and the service resource use condition.
3. The method of claim 1,
the service resources in the service resource pool comprise: any combination of computing devices, storage devices, network devices in a resource pool.
4. The method of claim 1,
the business service capability requirement received by the business service requirement analyzing step comprises one or any combination of more of the following: the service scheduling method comprises the following steps of (1) identifying a service requirement, a service type, a validity period, a scheduling strategy, a maximum service delay, a minimum service delay, a service identifier, a service parameter and a working mode;
the service resource configuration requirement generated in the business service requirement analysis step comprises one or any combination of more of the following: service identifier, service type, service parameter, working mode, service maximum delay, service minimum delay, service processing time and service resource;
the service resource attributes received by the service requirement analysis step, generated by the service requirement analysis step and the service resource flexible configuration step are function and performance indexes for describing various service resources in the resource pool; the service resource attribute comprises any combination of service equipment attribute and service unit attribute;
the service resource usage comprises any combination of one or more of the following: the identifier of the service equipment, the identifier of the main control unit, the identifier of the service unit, the running state of the service equipment, the running state of the main control unit and the running state of the service unit;
the service resource configuration instruction comprises one or more of the following any combination: service device identifier, master control unit identifier, service unit identifier, service type, service parameter, operating mode, service processing rate.
5. The method of claim 1,
the service resource reconfiguration instruction comprises one or more of the following any combination: command identifier, instruction, control parameter, status parameter; the description form of the service resource reconfiguration instruction includes but is not limited to: command line, binary, xml, text;
the service reconfiguration resource comprises one or more of the following arbitrary combinations: the system comprises a system configuration file, executable codes, executable code fragments, java programs, xml files, service states and service parameters;
the business job processing result comprises one or any combination of more of the following: a service capability requirement identifier, a service operation packet identifier, and a service operation calculation result.
6. An apparatus for on-line business on-demand service, which is used for analyzing business service requirement, configuring and reconstructing service resource on-demand, scheduling business job on-demand, the apparatus includes but not limited to: the system comprises a business service demand analysis unit, a business service configuration management unit, a service resource flexible configuration unit, a business operation management unit and a service resource running state management unit;
the business service requirement analysis unit is used for receiving the business service capability requirement, generating a business operation scheduling strategy when judging that the existing service resource meets the business service capability requirement, and sending the business operation scheduling strategy to the business operation management unit; when judging that the existing service resources do not meet the service capability requirement, generating a service resource configuration requirement, and issuing the service resource configuration requirement to a service configuration management unit; the system is also used for receiving the new service resource attribute, generating a new service operation scheduling strategy and sending the new service operation scheduling strategy, the new service resource attribute and/or the change condition of the service resource attribute to the service operation management unit; generating a new service supply capability according to the new service resource attribute and/or the change condition of the service resource attribute, and sending the new service supply capability to the upper-layer service application;
the service resource allocation management unit is used for inquiring the service resource attribute from the service resource pool, generating a service resource allocation instruction according to any combination of the service resource allocation requirement, the service resource attribute and the service resource use condition, and providing the service resource allocation instruction to the service resource flexible allocation unit; the service resource reconfiguration unit is also used for generating a new service resource attribute according to the service resource reconfiguration result and returning the new service resource attribute to the service requirement analysis unit;
the service resource flexible configuration unit is used for inquiring the service resource attribute from the service resource pool, generating a service resource reconstruction instruction and/or service reconstruction resources according to any combination of the service resource configuration instruction, the service resource attribute and the service resource use condition, issuing the service resource reconstruction instruction and/or the service reconstruction resources to the service resource pool, receiving the service resource reconstruction results of the service resource pool, carrying out summary analysis on the service resource reconstruction results, returning the service resource reconstruction summary analysis results to the service configuration management unit, and generating new service resource attributes;
reconstructing the functions of the service resources in the service resource pool according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resource reconstructs the performance of the service resource according to the service resource reconstruction instruction and/or the service reconstruction resource; or the service resource reconstructs the function and the performance of the service resource according to the service resource reconstruction instruction and/or the service reconstruction resource; the service resource pool returns the service resource reconstruction result to the service resource flexible configuration unit; the service resource sends the service resource running state in the service operation scheduling process to the service operation management unit and the service resource running state management unit;
the service operation management unit is used for receiving service operation from an upper layer service application, inquiring service resource attribute from a service resource pool, splitting the service operation into operation packets according to any combination of service operation scheduling strategy, service resource attribute, service resource use condition and service resource running state, sending the split operation packets to service resources in the service resource pool for service processing, combining returned operation packet processing results into operation processing results and returning the operation processing results to the upper layer service application; or, directly sending the service operation to the service resource in the service resource pool for service processing, and sending the returned service operation processing result to the upper-layer service application; the system is also used for sending the service operation scheduling information in the service operation scheduling process to the service resource running state management unit; the method also comprises the steps of generating a service operation progress, a job package operation progress, service operation state data and job package operation state data according to the service resource operation state comprehensive analysis;
and the service resource running state management unit is used for receiving the service operation scheduling information and the service resource running state returned by the service resource pool, generating a new service resource use condition and returning the new service resource use condition to the service requirement analysis unit, the service configuration management unit, the service resource flexible configuration unit and the service operation management unit.
7. The apparatus of claim 6,
the business service requirement analysis unit judges that the existing service resources meet the business service capability requirement, and the business service requirement analysis unit comprises the following steps: judging that the existing service resources meet the service capability requirements according to any combination of the service capability requirements, the service resource attributes and the service resource use conditions;
the business service requirement analysis unit generates a new business operation scheduling strategy and issues the strategy to the business operation management unit, and the business operation scheduling strategy management unit comprises the following steps: and generating a new service operation scheduling strategy according to any combination of the service capability requirement, the new service resource attribute and the service resource use condition, and transmitting the new service operation scheduling strategy to the service operation management unit.
8. The apparatus of claim 6,
the service resources in the resource pool comprise: any combination of computing devices, storage devices, network devices in a resource pool.
9. The apparatus of claim 6,
the business service capability requirement received by the business service requirement analysis unit comprises one or any combination of more of the following: the service scheduling method comprises the following steps of (1) identifying a service requirement, a service type, a validity period, a scheduling strategy, a maximum service delay, a minimum service delay, a service identifier, a service parameter and a working mode;
the service resource configuration requirement generated by the service requirement analysis unit comprises one or any combination of more of the following: service identifier, service type, service parameter, working mode, service maximum delay, service minimum delay, service processing time and service resource;
the service resource attributes received by the service requirement analysis unit, generated by the service configuration management unit and the service resource flexible configuration unit are function and performance indexes for describing service resources in a service resource pool; the service resource attributes include: any combination of service equipment attributes and service unit attributes;
the service resource usage received by the service requirement analysis unit, the service configuration management unit, and the service resource flexible configuration unit includes one or more of the following arbitrary combinations: the identifier of the service equipment, the identifier of the main control unit, the identifier of the service unit, the running state of the service equipment, the running state of the main control unit and the running state of the service unit;
the service resource configuration instruction generated by the service configuration management unit includes one or more of the following any combination: service device identifier, master control unit identifier, service unit identifier, service type, service parameter, operating mode, service processing rate.
10. The apparatus of claim 6,
the service resource reconfiguration instruction generated by the service resource flexible configuration unit includes but is not limited to include: command identifier, instruction, control parameter, status parameter; the description form of the service resource reconfiguration instruction includes but is not limited to: command line, binary, xml, text;
the service reconfiguration resource comprises one or more of the following arbitrary combinations: the system comprises a system configuration file, executable codes, executable code fragments, java programs, xml files, service states and service parameters;
the business job processing result comprises one or any combination of more of the following: a service capability requirement identifier, a service operation packet identifier, and a service operation calculation result.
11. An on-demand service device for online business, comprising a processor, a memory, a communication bus and/or a communication network;
the communication bus and/or the communication network are used for realizing connection communication between the processor and the memory;
the processor is used for executing the on-demand service program of the online business stored in the memory so as to realize the following steps:
the business service requirement analysis step comprises the following steps: receiving a business service capacity requirement, generating a business operation scheduling strategy when judging that the existing service resources meet the business service capacity requirement, and providing the business operation scheduling strategy for a business operation management step; when judging that the existing service resources do not meet the service capability requirement, generating a service resource configuration requirement, and providing the service resource configuration requirement for the service configuration management step; generating a new service operation scheduling strategy according to the received new service resource attribute, and providing the new service operation scheduling strategy, the new service resource attribute and/or the change condition of the service resource attribute to the service operation management step; generating new service supply capability according to the new service resource attribute and sending the new service supply capability to the upper layer service application;
the business service configuration management step comprises: querying service resource attributes from a service resource pool; generating a service resource configuration instruction according to any combination of the service resource configuration requirement, the service resource attribute and the service resource use condition, and providing the service resource configuration instruction for the service resource flexible configuration step; generating a new service resource attribute according to the service resource reconstruction result, and providing the new service resource attribute for the service requirement analysis step;
the flexible configuration step of service resources comprises the following steps: querying service resource attributes from a service resource pool; generating a service resource reconfiguration instruction and/or service reconfiguration resources according to any combination of the service resource configuration instruction, the service resource attribute and the service resource use condition, issuing the service resource reconfiguration instruction and/or the service reconfiguration resources to a service resource pool, receiving a service resource reconfiguration result of the service resource pool, summarizing and analyzing the service resource reconfiguration result, sending the summarized and analyzed result to a service configuration management step, and generating a new service resource attribute; reconstructing the functions of the service resources in the service resource pool according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the performance of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the functions and the performances of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; the service resource sends the service resource running state in the service operation scheduling process to the service operation management step and the service resource running state management step;
the business operation management step comprises the following steps: receiving a service job from an upper-layer service application, inquiring service resource attributes from a service resource pool, splitting the service job into job packets according to any combination of a service job scheduling strategy, the service resource attributes, service resource use conditions and service resource running states, sending the split job packets to service resources in the service resource pool for service processing, combining returned job packet processing results into service job processing results, and sending the service job processing results to the upper-layer service application; or, directly sending the service operation to the service resource in the service resource pool for service processing, and sending the returned service operation processing result to the upper-layer service application; the method also comprises the step of sending the service operation scheduling information in the service operation scheduling process to the service resource running state management; the method also comprises the steps of generating a service operation progress, a job package operation progress, service operation state data and job package operation state data according to the service resource operation state comprehensive analysis;
the service resource running state management step comprises the following steps: and receiving the service operation scheduling information and the service resource running state returned by the service resource pool, generating the service resource use condition, and sending the service resource use condition to a service requirement analysis step, a service configuration management step, a service resource flexible configuration step and a service operation management step.
12. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors for performing the steps of:
the business service requirement analysis step comprises the following steps: receiving a business service capacity requirement, generating a business operation scheduling strategy when judging that the existing service resources meet the business service capacity requirement, and providing the business operation scheduling strategy for a business operation management step; when judging that the existing service resources do not meet the service capability requirement, generating a service resource configuration requirement, and providing the service resource configuration requirement for the service configuration management step; generating a new service operation scheduling strategy according to the received new service resource attribute, and providing the new service operation scheduling strategy, the new service resource attribute and/or the change condition of the service resource attribute to the service operation management step; generating new service supply capability according to the service resource attribute and sending the new service supply capability to the upper layer service application;
the business service configuration management step comprises: querying service resource attributes from a service resource pool; generating a service resource configuration instruction according to any combination of the service resource configuration requirement, the service resource attribute and the service resource use condition, and providing the service resource configuration instruction for the service resource flexible configuration step; generating a new service resource attribute according to the service resource reconstruction result, and providing the new service resource attribute for the service requirement analysis step;
the flexible configuration step of service resources comprises the following steps: querying service resource attributes from a service resource pool; generating a service resource reconfiguration instruction and/or service reconfiguration resources according to any combination of the service resource configuration instruction, the service resource attribute and the service resource use condition, issuing the service resource reconfiguration instruction and/or the service reconfiguration resources to a service resource pool, receiving a service resource reconfiguration result of the service resource pool, summarizing and analyzing the service resource reconfiguration result, sending the summarized and analyzed result to a service configuration management step, and generating a new service resource attribute; reconstructing the functions of the service resources in the service resource pool according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the performance of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; or the service resources in the service resource pool reconstruct the functions and performances of the service resources according to the service resource reconstruction instruction and/or the service reconstruction resources; the service resource sends the service resource running state in the service operation scheduling process to the service operation management step and the service resource running state management step;
and a service operation management step: receiving a service job from an upper-layer service application, inquiring service resource attributes from a service resource pool, splitting the service job into job packets according to any combination of a service job scheduling strategy, the service resource attributes, service resource use conditions and service resource running states, sending the split job packets to service resources in the service resource pool for service processing, combining returned job packet processing results into service job processing results, and returning the service job processing results to the upper-layer service application; or, directly sending the service operation to the service resource in the service resource pool for service processing, and sending the returned service operation calculation result to the upper-layer service application; the method also comprises the step of sending the service operation scheduling information in the service operation scheduling process to the service resource running state management; the method also comprises the steps of generating a service operation progress, a job package operation progress, service operation state data and job package operation state data according to the service resource operation state comprehensive analysis;
the service resource running state management step comprises the following steps: and generating service resource use conditions according to the service operation scheduling information and the returned service resource running state, and sending the service resource use conditions to a service requirement analysis step, a service configuration management step, a service resource flexible configuration step and a service operation management step.
CN201710457824.5A 2017-06-16 2017-06-16 Method, device and equipment for on-line business on-demand service Active CN107454137B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710457824.5A CN107454137B (en) 2017-06-16 2017-06-16 Method, device and equipment for on-line business on-demand service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710457824.5A CN107454137B (en) 2017-06-16 2017-06-16 Method, device and equipment for on-line business on-demand service

Publications (2)

Publication Number Publication Date
CN107454137A CN107454137A (en) 2017-12-08
CN107454137B true CN107454137B (en) 2020-09-15

Family

ID=60486374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710457824.5A Active CN107454137B (en) 2017-06-16 2017-06-16 Method, device and equipment for on-line business on-demand service

Country Status (1)

Country Link
CN (1) CN107454137B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989439B (en) * 2018-07-26 2021-06-29 郑州云海信息技术有限公司 Distributed storage service quality control method and device
CN112702210A (en) * 2020-12-30 2021-04-23 北京数盾信息科技有限公司 Quasi-linear scheduling mechanism for cryptographic service capability extension

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938516A (en) * 2010-09-02 2011-01-05 华中科技大学 User-oriented dynamic storage resource distribution method
CN103823717A (en) * 2014-01-22 2014-05-28 汉柏科技有限公司 Dynamic management method and dynamic management device for cloud computing resources
CN104735095A (en) * 2013-12-18 2015-06-24 ***通信集团四川有限公司 Method and device for job scheduling of cloud computing platform

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6748416B2 (en) * 1999-01-20 2004-06-08 International Business Machines Corporation Client-side method and apparatus for improving the availability and performance of network mediated services
US9329907B1 (en) * 2014-12-18 2016-05-03 International Business Machines Corporation Automated exploitation of virtual machine resource modifications

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938516A (en) * 2010-09-02 2011-01-05 华中科技大学 User-oriented dynamic storage resource distribution method
CN104735095A (en) * 2013-12-18 2015-06-24 ***通信集团四川有限公司 Method and device for job scheduling of cloud computing platform
CN103823717A (en) * 2014-01-22 2014-05-28 汉柏科技有限公司 Dynamic management method and dynamic management device for cloud computing resources

Also Published As

Publication number Publication date
CN107454137A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
US7774457B1 (en) Resource evaluation for a batch job and an interactive session concurrently executed in a grid computing environment
Mansouri et al. Cost-based job scheduling strategy in cloud computing environments
US8387058B2 (en) Minimizing complex decisions to allocate additional resources to a job submitted to a grid environment
US10033816B2 (en) Workflow service using state transfer
US20140025828A1 (en) Extending processing capacity of server
CN109614227A (en) Task resource concocting method, device, electronic equipment and computer-readable medium
EP3049959A1 (en) Processing a hybrid flow associated with a service class
Dubey et al. Efficient VM placement policy for data centre in cloud environment
CN107454137B (en) Method, device and equipment for on-line business on-demand service
Lawrance et al. Efficient QoS based resource scheduling using PAPRIKA method for cloud computing
US20130166751A1 (en) Distributed resource management systems and methods for resource management thereof
CN103713852A (en) Method for processing information, service platform and electronic devices
Pandya et al. Dynamic resource allocation techniques in cloud computing
CN107465717B (en) Password on-demand service method, device and equipment
CN116325705A (en) Managing task flows in an edge computing environment
CN110716809B (en) Method and device for scheduling cloud resources
CN112905338A (en) Automatic allocation method and device for computing resources
CN112527509A (en) Resource allocation method and device, electronic equipment and storage medium
Yeh et al. Realizing integrated prioritized service in the Hadoop cloud system
Miranda et al. Dynamic communication-aware scheduling with uncertainty of workflow applications in clouds
Puliafito et al. Balancing local vs. remote state allocation for micro-services in the cloud–edge continuum
Sutagundar et al. Development of fog based dynamic resource allocation and pricing model in IoT
Li et al. Cost-and time-based data deployment for improving scheduling efficiency in distributed clouds
CN109558214A (en) Host method for managing resource, device and storage medium under isomerous environment
Sinha et al. Computational model for hybrid job scheduling in grid computing

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
TR01 Transfer of patent right

Effective date of registration: 20230324

Address after: 510535 Ruibao building, 79 Ruihe Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU TIANNING INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 510535 Ruibao building, 79 Ruihe Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU TIANNING INFORMATION TECHNOLOGY Co.,Ltd.

Patentee before: GUANGZHOU KEYUAN INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right