CN114125062A - Task information display method and device - Google Patents

Task information display method and device Download PDF

Info

Publication number
CN114125062A
CN114125062A CN202111411956.7A CN202111411956A CN114125062A CN 114125062 A CN114125062 A CN 114125062A CN 202111411956 A CN202111411956 A CN 202111411956A CN 114125062 A CN114125062 A CN 114125062A
Authority
CN
China
Prior art keywords
task
downstream service
calling
unit
task information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111411956.7A
Other languages
Chinese (zh)
Other versions
CN114125062B (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 CN202111411956.7A priority Critical patent/CN114125062B/en
Publication of CN114125062A publication Critical patent/CN114125062A/en
Application granted granted Critical
Publication of CN114125062B publication Critical patent/CN114125062B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a task information display method and device. The task information display method comprises the following steps: determining at least one task; determining a downstream service calling unit of each task in at least one task, wherein the downstream service calling unit is used for calling corresponding downstream services and outputting corresponding task information, and the downstream services are units for executing operations of acquiring the task information; converting the mode of the downstream service calling unit into a concurrent calling mode; calling corresponding downstream services based on a downstream service calling unit in a concurrent calling mode corresponding to at least one task, and acquiring task information of the at least one task; task information of at least one task is displayed on the interface.

Description

Task information display method and device
Technical Field
The present disclosure relates to the field of computers, and in particular, to a task information display method and apparatus.
Background
With the rapid development of short video applications, the rapid growth of users and the growing need for directed task distribution across various user population packages, more and more user tasks appear in applications, such as in the application's money-making pages. Because the task information such as the task details, the gold coin issuing strategy and the like of each service party are different, a plurality of service parties need to be accessed, and then the data (such as the task information of the task) of each service party is aggregated and displayed on a task list page.
In the related technology, task information of tasks is acquired in a serial calling mode, namely, one task information is pulled each time, after the pulling is completed, the next task information is pulled, and after the task information of all the tasks is pulled, the task information is summarized to form a final task list and is displayed. The total consumed time at this time is the sum of the pulling time lengths of the plurality of tasks. Therefore, when the number of tasks exceeds a certain value, it takes too long, resulting in too long page loading time, causing user annoyance or causing the user to leave the page.
Disclosure of Invention
The disclosure provides a task information display method and device, which are used for at least solving the problems of poor page loading time and poor user experience caused by long time consumption for acquiring task information in the related technology.
According to a first aspect of the embodiments of the present disclosure, there is provided a task information display method, including: determining at least one task; determining a downstream service calling unit of each task in at least one task, wherein the downstream service calling unit is used for calling corresponding downstream services and outputting corresponding task information, and the downstream services are units for executing operations of acquiring the task information; converting the mode of the downstream service calling unit into a concurrent calling mode; calling corresponding downstream services based on a downstream service calling unit in a concurrent calling mode corresponding to at least one task, and acquiring task information of the at least one task; task information of at least one task is displayed on the interface.
Optionally, the downstream service invoking unit includes the following parameters: the method comprises the following steps of inputting parameters, outputting parameters, task name parameters, downstream service parameters and default value parameters, determining a downstream service calling unit of each task in at least one task, and comprising the following steps: for each task in at least one task, determining input parameters and output parameters of a downstream service calling unit aiming at the task; determining a task name parameter of a task; determining a downstream service parameter of the task; a default parameter for the task is determined.
Optionally, invoking a corresponding downstream service based on a downstream service invoking unit in a concurrent invoking mode corresponding to at least one task, and acquiring task information of the at least one task, where the invoking unit includes: and aiming at each task in at least one task, inputting the input parameters of the task into the corresponding downstream service calling unit, and calling the downstream service corresponding to the downstream service parameters of the task to obtain the task information of the task.
Optionally, invoking a corresponding downstream service based on a downstream service invoking unit in a concurrent invoking mode corresponding to at least one task, and acquiring task information of the at least one task, where the invoking unit includes: determining the maximum task number of concurrent call; dividing at least one task according to the maximum task number to obtain a plurality of task groups; and aiming at one task group in the plurality of task groups, calling the corresponding downstream service based on the downstream service calling unit in the concurrent calling mode corresponding to the task in the task group, and acquiring the task information of the task in the task group.
Optionally, invoking a corresponding downstream service based on a downstream service invoking unit in a concurrent invoking mode corresponding to at least one task, and acquiring task information of the at least one task, where the invoking unit includes: setting a calling time threshold; and taking the default value parameter as task information of one task under the condition that the time for calling the downstream service of one task in at least one task exceeds a calling time threshold value.
According to a second aspect of the embodiments of the present disclosure, there is provided a task information display device including: a task determination unit configured to determine at least one task; the system comprises a determining unit, a processing unit and a processing unit, wherein the determining unit is configured to determine a downstream service calling unit of each task in at least one task, the downstream service calling unit is used for calling corresponding downstream services and outputting corresponding task information, and the downstream services are units for executing operations of acquiring task information; a conversion unit configured to convert a mode of the downstream service invocation unit into a concurrent invocation mode; the task information acquisition unit is configured to call a corresponding downstream service based on a downstream service calling unit in a concurrent calling mode corresponding to at least one task, and acquire task information of the at least one task; a display unit configured to display task information of at least one task on an interface.
Optionally, the downstream service invoking unit includes the following parameters: the determining unit is further configured to determine, for each task in the at least one task, an input parameter and an output parameter of the downstream service invoking unit for the task; determining a task name parameter of a task; determining a downstream service parameter of the task; a default parameter for the task is determined.
Optionally, the task information obtaining unit is further configured to, for each task in the at least one task, input an input parameter of the task to the corresponding downstream service invoking unit, and invoke a downstream service corresponding to the downstream service parameter of the task to obtain task information of the task.
Optionally, the task information obtaining unit is further configured to determine a maximum number of tasks to be concurrently invoked; dividing at least one task according to the maximum task number to obtain a plurality of task groups; and aiming at one task group in the plurality of task groups, calling the corresponding downstream service based on the downstream service calling unit in the concurrent calling mode corresponding to the task in the task group, and acquiring the task information of the task in the task group.
Optionally, the task information obtaining unit is further configured to set a calling time threshold; and taking the default value parameter as task information of one task under the condition that the time for calling the downstream service of one task in at least one task exceeds a calling time threshold value.
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 processor-executable instructions; wherein the processor is configured to execute the instructions to implement the task information display method according to the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by at least one processor, cause the at least one processor to perform a task information display method as described above according to 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, implement a task information display method according to the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the task information display method and device, the mode of the downstream service calling unit is converted into the concurrent calling mode, the task information is obtained in the concurrent calling mode, the obtained task information is displayed on the interface of the terminal in a statistic and aggregation mode, the total time for obtaining the task information of all tasks is reduced, and the problems that when the number of tasks exceeds a certain value, the time consumed is too long, the page loading time is too long, the user is irritated, or the user leaves the page are solved. Therefore, the method and the device solve the problems of poor page loading time and poor user experience caused by long time spent on acquiring the task information in the related art.
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 an implementation scenario diagram illustrating a task information display method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flow diagram illustrating a method of task information display in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a method for task information display in accordance with an illustrative embodiment;
FIG. 4 is a diagram illustrating a verification result according to an exemplary embodiment;
FIG. 5 is a block diagram illustrating a task information display device according to an exemplary embodiment;
fig. 6 is a block diagram of an electronic device 600 according to an embodiment of the disclosure.
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 embodiments described in the following examples do not represent all embodiments 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.
In this case, the expression "at least one of the items" in the present disclosure means a case where three types of parallel expressions "any one of the items", "a combination of any plural ones of the items", and "the entirety of the items" are included. For example, "include at least one of a and B" includes the following three cases in parallel: (1) comprises A; (2) comprises B; (3) including a and B. For another example, "at least one of the first step and the second step is performed", which means that the following three cases are juxtaposed: (1) executing the step one; (2) executing the step two; (3) and executing the step one and the step two.
In view of the above problems, the present disclosure provides a task information display method capable of reducing the total time for acquiring task information of all tasks, which is described below by taking tasks including a check-in task and a task of capturing a predetermined video as an example.
Fig. 1 is a schematic diagram illustrating an implementation scenario of a task information display method according to an exemplary embodiment of the present disclosure, and as shown in fig. 1, the implementation scenario includes a server 100, a user terminal 110, and a user terminal 120, where the number of the user terminals is not limited to 2, and includes not limited to a mobile phone, a personal computer, and the like, the user terminal may install a short video application, the server may be one server, or several servers form a server cluster, or may be a cloud computing platform or a virtualization center.
The short video application programs on the user terminals 110 and 120 determine at least one task, wherein the task comprises but is not limited to a sign-in task and a preset video shooting task, the user terminals 110 and 120 send the sign-in task and the preset video shooting task to the service 100, and the server 100 determines a downstream service calling unit of the sign-in task and the preset video shooting task, wherein the downstream service calling unit is used for calling corresponding downstream service and outputting corresponding task information, the downstream service is a unit for executing operation of acquiring the task information, and then the mode of the determined downstream service calling unit is converted into a concurrent calling mode; and calling corresponding downstream services based on the downstream service calling units in the concurrent calling mode corresponding to the sign-in task and the preset video shooting task, acquiring task information of the sign-in task and the preset video shooting task, and displaying the task information of the sign-in task and the preset video shooting task on an interface.
Hereinafter, a task information display method and apparatus according to an exemplary embodiment of the present disclosure will be described in detail with reference to fig. 2 to 5.
Fig. 2 is a flowchart illustrating a task information display method according to an exemplary embodiment, and as shown in fig. 2, the task information display method includes the steps of:
in step S201, at least one task is determined. The task may be a check-in task, a shooting predetermined video task, and the disclosure does not limit this.
In step S202, a downstream service invoking unit of each task in at least one task is determined, where the downstream service invoking unit is configured to invoke a corresponding downstream service and output corresponding task information, and the downstream service is a unit that performs an operation of acquiring task information.
In step S203, the mode of the downstream service invocation unit is converted into a concurrent invocation mode. It should be noted that, a concurrent call (concurrent) means that only one instruction can be executed at the same time, but a plurality of process instructions are executed alternately and rapidly, so that macroscopically, the effect of simultaneous execution of a plurality of processes is achieved, but microscopically, the concurrent execution is not achieved, and only time is divided into a plurality of sections, so that the plurality of processes are executed alternately and rapidly. For example, the downstream service invocation unit may be transitioned to a concurrent invocation mode by CompletableFuture. According to the embodiment, the task information can be conveniently and quickly acquired.
According to an exemplary embodiment of the present disclosure, the following parameters are included in the downstream service invocation unit: the method comprises the following steps of inputting parameters, outputting parameters, task name parameters, downstream service parameters and default value parameters, determining a downstream service calling unit of each task in at least one task, and comprising the following steps: for each task in at least one task, determining input parameters and output parameters of a downstream service calling unit aiming at the task; determining a task name parameter of a task; determining a downstream service parameter of the task; a default parameter for the task is determined. According to the embodiment, the downstream service invoking unit can be universal, and other similar services can be accessed quickly as long as corresponding parameters are replaced subsequently.
For example, a general downstream service invocation structure (i.e. the above downstream service invocation unit) can be abstractly designed, and specifically, as shown in the following procedure, the structure inputs the input parameter REQ and outputs the output parameter RESP. The downstream service call structure of the downstream service for any task inputs a Request (REQ) and outputs corresponding task information (RESP), such as task details. The downstream service calling structure needs to support the input of a request and also supports a default parameter value for degradation after overtime, namely, if the downstream service does not return task information after exceeding a certain time length, the default parameter value is directly output, and in addition, the specific calling method serviceCall is also supported and the class where the specific method is located is supported. The downstream service invocation structure may be as follows:
Figure BDA0003374444720000061
for another example, after determining the downstream service invocation unit, the abstract downstream service invocation unit (i.e. the Model list) of the at least one task may be converted into java asynchronous compleblefuture, through which the request of the Model may be changed into concurrent invocation and the result of asynchronous return may be taken after the task is finished. Specifically, a Model object may be created first, REQ and RESP types may be specified, and then the attributes of the object may be filled. Taking the call sign-in service as an example:
1. replacing REQ with String as the parameter of the check-in service, and replacing RESP with String as the return of the check-in service;
2. setting the sign-in service name as callSignServices, namely determining the task name parameter of the task;
3. setting a specifically called sign-in service method, namely determining a downstream service parameter of a task;
4. setting a request parameter as userId, namely determining an input parameter;
5. setting a bottom-holding return value, and returning the default value under an abnormal condition, namely determining a default parameter value;
6. the ServiceCall model is converted into a compleblefuture for asynchronization, and mainly, the ServiceCall in the ServiceCall model is encapsulated into the compleblefuture.
Specifically, the following may be mentioned:
v. Req with String as a parameter for check-in service, RESP with String as a return for check-in service
ServiceCallModel<String,String>serviceCallModel=new ServiceCallModel<>();
// set sign-in service name
serviceCallModel.setCallServiceName("callSignServices");
V/set the sign-in service method of the specific call
serviceCallModel.setServiceCall(signInService::checkUserSign);
// setting the request parameter to userId
serviceCallModel.setRequest(userId);
// set pocket floor return value
setdefaulttresp ("user not checked in");
EXECUTOR is a thread pool
// serviceCall model to CompletableFuture for asynchronization
return CompletableFuture.supplyAsync(()->serviceCallModel.getServiceCall().apply(serviceCallModel.getRequest()),Mock.EXECUTOR)。
Returning to fig. 2, in step S204, based on the downstream service invoking unit in the concurrent invoking mode corresponding to the at least one task, the corresponding downstream service is invoked, and task information of the at least one task is acquired.
According to an exemplary embodiment of the present disclosure, invoking a corresponding downstream service based on a downstream service invoking unit in a concurrent invocation mode corresponding to at least one task, and acquiring task information of the at least one task includes: and aiming at each task in at least one task, inputting the input parameters of the task into the corresponding downstream service calling unit, and calling the downstream service corresponding to the downstream service parameters of the task to obtain the task information of the task. According to the embodiment, the task information can be conveniently and quickly acquired.
According to an exemplary embodiment of the present disclosure, invoking a corresponding downstream service based on a downstream service invoking unit in a concurrent invocation mode corresponding to at least one task, and acquiring task information of the at least one task includes: determining the maximum task number of concurrent call; dividing at least one task according to the maximum task number to obtain a plurality of task groups; and aiming at one task group in the plurality of task groups, calling the corresponding downstream service based on the downstream service calling unit in the concurrent calling mode corresponding to the task in the task group, and acquiring the task information of the task in the task group. According to the embodiment, the number of the tasks to be concurrently called is set, so that the phenomenon that the number of the tasks to be concurrently called is too large and the load of the equipment is increased is prevented.
According to an exemplary embodiment of the present disclosure, invoking a corresponding downstream service based on a downstream service invoking unit in a concurrent invocation mode corresponding to at least one task, and acquiring task information of the at least one task includes: setting a calling time threshold; and taking the default value parameter as task information of one task under the condition that the time for calling the downstream service of one task in at least one task exceeds a calling time threshold value. According to the embodiment, the timeout time is set, and when the task information is not fed back for a long time, the default value is used as the task information.
For example, a dynamic thread pool may be created that may better utilize the thread pool by configuring the number of cores that alter the threads. For example, in order to prevent the number of threads from being too large or too small, the converted CompletableFuture list is delivered to a thread pool to be executed, and the number of threads to be concurrently called at one time is controlled. Meanwhile, a timed CompletableFuture may also be started as the timeout (i.e., the time threshold). After completion of the CompletableFuture on time, the completed CompletableFuture may be identified as completed and used as a completed task list. In addition, a normal result may be returned by get (), a CompletableFuture that is not completed on time may be identified as not completed on time and as a list of time-out futures, and a destage result may be returned by returning defaultResp. It should be noted that the thread pool is a multi-thread processing form, and the tasks are added to the queue in the processing process and then automatically started after the threads are created; the dynamic thread pool is an optimized version based on a common thread pool, the number of the core threads can be dynamically modified according to configuration, the core threads are used for fully utilizing a CPU, and the problem that tasks are not executed fully due to too many or too few thread pools is solved.
Returning to fig. 2, in step S205, task information of at least one task is displayed on the interface. For example, after the task information of all tasks is obtained through concurrent call, the task information of all tasks can be aggregated together to obtain a task list, and the task list is displayed on a corresponding interface of the terminal.
Referring to fig. 3 for a detailed description of the present disclosure, fig. 3 is a flow chart illustrating a task information display method according to an exemplary embodiment, and as shown in fig. 3, taking a money-making page of a short video application as an example for description, first, a user enters the money-making page to request to obtain a task list, after the short video application receives the request, the user assembles a ServiceCallModel list, converts the ServiceCallModel list into a compleblefuture concurrent call mode, then starts a timeout timer, and puts the compleblefuture list obtained after the conversion mode into a dynamic thread pool to execute, that is, call a corresponding downstream service to obtain task information, and then detects a time for returning the task information, that is, detects a timeout timer, when the timeout timer expires, the compleblefuture returns a list of task information as a normal list (the completed task list), and the timeout list of task information that the timeout timer has not returned is a timeout list (the timeout list), for the overtime list, the default return value can be directly taken as the task information (namely the value of defaultResp), the normal list and the overtime list are correspondingly combined and assembled to obtain a task list, and the task list is returned to the user.
To verify the feasibility of the present disclosure, the scheme of the present disclosure is verified as follows: by dotting the online service time and performing ab experiment tests, as shown in fig. 4, it can be seen that the total time consumption before modification is about 152ms, and the total time consumption after concurrent call is reduced to 84ms by the same logic modification, and the reduction (152-84)/152 is 44.74%. From the result, the interface return time is greatly reduced, and the waiting time of the user is reduced.
In summary, the present disclosure changes the task information acquisition from serial call to concurrent call, and then unifies and aggregates the call tasks, and meanwhile, for the purpose of generality, the call tasks are abstracted to be generic, that is, the downstream service call unit, and other similar services can also be accessed quickly. The time consumption for acquiring the task information can be not increased along with the number of the tasks, the side length can be controlled, meanwhile, the maximum time consumption can be controlled, when the time consumption duration of a certain task exceeds the maximum time consumption, a default value can be given to a user, for example, no or default task details can be given, namely, a downgrading task can be returned when a problem is served at the downstream of the certain task.
Fig. 5 is a block diagram illustrating a task information display apparatus according to an exemplary embodiment. Referring to fig. 5, the apparatus includes a task determining unit 50, a determining unit 52, a converting unit 54, a task information acquiring unit 56, and a display unit 58.
A task determination unit 50 configured to determine at least one task; the determining unit 52 is configured to determine a downstream service invoking unit of each task in at least one task, where the downstream service invoking unit is configured to invoke a corresponding downstream service and output corresponding task information, and the downstream service is a unit that performs an operation of acquiring task information; a conversion unit 54 configured to convert the mode of the downstream service invocation unit into a concurrent invocation mode; the task information acquiring unit 56 is configured to invoke a corresponding downstream service based on a downstream service invoking unit in a concurrent invoking mode corresponding to at least one task, and acquire task information of the at least one task; a display unit 58 configured to display task information of at least one task on the interface.
According to an exemplary embodiment of the present disclosure, the following parameters are included in the downstream service invocation unit: the determining unit 52 is further configured to determine, for each task in the at least one task, an input parameter and an output parameter of the downstream service invoking unit for the task; determining a task name parameter of a task; determining a downstream service parameter of the task; a default parameter for the task is determined.
According to an exemplary embodiment of the present disclosure, the task information obtaining unit 56 is further configured to, for each task in at least one task, input an input parameter of the task to the corresponding downstream service invoking unit, and invoke a downstream service corresponding to the downstream service parameter of the task, so as to obtain task information of the task.
According to an exemplary embodiment of the present disclosure, the task information obtaining unit 56 is further configured to determine a maximum number of tasks to be concurrently invoked; dividing at least one task according to the maximum task number to obtain a plurality of task groups; and aiming at one task group in the plurality of task groups, calling the corresponding downstream service based on the downstream service calling unit in the concurrent calling mode corresponding to the task in the task group, and acquiring the task information of the task in the task group.
According to an exemplary embodiment of the present disclosure, the task information obtaining unit 56 is further configured to set a call time threshold; and taking the default value parameter as task information of one task under the condition that the time for calling the downstream service of one task in at least one task exceeds a calling time threshold value.
According to an embodiment of the present disclosure, an electronic device may be provided. Fig. 6 is a block diagram of an electronic device 600 including at least one memory 601 and at least one processor 602, the at least one memory having a set of computer-executable instructions stored therein that, when executed by the at least one processor, perform a method of training a migration learning model and a method of image processing according to embodiments of the present disclosure.
By way of example, the electronic device 600 may be a PC computer, tablet device, personal digital assistant, smartphone, or other device capable of executing the set of instructions described above. The electronic device 1000 need not be a single electronic device, but can be any collection of devices or circuits that can execute the above instructions (or sets of instructions) individually or in combination. The electronic device 600 may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that interfaces with local or remote (e.g., via wireless transmission).
In the electronic device 600, the processor 602 may include a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a programmable logic device, a special purpose processor system, a microcontroller, or a microprocessor. By way of example, and not limitation, processor 602 may also include an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, or the like.
The processor 602 may execute instructions or code stored in memory, where the memory 601 may also store data. The instructions and data may also be transmitted or received over a network via a network interface device, which may employ any known transmission protocol.
The memory 601 may be integrated with the processor 602, for example, with RAM or flash memory disposed within an integrated circuit microprocessor or the like. Further, memory 602 may comprise a stand-alone device, such as an external disk drive, storage array, or any other storage device usable by a database system. The memory 601 and the processor 602 may be operatively coupled or may communicate with each other, e.g., through I/O ports, network connections, etc., such that the processor 602 can read files stored in the memory 601.
Further, the electronic device 600 may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, mouse, touch input device, etc.). All components of the electronic device may be connected to each other via a bus and/or a network.
According to an embodiment of the present disclosure, there may also be provided a computer-readable storage medium, wherein when executed by at least one processor, instructions in the computer-readable storage medium cause the at least one processor to perform the training method of the migration learning model and the image processing method of the embodiments of the present disclosure. Examples of the computer-readable storage medium herein include: read-only memory (ROM), random-access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random-access memory (RAM), dynamic random-access memory (DRAM), static random-access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD + R, CD-RW, CD + RW, DVD-ROM, DVD-R, DVD + R, DVD-RW, DVD + RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, Blu-ray or compact disc memory, Hard Disk Drive (HDD), solid-state drive (SSD), card-type memory (such as a multimedia card, a Secure Digital (SD) card or a extreme digital (XD) card), magnetic tape, a floppy disk, a magneto-optical data storage device, an optical data storage device, a hard disk, a magnetic tape, a magneto-optical data storage device, a hard disk, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, A solid state disk, and any other device configured to store and provide a computer program and any associated data, data files, and data structures to a processor or computer in a non-transitory manner such that the processor or computer can execute the computer program. The computer program in the computer-readable storage medium described above can be run in an environment deployed in a computer apparatus, such as a client, a host, a proxy device, a server, and the like, and further, in one example, the computer program and any associated data, data files, and data structures are distributed across a networked computer system such that the computer program and any associated data, data files, and data structures are stored, accessed, and executed in a distributed fashion by one or more processors or computers.
According to an embodiment of the present disclosure, a computer program product is provided, which includes computer instructions, and the computer instructions, when executed by a processor, implement a training method and an image processing method of a migration learning model according to an embodiment of the present disclosure.
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 information display method is characterized by comprising the following steps:
determining at least one task;
determining a downstream service calling unit of each task in the at least one task, wherein the downstream service calling unit is used for calling corresponding downstream services and outputting corresponding task information, and the downstream services are units for executing operations of acquiring task information;
converting the mode of the downstream service calling unit into a concurrent calling mode;
based on a downstream service calling unit in a concurrent calling mode corresponding to the at least one task, calling a corresponding downstream service to acquire task information of the at least one task;
and displaying the task information of the at least one task on an interface.
2. The task list display method of claim 1, wherein the downstream service invocation unit includes the following parameters: input parameters, output parameters, task name parameters, downstream service parameters, default value parameters,
the determining a downstream service invocation unit for each task of the at least one task includes:
for each of the at least one task,
determining input parameters and output parameters of the downstream service calling unit aiming at the task;
determining a task name parameter of the task;
determining a downstream service parameter of the task;
determining a default parameter for the task.
3. The task list display method according to claim 2, wherein the calling the corresponding downstream service based on the downstream service calling unit in the concurrent calling mode corresponding to the at least one task to obtain the task information of the at least one task includes:
and aiming at each task in the at least one task, inputting the input parameters of the task into a corresponding downstream service calling unit, and calling the downstream service corresponding to the downstream service parameters of the task to obtain the task information of the task.
4. The task list display method according to claim 1, wherein the calling the corresponding downstream service based on the downstream service calling unit in the concurrent calling mode corresponding to the at least one task to obtain the task information of the at least one task includes:
determining the maximum task number of concurrent call;
dividing the at least one task according to the maximum task number to obtain a plurality of task groups;
and for one task group in the plurality of task groups, calling corresponding downstream services based on the downstream service calling unit in the concurrent calling mode corresponding to the tasks in the task group, and acquiring task information of the tasks in the task group.
5. The task list display method according to claim 1, wherein the calling the corresponding downstream service based on the downstream service calling unit in the concurrent calling mode corresponding to the at least one task to obtain the task information of the at least one task includes:
setting a calling time threshold;
and under the condition that the time for calling the downstream service of one task in the at least one task exceeds the calling time threshold, taking a default value parameter as the task information of the one task.
6. A task information display apparatus, characterized by comprising:
a task determination unit configured to determine at least one task;
the determining unit is configured to determine a downstream service calling unit of each task in the at least one task, wherein the downstream service calling unit is used for calling a corresponding downstream service and outputting corresponding task information, and the downstream service is a unit for executing an operation of acquiring the task information;
a conversion unit configured to convert a mode of the downstream service invocation unit into a concurrent invocation mode;
the task information acquisition unit is configured to call a corresponding downstream service based on a downstream service calling unit in a concurrent calling mode corresponding to the at least one task, and acquire task information of the at least one task;
a display unit configured to display task information of the at least one task on an interface.
7. The task list display apparatus of claim 6, wherein the downstream service invocation unit includes the following parameters: input parameters, output parameters, task name parameters, downstream service parameters, default value parameters,
the determining unit is further configured to determine, for each task of the at least one task, input parameters and output parameters of the downstream service invoking unit for the task; determining a task name parameter of the task; determining a downstream service parameter of the task; determining a default parameter for the task.
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 information display method of any one of claims 1 to 5.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by at least one processor, cause the at least one processor to perform a task information display method according to any one of claims 1 to 5.
10. A computer program product comprising computer instructions, characterized in that the computer instructions, when executed by a processor, implement a task information display method according to any one of claims 1 to 5.
CN202111411956.7A 2021-11-25 2021-11-25 Task information display method and device Active CN114125062B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111411956.7A CN114125062B (en) 2021-11-25 2021-11-25 Task information display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111411956.7A CN114125062B (en) 2021-11-25 2021-11-25 Task information display method and device

Publications (2)

Publication Number Publication Date
CN114125062A true CN114125062A (en) 2022-03-01
CN114125062B CN114125062B (en) 2024-08-13

Family

ID=80373009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111411956.7A Active CN114125062B (en) 2021-11-25 2021-11-25 Task information display method and device

Country Status (1)

Country Link
CN (1) CN114125062B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180137066A1 (en) * 2016-11-16 2018-05-17 International Business Machines Corporation Aggregation handling
CN110191140A (en) * 2018-02-22 2019-08-30 北京嘀嘀无限科技发展有限公司 Method for processing business, device and server
CN110515710A (en) * 2019-08-06 2019-11-29 深圳市随手科技有限公司 Asynchronous task scheduling method, apparatus, computer equipment and storage medium
CN112231073A (en) * 2019-07-15 2021-01-15 上海哔哩哔哩科技有限公司 Distributed task scheduling method and device
CN112954056A (en) * 2021-02-10 2021-06-11 北京字跳网络技术有限公司 Monitoring data processing method and device, electronic equipment and storage medium
CN113298343A (en) * 2021-03-31 2021-08-24 阿里巴巴新加坡控股有限公司 Task generation method, task execution method and device
CN113411400A (en) * 2021-06-18 2021-09-17 中国工商银行股份有限公司 Information calling method and device, electronic equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180137066A1 (en) * 2016-11-16 2018-05-17 International Business Machines Corporation Aggregation handling
CN110191140A (en) * 2018-02-22 2019-08-30 北京嘀嘀无限科技发展有限公司 Method for processing business, device and server
CN112231073A (en) * 2019-07-15 2021-01-15 上海哔哩哔哩科技有限公司 Distributed task scheduling method and device
CN110515710A (en) * 2019-08-06 2019-11-29 深圳市随手科技有限公司 Asynchronous task scheduling method, apparatus, computer equipment and storage medium
CN112954056A (en) * 2021-02-10 2021-06-11 北京字跳网络技术有限公司 Monitoring data processing method and device, electronic equipment and storage medium
CN113298343A (en) * 2021-03-31 2021-08-24 阿里巴巴新加坡控股有限公司 Task generation method, task execution method and device
CN113411400A (en) * 2021-06-18 2021-09-17 中国工商银行股份有限公司 Information calling method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN114125062B (en) 2024-08-13

Similar Documents

Publication Publication Date Title
CN109656807B (en) Information security-based interface mock testing method, device, equipment and storage medium
CN110096344B (en) Task management method, system, server cluster and computer readable medium
US10009213B2 (en) System and method for isolation of multi-tenant platform customization using child processes
CN103970520A (en) Resource management method and device in MapReduce framework and framework system with device
WO2021244343A1 (en) Cloud computing power allocation method, user terminal, cloud computing power platform and system
CN111857674A (en) Business product generation method and device, electronic equipment and readable storage medium
CN112131208A (en) Full data migration method, device and equipment and computer readable storage medium
CN109614271A (en) Control method, device, equipment and the storage medium of multiple company-data consistency
CN113204425A (en) Method and device for process management internal thread, electronic equipment and storage medium
CN110825425A (en) Configuration data management method and device, electronic equipment and storage medium
EP2874059A1 (en) Personal cloud storage chain service system and method
CN111124644A (en) Method, device and system for determining task scheduling resources
CN110717992B (en) Method, apparatus, computer system and readable storage medium for scheduling model
CN117319400A (en) Service processing node adjustment method, device, equipment and storage medium thereof
WO2018227735A1 (en) Pos terminal automatic testing method and device
CN107704362A (en) A kind of method and device based on Ambari monitoring big data components
CN114125062A (en) Task information display method and device
CN111026945A (en) Multi-platform crawler scheduling method and device and storage medium
CN110515698A (en) Resource application method, system, electronic device and storage medium
JP2017535089A (en) Interactive voice response system crawler
CN112837159B (en) Transaction guiding method and device based on scene element, electronic equipment and medium
CN108984426B (en) Method and apparatus for processing data
CN113918344A (en) Resource demand allocation method, device, equipment and computer readable medium
CN112015551A (en) Coroutine pool management method and coroutine pool management device
CN111414200A (en) Method and device for installing operating system, electronic equipment and computer readable 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