CN110400187A - A kind of billing method, billing device and terminal device - Google Patents
A kind of billing method, billing device and terminal device Download PDFInfo
- Publication number
- CN110400187A CN110400187A CN201910672340.1A CN201910672340A CN110400187A CN 110400187 A CN110400187 A CN 110400187A CN 201910672340 A CN201910672340 A CN 201910672340A CN 110400187 A CN110400187 A CN 110400187A
- Authority
- CN
- China
- Prior art keywords
- allocation result
- terminal
- workflow
- bit stream
- mission bit
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06311—Scheduling, planning or task assignment for a person or group
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06316—Sequencing of tasks or work
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Educational Administration (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Finance (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Accounting & Taxation (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application is suitable for technical field of electric power, provides a kind of billing method, billing device and terminal device, comprising: obtain the mission bit stream of task to be made out an invoice, the mission bit stream includes task names and at least one device name;Workflow is generated according to the device name in the mission bit stream, and obtains allocation result for the workflow batch operation personnel, the allocation result includes the identification number of the operator;The allocation result is sent to preset first terminal, the allocation result is used to indicate the first terminal and shows the allocation result and return to confirmation public key and confirmation private key after receiving the information for confirming the allocation result;The confirmation private key received is sent to second terminal, and the confirmation public key, the workflow and the allocation result are generated into operation order, the second terminal is the corresponding terminal device of identification number of the operator.By the above method, efficiency of making out an invoice can be greatly improved.
Description
Technical field
This application involves technical field of electric power more particularly to a kind of billing methods, billing device and terminal device.
Background technique
In the dimension inspection operation of substation, it is necessary to be carried out according to the regulation of operation order, to guarantee the safety of staff
And the safety of electric system.Currently, operation order is usually to transfer to relevant responsible person after filling in by operator's hand filling
Signature confirmation;After signature confirmation, operator can just work according to the workflow on operation order.
With developing for power grid, station task is also sharply increased.The method of existing manual bill easily goes out
Wrong, low efficiency, has aggravated the workload of operator.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of billing method, billing device and terminal device, it is existing to solve
The lower problem of efficiency of making out an invoice in technology.
The first aspect of the embodiment of the present application provides a kind of billing method, comprising:
The mission bit stream of task to be made out an invoice is obtained, the mission bit stream includes task names and at least one device name;
Workflow is generated according to the device name in the mission bit stream, and is the workflow batch operation personnel
Allocation result is obtained, the allocation result includes the identification number of the operator;
The allocation result is sent to preset first terminal, the allocation result is used to indicate the first terminal
It shows the allocation result and returns to confirmation public key and confirmation private key after receiving the information for confirming the allocation result;
The confirmation private key received is sent to second terminal, and by the confirmation public key, the workflow and
The allocation result generates operation order, and the second terminal is the corresponding terminal device of identification number of the operator.
The second aspect of the embodiment of the present application provides a kind of billing device, comprising:
Acquiring unit, for obtaining the mission bit stream of task to be made out an invoice, the mission bit stream includes task names and at least
One device name;
Generation unit for generating workflow according to the device name in the mission bit stream, and is the workflow
Journey batch operation personnel obtain allocation result, and the allocation result includes the identification number of the operator;
Allocation unit, for the allocation result to be sent to preset first terminal, the allocation result is for referring to
Show that the first terminal shows the allocation result and returns to confirmation public key after receiving the information for confirming the allocation result
With confirmation private key;
It makes out an invoice unit, for the confirmation private key received to be sent to second terminal, and by the confirmation public key, institute
It states workflow and the allocation result generates operation order, the second terminal is that the identification number of the operator is corresponding
Terminal device.
The third aspect of the embodiment of the present application provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
The step of realizing the method that the embodiment of the present application first aspect provides.
The fourth aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program realizes the embodiment of the present application when being executed by one or more processors
On the one hand the step of the method provided.
Existing beneficial effect is the embodiment of the present application compared with prior art:
The embodiment of the present application, which passes through, obtains the mission bit stream of task to be made out an invoice, and the mission bit stream includes task names and extremely
A few device name generates workflow according to the device name in the mission bit stream, and distributes for the workflow
Operator obtains allocation result, and it can be to get that the allocation result includes the identification number of the operator in this way
The automatic batch operation personnel of mission bit stream, avoid the process of manual allocation, improve allocative efficiency;By the allocation result
It is sent to preset first terminal, the allocation result is used to indicate the first terminal and shows the allocation result and connecing
Confirmation public key and confirmation private key are returned after receiving the information for confirming the allocation result, the confirmation private key will be received and sent
Operation order, the second terminal are generated to second terminal, and by the confirmation public key, the workflow and the allocation result
It is the operator to the corresponding terminal device of identification number, can be realized automatically confirming that for allocation result in this way, and generate
Key is confirmed, to confirm that the operation order that key generates has stronger safety.By the above method, it can greatly improve and make out an invoice
Efficiency.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram of billing method provided by the embodiments of the present application;
Fig. 2 is the schematic diagram of billing device provided by the embodiments of the present application;
Fig. 3 is the schematic diagram of terminal device provided by the embodiments of the present application.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific
The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment
And be not intended to limit the application.As present specification and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
Fig. 1 is the implementation process schematic diagram of billing method provided by the embodiments of the present application, as shown, the method can be with
The following steps are included:
Step S101, obtains the mission bit stream of task to be made out an invoice, and the mission bit stream includes task names and at least one
Device name.
In practical applications, it may relate to multiple equipment in certain subtask.For example, mission bit stream are as follows: conventional inspection+set
Standby 1+ equipment 2+ equipment 3.Wherein " conventional inspection " is task names, and " equipment 1 ", " equipment 2 ", " equipment 3 " are respectively implementor name
Claim.
Wherein, the mission bit stream further includes task grade.For example, mission bit stream are as follows: second level+routine inspection+equipment 1+
Equipment 2+ equipment 3.Wherein " second level " is task grade.Certainly, in practical applications, task can also be determined according to task names
Grade.For example, it is second level that task names, which are " conventional inspection " corresponding task grade, task names are that " emergency service " is corresponding
Grade is level-one.It is not specifically limited herein.
Correspondingly, in one embodiment, after the mission bit stream for obtaining task to be made out an invoice, further includes:
S105 judges whether the task grade is predetermined level.
S106 sends presupposed information, the default letter to the first terminal if the task grade is predetermined level
The user where being used to indicate the first terminal is ceased according to the mission bit stream batch operation personnel.
S102 generates work according to the device name in the mission bit stream if the task grade is not predetermined level
Make process, and obtains allocation result according to the workflow batch operation personnel.
In this embodiment, after getting mission bit stream, can first judge whether task grade is predetermined level, here pre-
If grade can be preset according to actual needs, being typically set at indicates more urgent grade.
Illustratively, there are three task grades altogether, and level-one (very urgent), second level (urgent) and three-level (not urgent) will
Level-one is set as predetermined level.If the task grade in mission bit stream is level-one, illustrate that the task is very urgent, such case
Under, process of normally making out an invoice can not be walked, but by artificial directly batch operation personnel.So directly being sent to first terminal pre-
If information, the user of first terminal (such as distribution personnel or responsible person) receives direct people after presupposed information by first terminal
Work point matches operator.
If the task grade in mission bit stream is second level or three-level, it is not predetermined level, then continues step S102, that is, hold
The normal process of making out an invoice of row.Process of specifically making out an invoice refers to the content in subsequent embodiment.
Certainly, above-mentioned to be only intended to illustrate the example when task grade is to preset top, predetermined level is not set
It sets, the setting of task grade etc. is specifically limited.
Step S102 generates workflow according to the device name in the mission bit stream, and is the workflow point
Allocation result is obtained with operator, the allocation result includes the identification number of the operator.
In one embodiment, the device name according in the mission bit stream generates workflow, comprising:
The corresponding device location of each device name is obtained respectively.
According to all device location planning routes.
Workflow is generated according to the operating path, the workflow is the task order of all equipment.
In practical applications, substation's map can be transferred, the position of each equipment is indicated on the map, passes through implementor name
Title can obtain corresponding device location.After planning good berth route, operating path can also be shown on map.
It is in one embodiment, described according to all device location planning routes, comprising:
It determines initial position, and calculates separately the first distance of each device location Yu the initial position.
Using the corresponding device location of the shortest distance in all first distances as reference position, the reference position is marked
It is denoted as planned position, and judges whether the number of current non-planned position is greater than 0, the non-planned position is all devices
Position in position in addition to the planned position.
If the number of current non-planned position is greater than 0, each non-planned position and the reference position are calculated separately
Second distance, and using the corresponding non-planned position of the shortest distance in all second distances as reference position, by the ginseng
Examining position mark is planned position, until the number of current non-planned position is 0.
If the number of current non-planned position is equal to 0, the operating path is determined according to the sequencing of label.
Illustratively, it is assumed that have tri- device locations of A, B, C, initial position O.AO < BO < CO is obtained by calculation, then
Using A as reference position, and by A labeled as planned position;Non- planned position has B and C at this time, and number is greater than 0, then continuing
AB < AC is calculated, then (A is no longer reference position, only one reference bit of synchronization at this time using B as reference position
Set), and by B labeled as planned position;Non- planned position is C at this time, then is planned position by C flag, and as
Reference position;At this moment the number of non-planned position is 0, then determines the operating path according to the sequencing of label, that is, work
Route is O- < A- < B- < C.
Certainly, in practical applications, initial position can be some device location, at this moment, the most short distance in first distance
From being the initial position to a distance from itself, i.e., 0, likewise, using the initial position as reference position, and labeled as having planned
Position, subsequent step are similar with above-mentioned example.
It is in one embodiment, described to obtain allocation result for the workflow batch operation personnel, comprising:
It determines the operation grade of each equipment in the workflow, and determines most high in all operation grades
Grade.
Select personnel corresponding with the highest level as personnel to be selected in preset staff list.
The operator is chosen according to preset rules from all personnel to be selected, and by the operator of selection
Identification number as allocation result.
Illustratively, it is assumed that have tri- equipment of A, B, C, operation grade is followed successively by three-level, second level, three-level.Highest therein
Grade is that (height of operation grade can provide second level in advance, and grade is operated in this example and is followed successively by level-one, two from high to low
Grade, three-level).There are five or three Zhang San, Li Si and king people in preset staff list, wherein the corresponding highest level of Zhang San is
Second level, the corresponding highest level of Li Si are three, and grade, the corresponding highest level of king five is second level.Therefore by five conduct of Zhang San and king
Personnel to be selected.
In practical applications, it due to the gap of the length of service of operator, educational background, experience, ability to work etc., will lead to
Executable action difference.In principle, the personnel that can execute high level work, can also execute the work of inferior grade
Make;But the personnel of low level work can be executed, high-grade work may not necessarily be executed.Therefore, it is necessary in preset personnel's name
Select personnel corresponding with the highest level as personnel to be selected in list.
In one embodiment, the mission bit stream further includes the quantity of required operator.
Correspondingly, described choose the operator according to preset rules from all personnel to be selected, comprising:
The cumulative duration of history work of each personnel to be selected is obtained respectively.
All history cumulative duration that works according to from being short to long sequence is ranked up to obtain duration sequence.
The cumulative corresponding personnel to be selected of duration of top n history work in the duration sequence are determined as operator, institute
State the quantity that N is required operator in the mission bit stream.
It continues the example presented above, it is assumed that the quantity of required operator is 1, then 1 people is chosen from Zhang San and king five as behaviour
Make personnel.The rule of selection is, the history of two people of statistics works time duration, wherein Zhang San's point history work time duration is
10h, Wang Wudian the history time duration that works are 20h, are arranged as Zhang San-< king five according to sequence from short to long, then will be located at the
One Zhang San is as operator.
Certainly, in practical applications, can not only be worked time duration with statistical history, can also count other indexs, such as
Miswork rate, working efficiency etc..Multiple indexs can also be counted, comprehensively consider to obtain final result.It is above-mentioned only to choose behaviour
Make the example of personnel, index of selection etc. is not specifically limited.
The allocation result, is sent to preset first terminal by step S103, and the allocation result is used to indicate institute
State first terminal show the allocation result and after receiving the information for confirming the allocation result return confirmation public key and really
Recognize private key.
Wherein, first terminal, which refers to, has personnel or the projects, the responsible person of department etc. such as distribution permission.For example, first
Terminal shows allocation result to responsible person, and the corresponding button in terminal can be clicked after responsible person's confirmation, and first terminal receives
Confirmation public key and confirmation private key are generated after confirmation message.
The confirmation private key received is sent to second terminal by step S104, and by the confirmation public key, the work
Make process and the allocation result generates operation order, the second terminal is the corresponding terminal of identification number of the operator
Equipment.
In practical applications, operator can scan behaviour during executing work in operation order detection device
Make the two dimensional code (being also possible to the identification codes such as bar code, identification code is generated by confirmation public key) on ticket, then in operation order
Input validation private key in detection device, by operation order detection device confirmation identification confirmation public key and input confirmation private key whether
Matching.If matching, passes through the verifying of operation order;If mismatching, alarm to prompt someone's illegal operation equipment or not execute
Operation of Lock-Picking Devices etc..
The embodiment of the present application, which passes through, obtains the mission bit stream of task to be made out an invoice, and the mission bit stream includes task names and extremely
A few device name generates workflow according to the device name in the mission bit stream, and distributes for the workflow
Operator obtains allocation result, and it can be to get that the allocation result includes the identification number of the operator in this way
The automatic batch operation personnel of mission bit stream, avoid the process of manual allocation, improve allocative efficiency;By the allocation result
It is sent to preset first terminal, the allocation result is used to indicate the first terminal and shows the allocation result and connecing
Confirmation public key and confirmation private key are returned after receiving the information for confirming the allocation result, the confirmation private key will be received and sent
Operation order, the second terminal are generated to second terminal, and by the confirmation public key, the workflow and the allocation result
It is the operator to the corresponding terminal device of identification number, can be realized automatically confirming that for allocation result in this way, and generate
Key is confirmed, to confirm that the operation order that key generates has stronger safety.By the above method, it can greatly improve and make out an invoice
Efficiency.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit
It is fixed.
Fig. 2 is the schematic diagram of billing device provided by the embodiments of the present application, for ease of description, is only shown and the application reality
Apply the relevant part of example.
Billing device shown in Fig. 2 can be the software unit being built in existing terminal device, hardware cell or soft
Harden the unit closed, can also be used as independent pendant and is integrated into the terminal device, is also used as independent terminal and sets
It is standby to exist.
The billing device 2 includes:
Acquiring unit 21, for obtaining the mission bit stream of task to be made out an invoice, the mission bit stream includes task names and extremely
A few device name.
Generation unit 22 for generating workflow according to the device name in the mission bit stream, and is the work
Process batch operation personnel obtain allocation result, and the allocation result includes the identification number of the operator.
Allocation unit 23, for the allocation result to be sent to preset first terminal, the allocation result is used for
Indicate that the first terminal shows the allocation result and returns to confirmation public affairs after receiving the information for confirming the allocation result
Key and confirmation private key.
Make out an invoice unit 24, for the confirmation private key received to be sent to second terminal, and by the confirmation public key,
The workflow and the allocation result generate operation order, and the second terminal is that the identification number of the operator is corresponding
Terminal device.
Optionally, the generation unit 22 includes:
Position acquisition module, for obtaining the corresponding device location of each device name respectively.
Route planning module, for according to all device location planning routes.
Process generation module, for generating workflow according to the operating path, the workflow is all sets
Standby task order.
Optionally, the route planning module includes:
It determines submodule, for determining initial position, and calculates separately the of each device location and the initial position
One distance.
Submodule is marked, for using the corresponding device location of the shortest distance in all first distances as reference position,
It is planned position by the reference position mark, and judges whether the number of current non-planned position is greater than 0, it is described not advise
Drawing position is the position in all devices position in addition to the planned position.
Computational submodule calculates separately each non-planned position if the number for current non-planned position is greater than 0
With the second distance of the reference position, and using the corresponding non-planned position of the shortest distance in all second distances as reference
The reference position mark is planned position by position, until the number of current non-planned position is 0.
It plans submodule, if the number for current non-planned position is equal to 0, is determined according to the sequencing of label
The operating path.
Optionally, the generation unit 22 further include:
Level determination module for determining the operation grade of each equipment in the workflow, and determines all behaviour
Make the highest level in grade.
Personnel selection module, for selected in preset staff list personnel corresponding with the highest level as to
The person of choosing.
Personnel assignment module, for choosing the operator according to preset rules from all personnel to be selected, and will
The identification number of the operator chosen is as allocation result.
Optionally, the mission bit stream further includes the quantity of required operator.
Optionally, the personnel assignment module includes:
Acquisition submodule, for obtaining the cumulative duration of history work of each personnel to be selected respectively.
Sorting sub-module, for all history cumulative duration that works according to from being short to long sequence to be ranked up to obtain
Duration sequence.
Submodule is chosen, for the cumulative corresponding personnel to be selected of duration of top n history work in the duration sequence are true
It is set to operator, the N is the quantity of required operator in the mission bit stream.
Optionally, the mission bit stream further includes task grade.
Optionally, the billing device 2 further include:
Judging unit, for after the mission bit stream for obtaining task to be made out an invoice, judging whether the task grade is pre-
If grade.
Transmission unit sends presupposed information, institute to the first terminal if being predetermined level for the task grade
User that presupposed information is used to indicate where the first terminal is stated according to the mission bit stream batch operation personnel.
Generation unit, if being also used to the task grade is not predetermined level, according to the equipment in the mission bit stream
Title generates workflow, and obtains allocation result according to the workflow batch operation personnel.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Fig. 3 is the schematic diagram of terminal device provided by the embodiments of the present application.As shown in figure 3, the terminal device 3 of the embodiment
Include: processor 30, memory 31 and is stored in the calculating that can be run in the memory 31 and on the processor 30
Machine program 32.The processor 30 realizes the step in above-mentioned each billing method embodiment when executing the computer program 32
Such as step S101 to S104 shown in FIG. 1 suddenly,.Alternatively, the processor 30 is realized when executing the computer program 32
State the function of each module/unit in each Installation practice, such as the function of module 21 to 24 shown in Fig. 2.
Illustratively, the computer program 32 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 31, and are executed by the processor 30, to complete the application.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 32 in the terminal device 3 is described.For example, the computer program 32 can be divided
It is cut into acquiring unit, generation unit, allocation unit, unit of making out an invoice, each unit concrete function is as follows:
Acquiring unit, for obtaining the mission bit stream of task to be made out an invoice, the mission bit stream includes task names and at least
One device name.
Generation unit for generating workflow according to the device name in the mission bit stream, and is the workflow
Journey batch operation personnel obtain allocation result, and the allocation result includes the identification number of the operator.
Allocation unit, for the allocation result to be sent to preset first terminal, the allocation result is for referring to
Show that the first terminal shows the allocation result and returns to confirmation public key after receiving the information for confirming the allocation result
With confirmation private key.
It makes out an invoice unit, for the confirmation private key received to be sent to second terminal, and by the confirmation public key, institute
It states workflow and the allocation result generates operation order, the second terminal is that the identification number of the operator is corresponding
Terminal device.
Optionally, the generation unit includes:
Position acquisition module, for obtaining the corresponding device location of each device name respectively.
Route planning module, for according to all device location planning routes.
Process generation module, for generating workflow according to the operating path, the workflow is all sets
Standby task order.
Optionally, the route planning module includes:
It determines submodule, for determining initial position, and calculates separately the of each device location and the initial position
One distance.
Submodule is marked, for using the corresponding device location of the shortest distance in all first distances as reference position,
It is planned position by the reference position mark, and judges whether the number of current non-planned position is greater than 0, it is described not advise
Drawing position is the position in all devices position in addition to the planned position.
Computational submodule calculates separately each non-planned position if the number for current non-planned position is greater than 0
With the second distance of the reference position, and using the corresponding non-planned position of the shortest distance in all second distances as reference
The reference position mark is planned position by position, until the number of current non-planned position is 0.
It plans submodule, if the number for current non-planned position is equal to 0, is determined according to the sequencing of label
The operating path.
Optionally, the generation unit further include:
Level determination module for determining the operation grade of each equipment in the workflow, and determines all behaviour
Make the highest level in grade.
Personnel selection module, for selected in preset staff list personnel corresponding with the highest level as to
The person of choosing.
Personnel assignment module, for choosing the operator according to preset rules from all personnel to be selected, and will
The identification number of the operator chosen is as allocation result.
Optionally, the mission bit stream further includes the quantity of required operator.
Optionally, the personnel assignment module includes:
Acquisition submodule, for obtaining the cumulative duration of history work of each personnel to be selected respectively.
Sorting sub-module, for all history cumulative duration that works according to from being short to long sequence to be ranked up to obtain
Duration sequence.
Submodule is chosen, for the cumulative corresponding personnel to be selected of duration of top n history work in the duration sequence are true
It is set to operator, the N is the quantity of required operator in the mission bit stream.
Optionally, the mission bit stream further includes task grade.
Optionally, the computer program further include:
Judging unit, for after the mission bit stream for obtaining task to be made out an invoice, judging whether the task grade is pre-
If grade.
Transmission unit sends presupposed information, institute to the first terminal if being predetermined level for the task grade
User that presupposed information is used to indicate where the first terminal is stated according to the mission bit stream batch operation personnel.
Generation unit, if being also used to the task grade is not predetermined level, according to the equipment in the mission bit stream
Title generates workflow, and obtains allocation result according to the workflow batch operation personnel.
The terminal device 3 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The terminal device may include, but be not limited only to, processor 30, memory 31.It will be understood by those skilled in the art that Fig. 3
The only example of terminal device 3 does not constitute the restriction to terminal device 3, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 31 can be the internal storage unit of the terminal device 3, such as the hard disk or interior of terminal device 3
It deposits.The memory 31 is also possible to the External memory equipment of the terminal device 3, such as be equipped on the terminal device 3
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 31 can also both include the storage inside list of the terminal device 3
Member also includes External memory equipment.The memory 31 is for storing needed for the computer program and the terminal device
Other programs and data.The memory 31 can be also used for temporarily storing the data that has exported or will export.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality
Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all
Comprising within the scope of protection of this application.
Claims (10)
1. a kind of billing method characterized by comprising
The mission bit stream of task to be made out an invoice is obtained, the mission bit stream includes task names and at least one device name;
Workflow is generated according to the device name in the mission bit stream, and is obtained for the workflow batch operation personnel
Allocation result, the allocation result include the identification number of the operator;
The allocation result is sent to preset first terminal, the allocation result is used to indicate the first terminal and shows
The allocation result simultaneously returns to confirmation public key and confirmation private key after receiving the information for confirming the allocation result;
The confirmation private key received is sent to second terminal, and by the confirmation public key, the workflow and described
Allocation result generates operation order, and the second terminal is the corresponding terminal device of identification number of the operator.
2. billing method as described in claim 1, which is characterized in that described raw according to the device name in the mission bit stream
At workflow, comprising:
The corresponding device location of each device name is obtained respectively;
According to all device location planning routes;
Workflow is generated according to the operating path, the workflow is the task order of all equipment.
3. billing method as claimed in claim 2, which is characterized in that described according to all device location planning roads
Line, comprising:
It determines initial position, and calculates separately the first distance of each device location Yu the initial position;
Using the corresponding device location of the shortest distance in all first distances as reference position, it is by the reference position mark
Planned position, and judge whether the number of current non-planned position is greater than 0, the non-planned position is all devices position
In position in addition to the planned position;
If the number of current non-planned position is greater than 0, the of each non-planned position and the reference position is calculated separately
Two distances, and using the corresponding non-planned position of the shortest distance in all second distances as reference position, by the reference bit
Tagging is planned position, until the number of current non-planned position is 0;
If the number of current non-planned position is equal to 0, the operating path is determined according to the sequencing of label.
4. billing method as described in claim 1, which is characterized in that described to be obtained for the workflow batch operation personnel
Allocation result, comprising:
It determines the operation grade of each equipment in the workflow, and determines the highest level in all operation grades;
Select personnel corresponding with the highest level as personnel to be selected in preset staff list;
The operator is chosen according to preset rules from all personnel to be selected, and by the body of the operator of selection
Part number is used as allocation result.
5. billing method as claimed in claim 4, which is characterized in that the mission bit stream further includes the number of required operator
Amount;
It is described to choose the operator according to preset rules from all personnel to be selected, comprising:
The cumulative duration of history work of each personnel to be selected is obtained respectively;
All history cumulative duration that works according to from being short to long sequence is ranked up to obtain duration sequence;
The cumulative corresponding personnel to be selected of duration of top n history work in the duration sequence are determined as operator, the N is
The quantity of required operator in the mission bit stream.
6. billing method as described in claim 1, which is characterized in that the mission bit stream further includes task grade;
After the mission bit stream for obtaining task to be made out an invoice, further includes:
Judge whether the task grade is predetermined level;
If the task grade is predetermined level, presupposed information is sent to the first terminal, the presupposed information is for referring to
Show the user where the first terminal according to the mission bit stream batch operation personnel;
If the task grade is not predetermined level, workflow is generated according to the device name in the mission bit stream, and
Allocation result is obtained according to the workflow batch operation personnel.
7. a kind of billing device characterized by comprising
Acquiring unit, for obtaining the mission bit stream of task to be made out an invoice, the mission bit stream includes task names and at least one
Device name;
Generation unit for generating workflow according to the device name in the mission bit stream, and is the workflow point
Allocation result is obtained with operator, the allocation result includes the identification number of the operator;
Allocation unit, for the allocation result to be sent to preset first terminal, the allocation result is used to indicate institute
State first terminal show the allocation result and after receiving the information for confirming the allocation result return confirmation public key and really
Recognize private key;
It makes out an invoice unit, for the confirmation private key received to be sent to second terminal, and by the confirmation public key, the work
Make process and the allocation result generates operation order, the second terminal is the corresponding terminal of identification number of the operator
Equipment.
8. billing device as claimed in claim 7, which is characterized in that the generation unit includes:
Position acquisition module, for obtaining the corresponding device location of each device name respectively;
Route planning module, for according to all device location planning routes;
Process generation module, for generating workflow according to the operating path, the workflow is all equipment
Task order.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 6 when executing the computer program
The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 6 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910672340.1A CN110400187A (en) | 2019-07-24 | 2019-07-24 | A kind of billing method, billing device and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910672340.1A CN110400187A (en) | 2019-07-24 | 2019-07-24 | A kind of billing method, billing device and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110400187A true CN110400187A (en) | 2019-11-01 |
Family
ID=68325012
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910672340.1A Pending CN110400187A (en) | 2019-07-24 | 2019-07-24 | A kind of billing method, billing device and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110400187A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111583453A (en) * | 2020-04-20 | 2020-08-25 | 深圳供电局有限公司 | Secondary equipment screen cabinet operation method and device, computer equipment and storage medium |
CN113285996A (en) * | 2021-05-18 | 2021-08-20 | 国网河北省电力有限公司沧州供电分公司 | Electrical equipment operation control method based on physical interlocking, management platform and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102236876A (en) * | 2010-04-27 | 2011-11-09 | 兰州交通大学 | Storage, monitoring and management method for airport freight station |
CN104463016A (en) * | 2014-12-22 | 2015-03-25 | 厦门大学 | Data safety storing method suitable for IC cards and two-dimension codes |
CN105809331A (en) * | 2016-02-26 | 2016-07-27 | 北京元心科技有限公司 | Method and server for generating and issuing inspection tasks |
CN108491903A (en) * | 2018-03-14 | 2018-09-04 | 天津中德应用技术大学 | Service kit for power industry manages system and control method |
CN109509530A (en) * | 2018-11-12 | 2019-03-22 | 上海观谷科技有限公司 | Electronic prescription memory management method and device based on block chain technology |
-
2019
- 2019-07-24 CN CN201910672340.1A patent/CN110400187A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102236876A (en) * | 2010-04-27 | 2011-11-09 | 兰州交通大学 | Storage, monitoring and management method for airport freight station |
CN104463016A (en) * | 2014-12-22 | 2015-03-25 | 厦门大学 | Data safety storing method suitable for IC cards and two-dimension codes |
CN105809331A (en) * | 2016-02-26 | 2016-07-27 | 北京元心科技有限公司 | Method and server for generating and issuing inspection tasks |
CN108491903A (en) * | 2018-03-14 | 2018-09-04 | 天津中德应用技术大学 | Service kit for power industry manages system and control method |
CN109509530A (en) * | 2018-11-12 | 2019-03-22 | 上海观谷科技有限公司 | Electronic prescription memory management method and device based on block chain technology |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111583453A (en) * | 2020-04-20 | 2020-08-25 | 深圳供电局有限公司 | Secondary equipment screen cabinet operation method and device, computer equipment and storage medium |
CN111583453B (en) * | 2020-04-20 | 2022-06-03 | 深圳供电局有限公司 | Secondary equipment screen cabinet operation method and device, computer equipment and storage medium |
CN113285996A (en) * | 2021-05-18 | 2021-08-20 | 国网河北省电力有限公司沧州供电分公司 | Electrical equipment operation control method based on physical interlocking, management platform and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107358417B (en) | Payment method capable of being monitored based on block chain technology | |
CN110335367A (en) | Equipment routing inspection method, equipment patrolling device and terminal device | |
CN109543992A (en) | Intelligent polling method, device, intelligent terminal and server | |
CN108182479A (en) | Equipment point-detecting method, device and server | |
CN107392502A (en) | Management method, managing device and the terminal device of electric power apparatus examination | |
CN109299156A (en) | Electronic device, the electric power data predicting abnormality method based on XGBoost and storage medium | |
CN109299220A (en) | Worker's online testing test paper generation method and terminal device | |
CN108540218A (en) | Electric power optical cable safety failure processing method and processing device | |
CN109064104A (en) | Material equipment management method, system and terminal device | |
CN108681975A (en) | A kind of household services approaches to IM, device and equipment | |
CN110378495A (en) | A kind of instrument share system and method based on Internet technology | |
CN108806302A (en) | A kind of vehicle dispatching method and device | |
CN109472550A (en) | The anti-human-equation error method, apparatus in million kilowatt nuclear power station and terminal device | |
CN110400187A (en) | A kind of billing method, billing device and terminal device | |
CN108364081A (en) | The method, apparatus and financial self-service equipment of financial self-service equipment fixed point transaction reservation | |
CN106501760A (en) | A kind of electrical energy meter fault management-control method and system | |
CN109658003A (en) | A kind of property facility equipment management system and method | |
CN109543947A (en) | Method, apparatus and terminal device based on the task distribution for surveying grid | |
CN205407414U (en) | Mistake system is prevented to intelligent power distribution net based on electric power GIS | |
CN108181546A (en) | Localization method, positioning device and the terminal device of distribution network failure | |
CN112116275A (en) | Automatic matching method and device for home service | |
CN108183814A (en) | The malfunction elimination method and apparatus of the communication channel of power information acquisition system | |
CN108647991A (en) | Electric power data management method, platform and equipment | |
CN110047013A (en) | It is anti-specially to become user's discontinuous form stealing electricity method | |
CN110599370A (en) | Property management method and device based on block chain and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191101 |
|
RJ01 | Rejection of invention patent application after publication |