Processing method and device applied to timed task and storage medium

By logging in to the timing task management system on the browser, verifying and processing timing tasks, the problem of complexity of timing task management is solved, and convenient management and efficient operation of tasks distributed on different servers is achieved.

CN119201293APending Publication Date: 2024-12-27小芒电子商务有限责任公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411214672.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In business systems, as timing tasks grow, how to conveniently and effectively manage and maintain timing tasks executed in the background distributed on different servers becomes the main problem.

Method used

Provide a processing method, log in to the timing task management system through the browser, display the user login sub-interface in the browser display interface, verify the user login information, and display and process the timing tasks in the task display sub-interface, supporting local and remote reading The method of obtaining the management of timing tasks on different servers.

Benefits of technology

It improves the operational convenience and efficiency of timing task management. Users do not need to remotely connect to the server through terminal software, and can easily configure and manage timing tasks distributed on different servers on the browser side.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201293A_ABST
    Figure CN119201293A_ABST
Patent Text Reader

Abstract

The invention discloses a processing method and device applied to a timed task and a storage medium, and the method comprises the steps: displaying a user login sub-interface in a browser display interface under the condition that a target user logs in a timed task management system through a browser; verifying the login information of the target user obtained based on the user login interface, and if the verification is passed, calling a timed task corresponding to the target user; and displaying the timed task in a task display sub-interface in the browser display interface, so that the target user processes the timed task based on the task display sub-interface. According to the method and the device, the timed tasks can be displayed on the display interface of the browser, so that a user can manage the timed tasks configured in different servers at a web end through the browser, the user does not need to remotely connect the servers through terminal software to perform timed task management, and the operation convenience of timed task management and the efficiency of timed task management are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology, and in particular to a processing method, device and storage medium for timing tasks. Background Art

[0002] Linux is a free to use and freely disseminated Unix-like operating system. It is a multi-user, multi-tasking, multi-threaded and multi-CPU operating system based on POSIX and UNIX. Crontab is a command execution tool used to set periodic scheduled tasks. Its execution is completed by the crond background daemon process. It allows users to create and manage scheduled tasks to automatically run commands or scripts at specific time intervals or time points.

[0003] In business systems, scheduled tasks are usually set through crontab. However, as the number of tasks increases, more and more scheduled tasks need to be executed in the background. Scheduled tasks are also deployed in a distributed manner on different servers. How to conveniently and effectively manage and maintain these scheduled tasks has become the main problem that needs to be solved. Summary of the invention

[0004] In order to solve the above problems, this application provides the following technical solutions:

[0005] A processing method applied to a scheduled task, the method comprising:

[0006] When the target user logs in to the scheduled task management system through a browser, a user login sub-interface is displayed in the browser display interface, wherein the browser display interface is used to display display information of the network application that performs scheduled task management;

[0007] Verifying the login information of the target user obtained based on the user login interface, and if the verification is successful, calling a scheduled task corresponding to the target user;

[0008] The scheduled task is displayed in a task display sub-interface in the browser display interface, so that the target user processes the scheduled task based on the task display sub-interface.

[0009] Optionally, the calling of the scheduled task corresponding to the target user includes:

[0010] Determine first server information of a first server storing a scheduled task, and second server information of a second server running a network application managed by the scheduled task;

[0011] Determining a target reading mode of the reading timed task of the second server according to the first server information and the second server information;

[0012] Based on the scheduled task target reading method, a scheduled task corresponding to the target user is obtained.

[0013] Optionally, determining a target reading mode of the scheduled reading task of the second server according to the first server information and the second server information includes:

[0014] determining, according to the first server information and the second server information, whether the first server and the second server are the same server;

[0015] If yes, determining the target reading mode of the reading timed task of the second server as the first reading mode, where the first reading mode is the local reading mode;

[0016] If not, the target reading mode of the service timing task of the second server is determined to be a second reading mode, the second reading mode is a remote reading mode, and the server connection configuration verification modes of the first reading mode and the second reading mode are different.

[0017] Optionally, the method further comprises:

[0018] Obtaining editing information of the target user for the scheduled task based on the task display sub-interface;

[0019] Parsing the editing information to determine a target scheduled task corresponding to the editing information;

[0020] The target scheduled task is edited based on the editing information to obtain an updated target scheduled task.

[0021] Optionally, the editing the target scheduled task based on the editing information to obtain an updated target scheduled task includes:

[0022] Obtaining target parameter values ​​corresponding to each sub-information in the editing information, wherein the editing information includes time sub-information, scheduled task execution command sub-information, and scheduled task description sub-information;

[0023] The sub-information corresponding to the target scheduled task is adjusted based on the target parameter values ​​corresponding to the respective sub-information to obtain an adjusted target scheduled task.

[0024] Optionally, the method further comprises:

[0025] Obtaining task creation information of the target user for creating a scheduled task based on the task display sub-interface;

[0026] Based on the task creation information, a new scheduled task is created, and the new scheduled task is stored in a first server storing scheduled tasks.

[0027] Optionally, the task display sub-interface in the browser display interface displays the scheduled task, including:

[0028] Parsing each of the scheduled tasks corresponding to the target user to obtain task attribute information of each scheduled task;

[0029] Generate a scheduled task list according to the task attribute information of each scheduled task;

[0030] The scheduled task list is displayed in a task display sub-interface in the browser display interface.

[0031] Optionally, parsing the editing information to determine the target scheduled task corresponding to the editing information includes:

[0032] Determine identification information of a scheduled task corresponding to the edit information, wherein the identification information includes a hash value of the scheduled task;

[0033] Matching is performed among the scheduled tasks according to the identification information to obtain a target scheduled task.

[0034] A processing device for a scheduled task, the device comprising:

[0035] A first display unit, configured to display a user login sub-interface in a browser display interface when a target user logs in to the scheduled task management system through a browser, wherein the browser display interface is configured to display display information of a network application that performs scheduled task management;

[0036] A calling unit, configured to verify the login information of the target user obtained based on the user login interface, and if the verification is successful, call a scheduled task corresponding to the target user;

[0037] The second display unit is used to display the scheduled task in the task display sub-interface in the browser display interface, so that the target user can process the scheduled task based on the task display sub-interface.

[0038] A storage medium stores executable instructions, which, when executed by a processor, implement the processing method for timing tasks as described in any one of the above.

[0039] Compared with the prior art, the present application provides a processing method, device and storage medium for scheduled tasks. When the target user logs in to the scheduled task management system through a browser, a user login sub-interface is displayed in the browser display interface; the login information of the target user obtained based on the user login interface is verified, and if the verification is successful, the scheduled task corresponding to the target user is called; the scheduled task is displayed in the task display sub-interface in the browser display interface, so that the target user can process the scheduled task based on the task display sub-interface. The present application can display scheduled tasks in the browser display interface, and enable users to manage scheduled tasks configured on different servers on the web side through the browser, without the need to remotely connect to the server through terminal software to manage scheduled tasks, thereby improving the operational convenience of scheduled task management and the efficiency of scheduled task management. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0041] Figure 1 A flowchart of a processing method for a scheduled task provided in an embodiment of the present application;

[0042] Figure 2 A flowchart of a crontab task reading method provided in an embodiment of the present application;

[0043] Figure 3 A processing flow chart of a scheduled task modification provided in an embodiment of the present application;

[0044] Figure 4 A schematic diagram of the structure of a processing device for scheduled tasks provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0046] The terms "first" and "second" and the like in the specification and claims of this application and the above drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.

[0047] A processing method for a scheduled task provided in an embodiment of the present application, wherein the scheduled task can be created by any tool for scheduled execution of tasks. For ease of explanation, crontab is used as an example in the embodiment of the present application) crontab is a tool for scheduled execution of tasks on Unix and Linux operating systems. It allows users to create and manage scheduled tasks so that commands or scripts can be automatically run at specific time intervals or time points. The syntax of crontab is very special and needs to be written in a fixed format. Usually, the task job (represented by cronjob) in each crontab file contains six fields, which respectively represent minutes, hours, dates, months, days of the week, and commands or scripts to be executed. In an enterprise business system, with the growth of business, more and more scheduled task programs need to be executed in the background, and scheduled tasks will also be deployed in a distributed manner on different servers for operation, and the management and maintenance of scheduled tasks are relatively cumbersome. Therefore, a processing method for a scheduled task is provided in an embodiment of the present application, which implements the management of crontab job tasks of different servers on a browser. Job tasks can be intuitively viewed and edited through the crontab web management tool, and simple and easy-to-use forms and options are provided, so that users can easily configure the running time, execution commands and parameters of tasks, reducing the operating threshold.

[0048] For details, see Figure 1 , is a flow chart of a processing method for a scheduled task provided in an embodiment of the present application, the method may include the following steps:

[0049] S101. When a target user logs in to a scheduled task management system through a browser, a user login sub-interface is displayed in a browser display interface.

[0050] The target user is the user who currently needs to manage the scheduled task, and can be the maintenance personnel of the scheduled task, or the creator of the scheduled task, etc. The scheduled task management system is a system for managing and maintaining scheduled tasks. It is not implemented by an application installed locally on the target user, but is implemented through a web (network) view. The relevant information in the scheduled task management system can be presented through the browser display interface, that is, the browser display interface can be used to display the display information of the network application (web application) that performs scheduled task management, such as the main interface of the network application for scheduled task management, the update interface of the scheduled task, the monitoring interface of the scheduled task, etc. The target user can log in to the scheduled task management system on the web side by entering the network address of the scheduled task management system in the browser. At this time, the user login sub-interface of the scheduled task management system will be displayed in the browser display interface, so that the relevant login information such as the account number and password entered by the target user can be received through the user login sub-interface.

[0051] S102: Verify the login information of the target user obtained based on the user login interface. If the verification is successful, call the scheduled task corresponding to the target user.

[0052] The target user can enter the corresponding login information in the user login interface. After obtaining the login information, the identity of the target user needs to be verified based on the login information, that is, to determine whether the target user has the access right to the task management system. If the verification is successful, the scheduled task corresponding to the target user will be called, which can be a scheduled task within the management scope of the target user, or a scheduled task previously created by the target user, etc. Specifically, a communication connection can be first established between the server where the browser is located and the server storing the scheduled tasks, and then the server storing the scheduled tasks can send the relevant information of the scheduled tasks to the browser server through the communication connection, so that the scheduled tasks can be displayed on the display interface of the browser.

[0053] S103: Displaying the scheduled task in the task display sub-interface in the browser display interface, so that the target user can process the scheduled task based on the task display sub-interface.

[0054] The task display sub-interface in the embodiment of the present application can provide various functional items for operating scheduled tasks, such as creating scheduled tasks, modifying and deleting existing scheduled tasks, etc. In addition, the various functional items in the task display sub-interface have the feature of simple operation, that is, the user does not need to have professional scheduled task configuration capabilities, and can also operate these functional items to complete the processing of scheduled tasks.

[0055] In one implementation of an embodiment of the present application, scheduled tasks are displayed in a task display sub-interface in a browser display interface, including: parsing each scheduled task corresponding to a target user to obtain task attribute information of each scheduled task; generating a scheduled task list based on the task attribute information of each scheduled task; and displaying the scheduled task list in a task display sub-interface in the browser display interface.

[0056] Each scheduled task corresponding to the target user can be a scheduled task that the target user can maintain and manage. Then, these scheduled tasks are parsed to obtain the corresponding scheduled time related information and task content information and other task attribute information. Then, based on these task attribute information, a scheduled task list is generated, so that each scheduled task in the scheduled task list has these task attribute information, and when the scheduled task list is displayed in the task display sub-interface, the function items corresponding to each task attribute information can be displayed in the task display sub-interface, such as the time item that displays the time parameters of the scheduled task, and these function items can receive the user's trigger operation and execute the processing flow corresponding to the trigger operation. For example, the time item can receive the user's time adjustment trigger, thereby changing the task execution time of the corresponding scheduled task, etc.

[0057] Taking the example of scheduled tasks created based on the crontab tool, in the Linux system, the user's crontab file contains a series of scheduled tasks (i.e., scheduled tasks that need to be executed). Each task (represented by cronjob) can be composed of two parts: time expression and execution command field. The time expression field defines the time frequency of task execution, which consists of minutes, hours, days, months, and days, while the command field defines the command or script to be executed. The user's crontab file content is read by calling the system command (such as the crontab-l command) through the program. If it is a remote server, the user's crontab file content can be read by calling the ssh (a remote connection tool) public key through the program to log in to the remote machine and execute the corresponding command (such as the crontab-l command).

[0058] After reading the contents of the crontab file, use regular expressions to parse it into a scheduled task list (also called a task job object list), where each task job (i.e. scheduled task) object contains the following attributes: original content, time expression, execution command, task description, status, and hash code. Use the original content of the task job to call the hash function to generate a hash code, which is used to uniquely identify the task job object. If there is a comment starting with # on the previous line of the current cron job, it is parsed as a task description. If there is a comment # symbol at the beginning of the current job expression, its status is parsed as paused. Finally, the obtained job object list is displayed in the task display sub-interface in the browser display interface, that is, the web view interface.

[0059] Through the web interface, users can add, delete, modify and check tasks. When submitting and saving, you can find the corresponding job object through the hash code and make corresponding modifications. If it is a new job, create a new Job object, convert the job object into a crontab format string and replace or splice it into the original crontab string. Finally, call the crontab command with the new string content as standard input and write it to the server user crontab file to complete the modification of the crontab task.

[0060] The embodiment of the present application provides a processing method for scheduled tasks. When a target user logs in to a scheduled task management system through a browser, a user login sub-interface is displayed in the browser display interface; the login information of the target user obtained based on the user login interface is verified, and if the verification is successful, the scheduled task corresponding to the target user is called; the scheduled task is displayed in the task display sub-interface in the browser display interface, so that the target user can process the scheduled task based on the task display sub-interface. The present application can display scheduled tasks in the browser display interface, and enable users to manage scheduled tasks configured on different servers on the web side through the browser, without the need to remotely connect to the server through terminal software to manage scheduled tasks, thereby improving the operational convenience of scheduled task management and the efficiency of scheduled task management.

[0061] The following describes the processing method applied to scheduled tasks in the embodiment of the present application in combination with actual application scenarios.

[0062] In one implementation of an embodiment of the present application, calling a scheduled task corresponding to a target user includes: determining first server information of a first server storing the scheduled task, and second server information of a second server running a network application managed by the scheduled task; determining a target reading method for reading the scheduled task of the second server based on the first server information and the second server information; and obtaining the scheduled task corresponding to the target user based on the scheduled task target reading method.

[0063] Further, determining a target reading mode of the reading timed task of the second server according to the first server information and the second server information includes:

[0064] determining, according to the first server information and the second server information, whether the first server and the second server are the same server;

[0065] If yes, determining the target reading mode of the reading timed task of the second server as the first reading mode, where the first reading mode is the local reading mode;

[0066] If not, the target reading mode of the service timing task of the second server is determined to be a second reading mode, the second reading mode is a remote reading mode, and the server connection configuration verification modes of the first reading mode and the second reading mode are different.

[0067] In the embodiment of the present application, the server storing the execution of the scheduled task and the server corresponding to the network application running the scheduled task management can be the same server or different servers. And since the scheduled tasks may be distributed on different servers, in order to ensure the data security in the process of obtaining the scheduled tasks, the scheduled tasks can be obtained based on different reading modes. If the two servers, i.e., the first server and the second server are the same, the scheduled tasks can be obtained by the first reading method, i.e., the scheduled tasks are obtained by the local reading method. If the two are not the same server, the scheduled tasks will be obtained by the remote reading method, i.e., the second reading method. Among them, the remote reading method will complete the connection of the two servers and the verification of the communication connection through the configuration and verification method of the remote connection to ensure the security of the data. For example, remote login is performed through the ssh command, and ssh is a network protocol for encrypted login between computers. If a user logs in to another remote computer from a local computer using the ssh protocol, it can be considered that this login is safe, and even if it is intercepted midway, the password will not be leaked. In this way, the corresponding access connection can be matched through different reading modes to ensure the security of the data.

[0068] The following takes the example of storing scheduled tasks in crontab files. Figure 2 , which is a flow chart of a crontab task reading method provided in an embodiment of the present application.

[0069] When the user enters the access crontab web management address in the browser, the corresponding login sub-interface will be displayed on the browser display interface, and the login sub-interface is used to receive the user's login information. After the user enters the login information, the user login process is implemented, and the login information will be verified. If the verification is successful, that is, the user login is successful, the authorized server list will be read. Otherwise, the user login sub-interface will continue to be displayed. Among them, the servers included in the authorized server list are servers where users store or execute scheduled tasks. In the embodiment of the present application, user identity authentication refers to the identity authentication of logging into the web management tool. The web management tool is deployed in B / S mode. It can be deployed on any one or other servers in the scheduled task server. The management personnel must verify the identity to log in successfully. When operating the scheduled task server, it is determined whether it is a remote server by judging whether the server IP running the web management program is the same as the scheduled task server IP, so as to perform different operations.

[0070] If it is a remote server, an ssh connection test can be performed. For higher system security and better manageability, the ssh public key can be used to log in to the remote server. For this purpose, the local user public key file content needs to be added to the remote machine crontab user ssh login authorization file authorized_keys. It should be noted that other remote login verification connection methods can also be used. The embodiment of the present application does not limit this, as long as the data security of the remote login can be guaranteed. The currently selected server IP is judged. If it is the local IP, the crontab-1 command is called to read the local scheduled task content. If it is a remote machine, the ssh command is called to log in to the remote machine and the crontab-1 command is executed to read the scheduled task content. For example, the Symfony / Process open source component can be used to execute the operating system command and obtain the response output, that is, the corresponding scheduled task is displayed in the task display sub-interface of the browser, that is, the crontab task job list is displayed, so that the user can process the relevant scheduled tasks, such as modifying, adding or deleting the scheduled tasks.

[0071] When displaying scheduled tasks in the task display sub-interface, each scheduled task can be parsed, for example, each scheduled task can be abstracted into a Job type, which includes the following attributes: original task content, current task content, time expression corresponding to the execution time, execution command, whether the task is suspended, task description information, and task identification information such as hash value, etc. Regular expressions can be used to parse the read crontab content, convert the job content into a Job task object, and finally display the Job task list on the web view interface.

[0072] In one implementation of the embodiment of the present application, it also includes:

[0073] Based on the task display sub-interface, the editing information of the target user for the scheduled task is obtained; the editing information is parsed to determine the target scheduled task corresponding to the editing information; the target scheduled task is edited based on the editing information to obtain an updated target scheduled task. The editing information may include the scheduled task selected by the user, i.e., the target scheduled task, and then the target scheduled task is edited based on the specific content in the editing information.

[0074] Further, the editing the target scheduled task based on the editing information to obtain an updated target scheduled task includes:

[0075] Obtain target parameter values ​​corresponding to each sub-information in the editing information, wherein the editing information includes time sub-information, scheduled task execution command sub-information, and scheduled task description sub-information; adjust the sub-information corresponding to the target scheduled task based on the target parameter values ​​corresponding to each sub-information to obtain an adjusted target scheduled task.

[0076] When editing the target scheduled task in the embodiment of the present application, the time information of the scheduled task can be modified, and the task content can also be adjusted. The editable information of the scheduled task includes sub-information representing different contents, such as time sub-information, scheduled task execution command sub-information and scheduled task description sub-information. Taking the crontab scheduled task as an example, the time sub-information represents the time expression of the scheduled task, that is, the time parameters such as the execution time of the scheduled task can be obtained through the time expression; the scheduled task execution command sub-information represents the execution command of the scheduled task, such as automatic execution using the corresponding execution code, or execution based on the execution progress of other threads. Further, the execution command can also include specific content information of the scheduled task. For example, the scheduled task is information push information, and its execution time is to push relevant information after the new user registers. Then the execution command can be to call the push task after detecting that the new user registration of the current platform is successful, and complete the push of relevant information. The scheduled task description sub-information can be the remark description information of the scheduled task, such as the remark information of the running environment of the scheduled task, the execution precautions of the scheduled task and other information. When creating a new scheduled task, the user can fill in and submit these three parts of information. The program will read the target parameter values ​​corresponding to these three pieces of information and parse and assemble them into crontab scheduled task format strings and write them into the crontab file of the server to complete the creation of the corresponding scheduled task.

[0077] When adjusting and updating an existing scheduled task, the user can also obtain the three parts of information of the current target scheduled task and update the relevant parameters, such as updating the time expression corresponding to the time sub-information of the scheduled task, so as to adjust the execution time of the scheduled task. Furthermore, the target parameters corresponding to the scheduled task execution command sub-information and the scheduled task description sub-information can also be adjusted to obtain the target parameter values ​​corresponding to each sub-information, thereby completing the update of the target scheduled task. For example, the scheduled task is a task for regularly pushing information. The push time of the push task can be modified, and the push content can also be modified through the scheduled task execution command sub-information, wherein the push content can include the specific content of the push information, such as modifying the entertainment push information to sports push information, and can also modify the push object, etc. Among them, the parsing of the editing information to determine the target scheduled task corresponding to the editing information includes: determining the identification information of the scheduled task corresponding to the editing information, the identification information includes the hash value of the scheduled task; matching in each of the scheduled tasks according to the identification information to obtain the target scheduled task.

[0078] Furthermore, if a user creates a new scheduled task based on a browser, the newly created scheduled task will also be stored in the scheduled task execution server. Specifically, it includes: obtaining the task creation information of the target user for creating a scheduled task based on the task display sub-interface; creating a new scheduled task based on the task creation information, and storing the new scheduled task in the first server storing the scheduled task.

[0079] Still taking the crontab task as an example, see Figure 3 , a processing flow chart for modifying a scheduled task provided in an embodiment of the present application. In response to receiving a form of a scheduled task that a user needs to modify through a task display sub-interface, it is detected whether it is an editing task. If so, the corresponding scheduled task can be found according to the hash representing the identification information of the scheduled task, that is, it is found as a Job object. If it is not an editing task, a new Job object can be created based on the information provided by the user. The form option values ​​submitted by the user are parsed and assigned to the remarks description of the Job object, the command and time expression fields are executed, and then a new crontab expression string is generated. Finally, the new string content is used as the standard input to call the crontab command and write it into the server user crontab file to complete the modification of the crontab task. Correspondingly, the task can also be paused, resumed, deleted, run, searched, backed up, exported, and other operations performed on the task through the task display sub-interface (i.e., the web interface).

[0080] In the embodiment of the present application, crontab tasks are remotely managed through a web interface without logging into the server (referring to the Linux server storing the scheduled tasks, and also to the server that specifically executes the scheduled tasks), which improves the flexibility and convenience of management. It also provides users with an intuitive and friendly way to add, edit and delete crontab tasks, making complex scheduled task settings simple and efficient.

[0081] See also Figure 4 In an embodiment of the present application, a processing device for a scheduled task is also provided, including:

[0082] The first display unit 401 is used to display a user login sub-interface in the browser display interface when the target user logs in to the scheduled task management system through a browser;

[0083] The calling unit 402 is used to verify the login information of the target user obtained based on the user login interface, and if the verification is successful, call the scheduled task corresponding to the target user;

[0084] The second display unit 403 is used to display the scheduled task in the task display sub-interface in the browser display interface, so that the target user can process the scheduled task based on the task display sub-interface.

[0085] Optionally, the calling unit includes:

[0086] A first determining subunit is used to determine first server information of a first server storing scheduled tasks, and second server information of a second server corresponding to the browser;

[0087] A second determining subunit is used to determine a target reading mode of the reading scheduled task of the second server according to the first server information and the second server information;

[0088] The first acquisition subunit is used to obtain the scheduled task corresponding to the target user based on the scheduled task target reading method.

[0089] Optionally, the second determining subunit is specifically configured to:

[0090] determining, according to the first server information and the second server information, whether the first server and the second server are the same server;

[0091] If yes, determining the target reading mode of the reading timed task of the second server as the first reading mode, where the first reading mode is the local reading mode;

[0092] If not, the target reading mode of the service timing task of the second server is determined to be a second reading mode, the second reading mode is a remote reading mode, and the server connection configuration verification modes of the first reading mode and the second reading mode are different.

[0093] Optionally, the device further comprises:

[0094] A second acquisition subunit is used to obtain the editing information of the target user for the scheduled task based on the task display sub-interface;

[0095] A first parsing subunit, configured to parse the editing information and determine a target scheduled task corresponding to the editing information;

[0096] The editing subunit is used to edit the target scheduled task based on the editing information to obtain an updated target scheduled task.

[0097] Optionally, the editing subunit is configured as:

[0098] Obtaining target parameter values ​​corresponding to each sub-information in the editing information, wherein the editing information includes time sub-information, scheduled task execution command sub-information, and scheduled task description sub-information;

[0099] The sub-information corresponding to the target scheduled task is adjusted based on the target parameter values ​​corresponding to the respective sub-information to obtain an adjusted target scheduled task.

[0100] Optionally, the device further comprises:

[0101] A third acquisition subunit is used to obtain the task creation information of the target user for creating a scheduled task based on the task display sub-interface;

[0102] A creation subunit is used to create a new scheduled task based on the task creation information, and store the new scheduled task in a first server storing scheduled tasks.

[0103] Optionally, the second display unit is configured as:

[0104] Parsing each of the scheduled tasks corresponding to the target user to obtain task attribute information of each scheduled task;

[0105] Generate a scheduled task list according to the task attribute information of each scheduled task;

[0106] The scheduled task list is displayed in a task display sub-interface in the browser display interface.

[0107] Optionally, the first parsing subunit is configured to:

[0108] Determine identification information of a scheduled task corresponding to the edit information, wherein the identification information includes a hash value of the scheduled task;

[0109] Matching is performed among the scheduled tasks according to the identification information to obtain a target scheduled task.

[0110] Based on the foregoing embodiments, an embodiment of the present application further provides a storage medium, wherein the storage medium stores executable instructions, and when the instructions are executed by a processor, a processing method for a scheduled task as described in any one of the foregoing embodiments is implemented.

[0111] An embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the processing method applied to a scheduled task as described in any one of the above items is implemented.

[0112] It should be noted that the above-mentioned processor or CPU can be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It can be understood that the electronic device that realizes the function of the above-mentioned processor can also be other, and the embodiments of the present application are not specifically limited.

[0113] It should be noted that the above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM) and other memories; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0114] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0115] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0116] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A processing method applied to a scheduled task, characterized in that: The method comprises: When the target user logs in to the scheduled task management system through a browser, a user login sub-interface is displayed in the browser display interface, wherein the browser display interface is used to display display information of the network application that performs scheduled task management; Verifying the login information of the target user obtained based on the user login interface, and if the verification is successful, calling a scheduled task corresponding to the target user; The scheduled task is displayed in a task display sub-interface in the browser display interface, so that the target user processes the scheduled task based on the task display sub-interface.

2. The method according to claim 1, characterized in that The calling of the scheduled task corresponding to the target user includes: Determine first server information of a first server storing a scheduled task, and second server information of a second server running a network application managed by the scheduled task; Determining a target reading mode of the reading timed task of the second server according to the first server information and the second server information; Based on the scheduled task target reading method, a scheduled task corresponding to the target user is obtained.

3. The method according to claim 2, characterized in that The determining, according to the first server information and the second server information, a target reading mode of the reading timed task of the second server includes: determining, according to the first server information and the second server information, whether the first server and the second server are the same server; If yes, determining the target reading mode of the reading timed task of the second server as the first reading mode, where the first reading mode is the local reading mode; If not, the target reading mode of the service timing task of the second server is determined to be a second reading mode, the second reading mode is a remote reading mode, and the server connection configuration verification modes of the first reading mode and the second reading mode are different.

4. The method according to claim 1, characterized in that: The method further comprises: Obtaining editing information of the target user for the scheduled task based on the task display sub-interface; Parsing the editing information to determine a target scheduled task corresponding to the editing information; The target scheduled task is edited based on the editing information to obtain an updated target scheduled task.

5. The method according to claim 4, characterized in that The step of editing the target scheduled task based on the editing information to obtain an updated target scheduled task includes: Obtaining target parameter values ​​corresponding to each sub-information in the editing information, wherein the editing information includes time sub-information, scheduled task execution command sub-information, and scheduled task description sub-information; The sub-information corresponding to the target scheduled task is adjusted based on the target parameter values ​​corresponding to the respective sub-information to obtain an adjusted target scheduled task.

6. The method according to claim 1, characterized in that The method further comprises: Obtaining task creation information of the target user for creating a scheduled task based on the task display sub-interface; Based on the task creation information, a new scheduled task is created, and the new scheduled task is stored in a first server storing scheduled tasks.

7. The method according to claim 1, characterized in that The task display sub-interface in the browser display interface displays the scheduled task, including: Parsing each of the scheduled tasks corresponding to the target user to obtain task attribute information of each scheduled task; Generate a scheduled task list according to the task attribute information of each scheduled task; The scheduled task list is displayed in a task display sub-interface in the browser display interface.

8. The method according to claim 4, characterized in that The parsing of the editing information to determine the target scheduled task corresponding to the editing information includes: Determine identification information of a scheduled task corresponding to the edit information, wherein the identification information includes a hash value of the scheduled task; Matching is performed among the scheduled tasks according to the identification information to obtain a target scheduled task.

9. A processing device for a scheduled task, characterized in that: The device comprises: A first display unit, configured to display a user login sub-interface in a browser display interface when a target user logs in to the scheduled task management system through a browser, wherein the browser display interface is configured to display display information of a network application that performs scheduled task management; A calling unit, configured to verify the login information of the target user obtained based on the user login interface, and if the verification is successful, call a scheduled task corresponding to the target user; The second display unit is used to display the scheduled task in the task display sub-interface in the browser display interface, so that the target user can process the scheduled task based on the task display sub-interface.

10. A storage medium, characterized in that: The storage medium stores executable instructions, and when the instructions are executed by the processor, the processing method applied to the scheduled task as described in any one of claims 1 to 8 is implemented.