CN107172204A - The worksheet system and worksheet method of High Availabitity high capacity - Google Patents

The worksheet system and worksheet method of High Availabitity high capacity Download PDF

Info

Publication number
CN107172204A
CN107172204A CN201710513794.5A CN201710513794A CN107172204A CN 107172204 A CN107172204 A CN 107172204A CN 201710513794 A CN201710513794 A CN 201710513794A CN 107172204 A CN107172204 A CN 107172204A
Authority
CN
China
Prior art keywords
work order
equipment
worksheet
result
storage device
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.)
Pending
Application number
CN201710513794.5A
Other languages
Chinese (zh)
Inventor
王笛
王宇
王学良
赵飞
赵冶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Coclean Technology Co Ltd
Original Assignee
Beijing Coclean Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Coclean Technology Co Ltd filed Critical Beijing Coclean Technology Co Ltd
Priority to CN201710513794.5A priority Critical patent/CN107172204A/en
Publication of CN107172204A publication Critical patent/CN107172204A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • 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/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Abstract

The invention provides a kind of worksheet system of High Availabitity high capacity and worksheet method, the worksheet system includes:Work order distributing equipment, result distributing equipment, multiple worksheet equipment and multiple result storage devices;Work order distributing equipment, the work order to be allocated for obtaining determines to handle the worksheet equipment of the work order in multiple worksheet equipment, the work order is sent to the equipment;Worksheet equipment, for post-processing the work order receiving work order, result is sent to result distributing equipment;As a result distributing equipment, for reception processing result, determines to store the result storage device of the result in multiple result storage devices, the result is sent to the equipment;Result storage device, for storing the result after result is received.The worksheet system and worksheet method for the High Availabitity high capacity that the present invention is provided, the problem of can solving to have disposal ability difference and poor stability when handling work order in the prior art.

Description

The worksheet system and worksheet method of High Availabitity high capacity
Technical field
The present invention relates to communication technical field, more particularly, to the worksheet system and work order of a kind of High Availabitity high capacity Processing method.
Background technology
Internet of Things is the important component of generation information technology, is also the important development stage in " informationization " epoch. Internet of Things is widely used in the fusion of network by the cognition technology that communicates such as Intellisense, identification technology and general fit calculation, Therefore it is referred to as the third wave that world information industry develops after computer, internet.
With the development of science and technology, Internet of Things is just gradually covering the various aspects of people's production and living, while Internet of Things passes through Intelligent detection equipment has collected substantial amounts of data.When user wants to obtain the specified data collected in Internet of Things, interconnection can be passed through Net submits one to obtain the work order for specifying data, and the work order that for example user submits is:Obtain in certain air monitor section time Monitoring Data.Each work order submitted for user, prior art generally using processing server complete to receive work order, Handle work order and issue result to all workings such as users.
In the prior art,, should when the work order quantity of reception is more because a processing server will complete all working Processing server can not handle multiple work orders in time, therefore treatment effeciency is low;Because the streamline of processing is longer, a processing clothes Business device is easy to Single Point of Faliure occur, therefore poor availability, stability are poor.Therefore, there is place when handling work order in the prior art The problem of managing ability and poor stability.
The content of the invention
In view of this, it is an object of the invention to provide a kind of worksheet system of High Availabitity high capacity and worksheet Method, there is the technical problem of disposal ability difference and stability difference when solving and handling work order in the prior art.
In a first aspect, the embodiments of the invention provide a kind of worksheet system of High Availabitity high capacity, including:Work order point With equipment, result distributing equipment, multiple worksheet equipment and multiple result storage devices;The work order distributing equipment, is used for Work order to be allocated is obtained, the worksheet equipment of the processing work order is determined in the multiple worksheet equipment, by institute Work order is stated to send to the worksheet equipment of determination;The worksheet equipment, for after the work order is received, locating The work order is managed, result is sent to the result distributing equipment;The result distributing equipment, for receiving the processing As a result, the result storage device of the storage result is determined in the multiple result storage device, the processing is tied Fruit is sent to the result storage device determined;The result storage device, for after the result is received, depositing Store up the result.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the first of first aspect, wherein, institute State work order distributing equipment specifically for:Judge to whether there is CPU (Central in the multiple worksheet equipment Processing Unit, central processing unit) occupancy is less than or equal to default CPU threshold values, and memory usage is less than or equal to preset The first object equipment of memory threshold;If in the presence of being possible within the shortest time processing and complete a work order handled First object equipment, be defined as handling the worksheet equipment of the work order;If being not present, it is determined that at each work order The quantity of the pending work order of equipment is managed, according to the quantity of the pending work order, it is determined that handling the worksheet of the work order Equipment.
With reference to the first possible embodiment of first aspect, the embodiments of the invention provide second of first aspect Possible embodiment, wherein, the work order distributing equipment specifically for:At the work order of each first object equipment The task amount for the work order that reason speed and each first object equipment are being handled, it is determined that each first object equipment point The time used in each work order that other places reason completion is being handled;It is determined to handle within the shortest time according to the time Into the first object equipment of a work order handled.
With reference to the first or second of possible embodiment of first aspect, the embodiments of the invention provide first party The third possible embodiment in face, wherein, the work order distributing equipment specifically for:Judge whether described pending The quantity of work order is less than the second target device of amount threshold;If in the presence of by the of the minimum number of the pending work order Two target devices, are defined as handling the worksheet equipment of the work order.
With reference to the third possible embodiment of first aspect, the embodiments of the invention provide the 4th of first aspect kind Possible embodiment, wherein, the work order distributing equipment is additionally operable to:If the quantity in the absence of the pending work order is less than number The second target device of threshold value is measured, then sends the warning information of inadequate resource.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the 5th of first aspect kind, wherein, institute State result distributing equipment specifically for:Determine that network bandwidth occupancy is less than pre-set bandwidths in the multiple result storage device Threshold value, and free memory is less than the result storage device of default memory space, the result for the storage result is deposited Store up equipment.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the 6th of first aspect kind, wherein, institute Stating system also includes multiple work order receiving devices;The work order receiving device, for receiving the work order of user's submission and sending extremely The work order distributing equipment;
The result storage device is additionally operable to:When getting call by result request, the call by result request pair is determined The result answered, and the result is sent.
Second aspect, the embodiment of the present invention also provides a kind of worksheet method, and methods described is applied in such as first aspect In the worksheet system of described High Availabitity high capacity;The system includes work order distributing equipment, result distributing equipment, multiple Worksheet equipment and multiple result storage devices;Methods described includes:
The work order distributing equipment obtains work order to be allocated, determines that processing is described in the multiple worksheet equipment The worksheet equipment of work order, the work order is sent to the worksheet equipment of determination;The worksheet equipment exists Receive after the work order, handle the work order, result is sent to the result distributing equipment;The result distribution is set It is standby to receive the result, determine that the result storage of the storage result is set in the multiple result storage device It is standby, the result is sent to the result storage device of determination;The result storage device is receiving the place Manage after result, store the result.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of the first of second aspect, wherein, In the multiple worksheet equipment, it is determined that the worksheet equipment of the work order is handled, including:Judge at the multiple work order Manage in equipment with the presence or absence of CPU usage less than or equal to default CPU threshold values, and memory usage is less than or equal to default memory threshold First object equipment;If in the presence of being possible within the shortest time the first mesh that processing completes a work order handled Marking device, is defined as handling the worksheet equipment of the work order;If being not present, it is determined that each worksheet equipment The quantity of pending work order, according to the quantity of the pending work order, it is determined that handling the worksheet equipment of the work order.
With reference to the first possible embodiment of second aspect, the embodiments of the invention provide second of second aspect Possible embodiment, wherein, methods described also includes:The work order distributing equipment is according to each first object equipment The task amount for the work order that worksheet speed and each first object equipment are being handled, it is determined that each first object Equipment handles the time used in each work order for completing to handle respectively;The work order distributing equipment is according to the time, really Surely the first object equipment for completing a work order handled can be handled within the shortest time.
The embodiment of the present invention brings following beneficial effect:
In the embodiment of the present invention, the worksheet system of High Availabitity high capacity includes:Work order distributing equipment, result distribution are set Standby, multiple worksheet equipment and multiple result storage devices.Work order distributing equipment is used to obtain work order to be allocated, multiple The worksheet equipment of the processing work order is determined in worksheet equipment, the work order is sent to the worksheet equipment of determination; Worksheet equipment, for after work order is received, handling the work order, result is sent to result distributing equipment;As a result Distributing equipment, for reception processing result, determines that the result storage for storing the result is set in multiple result storage devices It is standby, the result is sent to the result storage device of determination;Result storage device, for after result is received, Store the result.The embodiment of the present invention uses the worksheet system of distributed High Availabitity high capacity, multiple equipment point Not Fu Ze work order distribution and processing, and result the different work such as distribution and storage, therefore when the work order received When quantity is more, multiple worksheet equipment can handle multiple work orders in time, and multiple result storage devices can be deposited in time Multiple results are stored up, so that user checks or downloads, so as to improve treatment effeciency;Because the worksheet system includes Multiple worksheet equipment and multiple result storage devices, therefore when any of which equipment is out of order, do not interfere with whole The normal operation of system, so as to avoid the generation of Single Point of Faliure problem, availability is strong, stability is good.Therefore, the present invention is real Applying the worksheet system and worksheet method of the High Availabitity high capacity of example offer has high capacity, High Availabitity and efficient Advantage, solves the technical problem that there is disposal ability difference and stability difference when handling work order in the prior art.
Other features and advantages of the present invention will be illustrated in the following description, also, partly be become from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims And specifically noted structure is realized and obtained in accompanying drawing.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art The accompanying drawing used required in embodiment or description of the prior art is briefly described, it should be apparent that, in describing below Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paid Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of the worksheet system for the High Availabitity high capacity that the embodiment of the present invention one is provided;
Fig. 2 is that the first workflow of the worksheet system for the High Availabitity high capacity that the embodiment of the present invention one is provided is shown It is intended to;
The flow of distribution work order is shown in the worksheet system for the High Availabitity high capacity that Fig. 3 provides for the embodiment of the present invention one It is intended to;
Fig. 4 is that second of workflow of the worksheet system for the High Availabitity high capacity that the embodiment of the present invention one is provided is shown It is intended to;
Fig. 5 is the schematic flow sheet for the worksheet method that the embodiment of the present invention two is provided.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing to the present invention Technical scheme be clearly and completely described, it is clear that described embodiment is a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, belongs to the scope of protection of the invention.
In the prior art,, should when the work order quantity of reception is more because a processing server will complete all working Processing server can not handle multiple work orders in time, therefore treatment effeciency is low;Because the streamline of processing is longer, a processing clothes Business device is easy to Single Point of Faliure occur, therefore poor availability, stability are poor.It is provided in an embodiment of the present invention a kind of high based on this The worksheet system and worksheet method of high capacity can be used, there is processing energy when can solve to handle work order in the prior art The technical problem of power difference and stability difference.
For ease of understanding the present embodiment, first to a kind of High Availabitity high capacity disclosed in the embodiment of the present invention Worksheet system describes in detail.
Embodiment one:
With the development of economic science and technology, internet plays more and more important role in the life, work of people, Due to the convenience of internet, people become increasingly dependent on from internet and obtain various information.Usual user wants to obtain customizing messages When related work order can be submitted by internet, for example, when user wants to check the detection number that certain air monitor is interior for a period of time According to when, the work order of a data acquisition task can be submitted, the work order includes:User's mark, the mark of the air monitor are (such as Numbering), time range, task type be data acquisition request etc..And for example, when user thinks that many air purifiers of control are closed When, the work order of a closing task can be submitted, the work order includes:User's mark, the mark of air purifier to be closed are (such as Numbering), task type be turn-off request etc..The webserver can be handled the work order that user submits, and feedback processing knot Fruit checks to user.
User can submit work order by filling in list on web interface, for example, pass through SaaS (Software-as-a- Service, software is service) platform interface submission work order, API (Application Programming can also be passed through Interface, application programming interface) request submission work order, for example pass through RESTful (Representational State Transfer) software submission work order.Wherein, API request way of submission can facilitate user to pass through order line or programming Language carries out the quick submission of work order, and returning result can be reused.
In order to preferably tackle the work order type that SaaS platform complexes are various, or intensive work order, the present invention is real Example is applied there is provided a kind of worksheet system of distributed High Availabitity high capacity, the worksheet system is by worksheet flow The some such as work order reception, work order distribution, worksheet, result delivery are split into, the function of each part can refer to respectively Determine to perform to one or more different servers, so both realized the high availability of worksheet system, and enhanced again The load capacity of worksheet system.The worksheet system can use synchronization process mode, it would however also be possible to employ asynchronous process Mode.Synchronization process mode, user needs persistently to wait worksheet result, once unexpected disconnect, the work order meeting of submission It is automatic to cancel, bring inconvenience to user.Therefore the worksheet system is preferred to use asynchronous process mode, and such user carries Handing over need not continue after list to wait worksheet result, can be disappeared after the completion of the system is by worksheet with short message, wechat The modes such as breath, mail notify user to check result, and specific advice method is not restricted here.
The work order received, which needs to first pass through work order distributing equipment, distributes to worksheet equipment, and still unappropriated work order claims For work order to be allocated.Fig. 1 is the structural representation of the worksheet system for the High Availabitity high capacity that the embodiment of the present invention one is provided Figure, as shown in figure 1, the worksheet system includes:Work order distributing equipment 20, result distributing equipment 40, multiple worksheets are set Standby 30 and multiple result storage devices 50.
Work order distributing equipment 20, the work order to be allocated for obtaining determines that processing should in multiple worksheet equipment 30 The worksheet equipment 30 of work order, the work order is sent to the worksheet equipment 30 of determination;Worksheet equipment 30, for Receive after work order, handle the work order, result is sent to result distributing equipment 40;As a result distributing equipment 40, for connecing Result is received, determines to store the result storage device 50 of the result in multiple result storage devices 50, this is handled As a result send to the result storage device 50 determined;Result storage device 50, for after result is received, storing at this Manage result.
Wherein, work order distributing equipment 20 can directly receive the work order of user's submission, can also receive other equipment transmission Work order.Preferably, as shown in figure 1, the worksheet system also includes multiple work order receiving devices 10, each work order is received and set The work order and unification that standby 10 reception user submits are sent to work order distributing equipment 20.Work order distributing equipment 20 is used to receive each work Each work order that single receiving device 10 is sent, and each work order is distributed into each worksheet equipment 30.
Specifically, each load balancing of work order receiving device 10 response user submit work order whether succeed, can with but not It is limited to supported web page interface and fills in list submission and two kinds of ways of submission of API request.It is responsible for using multiple work order receiving devices 10 The work order receiving portion of worksheet flow, can strengthen the disposal ability of work order reception, the worksheet of quick response user Request, when any of which work order receiving device 10 is out of order in addition, does not interfere with the normal operation of whole worksheet system, So as to avoid the generation of Single Point of Faliure problem.
Work order distributing equipment 20 specifically distributes work order using following methods:Judge whether deposited in multiple worksheet equipment 30 It is less than or equal to default CPU threshold values, and EMS memory occupation in CPU (Central Processing Unit, central processing unit) occupancy Rate is less than or equal to the first object equipment of default memory threshold;If in the presence of being possible within the shortest time processing and complete one The first object equipment of the work order handled, is defined as handling the worksheet equipment 30 of above-mentioned work order to be allocated;If no In the presence of, it is determined that the quantity of the pending work order of each worksheet equipment 30, according to the quantity of pending work order, it is determined that processing The worksheet equipment 30 of the work order.
Further, when there is first object equipment, work order distributing equipment 20 specifically for:
The work order handled according to the worksheet speed of each first object equipment and each first object equipment Task amount, it is determined that each first object equipment handles the time used in each work order for completing to handle respectively, during according to this Between be determined within the shortest time first object equipment that processing completes a work order handled.
Further, when in the absence of first object equipment, work order distributing equipment 20 specifically for:
Judge whether that the quantity of pending work order is less than the second target device of amount threshold;If in the presence of will treat The second target device of the minimum number of work order is handled, is defined as handling the worksheet equipment 30 of above-mentioned work order to be allocated; If being not present, the work order wouldn't be distributed.
Further, when the quantity in the absence of pending work order is less than the second target device of amount threshold, work order point It is additionally operable to equipment 20, sends the warning information of inadequate resource.It for example can be, but not limited to use voice, light, presentation of information To server administrators alarm is sent etc. mode, notify server administrators to increase the quantity of worksheet equipment 30, to alleviate Worksheet pressure.
Preferably, worksheet equipment 30 is received after the work order of the distribution of work order distributing equipment 20, using parallel processing side Method is handled multiple work orders simultaneously, can so be made full use of computing resource, lifting disposal ability, be saved processing time. It should be noted that the specific processing mode of the method for parallel processing used herein to worksheet equipment 30 is not restricted, For example can be many using multithreading, multi-process mode, one process multithreading, single thread multi-process mode, multi-process Any of thread mode mode.Worksheet equipment 30 can change the processing state of the work order after the completion of worksheet To have completed, and user is notified by communication equipment.Each worksheet equipment 30 sends out the result unification of each work order Deliver to result distributing equipment 40.
Further, it is affected when the abnormal conditions such as worksheet equipment 30 breaks down or occurs powering off All work orders of untreated completion are returned to work order distributing equipment 20 by the meeting of worksheet equipment 30 as work order to be allocated, by Work order distributing equipment 20 is reassigned to the worksheet equipment 30 of normal work.The hair of Single Point of Faliure problem can so be avoided It is raw.
Specifically, as a result the result of reception is distributed to result storage device by distributing equipment 40 using following methods 50:Determine that network bandwidth occupancy is less than pre-set bandwidths threshold value in multiple result storage devices 50, and free memory is small In the result storage device 50 of default memory space, to store the result storage device 50 of result.Wherein, pre-set bandwidths threshold Value and default memory space can be set according to actual conditions.
Result storage device 50 is received after the result of the transmission of result distributing equipment 40, stores the result, and The result is distributed to other each result storage devices 50.Result storage device 50 can utilize CDN (Content Delivery Network, i.e. content distributing network) quickly and stably transmission process result gives other each results for system progress Storage device 50.CDN system can in real time according to the connection of network traffics and each node, load state and to user away from The request of user is re-directed on the service node nearest from user from the integrated information such as response time, makes user can be nearby Content needed for obtaining, solves the situation of network congestion, improves the response speed that user accesses website.
Result storage device 50 is additionally operable to, when getting call by result request, determine that corresponding place is asked in the call by result Result is managed, and the result is sent.Check request to total clothes of the worksheet system for example, user sends result It is engaged in device, director server is according to the position of the user, it is determined that responding speed in multiple result storage devices 50 nearest apart from the user Most fast result storage device 50 is spent, and call by result request is sent to the result storage device 50;The result storage device 50 Ask corresponding result to be sent to director server the call by result, then user, or the knot are sent to by director server Fruit storage device 50 asks that the result directly is sent into user according to the call by result.
If the work order that user submits exports work order for data, result storage device 50 sends derived data to user. Due to user's download process result equipment and to handle the equipment of work order be not same, therefore shared clothes during user's download The equipment that business device bandwidth, computing resource do not interfere with processing work order, improves the treatment effeciency of the worksheet system.
In the embodiment of the present invention, the worksheet system of High Availabitity high capacity includes:Work order distributing equipment, result distribution are set Standby, multiple worksheet equipment and multiple result storage devices.Work order distributing equipment is used to obtain work order to be allocated, multiple The worksheet equipment of the processing work order is determined in worksheet equipment, the work order is sent to the worksheet equipment of determination; Worksheet equipment, for after work order is received, handling the work order, result is sent to result distributing equipment;As a result Distributing equipment, for reception processing result, determines that the result storage for storing the result is set in multiple result storage devices It is standby, the result is sent to the result storage device of determination;Result storage device, for after result is received, Store the result.The embodiment of the present invention uses the worksheet system of distributed High Availabitity high capacity, multiple equipment point Not Fu Ze work order distribution and processing, and result the different work such as distribution and storage, therefore when the work order received When quantity is more, multiple worksheet equipment can handle multiple work orders in time, and multiple result storage devices can be deposited in time Multiple results are stored up, so that user checks or downloads, so as to improve treatment effeciency;Because the worksheet system includes Multiple worksheet equipment and multiple result storage devices, therefore when any of which equipment is out of order, do not interfere with whole The normal operation of system, so as to avoid the generation of Single Point of Faliure problem, availability is strong, stability is good.Therefore, the present invention is real Applying the worksheet system of the High Availabitity high capacity of example offer has high capacity, High Availabitity and efficient advantage, solves existing The technical problem of disposal ability difference and stability difference during with the presence of skill cardia work order.
Fig. 2 is that the first workflow of the worksheet system for the High Availabitity high capacity that the embodiment of the present invention one is provided is shown It is intended to, as shown in Fig. 2 the first workflow of the worksheet system is as follows:
Step S101, work order receiving device 10 receives the work order that user submits.
The work order that the multiple load balancing of work order receiving device 10 response users submit, and by the unified transmission of the work order of reception extremely Work order distributing equipment 20.
Step S102, the distribution work order of work order distributing equipment 20.
Work order distributing equipment 20 determines the worksheet equipment 30 of processing work order, and the work order is distributed into the worksheet and set Standby 30.
Step S103, the processing work order of worksheet equipment 30.
The work order that the processing of worksheet equipment 30 is received, and result is sent to result distributing equipment 40.
Step S104, the result of the as a result distribution of distributing equipment 40 work order.
As a result the result of each work order of reception is distributed to each result storage device 50 by distributing equipment 40.
Step S105, result storage device 50 stores the result of work order, and consigns to user.
The flow of distribution work order is shown in the worksheet system for the High Availabitity high capacity that Fig. 3 provides for the embodiment of the present invention one It is intended to, as shown in figure 3, determining that processing work order A worksheet equipment 30 is specifically wrapped exemplified by distributing work order A, in step S102 Include following steps:
Step S210, judges whether first object equipment.
According to the load information of each worksheet equipment 30 of real-time reception, first object equipment is judged whether, Wherein, load information includes the quantity of CPU usage, memory usage and pending work order, and first object equipment takes for CPU Rate is less than or equal to default CPU threshold values, and memory usage is less than or equal to the worksheet equipment 30 of default memory threshold, presets CPU threshold values and default memory threshold can be set according to actual conditions.If for example, default CPU threshold values and default memory threshold are equal For 80%, then the worksheet equipment 30 that CPU usage and memory usage are respectively less than equal to 80% is first object equipment.
When there is first object equipment, the worksheet for determining processing work order A according to step S221 and step S231 is set Standby 30.
Step S221, it is determined that each first object equipment handle respectively used in each work order for completing to handle when Between.
Specifically, the task amount of worksheet speed and work order determines to handle the time used in the work order, works as worksheet When speed is identical, the task amount of work order is bigger, and the time handled used in the work order is longer, for example, obtain certain air monitor a certain Compared with the work order 2 of detection data of the work order 1 of it Monitoring Data with obtaining some month of air monitor, work order 2 is handled Time used is longer;And for example, work order 4 phase of the work order 3 of 10 air purifiers with closing 100 air purifiers is closed Than the time used in processing work order 4 is longer.Therefore according to the worksheet speed and each first mesh of each first object equipment The task amount for the work order that marking device is being handled, it is determined that each first object equipment handles each work for completing to handle respectively Time used in list.
Step S231, determines processing work order A worksheet equipment 30 in first object equipment.
When there is the first object equipment of untreated any work order, it is processing work order A's to determine the first object equipment Worksheet equipment 30.When the first object equipment in the absence of untreated any work order, processing in the shortest time is completed one The first object equipment of the individual work order handled multiple meets bar as processing work order A worksheet equipment 30 if existing The first object equipment of part, then randomly select one of those, and such as two first object equipment processing complete one and located The time of the work order of reason is minimum value, then randomly selects one of those.
When in the absence of first object equipment, processing work order A worksheet is determined according to step S222 and step S232 Equipment 30.
Step S222, judges whether the second target device.
Second target device is less than the worksheet equipment 30 of amount threshold for the quantity of pending work order, and amount threshold can To be set according to actual conditions.For example, if amount threshold is 10, the quantity of pending work order is less than 10 worksheet equipment 30 be the second target device.If in the presence of the second target device, performing step S232, if in the absence of the second target device, Work order A wouldn't be distributed.
Step S232, determines processing work order A worksheet equipment 30 in the second target device.
By the second target device of the minimum number of pending work order, it is defined as handling work order A worksheet equipment 30. If there are multiple qualified second target devices, one of those is randomly selected, such as two the second target devices The quantity of pending work order is minimum, then randomly selects one of those.
Fig. 4 is that second of workflow of the worksheet system for the High Availabitity high capacity that the embodiment of the present invention one is provided is shown It is intended to, as shown in figure 4, by taking work order A as an example, second of workflow of the worksheet system is as follows:
Step S301, receives work order A.
Step S302, collects the load information of each worksheet equipment 30.
Step S303, judges whether the worksheet equipment 30 of free time.
Idle worksheet equipment 30 refers to the worksheet equipment 30 of untreated any work order.If being not present, perform Step S304, if in the presence of execution step S307.
Step S304, judges whether first object equipment.
Specific determination methods are identical with step S210, repeat no more here.If being not present, step S305 is performed, if In the presence of then performing step S307.
Step S305, judges whether the second target device.
Specific determination methods are identical with step S222, repeat no more here.If being not present, step S306 is performed, if In the presence of then performing step S307.
Step S306, sends the warning message of inadequate resource.
Step S307, it is determined that processing work order A worksheet equipment 30.
Specifically determine that method is identical with step S231 and step S232, repeats no more here.
Step S308, processing work order A.
Step S309, distribution work order A result.
Step S310, storage work order A result, and consign to user.
Embodiment two:
The embodiment of the present invention two provides a kind of worksheet method, and this method applies the High Availabitity in such as embodiment one high In the worksheet system of load.Fig. 5 is the schematic flow sheet for the worksheet method that the embodiment of the present invention two is provided, such as Fig. 5 Shown, this method includes following steps:
Step S401, work order distributing equipment 20 obtains work order to be allocated, in multiple worksheet equipment 30 at determination The worksheet equipment 30 of the work order is managed, the work order is sent to the worksheet equipment 30 of determination.
Step S402, worksheet equipment 30 handles the work order after work order is received, and result is sent to result Distributing equipment 40.
Step S403, as a result the reception processing result of distributing equipment 40, determines that storage should in multiple result storage devices 50 The result storage device 50 of result, the result is sent to the result storage device 50 of determination.
Step S404, result storage device 50 stores the result after result is received.
Specifically, the worksheet equipment of the processing work order is determined in step S401 in multiple worksheet equipment 30 30, including:
Judge that whether there is CPU usage in multiple worksheet equipment 30 is less than or equal to default CPU threshold values, and internal memory is accounted for It is less than or equal to the first object equipment of default memory threshold with rate;If in the presence of being possible within the shortest time processing and complete one The first object equipment of the individual work order handled, is defined as handling the worksheet equipment 30 of above-mentioned work order;If being not present, It is determined that the quantity of the pending work order of each worksheet equipment 30, according to the quantity of the pending work order, it is determined that handling the work Single worksheet equipment 30.
Further, this method also includes:
Work order distributing equipment 20 according to the worksheet speed and each first object equipment of each first object equipment just In the task amount of the work order of processing, it is determined that each first object equipment is handled used in each work order for completing to handle respectively Time;Work order distributing equipment 20 is determined to the processing within the shortest time and completes a work order handled according to the time First object equipment.
In the embodiment of the present invention, worksheet method is applied in the worksheet system of High Availabitity high capacity, work order point Work order to be allocated is obtained with equipment, determines to handle the worksheet equipment of the work order in multiple worksheet equipment, by this Work order is sent to the worksheet equipment of determination;Worksheet equipment handles the work order after work order is received, by result Send to result distributing equipment;As a result distributing equipment reception processing result, determines to store at this in multiple result storage devices The result storage device of result is managed, the result is sent to the result storage device of determination;Result storage device is being received To after result, the result is stored.The embodiment of the present invention uses the worksheet system of distributed High Availabitity high capacity System, multiple equipment is each responsible for the distribution and processing of work order, and result the different work such as distribution and storage, therefore When the work order quantity of reception is more, multiple worksheet equipment can handle multiple work orders in time, and multiple result storages are set It is standby to store multiple results in time, so that user checks or downloads, so as to improve treatment effeciency;Due to the work order Processing system includes multiple worksheet equipment and multiple result storage devices, therefore when any of which equipment is out of order, The normal operation of whole system is not interfered with, so as to avoid the generation of Single Point of Faliure problem, availability is strong, stability is good. Therefore, worksheet method provided in an embodiment of the present invention has high capacity, High Availabitity and efficient advantage, solves existing There is the technical problem of disposal ability difference and stability difference during skill cardia work order.
At worksheet method provided in an embodiment of the present invention, the work order of the High Availabitity high capacity provided with above-described embodiment Reason system has identical technical characteristic, so can also solve identical technical problem, reaches identical technique effect.
The worksheet system for the High Availabitity high capacity that the embodiment of the present invention is provided and the computer of worksheet method Program product, including the computer-readable recording medium of program code is stored, the instruction that described program code includes can be used for The method described in previous systems embodiment is performed, implements and can be found in system embodiment, will not be repeated here.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the work order of foregoing description The specific work process of processing method, may be referred to the corresponding process in aforementioned system embodiment, will not be repeated here.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
In the description of the invention, it is necessary to explanation, term " " center ", " on ", " under ", "left", "right", " vertical ", The orientation or position relationship of the instruction such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to Be easy to the description present invention and simplify description, rather than indicate or imply signified device or element must have specific orientation, With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ", " the 3rd " is only used for describing purpose, and it is not intended that indicating or implying relative importance.
Finally it should be noted that:Embodiment described above, is only the embodiment of the present invention, to illustrate the present invention Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention, should all cover the protection in the present invention Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

1. a kind of worksheet system of High Availabitity high capacity, it is characterised in that including:Work order distributing equipment, result distribution are set Standby, multiple worksheet equipment and multiple result storage devices;
The work order distributing equipment, the work order to be allocated for obtaining determines processing institute in the multiple worksheet equipment The worksheet equipment of work order is stated, the work order is sent to the worksheet equipment of determination;
The worksheet equipment, for after the work order is received, handling the work order, result being sent to described As a result distributing equipment;
The result distributing equipment, for receiving the result, determines storage institute in the multiple result storage device The result storage device of result is stated, the result is sent to the result storage device of determination;
The result storage device, for after the result is received, storing the result.
2. system according to claim 1, it is characterised in that the work order distributing equipment specifically for:
Judge that whether there is CPU usage in the multiple worksheet equipment is less than or equal to default CPU threshold values, and EMS memory occupation Rate is less than or equal to the first object equipment of default memory threshold;
If in the presence of, the first object equipment that the processing within the shortest time completes a work order handled is possible to, it is determined that To handle the worksheet equipment of the work order;
If being not present, it is determined that the quantity of the pending work order of each worksheet equipment, according to the pending work order Quantity, it is determined that handling the worksheet equipment of the work order.
3. system according to claim 2, it is characterised in that the work order distributing equipment specifically for:
The work handled according to the worksheet speed of each first object equipment and each first object equipment Single task amount, it is determined that each first object equipment handles the time used in each work order for completing to handle respectively;
The first object equipment that the processing within the shortest time completes a work order handled is determined to according to the time.
4. the system according to Claims 2 or 3, it is characterised in that the work order distributing equipment specifically for:
Judge whether that the quantity of the pending work order is less than the second target device of amount threshold;
If in the presence of by the second target device of the minimum number of the pending work order, being defined as handling the work of the work order Single processing equipment.
5. system according to claim 4, it is characterised in that the work order distributing equipment is additionally operable to:
If the quantity in the absence of the pending work order is less than the second target device of amount threshold, the police of inadequate resource is sent Notify breath.
6. system according to claim 1, it is characterised in that the result distributing equipment specifically for:
Determine that network bandwidth occupancy is less than pre-set bandwidths threshold value, and free memory in the multiple result storage device Less than the result storage device of default memory space, to store the result storage device of the result.
7. system according to claim 1, it is characterised in that the system also includes multiple work order receiving devices;
The work order receiving device, for receiving the work order of user's submission and sending to the work order distributing equipment;
The result storage device is additionally operable to:
When getting call by result request, determine that corresponding result is asked in the call by result, and the processing is tied Fruit sends.
8. a kind of worksheet method, it is characterised in that methods described is applied as described in any one of claim 1 to 7 In the worksheet system of High Availabitity high capacity;Methods described includes:
The work order distributing equipment obtains work order to be allocated, and the processing work order is determined in the multiple worksheet equipment Worksheet equipment, the work order is sent to the worksheet equipment of determination;
The worksheet equipment handles the work order, result is sent to the result after the work order is received Distributing equipment;
The result distributing equipment receives the result, and the storage processing is determined in the multiple result storage device As a result result storage device, the result is sent to the result storage device of determination;
The result storage device stores the result after the result is received.
9. method according to claim 8, it is characterised in that in the multiple worksheet equipment, it is determined that processing institute The worksheet equipment of work order is stated, including:
Judge that whether there is CPU usage in the multiple worksheet equipment is less than or equal to default CPU threshold values, and EMS memory occupation Rate is less than or equal to the first object equipment of default memory threshold;
If in the presence of, the first object equipment that the processing within the shortest time completes a work order handled is possible to, it is determined that To handle the worksheet equipment of the work order;
If being not present, it is determined that the quantity of the pending work order of each worksheet equipment, according to the pending work order Quantity, it is determined that handling the worksheet equipment of the work order.
10. method according to claim 9, it is characterised in that methods described also includes:
The work order distributing equipment is according to each worksheet speed of the first object equipment and each first object The task amount for the work order that equipment is being handled, it is determined that each first object equipment handles complete to handle each respectively Time used in work order;
The work order distributing equipment is determined to the processing within the shortest time and completes a work handled according to the time Single first object equipment.
CN201710513794.5A 2017-06-29 2017-06-29 The worksheet system and worksheet method of High Availabitity high capacity Pending CN107172204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710513794.5A CN107172204A (en) 2017-06-29 2017-06-29 The worksheet system and worksheet method of High Availabitity high capacity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710513794.5A CN107172204A (en) 2017-06-29 2017-06-29 The worksheet system and worksheet method of High Availabitity high capacity

Publications (1)

Publication Number Publication Date
CN107172204A true CN107172204A (en) 2017-09-15

Family

ID=59827238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710513794.5A Pending CN107172204A (en) 2017-06-29 2017-06-29 The worksheet system and worksheet method of High Availabitity high capacity

Country Status (1)

Country Link
CN (1) CN107172204A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032787A (en) * 2018-05-29 2018-12-18 北京奇艺世纪科技有限公司 A kind of method for allocating tasks and device
WO2020082911A1 (en) * 2018-10-24 2020-04-30 杭州海康威视系统技术有限公司 Method and apparatus for sending information
CN111861054A (en) * 2019-04-28 2020-10-30 中国移动通信集团河南有限公司 Work order processing method and equipment
CN111897785A (en) * 2019-05-06 2020-11-06 中国移动通信集团湖南有限公司 Work order quantity control method, device and equipment
CN112463794A (en) * 2020-11-25 2021-03-09 银盛通信有限公司 Work order processing and sending method for mobile resale system
CN113642840A (en) * 2021-07-05 2021-11-12 百果园技术(新加坡)有限公司 Work order processing method, device and system, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739618A (en) * 2009-12-21 2010-06-16 北京世纪互联宽带数据中心有限公司 Integrated service processing system
CN102111508A (en) * 2009-12-23 2011-06-29 中国移动通信集团设计院有限公司 Fault processing method and system as well as fault scheduling equipment
CN103347055A (en) * 2013-06-19 2013-10-09 北京奇虎科技有限公司 System, device and method for processing tasks in cloud computing platform
CN105141541A (en) * 2015-09-23 2015-12-09 浪潮(北京)电子信息产业有限公司 Task-based dynamic load balancing scheduling method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739618A (en) * 2009-12-21 2010-06-16 北京世纪互联宽带数据中心有限公司 Integrated service processing system
CN102111508A (en) * 2009-12-23 2011-06-29 中国移动通信集团设计院有限公司 Fault processing method and system as well as fault scheduling equipment
CN103347055A (en) * 2013-06-19 2013-10-09 北京奇虎科技有限公司 System, device and method for processing tasks in cloud computing platform
CN105141541A (en) * 2015-09-23 2015-12-09 浪潮(北京)电子信息产业有限公司 Task-based dynamic load balancing scheduling method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032787A (en) * 2018-05-29 2018-12-18 北京奇艺世纪科技有限公司 A kind of method for allocating tasks and device
WO2020082911A1 (en) * 2018-10-24 2020-04-30 杭州海康威视系统技术有限公司 Method and apparatus for sending information
CN111861054A (en) * 2019-04-28 2020-10-30 中国移动通信集团河南有限公司 Work order processing method and equipment
CN111861054B (en) * 2019-04-28 2023-10-31 中国移动通信集团河南有限公司 Work order processing method and equipment
CN111897785A (en) * 2019-05-06 2020-11-06 中国移动通信集团湖南有限公司 Work order quantity control method, device and equipment
CN112463794A (en) * 2020-11-25 2021-03-09 银盛通信有限公司 Work order processing and sending method for mobile resale system
CN112463794B (en) * 2020-11-25 2021-06-18 银盛通信有限公司 Work order processing and sending method for mobile resale system
CN113642840A (en) * 2021-07-05 2021-11-12 百果园技术(新加坡)有限公司 Work order processing method, device and system, electronic equipment and storage medium
CN113642840B (en) * 2021-07-05 2024-04-05 百果园技术(新加坡)有限公司 Work order processing method, device and system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107172204A (en) The worksheet system and worksheet method of High Availabitity high capacity
US10361928B2 (en) Cluster instance management system
CN108768877B (en) Distribution method and device of burst traffic and proxy server
CN109889999B (en) Flow pool management method, system and terminal of Internet of things card
CN104243405B (en) A kind of request processing method, apparatus and system
CN109246229A (en) A kind of method and apparatus of distribution resource acquisition request
CN112269641B (en) Scheduling method, scheduling device, electronic equipment and storage medium
CN106961364A (en) Heartbeat detecting method and application server
CN107209682A (en) The automatic management of resource adjustment
CN104426694B (en) A kind of method and apparatus of adjustment resources of virtual machine
CN104092650A (en) Service distributing request method and device
CN105207947B (en) A kind of gradual traffic scheduling method and system of filtering shake
CN107302580B (en) Load balancing method and device, load balancer and storage medium
CN113114715B (en) Scheduling method based on edge calculation and edge equipment cluster
CN109831474B (en) Keep-alive system, method, server and readable storage medium for http long connection
CN113055469A (en) Cloud container storage control method and system, electronic equipment and storage medium
CN108282526A (en) Server dynamic allocation method and system between double clusters
CN102217247A (en) Method, apparatus and system for implementing multiple web application requests scheduling
CN104184685B (en) Data center resource distribution method, apparatus and system
CN109617889A (en) Video transmission system and video transmission method, device and storage medium
US8769104B2 (en) System and method for loading web page using multiple paths in multiple interface circumstances
CN108718327A (en) A kind of license resources dispatching method and system
CN107707424A (en) The control method and system of load condition
US20230273831A1 (en) Instance allocation method, system, and apparatus
CN117311973A (en) Computing device scheduling method and device, nonvolatile storage medium and electronic device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170915

RJ01 Rejection of invention patent application after publication