CN113645064A - Task issuing method and device, electronic equipment and storage medium - Google Patents

Task issuing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113645064A
CN113645064A CN202110805999.7A CN202110805999A CN113645064A CN 113645064 A CN113645064 A CN 113645064A CN 202110805999 A CN202110805999 A CN 202110805999A CN 113645064 A CN113645064 A CN 113645064A
Authority
CN
China
Prior art keywords
task
configuration information
target
information
preset
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.)
Granted
Application number
CN202110805999.7A
Other languages
Chinese (zh)
Other versions
CN113645064B (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 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 CN202110805999.7A priority Critical patent/CN113645064B/en
Publication of CN113645064A publication Critical patent/CN113645064A/en
Application granted granted Critical
Publication of CN113645064B publication Critical patent/CN113645064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings

Abstract

The disclosure relates to a task issuing method, a task issuing device, electronic equipment and a storage medium. The method comprises the following steps: receiving a task request sent by a client, and acquiring target object characteristic information and preset task configuration information corresponding to the client, wherein the preset task configuration information represents the corresponding relation between a plurality of tasks and the respective corresponding object characteristic information; acquiring a target task matched with the target object characteristic information according to the preset task configuration information; and issuing the target task to the client. According to the technical scheme provided by the disclosure, the flexibility of task issuing can be realized, and the quick issuing of the task and the effective application of complex service requirements can be realized.

Description

Task issuing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer application technologies, and in particular, to a task issuing method and apparatus, an electronic device, and a storage medium.
Background
In order to improve the user's engagement, the network platform generally designs a series of interactive tasks to improve the user's interaction with the platform. In the related art, a corresponding service logic is designed for each task, for example, various customized interfaces are opened, and the service logic is encapsulated in the interfaces. In this way, the subsequent task cannot directly reuse the interface; and different tasks need to be developed respectively, so that the efficiency is low, and the tasks are not flexibly issued.
Disclosure of Invention
The present disclosure provides a task issuing method, device, electronic device, and storage medium, to at least solve the problem of how to implement service logic multiplexing and improve task efficiency 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, a method for issuing a task is provided, including:
receiving a task request sent by a client, and acquiring target object characteristic information and preset task configuration information corresponding to the client, wherein the preset task configuration information represents the corresponding relation between a plurality of tasks and the respective corresponding object characteristic information;
acquiring a target task matched with the target object characteristic information according to the preset task configuration information;
and issuing the target task to the client.
In a possible implementation manner, the step of obtaining the characteristic information of the target object includes:
acquiring object attribute characteristic information, object public characteristic information and interface characteristic information based on the task request;
and taking the object attribute characteristic information, the object public characteristic information and the interface characteristic information as the target object characteristic information.
In a possible implementation manner, the step of obtaining the target task matched with the target object feature information according to the preset task configuration information includes:
determining object characteristic information in the corresponding relation as a first target corresponding relation of the target object characteristic information subset;
and taking the task in the first target corresponding relation as the target task.
In a possible implementation manner, the task issuing method further includes:
receiving a task configuration request sent by a configuration end, wherein the task configuration request comprises task configuration information of a task to be configured, and the task configuration information represents a corresponding relation between the task to be configured and corresponding object characteristic information;
and updating the preset task configuration information according to the task configuration information.
In a possible implementation manner, the step of updating the preset task configuration information according to the task configuration information includes:
and under the condition that the task to be configured is a newly added task, adding the corresponding relation between the task to be configured and the corresponding object characteristic information in the preset task configuration information.
In a possible implementation manner, the step of updating the preset task configuration information according to the task configuration information includes:
determining a second target corresponding relation corresponding to the task to be configured from the preset task configuration information under the condition that the task to be configured is a historical task;
and updating the second target corresponding relation based on the task configuration information.
In a possible implementation manner, the step of obtaining the preset task configuration information includes:
and acquiring the preset task configuration information from a rule engine.
According to a second aspect of the embodiments of the present disclosure, there is provided a task issuing device, including:
the system comprises a characteristic and configuration information acquisition module, a task configuration information acquisition module and a task configuration information acquisition module, wherein the characteristic and configuration information acquisition module is configured to execute a task request sent by a client and acquire target object characteristic information and preset task configuration information corresponding to the client, and the preset task configuration information represents the corresponding relation between a plurality of tasks and the respective corresponding object characteristic information;
the target task acquisition module is configured to execute a target task matched with the target object characteristic information according to the preset task configuration information;
and the issuing module is configured to execute issuing the target task to the client.
In a possible implementation manner, the feature and configuration information obtaining module includes:
a feature information acquisition unit configured to perform acquisition of object attribute feature information, object common feature information, and interface feature information based on the task request;
a target object characteristic determination unit configured to perform the object attribute characteristic information, the object common characteristic information, and the interface characteristic information as the target object characteristic information.
In one possible implementation manner, the target task obtaining module includes:
a first target correspondence determining unit configured to perform a first target correspondence determining that the object feature information in the correspondence is the target object feature information subset;
a target task determination unit configured to execute a task in the first target correspondence as the target task.
In a possible implementation manner, the task issuing device further includes:
the system comprises a receiving module, a configuration module and a processing module, wherein the receiving module is configured to execute a task configuration request sent by a receiving configuration end, the task configuration request comprises task configuration information of a task to be configured, and the task configuration information represents a corresponding relation between the task to be configured and corresponding object characteristic information;
and the preset task configuration information updating module is configured to update the preset task configuration information according to the task configuration information.
In a possible implementation manner, the preset task configuration information updating module includes:
and the first updating unit is configured to add the corresponding relation between the task to be configured and the corresponding object feature information in the preset task configuration information under the condition that the task to be configured is a newly added task.
In a possible implementation manner, the preset task configuration information updating module includes:
the second target corresponding relation determining unit is configured to determine a second target corresponding relation corresponding to the task to be configured from the preset task configuration information under the condition that the task to be configured is a historical task;
a second updating unit configured to perform updating of the second target correspondence relation based on the task configuration information.
In a possible implementation manner, the feature and configuration information obtaining module includes:
and the preset task configuration information acquisition unit is configured to acquire the preset task configuration information from the rule engine.
According to a third aspect of the 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 first aspects above.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of the first aspect of the embodiments of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer instructions which, when executed by a processor, cause a computer to perform the method of any one of the first aspects of the embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the target task matched with the target object characteristic information is obtained through the preset task configuration information, so that the issued task can be matched with the object, namely the issued task can be different according to different objects, and the flexibility of issuing the task is realized; in addition, by means of statically setting the preset task configuration information, when a new task or task logic is updated, codes do not need to be rewritten, the existing object characteristic information can be reused to newly add or modify the preset task configuration information, the preset task configuration information can be updated, research and development workloads required by different tasks are avoided, and the tasks can be rapidly issued; therefore, the method can effectively meet the complex service requirement.
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 schematic diagram illustrating an application environment in accordance with an exemplary embodiment.
FIG. 2 is a flowchart illustrating a method for task delivery, according to an example embodiment.
Fig. 3 is a flowchart illustrating a target task for obtaining matching target object feature information according to preset task configuration information according to an exemplary embodiment.
Fig. 4 is a flow chart illustrating a method for obtaining target object feature information according to an example embodiment.
FIG. 5 is a flow diagram illustrating updating of preset task configuration information, according to an example embodiment.
FIG. 6 is a task configuration interface diagram shown in accordance with an exemplary embodiment.
FIG. 7 is a diagram illustrating task configuration and task distribution according to an example embodiment.
FIG. 8 is a flow diagram illustrating updating of preset task configuration information, according to an example embodiment.
FIG. 9 is a block diagram of a task issuing device, according to an example embodiment.
FIG. 10 is a block diagram illustrating an electronic device for task delivery, according to an example 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 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.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment according to an exemplary embodiment, and as shown in fig. 1, the application environment may include a server 01, a terminal 02, and a configuration end 03.
In an alternative embodiment, the server 01 may be used for task issuing processing, where the server 01 may be a server in a task configuration background, and the task configuration background may be a task configuration background in an internet application platform, for example, a task configuration background in a short video platform. Specifically, the server 01 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a CDN (Content delivery network), a big data and artificial intelligence platform, and the like.
In an alternative embodiment, the terminal 02 (client) may be configured to receive a target task issued by the server 01 and perform presentation of the target task. Specifically, the terminal 02 may include, but is not limited to, a smart phone, a desktop computer, a tablet computer, a notebook computer, a smart speaker, a digital assistant, an Augmented Reality (AR)/Virtual Reality (VR) device, a smart wearable device, and other types of electronic devices. Optionally, the operating system running on the electronic device may include, but is not limited to, an android system, an IOS system, linux, windows, and the like.
In an alternative embodiment, the configuration end 03 may be used to configure and update the preset task configuration information, and the configuration end 03 may include, but is not limited to, an electronic device such as a desktop computer, a tablet computer, a notebook computer, a digital assistant, a smart phone, and the like. It should be noted that fig. 1 illustrates only one application environment of the image processing method provided by the present disclosure.
In the embodiment of the present specification, the server 01 and the terminal 02, and the server 01 and the configuration end 03 may be directly or indirectly connected through a wired or wireless communication method, and the present application is not limited herein.
In addition, it should be noted that the following figures illustrate one possible sequence of steps, and in fact do not limit the order that must be followed. Some steps may be performed in parallel without being dependent on each other. User information (including but not limited to user device information, user personal information, user behavior information, etc.) and data (including but not limited to data for presentation, training, etc.) to which the present disclosure relates are both information and data that are authorized by the user or sufficiently authorized by various parties.
FIG. 2 is a flowchart illustrating a method for task delivery, according to an example embodiment. As shown in fig. 2, the following steps may be included.
In step S201, a task request sent by a client is received, and target object feature information and preset task configuration information corresponding to the client are obtained, where the preset task configuration information may represent a correspondence between a plurality of tasks and respective corresponding object feature information.
In this embodiment, a target object of a client may trigger a task request at the client, so that the client may send the task request to a server. The target object of the client may refer to a user of the client, which is not limited by the present disclosure. Correspondingly, when receiving a task request sent by a client, the server can acquire target object characteristic information and preset task configuration information corresponding to the client. The target object feature information may refer to feature information associated with the target object, such as target object identification information, location information of the target object, service information corresponding to an active page where the target object triggers the task request, and the like, which is not limited in this disclosure. For example, the target object feature information may be extracted from the task request, and pre-stored preset task configuration information may be acquired.
In practical applications, the multiple tasks may refer to a total number of tasks in a preset task list, such as a sign-in task, a preset duration video watching task, a video sharing task, an XX application program downloading task, and the like. After the user completes the task, the platform gives the user a corresponding incentive.
In one example, assuming that the full amount of tasks includes task 1 to task 5, the correspondence may be expressed as follows:
task 1: object feature information a1, object feature information B1;
task 1: object feature information a2, object feature information C1;
task 2: object feature information a1, object feature information B1;
task 3: object feature information a2, object feature information C1;
and task 4: object feature information B1, object feature information C1;
task 5: object feature information B1, and object feature information C1.
The objects a1, a2, B1, and C1 may be object id information, location information, and service information, respectively, which is not limited in this disclosure. Here, a1, B1, a2, and C1 are merely for distinguishing different object feature information, and do not limit the present disclosure.
In another example, the preset task configuration information may be configured in a rules engine, such that the preset task configuration information may be obtained from the rules engine, which is a software system that executes some rules to make decisions. For example, assuming that the total number of tasks includes task 1 to task 5, the preset task configuration information in the rule engine may be as follows:
object feature information a1, object feature information B1, task 1, and task 2;
object feature information a2, object feature information C1, task 1, and task 3;
object feature information B1, object feature information C1, task 4, and task 5.
The expression may represent the corresponding relationship between a plurality of tasks and the corresponding user feature information, for example, the corresponding relationship between task 1 and object feature information a1 and object feature information B1; the correspondence relationship between task 1, object feature information a2, and object feature information C1. By introducing the rule engine, the research and development workload of task configuration can be reduced, the expression of task configuration information is consistent, storage resources can be saved, and flexible updating is easy.
It should be noted that the correspondence and the expression are merely examples, and are not limited to the present disclosure, and the correspondence and the expression may be set according to actual requirements such as the purpose of different tasks and hardware conditions required by the tasks.
In step S203, a target task matched with the target object feature information is obtained according to the preset task configuration information.
In practical application, the target task matched with the target object feature information can be obtained according to the preset task configuration information. For example, by performing matching or filtering using the above expression, a target task of matching the target object feature information may be obtained, and the matching logic may be calculated based on drools of the rule engine and the like.
As an example, it is assumed that the target object feature information includes: the object feature information a1 and the object feature information B1 may determine that the expression matching the target object feature information is the first expression described above, and thus may obtain target tasks matching the target object feature information as task 1 and task 2 based on the first expression.
In step S205, the target task is issued to the client.
In practical application, the target task can be issued to the client. Optionally, the client receives the target task and may present the target task. And after the user completes the task, the user can perform corresponding stimulation according to the task, which is not limited by the disclosure.
The target task matched with the target object characteristic information is obtained through the preset task configuration information, so that the issued task can be matched with the object, namely the issued task can be different according to different objects, and the flexibility of issuing the task is realized; moreover, by means of statically setting the preset task configuration information, when a new task or task logic is updated, codes do not need to be rewritten, existing object characteristic information can be reused to newly add or modify the preset task configuration information, the preset task configuration information can be updated, research and development workloads required by different tasks are avoided, and the tasks can be rapidly issued; therefore, the method can effectively meet the complex service requirement.
Fig. 3 is a flowchart illustrating a target task for obtaining matching target object feature information according to preset task configuration information according to an exemplary embodiment. As shown in fig. 3, in a possible implementation manner, the step S203 may include the following steps:
in step S301, a first target corresponding relationship in which the object feature information in the corresponding relationship is a target object feature information subset is determined;
in step S303, the task in the first target correspondence is set as a target task.
In this embodiment of the present specification, it may be determined that object feature information in the correspondence is a first target correspondence of a target object feature information subset; and then the task in the first target correspondence can be used as a target task. As an example, if the preset task configuration information is the following expression:
object feature information a1, object feature information B1, task 1, and task 2;
object feature information a2, object feature information C1, task 1, and task 3;
object feature information B1, object feature information C1, task 4, and task 5.
The corresponding relationship between the plurality of tasks (task 1 to task 5) represented by the preset task configuration information and the corresponding object feature information can be determined as follows:
task 1: object feature information a1, object feature information B1;
task 1: object feature information a2, object feature information C1;
task 2: object feature information a1, object feature information B1;
task 3: object feature information a2, object feature information C1;
and task 4: object feature information B1, object feature information C1;
task 5: object feature information B1, and object feature information C1.
Target object characteristic information is assumed to be object characteristic information A1, object characteristic information B1 and object characteristic information C1; the target object feature information subset may include { A1}, { B1}, { C1}, { A1, B1}, { A1, C1}, { B1, C1}, { A1, B1, C1 }. Therefore, the target object feature information subset can be directly compared with the object feature information in each corresponding relation, and the consistent determination is determined as a first target corresponding relation, wherein the first target corresponding relation can be as follows: task 1: object feature information a1, object feature information B1; task 2: object feature information a1, object feature information B1; and task 4: object feature information B1, object feature information C1; task 5: object feature information B1, and object feature information C1. Further, the task in the first target correspondence may be taken as a target task: task 1, task 2, task 4, and task 5.
Optionally, the expressions matched with the target object feature information may also be determined as the first expression and the third expression, so that the target tasks matched with the target object feature information may be screened as task 1, task 2, task 4, and task 5 based on the first expression and the third expression. The expression where the target object feature information is matched may refer to that the object feature information in the expression is a subset of the target object feature information.
By determining the target task based on the corresponding relation and the target object characteristic information, the differentiation of task issuing can be realized; and the object characteristic information of the determined target task is a subset of the object characteristic information, so that the determined target task can be abundant enough.
Fig. 4 is a flow chart illustrating a method for obtaining target object feature information according to an example embodiment. As shown in fig. 4, in a possible implementation manner, the step S201 may include the following steps:
in step S401, based on the task request, object attribute feature information, object common feature information, and interface feature information are acquired.
In this embodiment of the present specification, the object attribute feature information may refer to information capable of describing an object, such as object identification information, object activity information, and the like, which is not limited in this disclosure.
In practical applications, the object identification information may be extracted from the task request as the object attribute feature information, or information of the object in the platform, such as corresponding object activity information, may be obtained according to the object identification information, so that the object identification information and the information of the object in the platform may be used as the object attribute feature information.
Further, object common characteristic information and interface characteristic information may be extracted from the task request, where the object common characteristic information may refer to device information, network environment information, and the like of the object, such as location information, system version information, and the like; the interface feature information may refer to unified interface information, such as service page information and service identification information corresponding to the unified interface. The present disclosure is not limited to these.
Optionally, the step S401 may be implemented by a linear container, where the linear container may configure a preset object feature type according to a preset object feature type, for example, in a feature key manner, and further may obtain corresponding feature value information, such as object attribute feature information, object common feature information, and interface feature information, based on the preset object feature type.
In step S403, the object attribute feature information, the object common feature information, and the interface feature information are set as target object feature information.
In practical application, object attribute feature information, object common feature information and interface feature information can be used as target object feature information.
The target object characteristic information is obtained through three aspects, so that the differentiation of object characteristics can be compatible, the consistency of the object characteristic information obtaining is realized, and a basis is provided for the configuration of subsequent tasks; and more comprehensive target object characteristic information can be obtained, and the screening precision of the target task is improved.
FIG. 5 is a flow diagram illustrating updating of preset task configuration information, according to an example embodiment. In a possible implementation manner, as shown in fig. 5, the task issuing method may further include:
in step S501, a task configuration request sent by a configuration end is received, where the task configuration request may include task configuration information of a task to be configured, and the task configuration information may represent a correspondence between the task to be configured and corresponding object feature information.
In practical applications, as shown in fig. 6, task configuration operations may be performed on a task configuration page. As shown in fig. 6, the object feature information may include "new user", "active user", "system version" option, and "location" option, where the default may be no check, the "system version" option, and the "location" option are "none", which is not limited by the present disclosure. For example, the task 6 may be configured such that object feature information corresponding to the task 6 is selected from the object feature information so that the task 6 is delivered based on the object feature information. Assuming that a "new user" is selected, for example, the checking in fig. 6, when detecting a task configuration instruction, the configuration end may generate a task configuration request, where the task configuration request may include task configuration information of a task 6 to be configured, and the task configuration information may represent a corresponding relationship between the task 6 and the "new user".
In step S503, the preset task configuration information is updated according to the task configuration information.
In this embodiment, as shown in fig. 7, the task configuration background may update the preset task configuration information according to the task configuration information. For example, the task configuration information of the task 6 may be added to the preset task configuration information to update the preset task configuration information; or the preset task configuration information may be modified based on the task configuration information of the task 6 to update the preset task configuration information.
In one example, as shown in fig. 7, the updated preset task configuration information may be stored in the task configuration platform, based on which the expression of the preset task configuration information in the rule engine may be updated synchronously. Under the condition of receiving a task request of a user, acquiring target object characteristic information based on the task request, and performing task matching and task issuing processing based on a current expression in a rule engine. Taking the user A and the user B as an example, receiving task requests of the user A and the user B, and determining that target tasks of the user A are task 1 and task 3 through the task issuing processing process; the target task of user B is task 4, so that tasks 1 and 3 can be delivered to the terminal of user a, and task 4 is delivered to the terminal of user B. The task issuing scene for issuing different tasks based on different user characteristic information is realized.
It should be noted that, although the task issuing process is performed based on the preset task configuration information, the update process of the preset task configuration information and the task issuing process may be parallel.
By providing the task configuration function for the configuration end, a user of the configuration end can conveniently carry out task configuration, and object feature information can be reused in the task configuration process.
In one possible implementation, fig. 8 is a flowchart illustrating an update of preset task configuration information according to an exemplary embodiment. As shown in fig. 8, step S503 may include the steps of:
in step S801, when the task to be configured is a newly added task, a corresponding relationship between the task to be configured and corresponding object feature information is added to the preset task configuration information.
In step S803, when the task to be configured is a historical task, determining a second target corresponding relationship corresponding to the task to be configured from preset task configuration information;
in step S805, the second target correspondence relationship is updated based on the task configuration information.
In one example, the preset task configuration information may be an expression in a rules engine as follows:
object feature information a1, object feature information B1, task 1, and task 2;
object feature information a2, object feature information C1, task 1, and task 3;
object feature information B1, object feature information C1, task 4, and task 5.
In the case that the task to be configured is a newly added task, for example, the task 6, a corresponding relationship between the task to be configured and corresponding object feature information may be added to the preset task configuration information, for example, the following expression is added:
object feature information a1, object feature information C2, and task 6.
When the task to be configured is a history task, for example, task 5, the corresponding task configuration information is: object feature information a1, object feature information B1, task 5. Therefore, a second target corresponding relationship corresponding to the task to be configured can be determined from the preset task configuration information, and the second target corresponding relationship can be the expression: object feature information B1, object feature information C1, task 4, and task 5; since the object feature information in the task configuration information of the task 5 is inconsistent with the second target correspondence, the task 5 in the second target correspondence may be deleted, and the task configuration information of the task 5 may be added.
Optionally, since the object feature information "object feature information a1, object feature information B1" in the task configuration information of task 5 is consistent with the object feature information in the first expression in the preset task configuration information, in order to save storage resources, the task configuration information of task 5 may be merged into the first expression, so that the updated preset task configuration information may be obtained as follows:
object feature information, namely object feature information a1, object feature information B1, task 1, task 2, and task 5;
object feature information a2, object feature information C1, task 1, and task 3;
object feature information B1, object feature information C1, and task 4.
The foregoing is merely an example and is not intended to limit the present disclosure.
By distinguishing the newly added task from the historical task, the corresponding task configuration processing can be realized, and the flexibility of task configuration is improved.
FIG. 9 is a block diagram of a task issuing device, according to an example embodiment. Referring to fig. 9, the apparatus may include:
a feature and configuration information obtaining module 901, configured to execute receiving a task request sent by a client, and obtain target object feature information and preset task configuration information corresponding to the client, where the preset task configuration information represents a corresponding relationship between a plurality of tasks and respective corresponding object feature information;
a target task obtaining module 903, configured to execute a target task matching the target object feature information according to preset task configuration information;
the issuing module 905 is configured to execute issuing the target task to the client.
The target task matched with the target object characteristic information is obtained through the preset task configuration information, so that the issued task can be matched with the object, namely the issued task can be different according to different objects, and the flexibility of issuing the task is realized; in addition, by means of statically setting the preset task configuration information, when a new task or task logic is updated, codes do not need to be rewritten, the existing object characteristic information can be reused to newly add or modify the preset task configuration information, the preset task configuration information can be updated, research and development workloads required by different tasks are avoided, and the tasks can be rapidly issued; therefore, the method can effectively meet the complex service requirement.
In a possible implementation manner, the feature and configuration information obtaining module 901 may include:
a feature information acquisition unit configured to execute acquiring object attribute feature information, object common feature information, and interface feature information based on the task request;
a target object characteristic determination unit configured to perform the object attribute characteristic information, the object common characteristic information, and the interface characteristic information as target object characteristic information.
In a possible implementation manner, the target task obtaining 903 may include:
a first target correspondence determining unit configured to perform a first target correspondence determining that the object feature information in the correspondence is the target object feature information subset;
and the target task determination unit is configured to execute the task in the first target corresponding relation as the target task.
In a possible implementation manner, the task issuing device may further include:
the receiving module is configured to execute a task configuration request sent by a receiving configuration end, wherein the task configuration request comprises task configuration information of a task to be configured, and the task configuration information represents a corresponding relation between the task to be configured and corresponding object characteristic information;
and the preset task configuration information updating module is configured to update the preset task configuration information according to the task configuration information.
In a possible implementation manner, the preset task configuration information updating module may include:
and the first updating unit is configured to add the corresponding relation between the task to be configured and the corresponding object characteristic information in the preset task configuration information under the condition that the task to be configured is a newly added task.
In a possible implementation manner, the preset task configuration information updating module may include:
the second target corresponding relation determining unit is configured to determine a second target corresponding relation corresponding to the task to be configured from preset task configuration information under the condition that the task to be configured is a historical task;
and the second updating unit is configured to update the second target corresponding relation based on the task configuration information.
In a possible implementation manner, the feature and configuration information obtaining module 901 may include:
and the preset task configuration information acquisition unit is configured to acquire the preset task configuration information from the rule engine.
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. 10 is a block diagram of an electronic device for task delivery according to an exemplary embodiment, where the electronic device may be a server, and an internal structure diagram of the electronic device may be as shown in fig. 10. The electronic device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a method of task delivery.
Those skilled in the art will appreciate that the architecture shown in fig. 10 is merely a block diagram of some of the structures associated with the disclosed aspects and does not constitute a limitation on the electronic devices to which the disclosed aspects apply, as a particular electronic device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
In an exemplary embodiment, there is also provided an electronic device including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement a task issuing method as in the embodiments of the present disclosure.
In an exemplary embodiment, a computer-readable storage medium is also provided, and when executed by a processor of an electronic device, instructions in the computer-readable storage medium enable the electronic device to perform a task issuing method in the embodiments of the present disclosure. 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 containing instructions is also provided, which when run on a computer, causes the computer to perform the task issuing method in the embodiments of the present disclosure.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
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 (10)

1. A task issuing method is characterized by comprising the following steps:
receiving a task request sent by a client, and acquiring target object characteristic information and preset task configuration information corresponding to the client, wherein the preset task configuration information represents the corresponding relation between a plurality of tasks and the respective corresponding object characteristic information;
acquiring a target task matched with the target object characteristic information according to the preset task configuration information;
and issuing the target task to the client.
2. The task issuing method according to claim 1, wherein the step of obtaining target object feature information includes:
acquiring object attribute characteristic information, object public characteristic information and interface characteristic information based on the task request;
and taking the object attribute characteristic information, the object public characteristic information and the interface characteristic information as the target object characteristic information.
3. The task issuing method according to claim 1, wherein the step of obtaining the target task matched with the target object feature information according to the preset task configuration information includes:
determining object characteristic information in the corresponding relation as a first target corresponding relation of the target object characteristic information subset;
and taking the task in the first target corresponding relation as the target task.
4. The task issuing method according to any one of claims 1 to 3, characterized in that the task issuing method further comprises:
receiving a task configuration request sent by a configuration end, wherein the task configuration request comprises task configuration information of a task to be configured, and the task configuration information represents a corresponding relation between the task to be configured and corresponding object characteristic information;
and updating the preset task configuration information according to the task configuration information.
5. The task issuing method according to claim 4, wherein the step of updating the preset task configuration information according to the task configuration information includes:
and under the condition that the task to be configured is a newly added task, adding the corresponding relation between the task to be configured and the corresponding object characteristic information in the preset task configuration information.
6. The task issuing method according to claim 5, wherein the step of updating the preset task configuration information according to the task configuration information includes:
determining a second target corresponding relation corresponding to the task to be configured from the preset task configuration information under the condition that the task to be configured is a historical task;
and updating the second target corresponding relation based on the task configuration information.
7. A task issuing apparatus, comprising:
the system comprises a characteristic and configuration information acquisition module, a task configuration information acquisition module and a task configuration information acquisition module, wherein the characteristic and configuration information acquisition module is configured to execute a task request sent by a client and acquire target object characteristic information and preset task configuration information corresponding to the client, and the preset task configuration information represents the corresponding relation between a plurality of tasks and the respective corresponding object characteristic information;
the target task acquisition module is configured to execute a target task matched with the target object characteristic information according to the preset task configuration information;
and the issuing module is configured to execute issuing the target task to the client.
8. 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 task issuing method according to any one of claims 1 to 6.
9. 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 task issuing method according to any one of claims 1 to 6.
10. A computer program product comprising computer instructions, wherein the computer instructions, when executed by a processor, implement the task delivery method of any of claims 1 to 6.
CN202110805999.7A 2021-07-16 2021-07-16 Task issuing method and device, electronic equipment and storage medium Active CN113645064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110805999.7A CN113645064B (en) 2021-07-16 2021-07-16 Task issuing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110805999.7A CN113645064B (en) 2021-07-16 2021-07-16 Task issuing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113645064A true CN113645064A (en) 2021-11-12
CN113645064B CN113645064B (en) 2023-04-07

Family

ID=78417573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110805999.7A Active CN113645064B (en) 2021-07-16 2021-07-16 Task issuing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113645064B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140173609A1 (en) * 2012-12-06 2014-06-19 Huawei Technologies Co., Ltd. Task processing apparatus and method
CN107622336A (en) * 2016-07-15 2018-01-23 阿里巴巴集团控股有限公司 Method for pushing, the apparatus and system of task
CN108762949A (en) * 2018-05-21 2018-11-06 招银云创(深圳)信息技术有限公司 Centralized dispatching method, system, computer equipment and storage medium
CN108762907A (en) * 2018-05-31 2018-11-06 口口相传(北京)网络技术有限公司 Task processing method based on multiple client and system
CN109558224A (en) * 2018-10-26 2019-04-02 深圳壹账通智能科技有限公司 Task method for pushing, device, computer equipment and storage medium
CN109743390A (en) * 2019-01-04 2019-05-10 深圳壹账通智能科技有限公司 Method for scheduling task, device, computer equipment and storage medium
CN109857549A (en) * 2019-01-04 2019-06-07 平安科技(深圳)有限公司 Image processing method, system, equipment and medium based on load balancing
US20190372840A1 (en) * 2018-05-31 2019-12-05 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for updating configuration object
CN110659121A (en) * 2019-09-24 2020-01-07 北京达佳互联信息技术有限公司 Task data acquisition method and device, task configuration method and device and server
CN110728455A (en) * 2019-10-17 2020-01-24 京东数字科技控股有限公司 Service processing method, service processing device, storage medium and electronic equipment
CN111459624A (en) * 2020-02-28 2020-07-28 拉扎斯网络科技(上海)有限公司 Resource data distribution method, device and equipment
CN111611091A (en) * 2020-05-15 2020-09-01 腾讯科技(深圳)有限公司 Service calling method, device and medium for business object
CN112000895A (en) * 2020-10-28 2020-11-27 北京值得买科技股份有限公司 Task allocation method and system based on user behavior analysis
CN112616068A (en) * 2020-12-31 2021-04-06 北京达佳互联信息技术有限公司 Task processing method and device, electronic equipment and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140173609A1 (en) * 2012-12-06 2014-06-19 Huawei Technologies Co., Ltd. Task processing apparatus and method
CN107622336A (en) * 2016-07-15 2018-01-23 阿里巴巴集团控股有限公司 Method for pushing, the apparatus and system of task
CN108762949A (en) * 2018-05-21 2018-11-06 招银云创(深圳)信息技术有限公司 Centralized dispatching method, system, computer equipment and storage medium
CN108762907A (en) * 2018-05-31 2018-11-06 口口相传(北京)网络技术有限公司 Task processing method based on multiple client and system
US20190372840A1 (en) * 2018-05-31 2019-12-05 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for updating configuration object
CN109558224A (en) * 2018-10-26 2019-04-02 深圳壹账通智能科技有限公司 Task method for pushing, device, computer equipment and storage medium
CN109857549A (en) * 2019-01-04 2019-06-07 平安科技(深圳)有限公司 Image processing method, system, equipment and medium based on load balancing
CN109743390A (en) * 2019-01-04 2019-05-10 深圳壹账通智能科技有限公司 Method for scheduling task, device, computer equipment and storage medium
CN110659121A (en) * 2019-09-24 2020-01-07 北京达佳互联信息技术有限公司 Task data acquisition method and device, task configuration method and device and server
CN110728455A (en) * 2019-10-17 2020-01-24 京东数字科技控股有限公司 Service processing method, service processing device, storage medium and electronic equipment
CN111459624A (en) * 2020-02-28 2020-07-28 拉扎斯网络科技(上海)有限公司 Resource data distribution method, device and equipment
CN111611091A (en) * 2020-05-15 2020-09-01 腾讯科技(深圳)有限公司 Service calling method, device and medium for business object
CN112000895A (en) * 2020-10-28 2020-11-27 北京值得买科技股份有限公司 Task allocation method and system based on user behavior analysis
CN112616068A (en) * 2020-12-31 2021-04-06 北京达佳互联信息技术有限公司 Task processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113645064B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN108492005B (en) Project data processing method and device, computer equipment and storage medium
CN112328814B (en) Multimedia resource recommendation method, device and storage medium
CN114531477B (en) Method and device for configuring functional components, computer equipment and storage medium
CN110955448A (en) Intelligent contract separation method, contract processing method, apparatus, device and medium
WO2023065746A1 (en) Algorithm application element generation method and apparatus, electronic device, computer program product and computer readable storage medium
CN113391901A (en) RPA robot management method, device, equipment and storage medium
CN112306993A (en) Data reading method, device and equipment based on Redis and readable storage medium
CN113238756B (en) Live broadcast service processing method and device, electronic equipment and storage medium
CN113821254A (en) Interface data processing method, device, storage medium and equipment
CN113469736A (en) Resource distribution control method, device, system, electronic device and storage medium
CN113645064B (en) Task issuing method and device, electronic equipment and storage medium
US20220405147A1 (en) Task processing method, electronic device and storage medium
CN115017538A (en) Data processing method and device, electronic equipment and storage medium
CN113901114A (en) Data display method and device, electronic equipment and storage medium
CN113610558A (en) Resource distribution method and device, electronic equipment and storage medium
CN113420236A (en) List data display method and device, electronic equipment and storage medium
CN113467855A (en) Webpage request processing method and device, electronic equipment and storage medium
CN112231377A (en) Data mapping method, system, device, server and storage medium
CN115118703B (en) Service calling method and device and electronic equipment
CN114185778A (en) First screen time detection method and device, electronic equipment and storage medium
CN113469735A (en) Resource processing method and device, electronic equipment and storage medium
CN115190362A (en) Data processing method and device, electronic equipment and storage medium
CN115408404A (en) Target object label data determination method and device, electronic equipment and storage medium
CN116185431A (en) Data processing method and device, electronic equipment and storage medium
CN112416410A (en) Data management method and device for small program, computer 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
GR01 Patent grant
GR01 Patent grant