CN108733472A - A kind of task creation method and device - Google Patents
A kind of task creation method and device Download PDFInfo
- Publication number
- CN108733472A CN108733472A CN201810233459.4A CN201810233459A CN108733472A CN 108733472 A CN108733472 A CN 108733472A CN 201810233459 A CN201810233459 A CN 201810233459A CN 108733472 A CN108733472 A CN 108733472A
- Authority
- CN
- China
- Prior art keywords
- task
- items
- task items
- created
- content
- 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
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
- G06F9/4856—Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
- G06F9/4862—Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration the task being a mobile agent, i.e. specifically designed to migrate
- G06F9/4868—Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration the task being a mobile agent, i.e. specifically designed to migrate with creation or replication
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
A kind of task creation method and device provided by the present application, wherein the method includes receiving the establishment of task to be created instruction, determine that editable task items template, the editable task items template include initiating task item and editor's task items control;Determine the data type and data source of the task items content of task to be created, the task items of the task to be created include the initiating task item and by the increased task items of editor's task items control;Obtain task described in the task items content creating of the task items content of task to be created and the task to be created based on acquisition.
Description
Technical field
This application involves technical field of information processing, more particularly to a kind of task creation method, apparatus, smart machine and deposit
Storage media.
Background technology
With the fast development of hardware technology and network technology, various systems are more and more huger, these systems are supported
Task it is also more and more, at present the backstage of traditional robot only support create simply talks with or makes simple facial expressions and acts
Etc. tasks, can not achieve the establishment of complex task, cannot be satisfied the individual demand of user.
For task, a task corresponds to one or more function items, in the prior art, create task when
It waits, is normally based on the establishment that template carries out task, user can not be according to self-demand to the function items of task in this case
Personalized establishment is carried out, also can not be according to the data type etc. of hobby adjustment function items content, the task function being created that is excessively
It is single, cannot meet the needs of complicated, user experience effect is poor.
Invention content
In view of this, the embodiment of the present application provides a kind of task creation method, apparatus, smart machine and storage medium,
To solve technological deficiency existing in the prior art.
The embodiment of the present application discloses a kind of task creation method, including:
The establishment instruction for receiving task to be created, determines editable task items template, the editable task items template packet
Include initiating task item and editor's task items control;
Determine the data type and data source of the task items content of task to be created, the task items packet of the task to be created
Include the initiating task item and by the increased task items of editor's task items control;
Obtain the task items content creating of the task items content of task to be created and the task to be created based on acquisition
The task.
Optionally, the initiating task item includes:Pinned task item and the first on-fixed task items;
The determining editable task items template includes:
Determine pinned task item and at least one first on-fixed task items;
Increase at least one first on-fixed task items and/or at least one second non-by editor's task items control
Pinned task item.
Optionally, the determining editable task items template further includes:
At least one second on-fixed task items are deleted by editor's task items control.
Optionally it is determined that before the data type and data source of task items content to be created, further include:
The second on-fixed task items are ranked up according to default execution sequence;Or
The second on-fixed task items are ranked up according to the default execution time.
Optionally, after the task definition to be created based on acquisition creates the task, further include:
Send the task for carrying task-performance instructions and task termination instruction.
Optionally, the task-performance instructions include:
Default characteristic information, default Starting Executing Time, default voice executes instruction or deliberate action executes instruction.
Optionally, the task termination, which instructs, includes:
Preset termination executes number, preset termination executes the time, default voice command for stopping or deliberate action termination refer to
It enables.
On the other hand, present invention also provides a kind of task creation devices, including:
Task determining module is configured to receive the establishment instruction of task to be created, determines editable task items template, described
Editable task items template includes initiating task item and editor's task items control;
Content determination module is configured to determine the data type and data source of the task items content of task to be created, described
The task items of task to be created include the initiating task item and by the increased task items of editor's task items control;
Acquisition module is configured to the obtaining the task items content of task to be created and the task to be created based on acquisition of the task
Task described in item content creating.
Optionally, the initiating task item includes:Pinned task item and the first on-fixed task items;
The task determining module, is additionally configured to:
Determine pinned task item and at least one first on-fixed task items;
Increase at least one first on-fixed task items and/or at least one second non-by editor's task items control
Pinned task item.
Optionally, described device further includes:
Sorting module is configured to be ranked up the second on-fixed task items according to default execution sequence;Or it presses
The second on-fixed task items are ranked up according to the default execution time.
Optionally, described device further includes:
Sending module is configured to send the task for carrying task-performance instructions and task termination instruction.
On the other hand, present invention also provides a kind of smart machines, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, the processor realize following steps when executing described program:
The establishment instruction for receiving task to be created, determines editable task items template, the editable task items template packet
Include initiating task item and editor's task items control;
Determine the data type and data source of the task items content of task to be created, the task items packet of the task to be created
Include the initiating task item and by the increased task items of editor's task items control;
Described in the task items content creating for obtaining the task items content of task to be created and the task to be created based on acquisition
Task.
On the other hand, present invention also provides a kind of computer readable storage medium, it is stored with computer program, the journey
The step of task creation method is realized when sequence is executed by processor.
A kind of task creation method, apparatus, smart machine and storage medium provided by the present application, wherein the method packet
The establishment instruction for receiving task to be created is included, determines that editable task items template, the editable task items template include initial
Task items and editor's task items control;Determine the data type and data source of the task items content of task to be created, it is described to wait creating
The task items for building task include the initiating task item and by the increased task items of editor's task items control;It obtains and waits creating
Build task described in the task items content creating of the task items content of task and the task to be created based on acquisition.Using the above method
The quick and personalized establishment of task can be realized according to preset editable task items template so that user can basis
Actual demand increases task items in editable task items template, realizes the establishment of the task of complex logic;And it can determine
The data type and data source of the task items content so that the function of the task is more perfect and abundant.
Description of the drawings
Fig. 1 is a kind of structural schematic diagram for smart machine that one embodiment of the application provides;
Fig. 2 is a kind of flow chart for task creation method that one embodiment of the application provides;
Fig. 3 is the flow chart that the guide to visitors that one embodiment of the application provides explains task creation method;
Fig. 4 is a kind of flow chart for task creation method that one embodiment of the application provides;
Fig. 5 is the flow chart for the advertising task creation method that one embodiment of the application provides;
Fig. 6 is the flow chart for the company introduction task creation method that one embodiment of the application provides;
Fig. 7 is a kind of flow chart for task creation method that one embodiment of the application provides;
Fig. 8 is the flow chart for the timing patrol mission that one embodiment of the application provides;
Fig. 9 is a kind of structural schematic diagram for task creation device that one embodiment of the application provides.
Specific implementation mode
Many details are elaborated in the following description in order to fully understand the application.But the application can be with
Much implement different from other manner described here, those skilled in the art can be without prejudice to the application intension the case where
Under do similar popularization, therefore the application is not limited by following public specific implementation.
In this application, a kind of task creation method, apparatus, smart machine and storage medium are provided, in following reality
It applies in example and is described in detail one by one.
Fig. 1 is the structure diagram for the smart machine 100 for showing one embodiment of the application.The component of the smart machine 100
Including but not limited to include memory 110, processor 120 and is stored on memory 110 and can run on processor 120
Computer instruction.
Although being not shown in Fig. 1, it will be appreciated that smart machine 100 can also include network interface, network interface
Enable smart machine 100 via one or more network communications.The example of these networks includes LAN (LAN), wide area
The combination of the communication network of net (WAN), personal area network (PAN) or such as internet.Network interface may include wired or wireless
One or more of any kind of network interface (for example, network interface card (NIC)), such as IEEE802.11 wireless locals
Net (WLAN) wireless interface, worldwide interoperability for microwave accesses (Wi-MAX) interface, Ethernet interface, universal serial bus (USB) connect
Mouth, cellular network interface, blue tooth interface, near-field communication (NFC) interface, etc..Smart machine can pass through network interface access
The page.
In one embodiment of the application, unshowned other component also may be used in above-mentioned and Fig. 1 of smart machine 100
To be connected to each other, such as pass through bus.It should be appreciated that smart machine structure diagram shown in FIG. 1 is merely for the sake of exemplary
Purpose, rather than to the limitation of the application range.Those skilled in the art can be as needed, increases or replace other component.
Smart machine 100 can be any kind of static or mobile computing device, including mobile computer or mobile meter
Calculate equipment (for example, tablet computer, personal digital assistant, laptop computer, notebook computer, net book etc.), movement
Phone (for example, smart mobile phone), wearable computing device (for example, smartwatch, intelligent glasses etc.) or other kinds of shifting
Equipment is moved, or the static computing device of such as desktop computer or PC, the smart machine 100 can also be robot.
The present processes are applied to robot control system, and the robot control system can be built in the machine
In people, the control to the robot can also be realized by wireless or wired mode and the robot communication.This Shen
Please the control system and the physical connection mode of the robot are not construed as limiting.
Being executed to robot in the robot control system for task creates, after the completion of task creation,
It is sent to robot, robot executes the task.
Wherein, processor 120 can execute the step in method shown in Fig. 2.Fig. 2 is to show to be implemented according to the application one
The schematic flow chart of the task creation method of example, including step 201 is to step 203.
Step 201:The establishment instruction for receiving task to be created, determines editable task items template, the editable task
Item template includes initiating task item and editor's task items control.
In the embodiment of the present application, task creation instruction include but not limited to be text instruction input by user or voice
Instruction, such as task creation instruction are the phonetic order " create company introduction task " of the user received, at this time can be from
The editable with the task creation instructions match of " creating company introduction task " is determined in preset editable task items template library
Task items template.
In the embodiment of the present application, the initiating task item includes:Pinned task item and the first on-fixed task items;
It is described to determine that editable task items template includes according to the task to be created:
Determine pinned task item and at least one first on-fixed task items;
Increase at least one first on-fixed task items and/or at least one second non-by editor's task items control
Pinned task item.
In the embodiment of the present application, at least one second on-fixed task items are deleted by editor's task items control,
In, editor's task items control can be indicated with plus sige or minus sign.
In the embodiment of the present application, the pinned task item may include unlatching, end or terminated task item, and described solid
Determining task items cannot be increased or delete;The first on-fixed task items include initially being carried in editable task items template
Other task items in addition to pinned task item, and each first on-fixed task items correspond to one editor task items control
Part, the first on-fixed task items can be increased by editing task items control;The second on-fixed task items include first
The task items that on-fixed task items are increased by editing task items control, each second on-fixed task items correspond at least
One editor's task items control, and the second on-fixed task items can be increased or delete.
May include pinned task item in the embodiment of the present application, in editable task items template and at least one first non-solid
Determine task items, can also include pinned task item, at least one first on-fixed task items in the editable task items template
With at least one second on-fixed task items.
It is " create guide to visitors and explain task " with task creation instruction, determining editable task items template is to lead referring to Fig. 3
It lookes at for explanation task and illustrates.
The editable task items template of the guide to visitors explanation task includes three pinned task items, four the first on-fixeds
Task items, three pinned task items are respectively to open task items, report welcome words task items and the item that ends task, and described four
A first on-fixed task items are respectively to lead to different visit explanation task items.
Wherein, described four lead corresponding one of visit explanation task items that can increase the volume for leading and visiting explanation task items
Volume task items control, often clicks editor's task items control and can increase by one and lead visit explanation task items, increased
Lead visit explanation task items be the second on-fixed task items, it is increased lead visit explanation task items can correspond to one can
Increase and leads the editor task items control for visiting explanation task items and one can delete increase to lead to visit and explain task items
Edit task items control.
In the embodiment of the present application, after determining editable task items template, further include:
The second on-fixed task items are ranked up according to default execution sequence;Or
The second on-fixed task items are ranked up according to the default execution time.
Such as the second on-fixed task items are respectively task items A, task items B, task items C and task items D, if according to
Default execution sequence is ranked up the task items, then is task items A, task items B, task items C and task items D, i.e., first holds
The row task items A, the task items B is executed again and then executes the task items C, finally execute task items D.But it is described
Execution execution time of the time earlier than the task items A of task items B, the execution time of the task items A is earlier than the task
The execution time of item C, execution execution time of the time earlier than the task items D of the task items C, if when according to default execution
Between the task items are ranked up, then be task items B, task items A, task items C, task items D, that is, first carry out the task items
B, the task items A is executed again and then is executed the task items C, is finally executed task items D.
Step 202:Determine the data type and data source of the task items content of task to be created, the task to be created
Task items include the initiating task item and by the increased task items of editor's task items control.
In the embodiment of the present application, the task items to be created include the initiating task item, by editor's task items
The increased task items of control, wherein the initiating task item includes pinned task item and the first on-fixed task items, by described
It is the second on-fixed task items to edit the increased task items of task items control.
Step 203:Obtain the task items content of the task items content of task to be created and the task to be created based on acquisition
Create the task.
In the embodiment of the present application, the content of the task items of the task to be created is that the robot is instructed to realize a certain work(
The content of energy;The data type includes text, voice, picture or video format etc.;The data source can be taken from high in the clouds
Business device get word, picture, audio, video etc., can also be from word, picture, audio, the video etc. locally got,
The content of the task items of the task to be created is abundanter, and the robot can be realized as more complicated function, the application
In embodiment, the position and data format, the application that according to circumstances select the data source to obtain are not construed as limiting this.
The content of the task items of the task to be created can be TTS (from Text To Speech (TextToSpeech)), TTS
The data source of+picture, audio, audio+picture or video format, the data source are the task items of the task to be created
Particular content.
The task items content for obtaining task to be created includes the data class for the task items content for obtaining the task to be created
Then type and data source create the task according to the data type of the task items content of the task to be created and data source.
It, can be advance according to the difference of the data type of the content of the task items of task to be created in the embodiment of the present application
Edit the content of the task items of task to be created.Such as text class, video class, audio class or picture category, then edit
The task items content of task to be created is named and is preserved as data source.Follow-up in use, can directly be called from file
Task items content of the required data source as task to be created.
It referring to Fig. 3, is still illustrated so that task to be created is guide to visitors explanation task as an example, determines and complete the guide to visitors explanation
Three pinned task items (open task items, report welcome words task items and the item that ends task), four the first on-fixeds of task
After task items (four lead visit explanation task items), content is added for each task items so that each task
A function may be implemented in Xiang Jun;Wherein, it is described open task items content for the text class file called content, it is described
Content of text can be " site visit ", and the content for reporting welcome words task items is the interior of the audio class file called
Hold, the audio content can be " Custom House Welcome to Custom House our companies ";Led described in 4 visit explanation task items content be respectively
The content of class file that is called lead, described to lead the content of file include the title for specifically leading place, text class text
The content of part, the content of audio class file section, picture class file interior perhaps video file content, wherein the text class
The content of file, the content of the audio class file, the content of the interior perhaps described video file of the picture class file can be with
The title in place and route is led to be freely combined with described, such as described to lead place include " meeting room, rock-climbing pavilion, youngster
The content of virgin room and cinema ", the video class file includes " corporate culture video, kindergarten's classroom activity video ", described
The content of picture class file includes " scenery photo ", and the content of the audio class file section includes that " cinema's built-in function is situated between
Continue ", meeting room and corporate culture video can be combined the content for leading class file as one, by rock-climbing pavilion and scenery
Photo is combined the content for leading class file as one, and child room and kindergarten's classroom activity video are combined conduct
Cinema and cinema's built-in function introduction are combined and lead class file as one by one content for leading class file
Content can also have other combinations, the application to be not construed as limiting this;The content of the item that ends task is the end class called
The content of file, the content for terminating class file may include the title of end place, such as foreground, when the robot row
When proceeding to foreground, the guide to visitors explanation task terminates, and completes the establishment of the guide to visitors explanation task.
After the completion of guide to visitors explanation task creation, it is sent to robot, robot receives this and lookes at explanation task, the machine
Device people can then convert the speech into word when receiving " site visit " voice, open the guide to visitors explanation task;It is described
After the guide to visitors explanation task is opened by robot, the speech play of " Custom House Welcome to Custom House our companies ", the following machine are carried out
Device people can march to meeting room according to system storing map, and carry out the broadcasting of corporate culture video, after meeting room is visited,
The robot marches to rock-climbing pavilion, and be shown to rock-climbing pavilion scenery photo, after rock-climbing pavilion is visited, the machine
Device people marches to child room, and carries out the video playing of kindergarten's classroom activity, after child room is visited, the robot row
Cinema is proceeded to, and audio explanation is carried out to the internal structure of cinema, after cinema's visit finishes, the robot advances
It to foreground, the guide to visitors explanation task is completed, is restored to original open state, guide to visitors of the robot successful execution is said
Solution task.
In the embodiment of the present application, task can be realized according to preset editable task items template using the above method
Quick and personalized establishment so that user can increase task items according to actual demand in editable task items template, real
The establishment of the task of existing complex logic;And it can determine the data type and data source of the task items content so that described
The function of task is more perfect and abundant.
Referring to Fig. 4, one embodiment of the application provides a kind of task creation method, including step 401 is to step 404.
Step 401:The establishment instruction for receiving task to be created, determines editable task items template, the editable task
Item template includes initiating task item and editor's task items control.
Step 402:Determine the data type and data source of the task items content of task to be created, the task to be created
Task items include the initiating task item and by the increased task items of editor's task items control.
Step 403:Obtain the task items content of the task items content of task to be created and the task to be created based on acquisition
Create the task.
In the embodiment of the present application, the realization method of step 401 to step 403 is referring to the step 201 of above-described embodiment to step
Rapid 203, the application does not repeat this.
Step 405:Send the task for carrying task-performance instructions and task termination instruction.
It is described to execute instruction including default characteristic information, default Starting Executing Time, default voice in the embodiment of the present application
It executes instruction or deliberate action executes instruction.
Wherein, the default characteristic information includes name, face, limb action of real user etc..
For example, creating task of saying hello, the task of saying hello includes two pinned task items and first on-fixed
Task items, wherein described two pinned task items include say hello task items and the item that ends task, and one first on-fixed is appointed
Business item includes leading task items.The content of the task items of saying hello for the text class file called content, in the text
Appearance can be " boss is good ";It is described to lead the content of task items for the content for the audio class file called, the audio content
Can be " reporting same day action to boss ", the content for exiting task items terminates the interior of class file for what is called
Hold, the content for terminating class file may include the title of end place, such as foreground.
After the completion of the task creation of saying hello, the task for carrying default characteristic information " 1 name of user " is sent to machine
Device people then the robot receives the name of user 1 in the state of unlatching, while determining according to corresponding job information
User 1 is proprietor of an establishment, task of saying hello described in execution.
The default Starting Executing Time includes the pre-set time point for starting to execute or pre-set beginning
The period of execution.
For example, referring to Fig. 5, advertising task is created, the advertising task includes two pinned task items
With a first on-fixed task items, wherein described two pinned task items include that timing begins a task with item and periodically terminates to appoint
Business item, one first on-fixed task items include playing video task item, and the timing begins a task with the content of item as institute
The content of the beginning class file of calling, the content for starting class file may include starting the time point of advertising task,
Such as " opening the advertising task in the 7.30 of every morning ";The content for playing video task item regards for what is called
The content of the content of frequency class file, the video class file may include " promotional videos for playing company ";The timing terminates
Task items, the timing end task item content for called end class file content, it is described terminate class file it is interior
Appearance may include terminating the time point of advertising task, such as " the 8.30 of every morning " exit the advertising task.
After the completion of the advertising task creation, the task for sending the default Starting Executing Time " 7.30 " of carrying is given
Robot can execute advertisement a surname then after the robot receives the advertising task in the 7.30 of every morning
Biography task.
The default voice is executed instruction to be executed instruction including pre-set voice, and the robot is to receive this pre-
The voice being first arranged starts execution task after executing instruction.
For example, referring to Fig. 6, company introduction task is created, the company introduction task includes two pinned task items
With a first on-fixed task items, wherein described two pinned task items include beginning a task with item and the item that ends task, institute
It includes playing video task item to state a first on-fixed task items.The content for beginning a task with item is the text class called
The content of file, the content of text can be " introduce lower your companies ";The content for playing video task item is institute
The content of the video class file of calling, the video content can be " promotional videos of company ";The item that ends task includes
The item that ends task of fixed setting.
After the completion of the company introduction task creation, sends to carry and preset the institute that voice executes " introduce lower your companies "
Task is stated to robot, then the robot receives after the said firm introduces task, " your companies under introducing can received
" voice after, execute the company introduction task.
The deliberate action is executed instruction to be executed instruction including pre-set action, and the robot is to receive this pre-
The action being first arranged starts execution task after executing instruction, realization method executed instruction with the default voice it is identical,
This is repeated no more.
In the embodiment of the present application, task termination instruction include preset termination execute number, the preset termination execution time,
Default voice command for stopping or deliberate action command for stopping.
Wherein, it is the termination execution number for pre-setting the task that the preset termination, which executes number, when the task
Execution number when reaching preset times, it is automatic to terminate the execution for executing the task.Such as the company that the task is Fig. 6 is situated between
Continue task, and it is 5 times that preset termination, which executes number, then the company introduction task is moved back automatically after having continuously performed five times
Go out.
The realization method that the preset termination executes time, default voice command for stopping and deliberate action command for stopping can be with
It is executed instruction referring to the default Starting Executing Time, the default voice and the deliberate action executes instruction, difference exists
In the preset termination execute time, default voice command for stopping and deliberate action command for stopping in order to realize the task
Termination is exited, the default Starting Executing Time, the default voice execute instruction and the deliberate action execute instruction in order to
Realize the unlatching of the task.
In the embodiment of the present application, the personalized of task may be implemented using the above method and create so that user can basis
Actual demand selects the task items of the task, is adjusted at random to the sequence of the task items, and can be multivariant
It realizes the unlatching of the task and exits, multi-scheme alternatively makes the expansion capability of the task stronger.
Referring to Fig. 7, one embodiment of the application provides a kind of task creation method, including step 701 is to step 704.
Step 701:The establishment instruction for receiving task to be created, determines editable task items template, the editable task
Item template includes initiating task item and editor's task items control.
In the embodiment of the present application, the initiating task item includes:Pinned task item and the first on-fixed task items;
It is described to determine that editable task items template includes according to the task to be created:
Determine pinned task item and at least one first on-fixed task items;
Increase at least one first on-fixed task items and/or at least one second non-by editor's task items control
Pinned task item.
Step 702:The second on-fixed task items are ranked up according to default execution sequence;Or it is held according to default
The row time is ranked up the second on-fixed task items.
For example, referring to Fig. 8, create timing patrol mission, the timing patrol mission include two pinned task items,
One the first on-fixed task items, 4 the second on-fixed task items, wherein described two pinned task items include that timing starts
Task items and timing end task item, and one first on-fixed task items include the first patrol mission item, and 4 second non-solid
Task items are determined including four by increased second patrol of editor's task items control corresponding with the first on-fixed task items
Task items.
The timing begin a task with the content of item for called beginning class file content, it is described start class file it is interior
Appearance may include starting the time point of timing patrol mission, such as " every night 22.30 ";The first patrol mission item it is interior
Hold the content of respectively called place class file, the content of the place class file includes the place name specifically to be gone on patrol
Or detailed route map in each place etc., such as foreground;The content of four the second patrol mission items is respectively to be called
The content of the content of place class file, the place class file includes that the place name specifically to be gone on patrol or each place are detailed
Route map etc., such as the place specifically to be gone on patrol are " meeting room, rock-climbing pavilion, child room and cinema ", and four described second are patrolled
Patrolling the sequencing of task items can be adjusted according to the execution sequence either execution time;The timing ends task item
Content is the content of the end class file called, and the content for terminating class file may include terminating advertising task
Time point, such as " every night 23.00 " exit the timing patrol mission.
The first patrol mission item in the timing patrol mission can pass through corresponding editor's task according to actual needs
Item control is increased, and the second patrol mission item can be deleted by corresponding editor's task items control according to actual needs
Or increase;Item, the item that periodically ends task, the first patrol mission item and second is periodically begun a task in the timing patrol mission to patrol
Patrolling the content of task items can modify according to practical application.Such as patrol place " foreground " is revised as " bookstore " etc..
Step 703:Determine the data type and data source of the task items content of task to be created, the task to be created
Task items include the initiating task item and by the increased task items of editor's task items control.
Step 704:Send the task for carrying task-performance instructions and task termination instruction.
In the embodiment of the present application, task can be realized according to preset editable task items template using the above method
Quick and personalized establishment so that user can select the task items of the task according to actual demand, to the task items
Sequence adjusted at random, and the task items of the task can be modified according to actual demand, increase or be deleted, can
To better meet the demand of complex scene, user experience effect is good.
Referring to Fig. 9, one embodiment of the application additionally provides a kind of task creation device, including:
Task determining module 901 is configured to receive the establishment instruction of task to be created, determines editable task items template,
The editable task items template includes initiating task item and editor's task items control;
Content determination module 902 is configured to determine the data type and data source of the task items content of task to be created, institute
The task items for stating task to be created include the initiating task item and by the increased task items of editor's task items control;
Acquisition module 903 is configured to obtain the task items content of task to be created and the task to be created based on acquisition
Task described in task items content creating.
Optionally, the initiating task item includes:Pinned task item and the first on-fixed task items;
The task determining module, is additionally configured to:
Determine pinned task item and at least one first on-fixed task items;
Increase at least one first on-fixed task items and/or at least one second non-by editor's task items control
Pinned task item.
Optionally, described device further includes:
Sorting module is configured to be ranked up the second on-fixed task items according to default execution sequence;Or it presses
The second on-fixed task items are ranked up according to the default execution time.
Optionally, described device further includes:
Sending module is configured to send the task for carrying task-performance instructions and task termination instruction.
In the embodiment of the present application, task can be realized according to preset editable task items template using above-mentioned apparatus
Quick and personalized establishment so that user can increase task items according to actual demand in editable task items template, real
The establishment of the task of existing complex logic;And it can determine the data type and data source of the task items content so that described
The function of task is more perfect and abundant.
One embodiment of the application also provides a kind of computer readable storage medium, is stored with computer instruction, the instruction
The step of task creation method is realized when being executed by processor.
A kind of exemplary scheme of above-mentioned computer readable storage medium for the present embodiment.It should be noted that this is deposited
The technical solution of storage media and the technical solution of above-mentioned task creation method belong to same design, the technical solution of storage medium
The detail content not being described in detail may refer to the description of the technical solution of above-mentioned task creation method.
The computer instruction includes computer program code, the computer program code can be source code form,
Object identification code form, executable file or certain intermediate forms etc..The computer-readable medium may include:Institute can be carried
State any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, the computer storage of computer program code
Device, 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 the computer-readable medium include it is interior
Increase and decrease appropriate can be carried out according to legislation in jurisdiction and the requirement of patent practice by holding, such as in certain jurisdictions of courts
Area, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and telecommunication signal.
It should be noted that for each method embodiment above-mentioned, describe, therefore it is all expressed as a series of for simplicity
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this Shens
It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
The application preferred embodiment disclosed above is only intended to help to illustrate the application.There is no detailed for alternative embodiment
All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification,
It can make many modifications and variations.These embodiments are chosen and specifically described to this specification, is in order to preferably explain the application
Principle and practical application, to enable skilled artisan to be best understood by and utilize the application.The application is only
It is limited by claims and its full scope and equivalent.
Claims (10)
1. a kind of task creation method, which is characterized in that including:
The establishment instruction for receiving task to be created determines that editable task items template, the editable task items template include just
Beginning task items and editor's task items control;
Determine the data type and data source of the task items content of task to be created, the task items of the task to be created include institute
State initiating task item and by the increased task items of editor's task items control;
Obtain task described in the task items content creating of the task items content of task to be created and the task to be created based on acquisition.
2. according to the method described in claim 1, it is characterized in that, the initiating task item includes:Pinned task item and first
On-fixed task items;
The determining editable task items template includes:
Determine pinned task item and at least one first on-fixed task items;
Increase at least one first on-fixed task items and/or at least one second on-fixed by editor's task items control
Task items.
3. according to the method described in claim 2, it is characterized in that, the determining editable task items template further includes:
At least one second on-fixed task items are deleted by editor's task items control.
4. according to the method described in claim 2, it is characterized in that, determining the data type and data of task items content to be created
Before source, further include:
The second on-fixed task items are ranked up according to default execution sequence;Or
The second on-fixed task items are ranked up according to the default execution time.
5. according to the method described in claim 1, it is characterized in that, described in the task definition establishment to be created based on acquisition
After task, further include:
Send the task for carrying task-performance instructions and task termination instruction.
6. according to the method described in claim 5, it is characterized in that, the task-performance instructions include:
Default characteristic information, default Starting Executing Time, default voice executes instruction or deliberate action executes instruction.
7. according to the method described in claim 5, it is characterized in that, task termination instruction includes:
Preset termination executes number, preset termination executes the time, presets voice command for stopping or deliberate action command for stopping.
8. a kind of task creation device, which is characterized in that including:
Task determining module is configured to receive the establishment instruction of task to be created, determines editable task items template, described to compile
It includes initiating task item and editor's task items control to collect task items template;
Content determination module is configured to determine the data type and data source of task items content to be created, the task to be created
Item is including the initiating task item and/or passes through the increased task items of editor's task items control;
Acquisition module is configured to obtain the task items content to be created and the task definition to be created based on acquisition creates
The task.
9. device according to claim 8, which is characterized in that the initiating task item includes:Pinned task item and first
On-fixed task items;
The task determining module, is additionally configured to:
Determine pinned task item and at least one first on-fixed task items;
Increase at least one first on-fixed task items and/or at least one second on-fixed by editor's task items control
Task items.
10. a kind of smart machine, including memory, processor and storage are on a memory and the calculating that can run on a processor
Machine program, which is characterized in that the processor realizes following steps when executing described program:
The establishment instruction for receiving task to be created determines that editable task items template, the editable task items template include just
Beginning task items and editor's task items control;
Determine that the data type and data source of task items content to be created, the task items to be created include the initiating task item
And/or pass through the increased task items of editor's task items control;
It obtains the task items content to be created and the task definition to be created based on acquisition creates the task.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810233459.4A CN108733472A (en) | 2018-03-21 | 2018-03-21 | A kind of task creation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810233459.4A CN108733472A (en) | 2018-03-21 | 2018-03-21 | A kind of task creation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108733472A true CN108733472A (en) | 2018-11-02 |
Family
ID=63940472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810233459.4A Pending CN108733472A (en) | 2018-03-21 | 2018-03-21 | A kind of task creation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108733472A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110688216A (en) * | 2019-08-23 | 2020-01-14 | 北京浪潮数据技术有限公司 | Custom cloud plan task creation method and device |
CN110705239A (en) * | 2019-09-27 | 2020-01-17 | 支付宝(杭州)信息技术有限公司 | Credit contract template creating method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102103505A (en) * | 2011-02-24 | 2011-06-22 | 杭州华三通信技术有限公司 | Method and equipment for generating workflow interface |
CN102486730A (en) * | 2010-12-06 | 2012-06-06 | 上海协讯软件有限公司 | Workflow realization method and workflow system capable of customizing flow in user-defined manner |
CN104731584A (en) * | 2015-02-26 | 2015-06-24 | 武汉爱科唯自动化科技有限公司 | Human-machine interface customizable configuration design method for open type numerical control system |
CN106296243A (en) * | 2015-05-22 | 2017-01-04 | 阿里巴巴集团控股有限公司 | Service implementation method and device |
CN106875152A (en) * | 2016-12-16 | 2017-06-20 | 新华三技术有限公司 | A kind of task creation method and device |
CN107463392A (en) * | 2016-06-03 | 2017-12-12 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus for creating system configuration tasks |
CN107463391A (en) * | 2016-06-03 | 2017-12-12 | 阿里巴巴集团控股有限公司 | Task processing method, device and equipment |
-
2018
- 2018-03-21 CN CN201810233459.4A patent/CN108733472A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102486730A (en) * | 2010-12-06 | 2012-06-06 | 上海协讯软件有限公司 | Workflow realization method and workflow system capable of customizing flow in user-defined manner |
CN102103505A (en) * | 2011-02-24 | 2011-06-22 | 杭州华三通信技术有限公司 | Method and equipment for generating workflow interface |
CN104731584A (en) * | 2015-02-26 | 2015-06-24 | 武汉爱科唯自动化科技有限公司 | Human-machine interface customizable configuration design method for open type numerical control system |
CN106296243A (en) * | 2015-05-22 | 2017-01-04 | 阿里巴巴集团控股有限公司 | Service implementation method and device |
CN107463392A (en) * | 2016-06-03 | 2017-12-12 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus for creating system configuration tasks |
CN107463391A (en) * | 2016-06-03 | 2017-12-12 | 阿里巴巴集团控股有限公司 | Task processing method, device and equipment |
CN106875152A (en) * | 2016-12-16 | 2017-06-20 | 新华三技术有限公司 | A kind of task creation method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110688216A (en) * | 2019-08-23 | 2020-01-14 | 北京浪潮数据技术有限公司 | Custom cloud plan task creation method and device |
CN110688216B (en) * | 2019-08-23 | 2022-06-17 | 北京浪潮数据技术有限公司 | Custom cloud plan task creation method and device |
CN110705239A (en) * | 2019-09-27 | 2020-01-17 | 支付宝(杭州)信息技术有限公司 | Credit contract template creating method and device |
CN110705239B (en) * | 2019-09-27 | 2023-08-11 | 支付宝(杭州)信息技术有限公司 | Credit contract template creation method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104077026B (en) | The method and apparatus of service page of the display for executing application | |
JP6936298B2 (en) | Methods and devices for controlling changes in the mouth shape of 3D virtual portraits | |
US20160372112A1 (en) | Managing Interactions between Users and Applications | |
CN104765857B (en) | The transform method and device of a kind of background picture | |
CN106601254A (en) | Information inputting method, information inputting device and calculation equipment | |
Barker | Guerilla engineers: The Internet and the politics of freedom in Indonesia | |
CN102263863A (en) | Process-integrated tree view control for interactive voice response design | |
CN107369462A (en) | E-book speech playing method, device and terminal device | |
CN109346083A (en) | A kind of intelligent sound exchange method and device, relevant device and storage medium | |
US20220223183A1 (en) | Video generation method and apparatus, electronic device, and computer readable medium | |
WO2018223532A1 (en) | Internet-based recording and broadcasting data recommendation method | |
CN106168895A (en) | Sound control method and intelligent terminal for intelligent terminal | |
CN108733472A (en) | A kind of task creation method and device | |
CN108472811A (en) | Robot personality setting method, device and robot | |
CN106020751B (en) | Display screen driving system and method using mobile device | |
CN112165647B (en) | Audio data processing method, device, equipment and storage medium | |
CN110036357A (en) | Control method, program and the device of user interface | |
KR102298306B1 (en) | System and Method for Web Control of Non-touch Screen by Using Random QR Code | |
CN112235605A (en) | Video processing system and video processing method | |
WO2022156468A1 (en) | Method and apparatus for processing model data, electronic device, and computer-readable medium | |
KR20210065629A (en) | Chatbot integration agent platform system and service method thereof | |
CN109995475A (en) | A kind of control method of intelligent terminal, device, storage medium and electronic equipment | |
CN109803012A (en) | A kind of picture dissemination method, storage medium and terminal device based on advertisement machine | |
CN107205229A (en) | Method and apparatus for being released news at wireless routing device end | |
CN109408757A (en) | Question and answer content share method, device, terminal device and computer 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 |