CN109324769B - Task processing method and device - Google Patents

Task processing method and device Download PDF

Info

Publication number
CN109324769B
CN109324769B CN201811160757.1A CN201811160757A CN109324769B CN 109324769 B CN109324769 B CN 109324769B CN 201811160757 A CN201811160757 A CN 201811160757A CN 109324769 B CN109324769 B CN 109324769B
Authority
CN
China
Prior art keywords
printing
task
target event
information
associated information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811160757.1A
Other languages
Chinese (zh)
Other versions
CN109324769A (en
Inventor
崔祺琪
谢焱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811160757.1A priority Critical patent/CN109324769B/en
Publication of CN109324769A publication Critical patent/CN109324769A/en
Application granted granted Critical
Publication of CN109324769B publication Critical patent/CN109324769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1288Remote printer device, e.g. being remote from client or server in client-server-printer device configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The disclosure relates to a task processing method and device. The method comprises the following steps: screening out a target event according to an information record in an application program, wherein the target event is an event corresponding to the content to be printed; acquiring the associated information of the target event and generating a printing task corresponding to the target event according to the associated information; and sending the printing task to printing equipment so that the printing equipment performs printing output according to the printing task. According to the technical scheme, the related files can be automatically printed according to the information records in the application program, so that the time of a user can be saved, and convenience is provided for the user.

Description

Task processing method and device
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a task processing method and apparatus.
Background
With the rapid development of the intelligent terminal technology, the functions of the intelligent terminal far exceed the single communication function. Taking a smart phone as an example, an existing smart phone has an independent operating system, so that a user can install various application programs provided by a third-party service provider, such as e-mail, note taking, reminding, chatting, ticket booking and the like, and the functions of the smart phone are expanded through the application programs.
Based on the current intelligent terminal technology, the functions of the intelligent mobile phone can almost cover all daily plans of the user, and the user can call and print related contents according to information records in the intelligent mobile phone when necessary. However, this requires the user to spend a special time for inquiring the information and personally print the inquired related information, and therefore, a certain time cost is required.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a task processing method and apparatus. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a task processing method, including:
screening out a target event according to an information record in an application program, wherein the target event is an event corresponding to the content to be printed;
acquiring the associated information of the target event and generating a printing task corresponding to the target event according to the associated information;
and sending the printing task to printing equipment so that the printing equipment performs printing output according to the printing task.
In one embodiment, the filtering out the target event according to the information record in the application program comprises:
acquiring an information record in an application program, and detecting whether the information record contains a keyword or a combination of the keywords;
confirming to screen the target event from the information record when the keyword or the combination of the keywords is detected;
wherein the keywords include one or more of time, place, task, print, quantity, and object.
In one embodiment, the acquiring the associated information of the target event and generating the print job corresponding to the target event according to the associated information includes:
extracting the associated information of the target event based on the information record, and/or acquiring the associated information of the target event retrieved by the server according to the information record;
and generating a printing task corresponding to the target event at a preset time point according to the associated information, wherein the printing task comprises the content to be printed.
In one embodiment, the task processing method further includes:
when the printing task is sent to the printing equipment, an additional processing instruction aiming at the printing file corresponding to the printing task is also sent to the printing equipment, so that the printing equipment processes the printing file according to the additional processing instruction.
In one embodiment, the task processing method further includes:
and receiving prompt information fed back by the printing equipment after the printing task is completed.
According to a second aspect of the embodiments of the present disclosure, there is provided a task processing device including:
the target screening module is used for screening a target event according to the information record in the application program, wherein the target event is an event corresponding to the content to be printed;
the task generation module is used for acquiring the associated information of the target event and generating a printing task corresponding to the target event according to the associated information;
and the printing output module is used for sending the printing task to printing equipment so that the printing equipment performs printing output according to the printing task.
In one embodiment, the target screening module comprises:
the keyword detection unit is used for acquiring information records in an application program and detecting whether the information records contain keywords or keyword combinations;
a target event screening unit, configured to confirm that the target event is screened from the information records when the keyword or the combination of the keywords is detected;
wherein the keywords include one or more of time, place, task, print, quantity, and object.
In one embodiment, the task generation module includes:
the information acquisition unit is used for extracting the associated information of the target event based on the information record and/or acquiring the associated information of the target event retrieved by the server according to the information record;
and the task generating unit is used for generating a printing task corresponding to the target event at a preset time point according to the associated information, wherein the printing task comprises the content to be printed.
In one embodiment, the task processing device further includes:
and the additional processing module is used for sending an additional processing instruction aiming at the printing file corresponding to the printing task to the printing equipment when the printing task is sent to the printing equipment, so that the printing equipment processes the printing file according to the additional processing instruction.
In one embodiment, the task processing device further includes:
and the message prompting module is used for receiving the prompting information fed back by the printing equipment after the printing task is completed.
According to a third aspect of the embodiments of the present disclosure, there is provided a task processing apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any of the embodiments of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method according to any one of the embodiments of the first aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a task processing method in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of target event screening in accordance with an exemplary embodiment;
FIG. 3 is a flowchart illustrating a print job generation method according to one exemplary embodiment;
FIG. 4 is a flowchart illustrating a task processing method according to an exemplary embodiment;
FIG. 5 is a flowchart illustrating a task processing method according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating a task processing device according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating a task processing device according to an exemplary embodiment;
FIG. 8 is a block diagram illustrating a task processing device according to an exemplary embodiment;
FIG. 9 is a block diagram illustrating a task processing device according to an exemplary embodiment;
FIG. 10 is a block diagram illustrating a task processing device according to an exemplary embodiment;
fig. 11 is a block diagram illustrating a structure of a task processing device according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The technical scheme provided by the embodiment of the disclosure relates to a terminal and a printing device, wherein the terminal can be a mobile phone, a tablet personal computer and other devices with a task processing function, and the printing device can be a vertical printer, a seat type printer and other devices with a printing function, which are not specifically limited by the disclosure. On the basis, the technical scheme further relates to a server, wherein the server can be a server providing a wired network or a wireless network and the like, and can establish communication connection between the terminal and the printing device so as to facilitate the terminal to synchronize the related task information to the printing device. Of course, the terminal and the printing device may also establish a communication connection in a bluetooth or data direct connection manner, which is not specifically limited in this disclosure.
Fig. 1 illustrates a flowchart of a task processing method provided by an embodiment of the present disclosure. As can be seen from fig. 1, the method is applicable to a terminal, and specifically includes the following steps S101 to S103:
in step S101, a target event corresponding to the content to be printed is screened out according to the information record in the application program.
In this embodiment, the application programs may include various application programs such as a mail, a reminder, a calendar, an alarm clock, a chat, a notepad, a memo, and a travel order, and the target event refers to a specific event corresponding to the content to be printed, which is obtained by analyzing and screening according to information records in each application program, for example, a conference of a certain subject is attended at a certain specific time and place, where the content to be printed includes data related to the conference of the subject.
In an example, a reminding application program is installed in the intelligent terminal, and the user adds an event of going to tokyo meeting in 4 months and 10 days into the application program and sets a day ahead to remind the event. The terminal reads the information records when accessing each application program, judges whether the event comprises the content to be printed according to the specific content in the information records when reading the relevant records of the event, namely whether the event is a target event, and screens the target event in a certain mode, such as a marking mode when confirming that the event is the target event.
In step S102, acquiring the associated information of the target event, and generating a print task corresponding to the target event according to the associated information;
in this embodiment, the related information of the target event refers to related content information that needs to be printed around the target event, for example, a local route map around a subject meeting at a certain place, meeting related data, and the like. It should be noted that: the related information of the target event and the content to be printed are in a corresponding relationship to some extent, that is, the content to be printed is determined based on the related information of the target event, but this embodiment is not limited thereto, and the two may also be in an inclusive relationship, for example, the former includes the latter.
For example, after confirming that an event of meeting with tokyo on the day of 4/10 is a target event, the terminal may automatically acquire related information related to the target event, such as a map of tokyo in japan, a routing map of a meeting place, local weather information, and the like. Furthermore, the terminal may also detect whether there is meeting material or meeting information related to the target event by accessing other application programs, such as email or chat, and add the associated information of the target event when detecting the related meeting material or meeting information. Based on this, after acquiring all the relevant information of the target event, the terminal generates a corresponding print job according to the information.
In step S103, the print job is transmitted to the printing apparatus, so that the printing apparatus performs print output according to the print job.
In this embodiment, the print job may include one or more files to be printed, and the format of these files may include, but is not limited to, the format of documents and pictures. When the printing task comprises a plurality of files to be printed, the terminal can send each file to be printed to the printing equipment according to a certain sequence. It should be noted that: when sending the print task to the printing device, the terminal needs to ensure the communication connection with the printing device, and the communication connection between the terminal and the printing device may be specifically established in a wired network, a wireless network, bluetooth, or a direct connection manner of a data line, which is not limited by the disclosure.
Illustratively, the print job generated by the terminal includes a map of tokyo, japan, a routing map of a meeting place, local weather information, and related meeting materials. The map of tokyo, japan and the routing map of the meeting place are in a picture format such as jpg format, and the local weather information and the relevant meeting material are in a document format such as PDF format. Based on this, when the terminal and the printing device are connected to the same local area network at the same time, the terminal can send the printing tasks to the printing device through the local area network according to the sequence of maps of tokyo, routing maps of meeting places, local weather information and relevant meeting materials, and the printing device can print and output the files to be printed in sequence according to the receiving sequence after receiving the files.
According to the technical scheme provided by the embodiment of the disclosure, the target event and the associated information thereof are acquired by accessing the information records in various application programs, and the printing task corresponding to the target event is generated according to the associated information of the target event, so that the printing equipment can perform printing output according to the received printing task. Based on the information, the terminal can automatically analyze the requirements of the user based on the read information record so as to control the printing equipment to print the related content in advance according to the requirements of the user, thus saving corresponding time for the user and providing certain convenience for the user.
A task processing method provided by an exemplary embodiment of the present disclosure is described in detail below with reference to the accompanying drawings.
In step S101, a target event corresponding to the content to be printed is screened out according to the information record in the application program.
In this exemplary embodiment, referring to fig. 2, the screening out the target event according to the information record in the application specifically includes the following steps:
in step S1011, an information record in the application program is obtained, and whether the information record contains a keyword or a combination of keywords is detected;
in step S1012, when a keyword or a combination of keywords is detected, it is confirmed that a target event is screened from the currently acquired information record.
The keywords may include one or more of time, place, task, print, quantity, and object. Specifically, a keyword database may be preset in the terminal, and the database may include different classification modules, such as a travel module in which relevant keywords such as time, place, and task that can be used for determining travel planning are stored, and a file module in which relevant keywords such as print, quantity, and object that can be used for determining printed files are stored. Of course, the keyword database may also be provided with other classification modules as needed, as long as the keyword database is helpful for realizing the screening of the target events, and the others are not specifically limited. Based on this, the target event is screened in the keyword extraction mode, so that the accuracy of the target event can be effectively improved.
In one embodiment, the intelligent terminal is provided with a reminding application program and an email application program, the user receives information of a 4-month 10-day meeting in Tokyo and accessory information related to the meeting through the email, and an event for reminding the user of the 4-month 10-day meeting in Tokyo in one day in advance is set in the reminding application program. Based on this, the terminal acquires information records in various application programs such as reminders and mails at a preset frequency per hour, compares the information records with keywords in different classification modules of a keyword database to detect whether keywords in the database exist in the information records, for example, the information records acquired from a reminder application are compared with the time, the place and the tasks in a keyword database trip module to detect keywords of 4 months and 10 days, tokyo, japan, and a meeting, and the information records acquired from a mail application are compared with the time, the place and the tasks in the keyword database trip module to detect keywords of 4 months and 10 days, tokyo, japan, and a meeting. When the terminal detects the keywords and the combination thereof, the terminal can confirm that the target event of the 4-month and 10-day going-to-Nissan Tokyo conference is screened from the current information record and marked.
In another embodiment, the intelligent terminal is installed with a travel application, and the user orders 10 months and 1 day to tickets and hotels in seoul of korea through the travel application. Based on the method, the terminal acquires information records in each application program such as a tour trip and the like at a preset frequency of every two hours, compares the information records with keywords in different classification modules of the keyword database to detect whether the keywords in the database exist in the information records, for example, the information records acquired from the tour trip application are compared with the time, the place and the task in the trip module of the keyword database, and the keywords of 10 months and 1 day, prore and hotels can be detected. When the terminal detects the keywords and the combination thereof, the terminal can confirm that the target event of 10 months and 1 day going to Korea Sell trip is screened from the current information record and marked.
In another embodiment, the intelligent terminal is provided with an application program of chatting software, and the user talks about the contents of five certificates and two-inch certificates needing to be printed, Japanese visa and the like in the chatting software. Based on the method, the terminal acquires information records in each application program such as chat software at a preset frequency every half hour, compares the information records with keywords in different classification modules of a keyword database to detect whether the keywords in the database exist in the information records, for example, the information records acquired from the chat software are compared with the printing, the number and the objects in a keyword database file module to detect the keywords of the printing, the five-inch, the two-inch, the certificate photo and the Japanese visa. When the terminal detects the keywords and the combination thereof, the terminal can confirm and mark the target events of the certificate photo printed with five sheets and two inches and the Japanese visa screened from the current information record.
In step S102, the related information of the target event is acquired, and a print job corresponding to the target event is generated based on the related information.
In this exemplary embodiment, referring to fig. 3, the acquiring the related information of the target event and generating the print job corresponding to the target event according to the related information specifically includes the following steps:
in step S1021, extracting the associated information of the target event based on the information record, and/or acquiring the associated information of the target event retrieved by the server according to the information record;
in step S1022, a print job corresponding to the target event is generated at a preset time point according to the association information, where the print job includes content to be printed.
The preset time point may be set by the user, or may also be default of the system, or may even be a combination of the two, for example, the default time point of the system is defined when the user does not set, and the default time point is defined when the user has set.
In an embodiment, based on the embodiment in which the terminal screens out the target event of the meeting in tokyo of the current day of 4 months and 10 days in the previous step, the terminal may further obtain, in the mail application program, accessory data related to the current meeting, and further obtain, through the server, a tokyo map of japan, a route map of a meeting place, weather information of tokyo of japan, and the like, which are related information of the target event. On the basis of the above-mentioned related information, the terminal can generate a print job corresponding to the target event according to the time preset by the user in the reminder application, that is, one day ahead, and the print job includes contents to be printed, such as a map of tokyo, japan, a route map of a meeting place, weather information of tokyo, japan, and meeting-related accessory materials. It should be noted that: since the user receives the email of the meeting notification, the terminal may detect the target event and the associated information thereof when acquiring the information records of each application, and in order to avoid repeated detection, this embodiment may record the preset time point of the target event while marking the target event, so as to process the target event and the associated information thereof when the preset time point, that is, 4 months and 9 days, arrives. If the terminal does not detect the preset time point set by the user, the terminal can refer to the meeting time, and if the target event does not include any time, the terminal can be regarded as executable.
In another embodiment, based on the embodiment in which the terminal screens out the target event for the trip of seoul in korea in 10 months and 1 days in the previous step, the terminal may further obtain a korea seoul map and a subway line map, a peripheral travel hotspot distribution map, a seoul food strategy and the like related to the trip through the server, and these data are the related information of the target event. On the basis, the terminal can take the time of the air ticket ordered by the user as a default preset time point one day in advance, and generates a printing task corresponding to the target event based on the associated information, wherein the printing task comprises contents to be printed, such as a Korea seoul map, a subway route map, a peripheral tourism hot spot distribution map, a seoul food strategy and the like.
In another embodiment, based on the embodiment that the terminal screens out the target event of printing the five two-inch certificate photo and the japanese visa in the previous step, the terminal may further obtain the certificate photo and the japanese visa photo in the chat software or obtain the certificate photo and the japanese visa photo from the album, and the chat record should also relate to information having the same name as the certificate photo and the japanese visa in the album, and these photos are the related information of the target event. On the basis, if the terminal does not detect the related information about the printing time, the terminal can process the printing as required, namely, a corresponding printing task is generated immediately based on the target event and the related information thereof, and the printing task comprises the certificate photo, the photo of the Japanese visa, the printing quantity, the printing specification and other contents required to be printed.
Based on the above description, referring to fig. 4, the task processing method provided in the embodiment of the present disclosure may further include the following steps:
in step S104, when the print job is transmitted to the printing apparatus, an additional processing instruction for the print file corresponding to the print job is also transmitted to the printing apparatus, so that the printing apparatus processes the print file according to the additional processing instruction.
The additional processing instruction refers to an instruction for further processing of the printed document, such as a cutting instruction when the printed document needs to be automatically cut, or a binding instruction when the printed document needs to be automatically bound. It should be noted here that implementation of the attachment processing instruction needs to depend on hardware of the printing apparatus, and for example, the printing apparatus needs to be configured with a cutting module corresponding to the cutting instruction or a binding module corresponding to the binding instruction, or the like.
For example, taking the case that automatic binding of the print files is required, when the terminal sends the print job to the printing device, the terminal may also send a binding instruction to the printing device at the same time, where the binding instruction instructs the printing device to automatically bind the print files after the print job is completed. Since the print job generated by the terminal is based on the target event and the related information thereof, the print job can be divided into a plurality of sub-jobs according to the difference of the relevance, i.e. the content. When the terminal sends the printing tasks to the printing device, the printing tasks are actually sent in the form of subtasks, so that the printing device can classify and bind the subtasks each time the printing device finishes one subtask. Of course, the above is only an exemplary description of the process of automatically binding the printed documents, and it is also possible to bind in other ways, which is not limited in this embodiment.
Further, referring to fig. 5, the task processing method provided in the embodiment of the present disclosure may further include:
in step S105, the prompt information fed back by the printing apparatus after the completion of the print job is received.
Therefore, the user can know whether the required materials are prepared and perfected in advance according to the received prompt information, and the user can arrange daily planning better.
Based on the above description, it can be seen that in the technical solution provided in the embodiment of the present disclosure, by accessing information records in various applications to obtain a target event and associated information thereof, and generating a print job corresponding to the target event according to the associated information of the target event, a printing device can perform print output according to the received print job. Based on the information, the terminal can automatically analyze the requirements of the user based on the read information record so as to control the printing equipment to print the related content in advance according to the requirements of the user, thus saving corresponding time for the user and providing certain convenience for the user.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 6 is a block diagram illustrating a task processing device according to an exemplary embodiment. As can be seen from fig. 6, the task processing apparatus includes a target filtering module 601, a task generating module 602, and a printout module 603. The target screening module 601 may be configured to screen out a target event according to an information record in an application, where the target event is an event corresponding to content to be printed; the task generating module 602 may be configured to obtain association information of a target event, and generate a print task corresponding to the target event according to the association information; the print output module 603 may be configured to send the print job to the printing device, so that the printing device performs print output according to the print job.
The task processing device provided in the embodiments of the present disclosure can be used to execute the task processing method, and the execution manner and the beneficial effects thereof are similar to those of the embodiments described above, and are not described again here.
In one embodiment, as shown in fig. 7, the target screening module 601 includes a keyword detection unit 6011 and a target event screening unit 6012. Specifically, the keyword detection unit 6011 may be configured to obtain an information record in an application, and detect whether the information record includes a keyword or a combination of keywords; the target event screening unit 6012 may be configured to, when a keyword or a combination of keywords is detected, confirm that a target event is screened from the information records; wherein the keywords include one or more of time, place, task, print, quantity, and object.
In one embodiment, as shown in fig. 8, the task generating module 602 includes an information obtaining unit 6021 and a task generating unit 6022. Specifically, the information obtaining unit 6021 may be configured to extract the associated information of the target event based on the information record, and/or obtain the associated information of the target event retrieved by the server according to the information record; the job generating unit 6022 may be configured to generate a print job corresponding to the target event at a preset time point according to the associated information, where the print job includes content to be printed.
In one embodiment, as shown in fig. 9, the task processing device 60 further includes an additional processing module 604, and when the print job is sent to the printing device, the additional processing module 604 is further configured to send an additional processing instruction for the print file corresponding to the print job to the printing device, so that the printing device processes the print file according to the additional processing instruction.
In one embodiment, as shown in fig. 10, the task processing device 60 further includes a message prompt module 605, and the message prompt module 605 is operable to receive prompt information fed back by the printing device after the printing task is completed.
According to the technical scheme provided by the embodiment of the disclosure, the target event and the associated information thereof are acquired by accessing the information records in various application programs, and the printing task corresponding to the target event is generated according to the associated information of the target event, so that the printing equipment can perform printing output according to the received printing task. Based on the information, the terminal can automatically analyze the requirements of the user based on the read information record so as to control the printing equipment to print the related content in advance according to the requirements of the user, thus saving corresponding time for the user and providing certain convenience for the user.
An embodiment of the present disclosure further provides a task processing device, where the task processing device includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
screening out a target event according to an information record in an application program, wherein the target event is an event corresponding to the content to be printed;
acquiring the associated information of the target event and generating a printing task corresponding to the target event according to the associated information;
and sending the printing task to printing equipment so that the printing equipment performs printing output according to the printing task.
In one embodiment, the processor may be further configured to:
acquiring an information record in an application program, and detecting whether the information record contains a keyword or a combination of the keywords;
confirming to screen the target event from the information record when the keyword or the combination of the keywords is detected;
wherein the keywords include one or more of time, place, task, print, quantity, and object.
In one embodiment, the processor may be further configured to:
extracting the associated information of the target event based on the information record, and/or acquiring the associated information of the target event retrieved by the server according to the information record;
and generating a printing task corresponding to the target event at a preset time point according to the associated information, wherein the printing task comprises the content to be printed.
In one embodiment, the processor may be further configured to:
when the printing task is sent to the printing equipment, an additional processing instruction aiming at the printing file corresponding to the printing task is also sent to the printing equipment, so that the printing equipment processes the printing file according to the additional processing instruction.
In one embodiment, the processor may be further configured to:
and receiving prompt information fed back by the printing equipment after the printing task is completed.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 11 is a block diagram showing a configuration of a task processing device according to an exemplary embodiment, and the device 10 is applied to a terminal apparatus. For example, the apparatus 10 may be a mobile phone, a computer, a tablet device, a medical device, a personal digital assistant, or the like.
The apparatus 10 may include one or more of the following components: processing components 102, memory 104, power components 106, multimedia components 108, audio components 110, input/output (I/O) interfaces 112, sensor components 114, and communication components 116.
The processing component 102 generally controls overall operation of the device 10, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 102 may include one or more processors 120 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the process component 102 can include one or more modules that facilitate interaction between the process component 102 and other components. For example, the processing component 102 can include a multimedia module to facilitate interaction between the multimedia component 108 and the processing component 102.
The memory 104 is configured to store various types of data to support operation at the apparatus 10. Examples of such data include instructions for any application or method operating on the device 10, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 104 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 106 provides power to the various components of the device 10. The power components 106 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 10.
The multimedia component 108 includes a screen that provides an output interface between the device 10 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 108 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 10 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 110 is configured to output and/or input audio signals. For example, audio component 110 includes a Microphone (MIC) configured to receive external audio signals when apparatus 10 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 104 or transmitted via the communication component 116. In some embodiments, the audio component 110 further comprises a speaker for outputting audio signals.
The I/O interface 112 provides an interface between the processing component 102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 114 includes one or more sensors for providing various aspects of status assessment for the device 10. For example, the sensor assembly 114 may detect an open/closed state of the device 10, the relative positioning of the components, such as a display and keypad of the device 10, the sensor assembly 114 may also detect a change in the position of the device 10 or a component of the device 10, the presence or absence of user contact with the device 10, orientation or acceleration/deceleration of the device 10, and a change in the temperature of the device 10. The sensor assembly 114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 116 is configured to facilitate wired or wireless communication between the apparatus 10 and other devices. The device 10 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 116 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 116 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 10 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 104 comprising instructions, executable by the processor 120 of the apparatus 10 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The disclosed embodiments provide a non-transitory computer-readable storage medium, in which instructions, when executed by a processor of a device 10, enable the device 10 to perform the above-mentioned task processing method, the method including:
screening out a target event according to an information record in an application program, wherein the target event is an event corresponding to the content to be printed;
acquiring the associated information of the target event and generating a printing task corresponding to the target event according to the associated information;
and sending the printing task to printing equipment so that the printing equipment performs printing output according to the printing task.
In one embodiment, the filtering out the target event according to the information record in the application program comprises:
acquiring an information record in an application program, and detecting whether the information record contains a keyword or a combination of the keywords;
confirming to screen the target event from the information record when the keyword or the combination of the keywords is detected;
wherein the keywords include one or more of time, place, task, print, quantity, and object.
In one embodiment, the acquiring the associated information of the target event and generating the print job corresponding to the target event according to the associated information includes:
extracting the associated information of the target event based on the information record, and/or acquiring the associated information of the target event retrieved by the server according to the information record;
and generating a printing task corresponding to the target event at a preset time point according to the associated information, wherein the printing task comprises the content to be printed.
In one embodiment, the task processing method further includes:
when the printing task is sent to the printing equipment, an additional processing instruction aiming at the printing file corresponding to the printing task is also sent to the printing equipment, so that the printing equipment processes the printing file according to the additional processing instruction.
In one embodiment, the task processing method further includes:
and receiving prompt information fed back by the printing equipment after the printing task is completed.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A task processing method, comprising:
screening out a target event according to an information record in an application program, wherein the target event is an event corresponding to the content to be printed;
acquiring the associated information of the target event and generating a printing task corresponding to the target event according to the associated information; the related information of the target event refers to related content information which needs to be printed by taking the target event as a center;
sending the printing task to printing equipment so that the printing equipment performs printing output according to the printing task;
the screening of the target event according to the information record in the application program comprises the following steps:
acquiring an information record in an application program, and detecting whether the information record contains a keyword or a combination of the keywords;
and confirming to screen the target event from the information record when the keyword or the combination of the keywords is detected.
2. The task processing method according to claim 1, wherein the keyword includes one or more of time, place, task, print, number, and object.
3. The task processing method according to claim 1, wherein the acquiring of the associated information of the target event and the generating of the print task corresponding to the target event according to the associated information includes:
extracting the associated information of the target event based on the information record, and/or acquiring the associated information of the target event retrieved by the server according to the information record;
and generating a printing task corresponding to the target event at a preset time point according to the associated information, wherein the printing task comprises the content to be printed.
4. The task processing method according to claim 1, further comprising:
when the printing task is sent to the printing equipment, an additional processing instruction aiming at the printing file corresponding to the printing task is also sent to the printing equipment, so that the printing equipment processes the printing file according to the additional processing instruction.
5. The task processing method according to claim 1, further comprising:
and receiving prompt information fed back by the printing equipment after the printing task is completed.
6. A task processing apparatus, comprising:
the target screening module is used for screening a target event according to the information record in the application program, wherein the target event is an event corresponding to the content to be printed;
the task generation module is used for acquiring the associated information of the target event and generating a printing task corresponding to the target event according to the associated information; the related information of the target event refers to related content information which needs to be printed by taking the target event as a center;
the printing output module is used for sending the printing task to printing equipment so that the printing equipment performs printing output according to the printing task;
the target screening module comprises:
the keyword detection unit is used for acquiring information records in an application program and detecting whether the information records contain keywords or keyword combinations;
and the target event screening unit is used for confirming that the target event is screened from the information records when the keyword or the combination of the keywords is detected.
7. The task processing apparatus according to claim 6, wherein the keyword includes one or more of time, place, task, print, number, and object.
8. The task processing apparatus according to claim 6, wherein the task generation module includes:
the information acquisition unit is used for extracting the associated information of the target event based on the information record and/or acquiring the associated information of the target event retrieved by the server according to the information record;
and the task generating unit is used for generating a printing task corresponding to the target event at a preset time point according to the associated information, wherein the printing task comprises the content to be printed.
9. The task processing device according to claim 6, further comprising:
and the additional processing module is used for sending an additional processing instruction aiming at the printing file corresponding to the printing task to the printing equipment when the printing task is sent to the printing equipment, so that the printing equipment processes the printing file according to the additional processing instruction.
10. The task processing device according to claim 6, further comprising:
and the message prompting module is used for receiving the prompting information fed back by the printing equipment after the printing task is completed.
11. A task processing apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any one of claims 1-5.
12. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 5.
CN201811160757.1A 2018-09-30 2018-09-30 Task processing method and device Active CN109324769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811160757.1A CN109324769B (en) 2018-09-30 2018-09-30 Task processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811160757.1A CN109324769B (en) 2018-09-30 2018-09-30 Task processing method and device

Publications (2)

Publication Number Publication Date
CN109324769A CN109324769A (en) 2019-02-12
CN109324769B true CN109324769B (en) 2022-02-15

Family

ID=65266700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811160757.1A Active CN109324769B (en) 2018-09-30 2018-09-30 Task processing method and device

Country Status (1)

Country Link
CN (1) CN109324769B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209061B (en) * 2019-05-28 2022-08-09 九阳股份有限公司 Event reporting processing method in intelligent control system and central control device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574995A (en) * 2003-05-21 2005-02-02 日本电气株式会社 Cellular phone, print system, and print method therefor
CN103986836A (en) * 2014-05-28 2014-08-13 小米科技有限责任公司 Calendar reminding method and device
CN104199837A (en) * 2014-08-04 2014-12-10 联想(北京)有限公司 Information output method and electronic equipment
CN104954580A (en) * 2015-06-30 2015-09-30 小米科技有限责任公司 User agenda information processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2377149A (en) * 2001-06-30 2002-12-31 Hewlett Packard Co Electronic reminders

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574995A (en) * 2003-05-21 2005-02-02 日本电气株式会社 Cellular phone, print system, and print method therefor
CN103986836A (en) * 2014-05-28 2014-08-13 小米科技有限责任公司 Calendar reminding method and device
CN104199837A (en) * 2014-08-04 2014-12-10 联想(北京)有限公司 Information output method and electronic equipment
CN104954580A (en) * 2015-06-30 2015-09-30 小米科技有限责任公司 User agenda information processing method and device

Also Published As

Publication number Publication date
CN109324769A (en) 2019-02-12

Similar Documents

Publication Publication Date Title
US9128939B2 (en) Automatic file naming on a mobile device
CN104346099A (en) Mobile terminal and controlling method thereof
CN104937633B (en) Content sharing method and device
CA2665886C (en) System and method for automatically drafting a blog entry
AU2006222713A1 (en) Electronic conference system, electronic conference controller, information terminal device, and electronic conference support method
KR20160063913A (en) System and method for providing to-do-list of user
CN104240068A (en) Method and device for creating reminding event
US10846804B2 (en) Electronic business card exchange system and method using mobile terminal
WO2022257599A1 (en) Email management method and electronic device
US9411876B2 (en) Methods and devices for storing content based on classification options
JP2010287145A (en) Work recording support system, and work recording support method and program
CN104750357A (en) Memo information processing method and device
KR20160091780A (en) Mobile terminal and method for controlling the same
CN110085066B (en) Method and device for displaying reading information and electronic equipment
CN109324769B (en) Task processing method and device
US20160379172A1 (en) Method and device for creating event reminder
CN102594801B (en) Method and system for managing media objects in mobile communication devices
US11303718B2 (en) Method and device to manage temporary content on a mobile device
CN102739850B (en) The information cuing method of detachable element and electronic apparatus thereof
CA2757610C (en) Automatic file naming on a mobile device
KR20150051655A (en) Electronic device and control method thereof
WO2017004346A1 (en) Information display method and device
CN114281489A (en) Multi-service execution method and electronic equipment
US9651976B2 (en) System and method for offline and online substation switching
CN111459688B (en) Information processing method, device and 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
GR01 Patent grant
GR01 Patent grant