CN115129456A - Task creation method, device, equipment, storage medium and computer program product - Google Patents

Task creation method, device, equipment, storage medium and computer program product Download PDF

Info

Publication number
CN115129456A
CN115129456A CN202210873173.9A CN202210873173A CN115129456A CN 115129456 A CN115129456 A CN 115129456A CN 202210873173 A CN202210873173 A CN 202210873173A CN 115129456 A CN115129456 A CN 115129456A
Authority
CN
China
Prior art keywords
message
task
instant messaging
type
instant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210873173.9A
Other languages
Chinese (zh)
Inventor
刘硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210873173.9A priority Critical patent/CN115129456A/en
Publication of CN115129456A publication Critical patent/CN115129456A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • G06F9/4887Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues involving deadlines, e.g. rate based, periodic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Abstract

The present disclosure relates to a task creation method, apparatus, electronic device, storage medium, and computer program product. The method comprises the following steps: responding to a message sending request of an instant messaging client, and acquiring an instant messaging message sent by the instant messaging client aiming at a message receiver; sending the instant communication message to the message receiver, and determining the message type of the instant communication message; and if the message type is the task type, creating a corresponding task according to the task attribute information carried by the instant messaging message. According to the scheme, in the instant messaging process, if the chat content relates to task creation, a user does not need to start a related task management application, the task creation can be quickly and conveniently triggered by sending the instant messaging message of the task type to the message receiver, and the task creation efficiency is improved while the normal information interaction is ensured.

Description

Task creation method, device, equipment, storage medium and computer program product
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a task creation method, an apparatus, an electronic device, a storage medium, and a computer program product.
Background
With the development of computer technology, clients that create and push tasks to be done to related people have become increasingly popular. In the related art, a corresponding application through which a user can create or view a task may be developed for task management. However, in this method, each time a user creates an application, the user needs to start a corresponding task management application before the task is created, which is a tedious process and causes a problem of low task creation efficiency.
Disclosure of Invention
The present disclosure provides a task creation method, apparatus, electronic device, storage medium, and computer program product to at least solve the problem of inefficient task creation in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a task creating method, including:
responding to a message sending request of an instant messaging client, and acquiring an instant messaging message sent by the instant messaging client aiming at a message receiver;
sending the instant communication message to the message receiver, and determining the message type of the instant communication message;
and if the message type is the task type, creating a corresponding task according to the task attribute information carried by the instant messaging message.
In one embodiment, the determining the message type of the instant communication message includes:
storing the instant communication message to a preset message queue;
and under the condition that a preset trigger condition is met, triggering the task creating service to read the message type of the instant messaging message in the message queue.
In one embodiment, if the message type is a task type, creating a corresponding task according to task attribute information carried in the instant messaging message includes:
and if the message type is the task type, reading task attribute information carried by the instant messaging message of the task type through the task creating service, and creating a corresponding task according to the task attribute information.
In one embodiment, after the creating the corresponding task according to the task attribute information carried in the instant messaging message, the method further includes:
sending a task adding request aiming at the task to a task management server, and triggering the task management server to store the task to a database corresponding to the task management server;
the task management server is used for acquiring the task from the database and returning the task to the task management client under the condition of receiving a query request of the task management client for the task.
According to a second aspect of the embodiments of the present disclosure, there is provided a task creation method, including:
acquiring an instant communication message to be sent aiming at a message receiver;
sending a message sending request aiming at the instant communication message to an instant communication message server; the message sending request is used for triggering the instant messaging message server to send the instant messaging message to the message receiver, and indicating the instant messaging server to establish a corresponding task according to task attribute information carried by the instant messaging message under the condition that the message type of the instant messaging message is determined to be a task type.
In one embodiment, the obtaining an instant messaging message to be sent for a message receiver includes:
determining a message type of an instant messaging message to be generated for a message receiver in response to a trigger event for generating the instant messaging message;
if the message type of the instant communication message to be generated is the task type, displaying a task creation form;
and acquiring task attribute information filled in aiming at the task creation form, and generating an instant messaging message aiming at the message receiver according to the task attribute information.
According to a third aspect of the embodiments of the present disclosure, there is provided a task creating apparatus including:
the request receiving unit is configured to execute a message sending request responding to an instant communication client and acquire an instant communication message sent by the instant communication client aiming at a message receiver;
a message type determining unit configured to perform sending the instant communication message to the message recipient and determine a message type of the instant communication message;
and the task creating unit is configured to execute the task corresponding to the task attribute information carried by the instant messaging message if the message type is the task type.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a task creating apparatus including:
the message acquisition unit is configured to acquire the instant communication message to be sent aiming at the message receiver;
a request sending unit configured to execute sending a message sending request for the instant communication message to an instant communication message server; the message sending request is used for triggering the instant messaging message server to send the instant messaging message to the message receiver and indicating the instant messaging server to create a corresponding task according to task attribute information carried by the instant messaging message under the condition that the message type of the instant messaging message is determined to be a task type.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of any of the above.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of the above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the task creating method, the device, the equipment, the storage medium and the computer program product, the instant communication server responds to the message sending request of the instant communication client, can acquire the instant communication message sent by the instant communication client aiming at the message receiver, sends the instant communication message to the message receiver, determines the message type of the instant communication message, and creates the corresponding task according to the task attribute information carried by the instant communication message if the message type is the task type. According to the scheme, in the instant messaging process, if the chat content relates to task creation, a user does not need to start a related task management application, the task creation can be quickly and conveniently triggered by sending the instant messaging message of the task type to the message receiver, and the task creation efficiency is improved while the normal information interaction is ensured.
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 and are not to be construed as limiting the disclosure.
FIG. 1 is a diagram of an application environment illustrating a method of task creation, according to an example embodiment.
FIG. 2 is a flowchart illustrating a method of task creation in accordance with an exemplary embodiment.
Fig. 3 is a flowchart illustrating steps for determining a message type in accordance with an exemplary embodiment.
FIG. 4 is a flow diagram illustrating another task creation method in accordance with an illustrative embodiment.
FIG. 5 is a flowchart illustrating another task creation method in accordance with an illustrative embodiment.
FIG. 6 is a block diagram illustrating a task creation device in accordance with an exemplary embodiment.
Fig. 7 is a block diagram illustrating another task creation device according to an example embodiment.
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 9 is a block diagram illustrating another electronic device in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below do not 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.
It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are both information and data that are authorized by the user or sufficiently authorized by various parties.
The task creating method provided by the present disclosure may be applied to an application environment shown in fig. 1, where the application environment may include an Instant Messaging (IM) client and an Instant Messaging server, the IM server may communicate with the IM server through a network, the IM client and the IM server may form a real-time communication system, and a plurality of IM clients may implement real-time information transfer through the IM server, for example, send text information, video, pictures, or audio, and also perform video call and voice call.
In an exemplary embodiment of the present disclosure, an instant messaging client may send an instant messaging message to a message recipient, and in the process of sending the instant messaging message to the message recipient, the instant messaging client may send a message sending request to an instant messaging server, and in response to the message sending request from the instant messaging client, the instant messaging server may obtain the instant messaging message carried by the message sending request, and then may send the instant messaging message to the message recipient, and determine a message type of the instant messaging message; if the message type of the instant messaging message is the task type, the instant messaging server can create a corresponding task according to task attribute information carried by the instant messaging message.
The instant messaging client can be deployed on the terminal, the terminal can be but is not limited to various personal computers, notebook computers, smart phones, tablet computers, internet of things equipment and portable wearable equipment, and the internet of things equipment can be smart sound boxes, smart televisions, smart vehicle-mounted equipment and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The instant messaging server can be realized by an independent server or a server cluster consisting of a plurality of servers; the instant messaging service end can be provided with a corresponding data storage system, the data storage system can store data to be processed by the server, and in practical application, the data storage system can be integrated on the instant messaging service end and can also be placed on a cloud or other network servers.
Fig. 2 is a flowchart illustrating a task creation method, as shown in fig. 2, for use in the instant messaging service of fig. 1 according to an exemplary embodiment, including the following steps.
In step S210, in response to the message sending request of the instant messaging client, the instant messaging message sent by the instant messaging client for the message recipient is obtained.
In a specific implementation, the instant messaging client may send a corresponding instant messaging message to a message recipient, where the message recipient may be another instant messaging client. In the process of sending the instant messaging message to the message receiver, the instant messaging client can obtain the instant messaging message to be sent and send the instant messaging message and the message sending request to the instant messaging server.
After receiving the message sending request from the instant messaging client, the instant messaging service end can correspondingly obtain the instant messaging message sent by the instant messaging client for the message receiver, for example, the instant messaging client can add the instant messaging message for the message receiver into the message sending request and send the message to the instant messaging service end together, and the instant messaging service end is triggered to read the corresponding instant messaging message from the message sending request.
In step S220, an instant communication message is transmitted to the message recipient, and a message type of the instant communication message is determined.
As an example, the message types of an instant communication message may include at least two of: text information, picture information, video type, voice type, document type, communication request type, task type.
In a specific implementation, the instant messaging message has high message type expansibility, in other words, when the instant messaging clients interact with each other, the instant messaging messages of one or more different message types can be sent.
In this step, after obtaining the instant messaging message from the instant messaging client, the instant messaging server may send the instant messaging message to the message recipient, and further determine the message type of the instant messaging message. In an example, the message sending request may carry a message type identifier of the instant messaging message, and the instant messaging service end may determine the message type of the instant messaging message by reading the message type identifier.
In step S230, if the message type is a task type, a corresponding task is created according to task attribute information carried in the instant messaging message.
As an example, a task may be a work task, such as a transaction that requires participation in processing by a specified object; the person handling the task may be the same object as the message recipient or may be a different object.
After the message type of the instant messaging message is determined, if the message type is the task type, the server side can create a task corresponding to the task attribute information according to the task attribute information carried by the instant messaging message.
In other words, in this embodiment, on one hand, in the process of communicating with other users by using the instant messaging client, if the chat content relates to a related task and the related task is to be created and the related message is notified to the message receiver, the user does not need to quit the instant messaging client and start an application dedicated to creating the task to create the task, but can use the instant messaging client and the instant messaging server to quickly and conveniently trigger task creation in the manner of instant messaging messages, thereby improving task creation efficiency; on the other hand, the instant messaging message of the task type can be correspondingly displayed to the message receiver, the task creation and the data interaction with the message receiver are considered, and the chat does not need to be interrupted.
In the task creating method, the instant messaging service end responds to a message sending request of the instant messaging client, can acquire the instant messaging message sent by the instant messaging client aiming at a message receiver, sends the instant messaging message to the message receiver, determines the message type of the instant messaging message, and creates a corresponding task according to task attribute information carried by the instant messaging message if the message type is the task type. According to the scheme, in the instant messaging process, if the chat content relates to task creation, a user does not need to start a related task management application, the task creation can be quickly and conveniently triggered by sending the instant messaging message of the task type to the message receiver, and the task creation efficiency is improved while the normal information interaction is ensured.
In an exemplary embodiment, as shown in fig. 3, determining the message type of the instant communication message in step S220 may include the following steps:
in step S310, the instant communication message is stored in a preset message queue.
In a specific implementation, after the instant messaging message is obtained, the instant messaging service end may store the obtained instant messaging message in a message queue, and each instant message in the message queue may be read by one or more service parties and further processed.
In step S320, in case that a preset trigger condition is satisfied, the task creation service is triggered to read the message type of the instant messaging message in the message queue.
As an example, the task creation service may be a background application for creating a service, and the task creation service may be deployed on an instant messaging server, or may be deployed on a cloud or other network server.
Specifically, after storing the instant messaging message in the message queue, the instant messaging server may satisfy whether a preset trigger condition is currently satisfied, for example, whether the current time satisfies a preset time period, whether the number of the instant messaging messages stored in the message queue reaches a preset number, or whether a newly added instant messaging message exists in the message queue, and of course, a person skilled in the art may set other trigger conditions.
Under the condition that the preset triggering condition is met, the instant messaging service end can trigger the task creating service to read the message type of the instant messaging message in the message queue, and after the task creating service is triggered, the message type of the instant messaging message in the message queue can be analyzed. In one example, a message structure for an instant messaging message may be as follows:
Message{
int64 from _ uid// sender identification
Int64 to uid// recipient identification (e.g., group identification or identification of a given account number)
Int64 msg _ type// message type
Byte content// message specific content
Int64 time// sending time
}
After the instant message is acquired, the message type of the instant message can be determined by reading "Int 64 msg _ type" therein.
In this embodiment, the instant messaging messages may be stored in a preset message queue, and when a preset trigger condition is met, the trigger task creation service reads the message types of the instant messaging messages in the message queue, sequentially processes the instant messaging messages in the message queue in order, and creates tasks.
In an exemplary embodiment, in step S230, if the message type is a task type, creating a corresponding task according to task attribute information carried in the instant messaging message may include:
and if the message type is the task type, reading task attribute information carried by the instant communication message of the task type through a task creating service, and creating a corresponding task according to the task attribute information.
As an example, the task attribute information may be information describing a task, and the task attribute information may include at least one of: the task management system comprises a task name, task content, a task creator identifier, an object identifier corresponding to an object for executing the task, task priority, expected task completion time and task creation time.
Specifically, if the task creating service determines that the message type of the instant messaging message read currently is the task type, the task creating service may continue to analyze the instant messaging message through the task creating service to obtain task attribute information carried by the instant messaging message of the current task type, and then the task may be created according to the task attribute information. If the message type of the instant messaging message read by the task creation service degree is not the task type, the message can be ignored, and the next instant messaging message in the message queue is continuously acquired.
In this embodiment, if the message type is the task type, the instant messaging server may create a corresponding task through the task creation service, associate the instant messaging server with the task creation service through the instant messaging message, and implement data interfacing between the instant messaging message and the task, thereby improving task creation efficiency while avoiding a large adjustment of background data processing logic.
In an exemplary embodiment, after step S230, the method may further include the steps of:
and sending a task adding request aiming at the task to the task management server, and triggering the task management server to store the task to a database corresponding to the task management server.
The task management server is used for acquiring the task from the database and returning the task to the task management client under the condition of receiving a query request of the task management client for the task. The task management server can perform unified management on the tasks, and the task management client can be an application developed aiming at task management and can be specially used for task creation, task processing progress checking, task ending and the like.
In practical application, after the instant messaging service end creates a corresponding task for an instant messaging message, the instant messaging service end can send a task adding request for the currently created task to the task management service end, and send the created task to the task management service end, so that the task management service end is triggered to add the task to a database corresponding to the task management service end, and unified management is performed. In an example, if the instant messaging service side performs task creation by calling the task creation service, the instant messaging service side may further instruct the task creation service to send a task addition request to the task management service side after the task is created.
After the task management server acquires the newly added task and synchronizes the newly added task to the database, the user can check the task through the task management client, for example, if the task management client is a web client, the user can query through a browser webpage. Specifically, the task management client may send a query request for the task to the task management server, and after receiving the query request, the task management server may query the corresponding task in the database according to the query request, and return the queried task to the task management client.
In this embodiment, a task addition request for a task may be sent to the task management server, the task management server is triggered to store the task in a database corresponding to the task management server, when the task management client performs an inquiry, the task management server may return the relevant task in time, and the task created by the instant messaging server may be synchronized to the task management server in time, so as to implement the docking and closing of task management data.
Fig. 4 is a flowchart illustrating another task creation method, as shown in fig. 2, for use in the instant messaging service of fig. 1 according to an exemplary embodiment, including the following steps.
In step S410, an instant communication message to be sent for a message recipient is acquired.
In a specific implementation, the instant messaging client may send a corresponding instant messaging message to the message recipient. In the process of sending the instant messaging message to the message receiver, the user can execute message input operation on the instant messaging client, and the instant messaging client responds to the detected operation and can acquire the instant messaging message to be sent for the message receiver. For example, a user may input related content in a chat interface for a message recipient, and in response to the currently acquired input content, the instant messaging client may acquire an instant messaging message for the message recipient.
In step S420, a message transmission request for the instant messaging message is transmitted to the instant messaging service end.
The message sending request is used for triggering the instant messaging message server to send the instant messaging message to the message receiver and indicating the instant messaging server to establish a corresponding task according to task attribute information carried by the instant messaging message under the condition that the message type of the instant messaging message is determined to be the task type.
After the instant messaging message for the message receiver is obtained, the instant messaging client can generate a message sending request for the instant messaging message and send the message sending request to the instant messaging server.
After receiving the message sending request from the instant messaging client, the instant messaging service end can correspondingly obtain the instant messaging message sent by the instant messaging client for the message receiver, for example, the instant messaging client can add the instant messaging message for the message receiver into the message sending request and send the message to the instant messaging service end together, and the instant messaging service end is triggered to read the corresponding instant messaging message from the message sending request.
Further, the instant messaging client can send the instant messaging message to the message recipient and further determine the message type of the instant messaging message. If the message type is the task type, the server side can create a task corresponding to the task attribute information according to the task attribute information carried by the instant messaging message.
In the task creating method, the instant messaging client can obtain the instant messaging message to be sent aiming at the message receiver and send a message sending request aiming at the instant messaging message to the instant messaging message server, so that the instant messaging message server is triggered to send the instant messaging message to the message receiver through the message sending request, and the instant messaging server is indicated to create the corresponding task according to the task attribute information carried by the instant messaging message under the condition that the message type of the instant messaging message is determined to be the task type. In the scheme disclosed by the invention, in the instant messaging process, if the chat content relates to task creation, a user does not need to start a related task management application, the task creation can be quickly and conveniently triggered by sending the instant messaging message of the task type to a message receiver, and the task creation efficiency is improved while the normal information interaction is ensured.
In an exemplary embodiment, in step S410, acquiring an instant messaging message to be sent for a message receiver includes:
in step S411, in response to a trigger event for generating an instant communication message, a message type of the instant communication message to be generated for the message recipient is determined.
In a specific implementation, the instant messaging client may determine whether a trigger event for generating an instant messaging message is detected, for example, whether a trigger operation for a text input box is detected, or may determine whether a selection operation for a message type is detected, for example, options of multiple message types may be displayed in a dialog interface, and a user may input a specific message content after selecting a certain message type.
In response to detecting a trigger event for generating an instant messaging message, the instant messaging client may determine a message type of the instant messaging message to be generated for a message recipient, for example, if a trigger operation for a text input box is detected, the message type of the instant messaging message to be generated may be determined to be a text type, and if a selection operation of a user for a message type in the dialog interface is detected, the message type of the instant messaging message to be generated may be obtained according to the selected message type.
In step S412, if the message type of the instant messaging message to be generated is the task type, a task creation form is displayed.
If the message type of the instant messaging message to be generated is determined to be the task type, the instant messaging client can display a task creation form, and the task creation form can comprise one or more pieces of task attribute information to be filled.
In step S413, task attribute information filled in for the task creation form is acquired, and an instant communication message for the message recipient is generated according to the task attribute information.
After the task creating form is displayed, the user can fill task attribute information corresponding to the task in the task creating form, and the instant messaging client responds to input operation, can acquire the task attribute information filled by the user aiming at the task creating form, and can further generate an instant messaging message aiming at a message receiver according to the task attribute information.
In this embodiment, if the message type of the instant messaging message to be generated is the task type, the instant messaging client may provide a task creation form for the user to fill in, so as to quickly generate the instant messaging message that can be used to trigger task creation in the chat process.
In order to enable those skilled in the art to better understand the above steps, the embodiments of the present disclosure are illustrated below by way of an example, but it should be understood that the embodiments of the present disclosure are not limited thereto.
As shown in fig. 5, an instant messaging client may send an instant messaging message and specify a message type. In practical applications, the data structure of the instant messaging message may support the service party to customize the message type, for example, the service party may use the customized type and ensure that the type does not conflict with other types, and at the same time, customize the specific format of the message. If the message type is the task type, the instant messaging client can pop up a corresponding task creating form, and a user can fill task attribute information such as task names, appointers, priorities, expected completion time and the like in the task creating form. And after finishing filling, clicking to send, and then the instant messaging client can call the instant messaging server interface to send the instant messaging message. In an example, the instant messaging client may define the message content of the task type message by:
TeamTask{
string task _ name// task name
String task _ content// task content
Int64 creator _ uid// creator id
Int64 assign _ uid// specifies executive id
Int32 priority// priority
Int64 expected _ finish _ time// predicted completion time
Int64 time// creation time
}
After receiving the instant messaging message, the instant messaging service end can synchronize the instant messaging message to a database of the instant messaging service end and send the message to a corresponding message receiving party, and then the instant messaging service end can send the instant messaging message to a message queue to be provided for a consumer at a service side to consume.
Specifically, the task creation service may analyze whether a new instant messaging message in the message queue is a task type message, if not, the message may be ignored, and if so, a corresponding task may be created according to task attribute information carried in the message, and a related interface of the task management service end is called to store the newly created task in a database of the task management service end. When receiving a query request of the task management client, the task management server can query the content in the database, and return the corresponding task to the task management client for display.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
It is understood that the same/similar parts among the various embodiments of the method described above in this specification can be referred to each other, and each embodiment focuses on the differences from the other embodiments, and where relevant, reference may be made to the description of the other method embodiments.
Based on the same inventive concept, the embodiment of the present disclosure further provides a task creating device for implementing the above related task creating method.
FIG. 6 is a block diagram illustrating a task creation device in accordance with an exemplary embodiment. Referring to fig. 6, the apparatus includes a request receiving unit 601, a message type determining unit 602, and a task creating unit 603.
A request receiving unit 601 configured to execute a message sending request in response to an instant messaging client, and acquire an instant messaging message sent by the instant messaging client for a message recipient;
a message type determining unit 602 configured to perform sending the instant communication message to the message recipient and determine a message type of the instant communication message;
a task creating unit 603 configured to execute, if the message type is a task type, creating a corresponding task according to task attribute information carried in the instant messaging message.
In an exemplary embodiment, the message type determining unit 602 is configured to perform:
storing the instant communication message to a preset message queue;
and under the condition that a preset trigger condition is met, triggering the task creating service to read the message type of the instant messaging message in the message queue.
In an exemplary embodiment, the message type determining unit 602 is configured to perform:
and if the message type is the task type, reading task attribute information carried by the instant messaging message of the task type through the task creating service, and creating a corresponding task according to the task attribute information.
In an exemplary embodiment, the apparatus further comprises:
the task adding unit is configured to execute sending of a task adding request aiming at the task to a task management server, and trigger the task management server to store the task to a database corresponding to the task management server;
the task management server is used for acquiring the task from the database and returning the task to the task management client under the condition of receiving a query request of the task management client for the task.
FIG. 7 is a block diagram illustrating another task creation device, according to an example embodiment. Referring to fig. 7, the apparatus includes a message acquisition unit 701 and a request transmission unit 702.
A message obtaining unit 701 configured to perform obtaining an instant messaging message to be sent for a message receiver;
a request sending unit 702 configured to execute sending a message sending request for the instant messaging message to an instant messaging message server; the message sending request is used for triggering the instant messaging message server to send the instant messaging message to the message receiver, and indicating the instant messaging server to establish a corresponding task according to task attribute information carried by the instant messaging message under the condition that the message type of the instant messaging message is determined to be a task type.
In an exemplary embodiment, the message obtaining unit 701 is configured to perform:
determining a message type of an instant messaging message to be generated for a message receiver in response to a trigger event for generating the instant messaging message;
if the message type of the instant communication message to be generated is a task type, displaying a task creation form;
and acquiring task attribute information filled in aiming at the task creation form, and generating an instant messaging message aiming at the message receiver according to the task attribute information.
With regard to the apparatus in the above 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 described in detail here.
The respective modules in the task creating apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
FIG. 8 is a block diagram illustrating an electronic device 800 for implementing a task creation method in accordance with an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so forth.
Referring to fig. 8, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile storage 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 disk, optical disk, or graphene memory.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen providing an output interface between the electronic device 800 and a 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 808 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 electronic device 800 is in an operation 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 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive an external audio signal when the electronic device 800 is in an operational 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 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 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 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or components of the electronic device 800, the presence or absence of user contact with the electronic device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 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 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 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 electronic device 800 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 computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. For example, the 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.
In an exemplary embodiment, a computer program product is also provided that includes instructions executable by the processor 820 of the electronic device 800 to perform the above-described method.
FIG. 9 is a block diagram illustrating an electronic device 900 for implementing a task creation method in accordance with an exemplary embodiment. For example, electronic device 900 may be a server. Referring to fig. 9, electronic device 900 includes a processing component 920 that further includes one or more processors and memory resources, represented by memory 922, for storing instructions, such as applications, that are executable by processing component 920. The application programs stored in memory 922 may include one or more modules that each correspond to a set of instructions. Further, the processing component 920 is configured to execute instructions to perform the above-described methods.
The electronic device 900 may further include: the power component 924 is configured to perform power management of the electronic device 900, the wired or wireless network interface 926 is configured to connect the electronic device 900 to a network, and the input-output (I/O) interface 928. The electronic device 900 may operate based on an operating system stored in memory 922, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, or the like.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as the memory 922 comprising instructions, executable by a processor of the electronic device 900 to perform the above-described method is also provided. The storage medium may be a computer-readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided that includes instructions executable by a processor of the electronic device 900 to perform the above-described method.
It should be noted that the descriptions of the above-mentioned apparatus, the electronic device, the computer-readable storage medium, the computer program product, and the like according to the method embodiments may also include other embodiments, and specific implementations may refer to the descriptions of the related method embodiments, which are not described in detail herein.
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 disclosure 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 (10)

1. A task creation method, comprising:
responding to a message sending request of an instant messaging client, and acquiring an instant messaging message sent by the instant messaging client aiming at a message receiver;
sending the instant communication message to the message receiver, and determining the message type of the instant communication message;
and if the message type is the task type, creating a corresponding task according to the task attribute information carried by the instant messaging message.
2. The method of claim 1, wherein the determining the message type of the instant messaging message comprises:
storing the instant communication message to a preset message queue;
and under the condition that a preset trigger condition is met, triggering the task creating service to read the message type of the instant messaging message in the message queue.
3. The method according to claim 2, wherein if the message type is a task type, creating a corresponding task according to task attribute information carried by the instant messaging message comprises:
and if the message type is the task type, reading task attribute information carried by the instant messaging message of the task type through the task creating service, and creating a corresponding task according to the task attribute information.
4. The method according to any one of claims 1-3, wherein after the creating of the corresponding task according to the task attribute information carried in the instant messaging message, further comprising:
sending a task adding request aiming at the task to a task management server, and triggering the task management server to store the task to a database corresponding to the task management server;
the task management server is used for acquiring the task from the database and returning the task to the task management client under the condition of receiving a query request of the task management client for the task.
5. A task creation method, comprising:
acquiring an instant communication message to be sent aiming at a message receiver;
sending a message sending request aiming at the instant communication message to an instant communication message server; the message sending request is used for triggering the instant messaging message server to send the instant messaging message to the message receiver and indicating the instant messaging server to create a corresponding task according to task attribute information carried by the instant messaging message under the condition that the message type of the instant messaging message is determined to be a task type.
6. The method of claim 5, wherein obtaining the instant messaging message to be sent for the message receiver comprises:
determining a message type of an instant messaging message to be generated for a message receiver in response to a trigger event for generating the instant messaging message;
if the message type of the instant communication message to be generated is the task type, displaying a task creation form;
and acquiring task attribute information filled in aiming at the task creation form, and generating an instant messaging message aiming at the message receiver according to the task attribute information.
7. A task creation apparatus, characterized by comprising:
the instant messaging system comprises a request receiving unit, a message sending unit and a message sending unit, wherein the request receiving unit is configured to execute a message sending request responding to an instant messaging client and acquire an instant messaging message sent by the instant messaging client aiming at a message receiver;
a message type determining unit configured to perform sending the instant communication message to the message recipient and determine a message type of the instant communication message;
and the task creating unit is configured to execute a corresponding task according to the task attribute information carried by the instant messaging message if the message type is the task type.
8. A task creation apparatus, characterized by comprising:
the message acquisition unit is configured to acquire the instant communication message to be sent aiming at the message receiver;
a request sending unit configured to execute sending of a message sending request for the instant messaging message to an instant messaging message server; the message sending request is used for triggering the instant messaging message server to send the instant messaging message to the message receiver and indicating the instant messaging server to create a corresponding task according to task attribute information carried by the instant messaging message under the condition that the message type of the instant messaging message is determined to be a task type.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of any of claims 1 to 4 or the method of any of claims 5 to 6.
10. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of any of claims 1-4 or the method of any of claims 5-6.
CN202210873173.9A 2022-07-22 2022-07-22 Task creation method, device, equipment, storage medium and computer program product Pending CN115129456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210873173.9A CN115129456A (en) 2022-07-22 2022-07-22 Task creation method, device, equipment, storage medium and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210873173.9A CN115129456A (en) 2022-07-22 2022-07-22 Task creation method, device, equipment, storage medium and computer program product

Publications (1)

Publication Number Publication Date
CN115129456A true CN115129456A (en) 2022-09-30

Family

ID=83384663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210873173.9A Pending CN115129456A (en) 2022-07-22 2022-07-22 Task creation method, device, equipment, storage medium and computer program product

Country Status (1)

Country Link
CN (1) CN115129456A (en)

Similar Documents

Publication Publication Date Title
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
CN106547547B (en) data acquisition method and device
CN109922098B (en) Content sharing method and device for content sharing
CN113259226B (en) Information synchronization method and device, electronic equipment and storage medium
CN104468760A (en) Method and device for pushing reminding information
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN107402767B (en) Method and device for displaying push message
CN108270661B (en) Information reply method, device and equipment
CN113596175A (en) Scene synchronization method, terminal, server and system
CN105939424B (en) Application switching method and device
CN104951522B (en) Method and device for searching
CN110636318A (en) Message display method, message display device, client device, server and storage medium
CN106447747B (en) Image processing method and device
CN112925788A (en) Data set management method, system, device, electronic equipment and storage medium
CN110071959B (en) Method and device for timing synchronization of third-party national standard resources
CN106506808B (en) Method and device for prompting communication message
CN111695064A (en) Embedded point loading method and device
CN110908814A (en) Message processing method and device, electronic equipment and storage medium
CN114025317B (en) Method, device, server, terminal and storage medium for spreading multimedia resources
CN113098781B (en) Session list processing method, device, server and storage medium
CN116089099A (en) Communication method, device, electronic equipment and storage medium
CN113268179B (en) Session message processing method, device, equipment and storage medium
CN104468706A (en) Audio file transmission method and device
CN111049732B (en) Push message display method and device, electronic equipment and medium
CN114567790A (en) Information display method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination