CN108960773A - Business management method, computer equipment and storage medium - Google Patents

Business management method, computer equipment and storage medium Download PDF

Info

Publication number
CN108960773A
CN108960773A CN201810686358.2A CN201810686358A CN108960773A CN 108960773 A CN108960773 A CN 108960773A CN 201810686358 A CN201810686358 A CN 201810686358A CN 108960773 A CN108960773 A CN 108960773A
Authority
CN
China
Prior art keywords
task
equipment
target
identification
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810686358.2A
Other languages
Chinese (zh)
Other versions
CN108960773B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810686358.2A priority Critical patent/CN108960773B/en
Publication of CN108960773A publication Critical patent/CN108960773A/en
Application granted granted Critical
Publication of CN108960773B publication Critical patent/CN108960773B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

This application involves business management method, computer equipment and storage mediums, since different business can pass through unified task access request, the business is carried out unified management by request, during the business is managed collectively as task, first, a new task object is created according to the task access request, then determines that target executes the target device mark of equipment according to the current load information of the equipment of the corresponding device type of service identification;Task identification and scheduling parameter are finally sent to target device and identify corresponding target execution equipment, so that target, which executes equipment, executes the corresponding business of service identification according to scheduling parameter.It is therefore not necessary to which different business is managed and is dispatched respectively, the business management method different for different business developments is not needed yet, it is thus possible to save human resources.

Description

Business management method, computer equipment and storage medium
Technical field
This application involves computer application technology, more particularly to a kind of business management method, computer equipment and Storage medium.
Background technique
The scheduling of traditional Batch Processing is all based on the scheduling of procedural style.By taking live broadcast system as an example, need to dispatch when starting broadcasting Draw stream service, turn packing service, turn clarity service, transfer service etc..Since each business interface is different, to each Interface requires to dock, i.e., different business needs different interfaces, and the management and running of different business are using different Management module, therefore a kind of business new every time needs scheduling that will do corresponding management and running, the duplication of labour.
Therefore, it is larger to have that human resources consume for traditional business management method.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of business management method that can save human resources, Computer equipment and storage medium.
A kind of business management method, which comprises
Reception task access request, the task access request carry service identification and scheduling parameter;
According to the task access request, task object is created, the information that the task object carries includes: task mark Knowledge, the service identification and the scheduling parameter;
According to the service identification and the current load information of the equipment of the corresponding device type of the service identification, determine Target executes the target device mark of equipment;
The task identification and the scheduling parameter are sent to the corresponding target of the target device mark to execute Equipment.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
Reception task access request, the task access request carry service identification and scheduling parameter;
According to the task access request, task object is created, the information that the task object carries includes: task mark Knowledge, the service identification and the scheduling parameter;
According to the service identification and the current load information of the equipment of the corresponding device type of the service identification, determine Target executes the target device mark of equipment;
The task identification and the scheduling parameter are sent to the corresponding target of the target device mark to execute Equipment.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
Reception task access request, the task access request carry service identification and scheduling parameter;
According to the task access request, task object is created, the information that the task object carries includes: task mark Knowledge, the service identification and the scheduling parameter;
According to the service identification and the current load information of the equipment of the corresponding device type of the service identification, determine Target executes the target device mark of equipment;
The task identification and the scheduling parameter are sent to the corresponding target of the target device mark to execute Equipment.
Above-mentioned business management method, computer equipment and storage medium, since different business can be appointed by unified The business is carried out unified management by business access request, request, is carrying out unification for the business as task During management, firstly, a new task object is created according to the task access request, it is then corresponding according to service identification Device type equipment current load information determine target execute equipment target device mark;Finally by task identification and Scheduling parameter is sent to target device and identifies corresponding target execution equipment, so that target executes equipment and executed according to scheduling parameter The corresponding business of service identification.It is therefore not necessary to which different business is managed and is dispatched respectively, do not need for different industry yet Different business management methods is developed in business, it is thus possible to save human resources.
Detailed description of the invention
Fig. 1 is the applied environment figure of business management method in one embodiment;
Fig. 2 is the flow diagram of business management method in one embodiment;
Fig. 3 is the basic service process figure of live broadcast system in one embodiment;
Fig. 4 is the timing diagram for realizing live streaming link in a specific embodiment by business management method;
Fig. 5 is the working principle diagram of traditional business management;
Fig. 6 is subtask iteration schematic diagram in the business management method of a specific embodiment;
Fig. 7 is the system architecture diagram of the business management method of a specific embodiment;
Fig. 8 is the system construction drawing of the business management method of a specific embodiment;
Fig. 9 is the service access timing diagram of the business management method of a specific embodiment;
Figure 10 is the abnormality processing timing diagram of the business management method of a specific embodiment;
Figure 11 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Business management method provided by the present application can be applied in application environment as shown in Figure 1.Wherein, terminal 102 It is communicated with server 104 by network by network.The business management method of the embodiment of the present application may operate in service On device 104, terminal 102 can send task access request to server 104 by network, and server 104 receives task access Request creates task object, the information which carries includes: task identification, business mark according to the task access request Knowledge and scheduling parameter;According to service identification and the current load information of the equipment of the corresponding device type of service identification, mesh is determined Mark executes the target device mark of equipment;Task identification and scheduling parameter are sent to target device and identify corresponding target execution Equipment.Wherein, terminal 102 can be, but not limited to be various personal computers, laptop, smart phone, tablet computer and Portable wearable device, server 104 can use the server cluster of the either multiple server compositions of independent server To realize.
In one embodiment, as shown in Fig. 2, providing a kind of business management method, method includes the following steps:
S202 receives task access request.Task access request carries service identification and scheduling parameter.
The execution terminal of business management method receives task access request by unified external interface, which can To be indicated with API (Application Program Interface, application programming interfaces).In the execution of business management method When terminal and service access side are distinct device, task access request can be issued by task access side by unified format, The task access request can follow RPC (Remote Procedure Call Protocol, remote procedure call protocol);? Execute terminal inherently service access side when, the business management method is called by unified format by service access side, this Call business management method the step of as reception task access request the step of.The unified format includes indicating service identification Field and indicate scheduling parameter field.Wherein, the field of scheduling parameter can be indicated with msg, and the format of msg field can be with For json format.
In the present embodiment, business includes the corresponding business of various services in live streaming, such as can be and draws stream business, connects stream industry Business transcoding business, turns encapsulation business, turns clarity business, forwarding operation, distribution service and turn demand (telecommunication) service.These business can With respectively by draw stream service, connect stream service, transcoding service, turn packing service, turn clarity service, transfer service, distribution take It is engaged in, turns order program service to realize.These services can be disposed respectively on a different server, can also partly or entirely dispose It, can be with same service arrangement on no less than two different servers on a server.
Task is the basic unit that computer executes.In the present embodiment, each business is accordingly to be regarded as a task, by appointing Business access request, is linked into task management system.In this way, unified management can be carried out to business, without to each industry Business is corresponding to develop a set of corresponding business management method.It is thus possible to save human resources.
Service identification is the mark of one business of unique identification.Stream business is such as drawn, stream business is connect, transcoding business, turns encapsulation Business turns clarity business, forwarding operation, distribution service and turns demand (telecommunication) service and be respectively provided with a service identification.Scheduling ginseng Number can be pass-through to task object, can then be pass-through to target and execute equipment.When scheduling parameter can execute for business, need The parameter used.Such as, draw scheduling parameter in stream business that can flow address to draw;Scheduling parameter can be in logo (logo) business The information such as source address port are returned on the upper layer that logo business needs;Scheduling parameter can be the specifying information of template in template business.
S204 creates task object according to task access request.
After receiving task access request, a task object can be created according to the task access request.Task The example that object refers to task data structure type.The information that the task object carries includes task identification, service identification and tune Spend parameter.Task identification can be automatically generated when creating task object according to preset rules.Task identification is unique identification one The mark of a task, task identification can be indicated with task_id.The service identification can be obtained from task access request, should Scheduling parameter can also be obtained from task access request.
S206 determines mesh according to service identification and the current load information of the equipment of the corresponding device type of service identification Mark executes the target device mark of equipment.
Device type includes drawing streaming server, connecing streaming server, transcoding server, turn package server, turn clarity clothes Business device, the distribution server and turns vod server at transfer server, respectively corresponds mark and draws stream business, connects stream business, transcoding Business turns encapsulation business, turns clarity business, forwarding operation, distribution service and the service identification for turning demand (telecommunication) service.Equipment is worked as Preceding load information can be the execution terminal for being sent to the business management method of the present embodiment in preset time by each equipment.Each The quantity of the equipment of device type can be at least 1, and the equipment for being also possible to multiple equipment type is an equipment.Preset time Can be every the set time, be also possible to when being updated load information, can also be every the set time or whenever When load information is updated.The business that the task object needs to complete can be determined according to the service identification of task object, into And can determine and complete the resource that the task object needs, it can determine complete the corresponding business needs of the task object in other words Resource.Then the current load information of the equipment for the corresponding device type of resource and service identification that can according to need, Determine that target executes the target device mark of equipment.Target executes equipment and refers to the equipment for executing the task object.Target device Mark is the device identification that target executes equipment, and device identification is can be with the mark of unique identification equipment, as can for network Location is also possible to network address+port numbers.In this way, executing equipment for task object distribution, also the execution distribution of as business is set It is standby.
Task identification and scheduling parameter are sent to target device and identify corresponding target execution equipment by S208.
It, can by way of task identification and scheduling parameter to be sent to target device and identify corresponding target execution equipment So that target executes the business that equipment executes the corresponding task object of task identification according to scheduling parameter.It is embodied at one In example, task identification and scheduling parameter can be sent to by target device by scheduler and identify corresponding target execution equipment, Scheduler can be determined according to service identification.In a specific embodiment, target execute equipment receive task identification and After task schedule parameter, can by the information preservation of the corresponding task object of the task identification local file, shared drive, Database etc. can so make target execute equipment after restarting, being capable of recovery tasks object information.
Above-mentioned business management method, since different business can be requested by unified task access request by the industry Business carries out unified management as a task, during the business is managed collectively as task, firstly, according to The task access request creates a new task object, then according to the current of the equipment of the corresponding device type of service identification Load information determines that target executes the target device mark of equipment;Task identification and scheduling parameter are finally sent to target device It identifies corresponding target and executes equipment, so that target, which executes equipment, executes the corresponding business of service identification according to scheduling parameter.Cause This does not need the service management different for different business developments it is not necessary that different business is managed and is dispatched respectively yet Method, it is thus possible to save human resources.
In one embodiment, device type include: connect flow device, draw flow device, transcoding device, turn Anytime device, Discharge device turns clarity equipment and turns at least one in sealed in unit.In this way, the business management method is applied to live streaming In system, so that live broadcast system has better scalability, while when extending new business, can save human resources, Without the corresponding management method of the overlapping development new business.
The basic service process of live broadcast system connects streaming server as shown in figure 3, live stream can be pushed to by front end by stream source, Perhaps live stream is pulled by way of drawing streaming server to draw stream and gets live stream again or by application, in this way, will live streaming The Central Terminal Station of stream access live broadcast system.Backstage can dispatch the service of drawing stream, connect stream service, turn packing service, distribution service, turn Code service such as turns clarity service, turns order program service at the various services, finally enters CDN (Content Delivery Network, content distributing network), player returns the live stream that source is played to needs by CDN, plays out.
In a wherein specific embodiment, business management method in the business management method for having accessed the application it Afterwards, the business in live broadcast system can be considered a task, carry out unified management by the business management method of the application.Live streaming The live streaming chain of system can be realized by several task access requests as shown in Figure 4.It is possible, firstly, to flow service access industry for drawing Business management method, then by forwarding operation access service management method, then by transcoding service access business management method, then It will turn clarity service access business management method, will finally turn encapsulation business access service management method.In the live streaming chain, When one business to business management method of every access, a feedback information can be returned to service access side, in the specific reality It applies in example, service access side is live broadcast system, which can be task identification.
To carry out Contrast on effect, according to business management method as shown in Figure 5, every kind of business is required to carry out business tune Degree management, resource management need scheduler that a transcoding server is selected to carry out task distribution, after distribution such as transcoding business Transcoding service needs to report current load information, so that service schedule management selects suitable transcoding server.It draws stream business, connect After stream business, transcoding business, forwarding operation are all set up, the entire link that is broadcast live just is completed.Service management side shown in fig. 5 Method, the logic of every kind of business need individually to develop it is corresponding issue logic and poll check logic, it is each when business increases Service logic will be so that service logic becomes and its complexity using distinct interface;And when business increase, need to repeat similar Newly developed, the duplication of labour, labor intensive resource;The independent computing resource load information of every kind of business, the measurement dimension of each business Degree is independent to be calculated, it is difficult to which comprehensive assessment utilizes the resource and performance of each equipment, and material resources is caused to waste.
In one embodiment, in order to facilitate the distribution of task object, task identification and scheduling parameter are sent to mesh Marking device identifies corresponding target and executes equipment, later further include: receives the load information that target executes equipment, and according to load The current load information of information update target execution equipment.
Technical solution based on the present embodiment executes equipment i.e. target execution equipment being assigned with for task object, and adjusts It spends after target execution equipment, which, which executes equipment, need to report its load information, execute so that follow-up work object distributes Equipment form the basis.Therefore, the execution equipment of the present embodiment needs to receive the target and executes the load information that reports of equipment, and according to The load information updates the current load information of the target device.Load new information may include cpu utilization rate, memory utilization At least one of in rate, network bandwidth and task object carrying quantity.In this way, resource management mode is provided for service management, side Just the distribution of task object.
In a wherein preferred embodiment, the load information that target executes equipment is got by adapting appts, and should Load information reports to the execution terminal of this business management method.I.e. the execution terminal of the present embodiment business management method receives suitable The load information of equipment is executed with the target that equipment reports, and is believed according to the present load that load information more fresh target executes equipment Breath.Adapting appts be different from target execute equipment another equipment, can collect target execute equipment load information, and on Report.The adapting appts serve as the role of middle-agent, and the load that target executes equipment can be collected by way of active inquiry Then information reports again.In this way, can for cannot the target of autonomous load information reporting execute equipment load information reporting be provided Function, the convenient stability that system is improved while be allocated to task object.
In one embodiment, in order to facilitate the distribution of task object, task identification and scheduling parameter are sent to mesh Marking device identifies corresponding target and executes equipment, later further include: receives the execution shape that target executes each task object in equipment State information, and according to the current load information of execution state information more fresh target execution equipment.
Technical solution based on the present embodiment executes equipment i.e. target execution equipment being assigned with for task object, and adjusts It spends after target execution equipment, which, which executes equipment, need to report the execution state information of each task object, execute state letter Breath include execution state, execution state include task initialization, task carry out in, task terminate and task delete etc. states.When The execution state of execution state information by task carry out in be updated to task at the end of, target execute equipment will discharge the task pair Required resource when being executed as corresponding business, it is therefore desirable to which more fresh target executes the current load information of equipment, thus side Continue task object distribution execution equipment after an action of the bowels to refer to.
In a wherein preferred embodiment, the execution that target executes each task object in equipment is got by adapting appts Status information, and the execution state information of each task object is reported to the execution terminal of this business management method.
In a wherein preferred embodiment, in order to facilitate the distribution of task object, task identification and scheduling parameter are sent Corresponding target is identified to target device and executes equipment, later further include: the load information of reception target execution equipment, and according to The current load information of load information more fresh target execution equipment;And receive the execution that target executes each task object in equipment Status information, and according to the current load information of execution state information more fresh target execution equipment.
In one embodiment, when the current load information of the equipment of the corresponding device type of service identification is not able to satisfy When the resource requirement of the corresponding business of service identification, the corresponding equipment of device type is created, thus, increase the equipment of device type Quantity.When the current load information of the equipment according to the corresponding device type of service identification can determine greater than the first present count When measuring the equipment for the resource requirement for meeting the corresponding business of service identification, setting for the second preset quantity in the device type is deleted Standby, the equipment to discharge the second preset quantity uses for the corresponding business of other device types.In this way, resource can be improved Utilization rate.
In one embodiment, task identification and scheduling parameter are sent to target device and identify corresponding target execution Equipment, later further include: receive the task action result that target executes the task object that equipment returns, and according to task execution knot Fruit and task identification delete task object or send task action result to task access side.
Technical solution based on the present embodiment, target execute equipment after having executed the corresponding business of task object, need The implementing result of the corresponding business of the task is returned, is referred to as task action result in the present embodiment.The task action result Equipment can be executed by target to be determined according to the result that business executes.The task action result includes normal termination and different Often terminate.When normal termination, the execution terminal of business management method needs to delete the task object;When abnormal ending, business pipe The execution terminal of reason method needs to re-call the task object and is executed, can be by being abnormal knot by task action result Beam is sent to task access side, so that service access side is retransmitted task access request, to realize the task pair of abnormal ending Elephant re-calls.Therefore, the execution terminal of business management method receives the task that target executes the task object that equipment returns Implementing result, and at the end of task action result is normal, which is deleted according to task identification;In task execution knot When fruit is abnormal ending, task action result is sent to task access side according to task identification, retransmits service access side Task access request, to realize re-calling for the task object of abnormal ending.
In a preferred embodiment, in order to ensure can centainly receive the task pair for receiving target and executing equipment return The task action result of elephant sends confirmation when receiving the task action result for the task object that target executes equipment return Information to the target executes equipment, so that target, which executes equipment, returns to task action result without continuing.If target executes equipment Confirmation message is not received after task execution, will send task action result every preset time, until receiving determination Information.
The task status of task status information and task action result can pass through one in a wherein preferred embodiment Field indicates.The field can such as be arranged can indicate that task status is task initialization with " 0 ", and " 1 " indicates that task status is During task carries out, " 2 " and " 3 " indicate that task status terminates for task, and " 4 " indicate that task is deleted.Wherein " 2 ", which further indicate that, appoints Business normal termination, i.e. task action result are normal termination;" 3 " indicate abnormal end of task, i.e. task action result is abnormal As a result.
It is to be appreciated that in one embodiment, according to task access request, creating task object, later further include: Task identification is returned to service access side.In this way, service access side is enabled also to establish pair of service identification and task identification It should be related to, so as to improve the efficiency of service management.
In one embodiment, for convenience of managing, task identification and scheduling parameter are sent to target device mark pair The target answered executes equipment, later further include: receives the task removal request of service access side, task removal request carries task Mark;The corresponding task object of task identification is deleted according to task removal request.In this way, providing the deletion manager of task object Formula provides the deletion way to manage of the corresponding business of task object, can be convenient the management of task object business, also To improve the convenience of service management.It should be noted that the deletion way to manage is particularly suitable for needing to hold always to business Row, when receiving task removal request the case where ability result.In a wherein specific embodiment, another is additionally provided Task deletes mode, and in the embodiment, the information that task object carries further includes job end time.It is reached in job end time Then, the task object is deleted.
Further, the corresponding task object of task identification is deleted according to task removal request, before further include: according to appointing Removal request of being engaged in, which is sent, stops task order to target execution equipment, stops task order and carries task identification.
Stop task order and refers to that control target executes the life that equipment stops executing the task object that task identification is identified It enables.Technical solution based on the present embodiment, before deleting the corresponding task object of task identification according to task removal request, first It is sent according to task removal request and stops executing order to target execution equipment, so that target is executed equipment and stop executing task object Corresponding business avoids deleting task object in the execution terminal of business management method, and target executes equipment and still exists The case where executing the task object corresponding business, to improve the stability of service management.
Further, in order to further increase the stability of service management, task mark is deleted according to task removal request Know corresponding task object, comprising: receive target execute equipment return task delete successful result, and according to task delete at Function result deletes the corresponding task object of task identification.
Technical solution based on the present embodiment executes equipment in target and is executing order according to stopping by affirmation mechanism, Stop after executing the corresponding business of task object, return to a confirmation message, in the present embodiment, which is task Successful result is deleted, in this way, guarantee to avoid deleting task object in the execution terminal of business management method, and target executes Equipment is still the case where executing the task object corresponding business, to further increase the stability of service management.
In a wherein specific embodiment, for convenience of managing, task identification and scheduling parameter are sent to target device mark Know corresponding target and execute equipment, later further include: the receiving service access side of the task modifies request, and task modification request carries Task identification and modification parameter;The corresponding task object of parameter modification task identification is modified according to task.In this way, providing task pair The modification way to manage of elephant provides the modification way to manage of the corresponding business of task object, can be convenient task object industry The management of business, namely the convenience of service management can be improved.
In a wherein specific embodiment, for convenience of managing, task identification and scheduling parameter are sent to target device mark Know corresponding target and execute equipment, later further include: receives the job enquiry request of service access side, job enquiry request carries Task identification;Corresponding task object is identified according to task identification query task.In this way, the inquiry mode of task object is provided, The inquiry mode of the corresponding business of task object is provided, can be convenient the management of task object business, namely can be improved The convenience of service management.
In one embodiment, task identification and scheduling parameter are sent to target device and identify corresponding target execution Equipment, later further include: when checking target execution unit exception, the load information before unit exception is executed according to target Determine that replacement executes equipment;Target is executed into the task identification of the task object executed in equipment and scheduling parameter is sent to replacement Execute equipment.
Technical solution based on the present embodiment can check that target executes the equipment state of equipment, equipment shape with automatic regular polling State includes normal and abnormal two states.When equipment state is normal, without doing operation bidirectional.When equipment state exception When, it needs to move to the task object executed on the warping apparatus in other normal devices.The present embodiment is by checking When executing unit exception to target, the load information before unit exception is executed according to target determines that replacement executes equipment, and will Target executes the task identification of task object executed in equipment and scheduling parameter is sent to the mode that replacement executes equipment, will be The task object executed on the warping apparatus moves in normal device.In this way, the stability of business management method can be improved. It is to be appreciated that it is that can carry the normal device of task object that the replacement of the present embodiment, which executes equipment,.
In one embodiment, task identification and scheduling parameter are sent to target device and identify corresponding target execution Equipment, later further include: when checking task object according to task identification and being not carried out status information, return according to business mark The current load information of the equipment of knowledge and the corresponding device type of service identification determines that target executes the target device mark of equipment The step of.
Technical solution based on the present embodiment, can be with the corresponding task of task identification each in automatic regular polling inspection task list The execution state information of object.Task list is the list of the task object of record creation, can be when creating task object, will The information of task object is added to the task list, so as to pass through the task list recovery tasks.When being not carried out state When information, illustrates the task object and be assigned to target execution equipment not successfully, or simultaneously execute in target and held in equipment not successfully Row, the present embodiment, by returning according to service identification and the current load information of the equipment of the corresponding device type of service identification, The mode for determining the step of target executes the target device mark of equipment, distributes for task object again and executes equipment.Thus can To improve the stability of service management.
In one embodiment, task identification and scheduling parameter are sent to target device and identify corresponding target execution Equipment, later further include: receive each execution state information for executing each task object in equipment, execution state information includes executing State and practical execution device identification send stopping and execute order when executing device identification and target device mark is inconsistent The corresponding execution equipment of device identification is executed to practical.
It is practical to execute the mark that device identification is the practical execution equipment of mark.The practical equipment that executes is practical execution task pair The equipment of elephant.When the target device mark of practical execution device identification and distribution in the execution state information received is inconsistent When, illustrate that assigning process has gone out mistake, sends stopping execution order to practical and execute the corresponding execution equipment of device identification, make reality Border executes equipment and stops executing the corresponding business of the task object.The stopping executes order and carries task identification and the practical execution Device identification stops executing the corresponding task of the task identification for controlling the corresponding execution equipment of the practical execution device identification Object.In this way, being monitored to equipment is executed, to improve the stability of service management.
In one embodiment, it receives task access request and also carries father's task identification.Father's task identification can be The task identification of any one task object created before the task access request.The task object that the task identification is identified Corresponding business can separate at least one subtask object when target is executed and executed in equipment.As shown in fig. 6, separating son The process of task object can execute equipment transmission by target and divide task requests to service access side, this point of task requests carry Father's task identification;Then it is sent by service access root according to point task requests and carries the task access request of father's task identification to holding Row terminal.The task access request that terminal receives carrying father's task identification is executed, and son is created according to the task access request Task object.The subtask object can be managed collectively according to common task management process.In this way, providing subtask pair As the mode of access, the applicability of service management is improved.
In one embodiment, task identification and scheduling parameter are sent to target device and identify corresponding target execution Equipment, later further include: receive an assignment maintenance request, and task maintenance request carries task identification and attended operation;According to task Maintenance request executes attended operation to the corresponding task object of task identification.
Task maintenance request is the O&M interface that this business management method provides.Attended operation includes query task object Execution state distributes target execution equipment for task object, re-creates task object and deletion task object etc..Based on this reality The technical solution for applying example is capable of providing the O&M interface of manpower intervention, operation maintenance personnel is facilitated to operate, meanwhile, improve service management Stability.
In a wherein specific embodiment, the system framework of business management method can be as shown in fig. 7, comprises task be accessed Layer, task central core and task execution layer.Task access layer includes task access side.Task central core, including business interface mould Block, task management module, task scheduling modules and resource management module.Task execution layer include node administration module, execute set Standby and adapting appts.Task access request is received by business interface module;It is asked by task management module according to task access It asks, creates task object, and the information of task object is recorded in task list;By task scheduling modules according to business mark The current load information of the equipment of knowledge and the corresponding device type of service identification determines that target executes the target device mark of equipment Know.The load information that target executes equipment is received by resource management module, and equipment is executed according to load information more fresh target Current load information;The execution state information that target executes each task object in equipment is received, and according to execution state information The current load information of more fresh target execution equipment;Receive the task action result that target executes the task object that equipment returns; Each load information for executing equipment is recorded in the Resources list, a execution state information for executing equipment is recorded in status Bar In table.Task management module deletes task object also according to task action result and task identification.Task management module also works as inspection When finding target execution unit exception, the load information before unit exception is executed according to target determines that replacement executes equipment.Section Target is also executed the task identification of the task object executed in equipment for point management module and scheduling parameter is sent to replacement and executes Equipment.
In a wherein specific embodiment, the system structure of business management method can be as shown in figure 8, in task access layer Can also receive an assignment maintenance request including O&M module, O&M module, and task maintenance request carries task identification and maintenance behaviour Make, attended operation is executed to the corresponding task object of task identification according to task maintenance request.
In a wherein specific embodiment, the timing diagram of service access is as shown in figure 9, send task by service access side Access request receives the task access request by business interface module (API), is accessed by task management module (TM) according to task Request creates task object, returns to feedback information after creating successfully.By dispatching management module (TS) according to task management module (TM) the corresponding device type of service identification sets in the service identification and resource management module (RM) of the task object created in Standby current load information determines that target executes the target device mark of equipment.Dispatching management module (TS) determines target device After mark, task identification and scheduling parameter are sent to the corresponding execution of target device mark by node administration module (NM) and set Standby (EC).
In a wherein specific embodiment, abnormality processing timing diagram is as shown in Figure 10, and node administration module (NM) is to execution The request of equipment (EC) periodically sending information, the information request can request load information, execution state information, task execution knot Fruit, device status information etc..The load information for executing equipment (EC) and returning can be received by node administration module (NM), execute shape State information, task action result, device status information etc., then resource management module (RM) is sent to by node administration module (NM) Carry out resource management.When task management module (TM) is believed according to resource management module (RM) request load information, execution state The information such as breath, task action result, device status information need to carry out abnormality processing when noting abnormalities;When abnormality processing, first Task object is re-created, by task scheduling modules (TS) according to service identification and resource management module when creating task object (RM) load information that equipment is executed in determines that target device identifies;Then it is identified from node administration module (NM) to target device Corresponding execution equipment (EC) sends task identification and scheduling parameter, executes equipment with regulation goal;Node administration module later (NM) feedback mission dispatching completes information to dispatching management module (TS), then by dispatching management module (TS) feedback task recovery at Function information is to task management module (TM), to update task management list.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in figure 11.The computer equipment includes processor, memory and the network interface connected by system bus. Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory of the computer equipment includes non-easy The property lost storage medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and database.It should Built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The computer equipment Database for storing isomeric data.The network interface of the computer equipment is used for logical by network connection with external terminal Letter.To realize a kind of business management method when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Figure 11, only part relevant to application scheme The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor, the memory storage are provided There is the step of computer program, the processor realizes above-mentioned business management method when executing the computer program.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, it is described The step of above-mentioned business management method is realized when computer program is executed by processor.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (15)

1. a kind of business management method, which comprises
Reception task access request, the task access request carry service identification and scheduling parameter;
According to the task access request, task object is created, the information that the task object carries includes: task identification, institute State service identification and the scheduling parameter;
According to the service identification and the current load information of the equipment of the corresponding device type of the service identification, target is determined Execute the target device mark of equipment;
The task identification and the scheduling parameter are sent to the corresponding target of the target device mark and execute equipment.
2. the method according to claim 1, wherein the device type include: connect flow device, draw flow device, Transcoding device turns Anytime device, discharge device, turns clarity equipment and turns at least one in sealed in unit.
3. the method according to claim 1, wherein described send the task identification and the scheduling parameter Equipment is executed to the corresponding target of target device mark, later further include:
The load information that the target executes equipment is received, and the target is updated according to the load information and executes working as equipment Preceding load information;And/or
The execution state information that the target executes each task object in equipment is received, and according to the execution state information Update the current load information that the target executes equipment.
4. the method according to claim 1, wherein described send the task identification and the scheduling parameter Equipment is executed to the corresponding target of target device mark, later further include:
The task action result that the target executes the task object that equipment returns is received, and according to the task execution knot Fruit and the task identification delete the task object or send the task action result to task access side.
5. the method according to claim 1, wherein described according to the task access request, creation task pair As later further include: return to the task identification to service access side;
It is described that the task identification and the scheduling parameter are sent to the corresponding target execution of the target device mark Equipment, later further include: receive the task removal request of the service access side, the task removal request carries the task Mark;The corresponding task object of the task identification is deleted according to the task removal request.
6. according to the method described in claim 5, it is characterized in that, described delete the task according to the task removal request The corresponding task object is identified, before further include:
It is sent according to the task removal request and stops task order to target execution equipment, the stopping task order being taken With the task identification.
7. according to the method described in claim 6, it is characterized in that, described delete the task according to the task removal request Identify the corresponding task object, comprising: it receives the target and executes the task that equipment returns and delete successful result, and according to The task deletes successful result and deletes the corresponding task object of the task identification.
8. the method according to claim 1, wherein the information that the task object carries further includes that task terminates Time;The method also includes: when the job end time reaches, delete the task object.
9. the method according to claim 1, wherein described send the task identification and the scheduling parameter Equipment is executed to the corresponding target of target device mark, later further include:
When checking the target execution unit exception, the load information before unit exception is executed according to the target is determined Replacement executes equipment;
The target is executed into the task identification of the task object executed in equipment and scheduling parameter is sent to the replacement Execute equipment.
10. the method according to claim 1, wherein described send out the task identification and the scheduling parameter It send to the corresponding target of target device mark and executes equipment, later further include:
When checking the task object according to the task identification and being not carried out status information, return described according to the industry The current load information of the equipment of business mark and the corresponding device type of the service identification, determines that target executes the target of equipment The step of device identification.
11. the method according to claim 1, wherein described send out the task identification and the scheduling parameter It send to the corresponding target of target device mark and executes equipment, later further include:
The execution state information of each task object in each execution equipment is received, the execution state information includes execution state and reality Border executes device identification, when the execution device identification and inconsistent target device mark, sends and stops executing order The corresponding execution equipment of device identification is executed to the reality.
12. according to the method described in claim 1, it is characterized by: the reception task access request also carries father's task mark Know.
13. according to claim 1 to method described in 12 any one, which is characterized in that described by the task identification and institute It states scheduling parameter and is sent to the corresponding target execution equipment of the target device mark, later further include:
Receive an assignment maintenance request, and the task maintenance request carries the task identification and attended operation;
The attended operation is executed according to the task maintenance request task object corresponding to the task identification.
14. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 13 the method when executing the computer program.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 13 is realized when being executed by processor.
CN201810686358.2A 2018-06-28 2018-06-28 Service management method, computer device, and storage medium Active CN108960773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810686358.2A CN108960773B (en) 2018-06-28 2018-06-28 Service management method, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810686358.2A CN108960773B (en) 2018-06-28 2018-06-28 Service management method, computer device, and storage medium

Publications (2)

Publication Number Publication Date
CN108960773A true CN108960773A (en) 2018-12-07
CN108960773B CN108960773B (en) 2021-12-14

Family

ID=64487399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810686358.2A Active CN108960773B (en) 2018-06-28 2018-06-28 Service management method, computer device, and storage medium

Country Status (1)

Country Link
CN (1) CN108960773B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495579A (en) * 2018-12-12 2019-03-19 万兴科技股份有限公司 Task processing method, apparatus and system
CN109656689A (en) * 2018-12-12 2019-04-19 万兴科技股份有限公司 Task processing system and task processing method
CN109800070A (en) * 2019-01-02 2019-05-24 深圳壹账通智能科技有限公司 Task processing method and system
CN109814995A (en) * 2019-01-04 2019-05-28 深圳壹账通智能科技有限公司 Method for scheduling task, device, computer equipment and storage medium
CN110795244A (en) * 2019-10-24 2020-02-14 浙江大华技术股份有限公司 Task allocation method, device, equipment and medium
CN110908778A (en) * 2019-10-10 2020-03-24 平安科技(深圳)有限公司 Task deployment method, system and storage medium
CN111240857A (en) * 2020-01-03 2020-06-05 上海瀚之友信息技术服务有限公司 Remote service calling system and method
CN111614714A (en) * 2020-04-01 2020-09-01 视联动力信息技术股份有限公司 Data processing method and device of service system
CN111866531A (en) * 2020-07-10 2020-10-30 北京达佳互联信息技术有限公司 Live video processing method and device, electronic equipment and storage medium
CN112232751A (en) * 2020-09-03 2021-01-15 微民保险代理有限公司 Service data processing method, device, system, computer equipment and storage medium
TWI723742B (en) * 2019-07-22 2021-04-01 日商日東電工股份有限公司 Equipment abnormal handling timing decision system, equipment abnormal handling timing decision method and computer program
CN112948201A (en) * 2019-12-10 2021-06-11 北京神州泰岳软件股份有限公司 Automatic operation and maintenance method and system
CN113051019A (en) * 2021-03-31 2021-06-29 北京和信融慧信息科技有限公司 Flow task execution control method, device and equipment
CN113747181A (en) * 2020-08-06 2021-12-03 上海达龙信息科技有限公司 Network live broadcast method, live broadcast system and electronic equipment based on remote desktop

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657367A (en) * 2016-12-30 2017-05-10 北京三快在线科技有限公司 Service data acquisition method, device and system
CN106708976A (en) * 2016-12-07 2017-05-24 安徽尚果信息科技有限公司 Method for managing businesses via standard data interface
CN106850759A (en) * 2016-12-31 2017-06-13 广州勤加缘科技实业有限公司 MySQL database clustering methods and its processing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708976A (en) * 2016-12-07 2017-05-24 安徽尚果信息科技有限公司 Method for managing businesses via standard data interface
CN106657367A (en) * 2016-12-30 2017-05-10 北京三快在线科技有限公司 Service data acquisition method, device and system
CN106850759A (en) * 2016-12-31 2017-06-13 广州勤加缘科技实业有限公司 MySQL database clustering methods and its processing system

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656689A (en) * 2018-12-12 2019-04-19 万兴科技股份有限公司 Task processing system and task processing method
CN109495579A (en) * 2018-12-12 2019-03-19 万兴科技股份有限公司 Task processing method, apparatus and system
CN109800070A (en) * 2019-01-02 2019-05-24 深圳壹账通智能科技有限公司 Task processing method and system
CN109814995A (en) * 2019-01-04 2019-05-28 深圳壹账通智能科技有限公司 Method for scheduling task, device, computer equipment and storage medium
TWI723742B (en) * 2019-07-22 2021-04-01 日商日東電工股份有限公司 Equipment abnormal handling timing decision system, equipment abnormal handling timing decision method and computer program
CN110908778A (en) * 2019-10-10 2020-03-24 平安科技(深圳)有限公司 Task deployment method, system and storage medium
CN110908778B (en) * 2019-10-10 2024-03-19 平安科技(深圳)有限公司 Task deployment method, system and storage medium
CN110795244A (en) * 2019-10-24 2020-02-14 浙江大华技术股份有限公司 Task allocation method, device, equipment and medium
CN110795244B (en) * 2019-10-24 2022-07-08 浙江大华技术股份有限公司 Task allocation method, device, equipment and medium
CN112948201A (en) * 2019-12-10 2021-06-11 北京神州泰岳软件股份有限公司 Automatic operation and maintenance method and system
CN112948201B (en) * 2019-12-10 2024-05-14 北京神州泰岳软件股份有限公司 Automatic operation and maintenance method and system
CN111240857A (en) * 2020-01-03 2020-06-05 上海瀚之友信息技术服务有限公司 Remote service calling system and method
CN111240857B (en) * 2020-01-03 2023-02-21 上海瀚之友信息技术服务有限公司 Remote service calling system and method
CN111614714B (en) * 2020-04-01 2024-07-02 视联动力信息技术股份有限公司 Data processing method and device of service system
CN111614714A (en) * 2020-04-01 2020-09-01 视联动力信息技术股份有限公司 Data processing method and device of service system
CN111866531A (en) * 2020-07-10 2020-10-30 北京达佳互联信息技术有限公司 Live video processing method and device, electronic equipment and storage medium
CN113747181A (en) * 2020-08-06 2021-12-03 上海达龙信息科技有限公司 Network live broadcast method, live broadcast system and electronic equipment based on remote desktop
CN112232751A (en) * 2020-09-03 2021-01-15 微民保险代理有限公司 Service data processing method, device, system, computer equipment and storage medium
CN113051019A (en) * 2021-03-31 2021-06-29 北京和信融慧信息科技有限公司 Flow task execution control method, device and equipment

Also Published As

Publication number Publication date
CN108960773B (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN108960773A (en) Business management method, computer equipment and storage medium
US10838777B2 (en) Distributed resource allocation method, allocation node, and access node
CN102622303B (en) A kind of method of internal memory premature beats and device
US20160275123A1 (en) Pipeline execution of multiple map-reduce jobs
CN107003983A (en) Configuration network
CN109992373B (en) Resource scheduling method, information management method and device and task deployment system
WO2020119060A1 (en) Method and system for scheduling container resources, server, and computer readable storage medium
CN109634730A (en) Method for scheduling task, device, computer equipment and storage medium
JP7438355B2 (en) Node management method, device, equipment, storage medium and system
WO2020114608A1 (en) Method and apparatus for mapping network slices onto network infrastructures with sla guarantee
CN108241469B (en) Data storage method, device and system
CN113312161A (en) Application scheduling method, platform and storage medium
CN108121599A (en) A kind of method for managing resource, apparatus and system
WO2017197983A1 (en) Traffic processing method and system, storage medium, switch
CN102420863A (en) Rapid file distribution system, method thereof and apparatus thereof
CN105450679A (en) Method and system for performing data cloud storage
CN111756800A (en) Method and system for processing burst flow
CN111913927A (en) Data writing method and device and computer equipment
JP6824435B2 (en) Information distribution storage systems, methods and programs
CN111324459A (en) Calendar-based resource scheduling method and device, electronic equipment and storage medium
CN112019362A (en) Data transmission method, device, server, terminal, system and storage medium
CN111556126B (en) Model management method, system, computer device and storage medium
CN114090201A (en) Resource scheduling method, device, equipment and storage medium
CN108023914B (en) Memory data sharing system, and memory data writing and reading method
CN114884948B (en) Data processing system

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