CN116931960A - Information processing method, device, equipment, medium and product based on deployment task - Google Patents

Information processing method, device, equipment, medium and product based on deployment task Download PDF

Info

Publication number
CN116931960A
CN116931960A CN202310900375.2A CN202310900375A CN116931960A CN 116931960 A CN116931960 A CN 116931960A CN 202310900375 A CN202310900375 A CN 202310900375A CN 116931960 A CN116931960 A CN 116931960A
Authority
CN
China
Prior art keywords
server
file system
task
deployment task
deployment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310900375.2A
Other languages
Chinese (zh)
Inventor
赵冬娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202310900375.2A priority Critical patent/CN116931960A/en
Publication of CN116931960A publication Critical patent/CN116931960A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides an information processing method, device, equipment, medium and product based on a deployment task, and relates to the field of financial science and technology or other related fields. The method comprises the following steps: responding to a task deployment request initiated aiming at a target system, and obtaining a deployment task and a server corresponding to the target system; determining a file system detection request corresponding to the deployment task according to the file system of the server; inquiring a system detection result corresponding to the file system from the server based on the file system detection request; judging whether the deployment task can normally use the file system of the server according to the system detection result; if yes, the deployment task is sent to the server, so that the server executes the deployment task. The method of the application confirms that the server can normally execute the deployment task, and improves the deployment success rate of the deployment task.

Description

Information processing method, device, equipment, medium and product based on deployment task
Technical Field
The present application relates to the field of financial science and technology, and in particular, to an information processing method, apparatus, device, medium, and product based on a deployment task.
Background
With the rapid development of information technology, the online application of the financial field is becoming wider and wider. Corresponding financial services may be provided by different software systems in the financial field. In practical applications, to better serve users, each software system needs to be updated continuously to add new functions or optimize the original service.
At present, the normal operation of a software system needs to depend on the normal operation of a deployed server. In the process of upgrading and deploying the system, if the deployed server has abnormal operation and other phenomena, the deployment task can not be successfully executed, and the deployment interruption phenomenon can occur. And further, the execution time of the system upgrading deployment task is prolonged, and the availability of external services of the system is affected.
Disclosure of Invention
The application provides an information processing method, device, equipment, medium and product based on a deployment task, which are used for solving the technical problems that in the process of upgrading and deploying a system, if a deployed server has abnormal operation and the like, the deployment task can not be successfully executed and deployment interruption phenomenon occurs.
In a first aspect, the present application provides an information processing method based on a deployment task, including:
Responding to a task deployment request initiated aiming at a target system, and obtaining a deployment task and a server corresponding to the target system;
determining a file system detection request corresponding to the deployment task according to the file system of the server;
inquiring a system detection result corresponding to the file system from the server based on the file system detection request;
judging whether the deployment task can normally use the file system of the server according to the system detection result;
if yes, the deployment task is sent to the server, so that the server executes the deployment task.
In a second aspect, the present application provides an information processing apparatus based on a deployment task, including:
the request response unit is used for responding to a task deployment request initiated by a target system and obtaining a deployment task and a server corresponding to the target system;
the request determining unit is used for determining a file system detection request corresponding to the deployment task according to the file system of the server;
a system query unit, configured to query, based on the file system detection request, a system detection result corresponding to the file system from the server;
The use judging unit is used for judging whether the deployment task can normally use the file system of the server according to the system detection result;
and the task deployment unit is used for sending the deployment task to the server if yes so as to enable the server to execute the deployment task.
In a third aspect, the present application provides a terminal device, including: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method as described in the first aspect and the various possibilities of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, are adapted to carry out the method of the first aspect and the various possibilities of the first aspect.
After the deployment task and the server corresponding to the target system are obtained in response to the task deployment request initiated by the target system, the real-time acquisition of the system detection result of the server can be realized by determining the corresponding file system detection request for the deployment task and inquiring the system detection result corresponding to the file system detection request from the server based on the file system detection request. And judging whether the deployment task can normally use the file system of the server according to the system detection result, and sending the deployment task to the server when the deployment task can normally use the file system of the server so as to enable the server to execute the deployment task. And before the deployment task is sent to the server for execution, the server is firstly confirmed that the deployment task can be normally executed so as to ensure that the deployment task can normally run in the server. The deployment success rate of the deployment task is improved, the occurrence of the phenomena of deployment interruption and the like of the deployment task is reduced, and the system deployment efficiency is effectively improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a system architecture diagram of an information processing method based on a deployment task according to an embodiment of the present application;
FIG. 2 is a flowchart of one embodiment of a method for deploying task-based information processing provided by an embodiment of the present application;
FIG. 3 is a flowchart of yet another embodiment of a method for deploying task-based information processing provided by an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating an embodiment of a deployment task based information processing apparatus according to an embodiment of the present application;
fig. 5 is a block diagram of a terminal device according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with related laws and regulations and standards, and provide corresponding operation entries for the user to select authorization or rejection.
It should be noted that the information processing method, device, equipment, medium and product based on the deployment task of the present application can be used in the field of financial science and technology or other related fields, and can also be used in any field other than the field of financial science and technology or other related fields.
In this embodiment, in the field of financial science and technology, the operation of various types of software needs to depend on the corresponding information processing system. The transfer function, such as a mobile banking, needs to rely on a transfer processing system. In practice, there is a need for system updates in an information handling system or any other type of system in order to provide better quality of system services. Currently, system updates may generally be implemented through task deployment. That is, the deployment tasks may be sent to the corresponding system and run in the system to complete the deployment of the new task. Currently, the deployment task is generally directly sent to a server corresponding to the system, and the server executes the deployment task. However, in the system upgrade deployment process, if the deployed server has abnormal operation and other phenomena, the deployment task may not be successfully executed, and a deployment interruption phenomenon may occur. And further, the execution time of the system upgrading deployment task is prolonged, and the availability of external services of the system is affected.
To solve the above-described problems, the present application contemplates that a test may be made as to whether a server can execute a deployment task before sending the deployment task to the server. In practical applications, the server performs deployment task exception generally refers to the use exception of the file system of the server. Therefore, the file system of the server can be detected in a targeted manner, and the running detection of the server can be realized. Therefore, in order to realize the test of the deployment task, a file system detection request can be set in a targeted manner, so that a system detection result corresponding to the file system detection request is queried from a server by utilizing the file system detection request. Judging whether the file system of the server can be normally used or not through the system detection result, and further sending the deployment task to the server for operation when the file system of the server can be normally used.
In this embodiment, after a deployment task and a server corresponding to a target system are obtained in response to a task deployment request initiated for the target system, by determining a corresponding file system detection request for the deployment task, a system detection result corresponding to the file system detection request may be queried from the server based on the file system detection request, so as to achieve real-time acquisition of the system detection result of the server. And judging whether the deployment task can normally use the file system of the server according to the system detection result, and sending the deployment task to the server when the deployment task can normally use the file system of the server so as to enable the server to execute the deployment task. And before the deployment task is sent to the server for execution, the server is firstly confirmed that the deployment task can be normally executed so as to ensure that the deployment task can normally run in the server. The deployment success rate of the deployment task is improved, the occurrence of the phenomena of deployment interruption and the like of the deployment task is reduced, and the system deployment efficiency is effectively improved.
Accordingly, the information processing method based on the deployment task aims to solve the technical problems in the prior art.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
As shown in fig. 1, a system architecture diagram for applying an information processing method based on a deployment task according to an embodiment of the present application may include: a terminal device 11 and a server 12.
The terminal device 11 may detect a task deployment request of the target system, and obtain a deployment task and a server corresponding to the target system in response to the task deployment request. In addition, a file system detection request corresponding to the deployment task can be obtained according to the file system of the server. Based on the file system detection request, the system detection result corresponding to the file system is queried from the server 12. According to the system detection result, whether the deployment task can normally use the file system of the server can be judged. And sends the deployment task to the server 12 when it is available for use. The server 12 may perform the deployment task after receiving the deployment task.
As shown in fig. 2, a flowchart of an embodiment of a deployment task-based information processing method according to an embodiment of the present application may include the following steps:
s201, responding to a task deployment request initiated aiming at a target system, and obtaining a deployment task and a server corresponding to the target system.
In practical applications, the target system may refer to a software system capable of performing the corresponding computer processing functions. The target system may be deployed in a server. In general, in order to implement operations such as system updating, starting, and closing, a deployment task may be continuously issued to a server, and the deployment task is executed on the server to perform corresponding system operations on a target system. The information processing method based on the deployment task in the embodiment of the application can be applied to terminal equipment. The terminal device may be, for example, a computer, a notebook computer, or the like, and the specific type of the terminal device in this embodiment is not limited thereto.
Optionally, step 201 may include: and responding to task input operation executed by a user aiming at a task deployment page of the target system, and obtaining a deployment task input by the user. And acquiring task information of the deployment task. Illustratively, the task information for the deployment task may include: server information, file system mount location, path information, user information, version information, and the like.
In step 201, after obtaining the deployment task, a server that executes the deployment task may also be determined according to task information of the deployment task, so as to determine that the server that executes the deployment task is a server of the target system. For example, a server performing a deployment task may be determined from server information of the task information.
S202, determining a file system detection request corresponding to the deployment task according to the file system of the server.
Step 202 may include, among other things, determining, based on a task type of a deployment task, in conjunction with a file system of a server, a file system detection request that matches the task type.
S203, inquiring a system detection result corresponding to the file system from the server based on the file system detection request.
Optionally, step 203 may include: sending a file system detection request to a server for executing a deployment task, wherein the file system detection request instructs the server to feed back a system detection result according to the file system detection request; and receiving a system detection result sent by the server. The system detection result is obtained by interaction with the server, and the system detection result obtaining efficiency is improved.
The system detection result may refer to data obtained by querying according to a file system detection request.
Illustratively, the system detection results may include an occupancy amount of server storage space, a presence identification of a file path, and the like.
S204, judging whether the deployment task can normally use the file system of the server according to the system detection result, and if so, executing step 205.
Step 204 may include: judging whether the system detection result meets the use condition corresponding to the file system detection request, if so, determining that the deployment task can normally use the file system of the server. If not, determining that the deployment task cannot normally use the file system of the server.
S205, sending the deployment task to the server so that the server executes the deployment task.
If the deployment task is an installation task or an update task, an installation package and a task execution instruction corresponding to the deployment task are sent to the server, so that the server responds to the task execution instruction and executes the corresponding deployment task based on the installation package.
If the deployment task is a start task, a close task or a stop task, determining a task execution instruction corresponding to the start task, sending the task execution instruction to a server, and executing the corresponding deployment task by the server in response to the task execution instruction.
In the embodiment of the application, the corresponding file system detection request is determined for the deployment task, so that the system detection result corresponding to the file system detection request can be queried from the server based on the file system detection request, and the real-time acquisition of the system detection result of the server is realized. And judging whether the deployment task can normally use the file system of the server according to the system detection result, and sending the deployment task to the server when the deployment task can normally use the file system of the server so as to enable the server to execute the deployment task. And before the deployment task is sent to the server for execution, the server is firstly confirmed that the deployment task can be normally executed so as to ensure that the deployment task can normally run in the server. The success rate of deployment of the deployment task is improved, interruption in the execution process of the deployment task is avoided, the automation rate of deployment is improved, and the continuity of external service of the system is ensured.
Further, referring to fig. 1, in step S204, after determining whether the deployment task can normally use the file system of the server according to the system detection result, if not, step S206 is executed.
206. And generating a system detection report according to the system detection result, and outputting the system detection report.
The system detection report may refer to information generated based on the system detection result, such as a result display page generated with the system detection result.
Optionally, after step 206, the method may further include: and generating alarm information according to the system detection result, and outputting the alarm information. And the operation and maintenance personnel are prompted by the alarm information to execute corresponding countermeasures on the system detection result in time, so that the problem of repairing the file system is solved, and the execution success rate of the deployment task is improved.
In this embodiment, after determining that the deployment task cannot normally use the file system of the server, a system detection report may be generated based on detection data of the file system. And prompting a system detection result through a system detection report, so that a user can check corresponding data and respond in time. Namely, outputting the system detection report is beneficial to the user to respond to the fact that the server cannot normally execute the deployment task in time, the phenomenon of execution interruption caused by directly executing the deployment task can be avoided, and the execution success rate of the deployment task and the overall execution efficiency of the deployment task are improved.
In order to enable usage detection of a file system of a server, a file system detection request may be set, which may include at least one of a storage space detection request, a path detection request, and a rights detection request.
The following describes specific embodiments of the different file system detection requests, respectively.
In one embodiment, the file system detection request includes a storage space detection request.
The step 203 may specifically include:
inquiring the used quantity and the total storage quantity corresponding to the storage space of the file system from the server based on the storage space detection request;
and determining the used quantity and the total storage quantity as a system detection result.
The storage space detection request may instruct the server to query its storage space for a corresponding used amount and total storage.
The used amount of storage space may refer to the amount of space occupied by files in a file system.
Total storage may refer to the amount of memory that a file system can use to store files.
In this embodiment, the used amount and the total storage amount of the storage space corresponding to the file system of the server may be queried through the storage space detection request, and whether the file system can provide enough storage space for the deployment task or not may be determined through the query of the used amount and the total storage amount, so that the related files for the deployment task may be normally stored and executed in the server.
Further, based on any of the foregoing embodiments, step 204 may specifically include:
Summing the used quantity and the demand quantity of the deployment task on the storage space to obtain a target occupation quantity;
calculating the quotient of the target occupation amount and the total storage amount, and obtaining the utilization rate of the storage space of the file system;
if the utilization rate is determined to be greater than the safe use threshold, determining to deploy a file system of the task abnormal use server;
and if the usage rate is less than or equal to the safe usage threshold, determining that the deployment task normally uses the file system of the server.
Alternatively, the amount of storage space required by the deployment task may be determined by task information of the deployment task. Specifically, version package information in task information of the deployment task can be read, and the demand of the deployment task for the storage space can be determined according to the version package information. The version package information may include a version number, a version package size, and the like. For example, the version package size may be taken as the required amount of the storage space, and the version package size may be added and summed with a preset value to obtain the required amount of the storage space.
The safe use threshold may be a preset usage rate that enables normal operation of the storage space, and may be set to 70, for example.
Of course, in yet another possible design, the above-mentioned usage calculating step, that is, summing the used amount and the required amount of the storage space by the deployment task, obtains the quotient of the target occupied amount and the calculated target occupied amount and the total storage amount, and obtains the usage of the storage space of the file system, which may also be executed by the server. At this time, the space utilization rate of the file system can be directly used as a system detection result.
In this embodiment, on the basis of the used amount of the storage space and the total storage amount, the target occupation amount may be obtained by adding and summing the used amount and the required amount of the deployment task. And calculating the quotient of the target occupation amount and the total storage amount to obtain the utilization rate of the storage space of the file system. Through comparison of the utilization rate and the safe use threshold value, whether the deployment task can normally use the file system of the server or not can be judged, and whether the storage space of the file system of the server can provide corresponding storage space for the deployment task or not can be judged accurately. And further, corresponding detection is provided for normal execution of the deployment task through judgment of the storage space, so that the deployment success rate of the deployment task is improved.
In the second embodiment, the file system detection request includes a path detection request.
Step 203 may specifically include:
inquiring a path use state corresponding to an access path of the deployment task from a server based on the path detection request;
and determining the path use state as a system detection result.
Optionally, the path detection request may include an access path of the deployment task. The server may read the access path from the path detection request, determine whether the access path exists, obtain a presence state of the access path, and determine a path use state according to the presence state of the access path. If the access path exists, the path use state is determined to be a normal use state, and if the access path does not exist, the path use state is determined to be an abnormal use state. The path usage status may include: normal use conditions and abnormal use conditions.
In this embodiment, the access path of the deployment task may be obtained based on the path detection request in the file system detection request, and the path usage state corresponding to the access path in the server may be queried, and the path usage state may be used as a system detection result corresponding to the file system detection request. By acquiring the use state of the access path of the deployment task, whether the deployment task can normally access the server can be detected, access is performed again when the deployment task can normally access the storage path of the server, and the access success rate of the deployment task can be improved.
Further, based on any of the foregoing embodiments, step 204 may specifically include:
determining a path use state corresponding to a system detection result;
if the path use state is the normal use state, determining that the deployment task normally uses the file system of the server;
if the path use state is the abnormal use state, determining that the task is deployed to abnormally use the file system of the server.
In this embodiment, after obtaining the path usage state of the server for the access path of the deployment task, it may be confirmed whether the server file system can be used normally by using whether the path usage state is a normal usage state as the deployment task. Therefore, for the state confirmation of the path use state of the access path, the deployment pre-judgment of the deployment task can be realized, and the deployment efficiency and accuracy of the deployment task are improved.
In the third embodiment, the file system detection request includes a permission detection request.
Step 203 may specifically include:
inquiring the path access authority of the deployment task on the access path of the server based on the authority detection request;
and determining the path access authority as a system detection result.
Optionally, the rights detection request may include a rights detection command indicating that the access rights of the access path of the deployment task are detected. The server may read the rights detection command from the rights detection request, execute the rights detection command, and query the corresponding path access rights. The terminal device may receive the path access rights fed back by the server.
The permission access request may further include user information of the deployment user and an access path, and the query may be performed on the permission of the deployment user for detecting whether the deployment path has the read-write execution, so as to obtain the path access permission.
In this embodiment, whether the deployment task has the access right of the access path of the deployment task may be determined based on the right detection request in the file system detection request, and the path access right may be used as a system detection result. Whether the deployment task can be normally accessed can be confirmed through the acquisition of the path access permission, and the acquisition efficiency and accuracy of the path access permission are improved.
Further, based on any of the above embodiments, step 204 may include:
if the path access authority is the access authority, determining that the deployment task normally uses the file system of the server;
and if the path access authority is no access authority, determining that the deployment task abnormally uses the file system of the server.
In this embodiment, after determining the path access right corresponding to the system detection result, by judging whether the path access right is normal right, it is able to confirm whether the deployment task can normally use the file system of the server, so as to further improve the accuracy of the execution success of the deployment task.
In the fourth embodiment, the file system detection request may include three rules including a storage space detection request, a path detection request, and a permission detection request.
For ease of understanding, as shown in fig. 3, a flowchart of still another embodiment of a deployment task-based information processing method is provided in an embodiment of the present application.
301. And responding to a task deployment request initiated aiming at the target system, and obtaining a deployment task and a server corresponding to the target system.
302. According to the file system of the server, determining a file system detection request corresponding to the deployment task, wherein the file system detection request comprises: a storage space detection request, a path detection request, and a rights detection request.
303. Inquiring the used quantity and the total storage quantity corresponding to the storage space of the file system from a server based on the storage space detection request in the file system detection request;
304. based on the path detection request in the file system detection request, the path use state corresponding to the access path of the deployment task is inquired from the server.
305. And inquiring the path access authority of the deployment task on the access path of the server based on the authority detection request in the file system detection request.
306. And calculating the utilization rate of the storage space of the file system according to the used amount and the total storage amount of the storage space of the file system and the demand of the deployment task on the storage space.
307. Judging whether the utilization rate of the storage space is smaller than a safe use threshold value; if yes, go to step 308, otherwise go to step 311.
308. Whether the path usage status is normal is determined, if yes, step 309 is executed, and if not, step 311 is executed.
309. And judging whether the path access authority is the access authority, if yes, executing the step 310, and if not, executing the step 311.
310. And sending the deployment task to the server so that the server executes the deployment task.
311. And generating a system detection report according to the system detection result, and outputting the system detection report.
In this embodiment, the file system detection request may include a rights detection request, a storage space detection request, and a path detection request. And by storing the utilization rate corresponding to the space detection request, the path utilization state corresponding to the path detection request and the path access authority corresponding to the authority detection request, whether the deployment task can be normally executed by the server or not is confirmed in three dimensions, so that the execution condition detection before the deployment task is sent is realized, the deployment is ensured under the condition that the space utilization, the path utilization and the authority utilization are met, the deployment success rate of the deployment task is improved, the deployment recognition phenomenon caused by executing the deployment task when any one of the conditions is not met is avoided, and the deployment success rate of the deployment task is improved.
As an optional implementation manner, the step 202 may specifically include:
determining a file system detection rule of the deployment task in the server according to the task type of the deployment task;
and generating a file system detection request based on the task information of the deployment task and the file system detection rule.
The deployment tasks may include a system update task to be published, a system installation task, and may also include specific operation tasks set for the system, such as a shutdown task, a startup task, a backup task, and the like. The specific type of deployment task in this embodiment is not limited.
That is, the task types of the deployment task may include a shutdown task type, an update task type, an installation task type, a backup task type, a startup task type, and the like. Different task types may correspond to respective file system detection rules.
For example, the file system detection rules corresponding to the installation task type may include storage space detection rules. The corresponding storage space detection request may be generated according to a storage space detection rule.
For another example, the file system detection rules corresponding to the task types such as the installation task type, the update task type, the backup task type and the like may further include a path detection rule and a storage space detection rule, and the path detection request may be generated according to the path detection rule, and the corresponding storage space detection request may be generated according to the storage space detection rule.
For another example, the file system detection rules corresponding to the task types such as the shutdown task type and the startup task type may include a path detection rule and a permission detection rule, that is, a path detection request may be generated according to the path detection rule, and a permission detection request may be generated according to the permission detection rule. The path use state and the path access state can be confirmed in advance by using the path detection request and the permission detection request, and then a shutdown task, a startup task and the like are realized.
That is, in this embodiment, according to the file system detection rule, a file system detection request matched with the file system detection rule may be generated, so that the file system detection request and the file system detection rule keep consistent, and implement targeted detection of the file system. Of course, the actual corresponding relation between the task type and the detection task can be set according to different task types, so that flexible setting of the task type and the detection task can be realized, and the application range is expanded.
In this embodiment, different deployment tasks may have different task types, and a file system detection rule of a deployment task may be determined according to a task type of the deployment task. And further, a file system detection rule of the deployment task is utilized, and a file system detection request is generated by combining task information of the deployment task. By associating different detection rules for different task types, the deployment tasks of different types can be managed in a targeted manner, the convenience in setting the detection rules is improved, and the acquisition efficiency and accuracy of the file system detection request are improved.
As shown in fig. 4, a schematic structural diagram of an embodiment of an information processing apparatus based on a deployment task according to an embodiment of the present application, where the information processing 400 based on the deployment task may include:
Request response unit 401: and the server is used for responding to the task deployment request initiated aiming at the target system and obtaining the deployment task and the server corresponding to the target system.
Request determination unit 402: and the file system detection request corresponding to the deployment task is determined according to the file system of the server.
System query unit 403: and the server is used for inquiring the system detection result corresponding to the file system based on the file system detection request.
The use judgment unit 404: and the system detection module is used for judging whether the deployment task can normally use the file system of the server according to the system detection result.
Task deployment unit 405: and if yes, sending the deployment task to the server so that the server executes the deployment task.
As one embodiment, the file system detection request includes a storage space detection request; a system query unit comprising:
the first inquiry module is used for inquiring the used quantity and the total storage quantity corresponding to the storage space of the file system from the server based on the storage space detection request;
and the first determining module is used for determining the used quantity and the total storage quantity as a system detection result.
As still another embodiment, a judgment unit is used, comprising:
The first calculation module is used for adding and summing the used quantity and the required quantity of the storage space by the deployment task to obtain a target occupation quantity;
the second calculation module is used for calculating the quotient of the target occupation amount and the total storage amount and obtaining the utilization rate of the storage space of the file system;
the first judging module is used for determining a file system of the abnormal deployment task use server if the utilization rate is determined to be larger than the safe use threshold;
and the second judging module is used for determining that the deployment task normally uses the file system of the server if the utilization rate is smaller than or equal to the safe use threshold value.
As yet another embodiment, the file system detection request includes a path detection request, a system query unit, including:
the second query module is used for querying the path use state corresponding to the access path of the deployment task from the server based on the path detection request;
and the second determining module is used for determining the path using state as a system detection result.
As still another embodiment, a judgment unit is used, comprising:
the state determining module is used for determining a path use state corresponding to the system detection result;
the third judging module is used for determining that the deployment task normally uses the file system of the server if the path use state is the normal use state;
And the fourth judging module is used for deploying the file system of the task abnormal use server if the path use state is the abnormal use state.
As yet another embodiment, the file system detection request includes a rights detection request, a system query unit, including:
the third query module is used for querying the path access rights of the deployment task on the access path of the server based on the rights detection request;
and the third determining module is used for determining the path access authority as a system detection result.
As still another embodiment, a judgment unit is used, comprising:
a fifth judging module, configured to determine that the deployment task normally uses the file system of the server if the path access right is an access right;
and the sixth judging module is used for determining that the deployment task abnormally uses the file system of the server if the path access authority is no access authority.
As yet another embodiment, further comprising:
and the report output unit is used for generating a system detection report according to the system detection result if not, and outputting the system detection report.
As still another embodiment, the request determining unit includes:
the rule query unit is used for determining a file system detection rule of the deployment task in the server according to the task type of the deployment task;
And the request generation unit is used for generating a file system detection request based on the task information of the deployment task and the file system detection rule.
The apparatus of the present application may be used to perform the above-described method, and reference may be made to the embodiments of the above-described method for details.
Fig. 5 is a block diagram of a terminal device, which may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like, in accordance with an exemplary embodiment.
The apparatus 500 may include one or more of the following components: a processing component 502, a memory 504, a power supply component 506, a multimedia component 508, an audio component 510, an input/output (I/O) interface 512, a sensor component 514, and a communication component 516.
The processing component 502 generally controls overall operation of the apparatus 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interactions between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on the apparatus 500, contact data, phonebook data, messages, pictures, videos, and the like. The memory 504 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 500.
The multimedia component 508 includes a screen between the device 500 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 508 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the apparatus 500 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 510 is configured to output and/or input audio signals. For example, the audio component 510 includes a Microphone (MIC) configured to receive external audio signals when the device 500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 504 or transmitted via the communication component 516. In some embodiments, the audio component 510 further comprises a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 514 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 514 may detect the on/off state of the device 500, the relative positioning of the components, such as the display and keypad of the device 500, the sensor assembly 514 may also detect a change in position of the device 500 or a component of the device 500, the presence or absence of user contact with the device 500, the orientation or acceleration/deceleration of the device 500, and a change in temperature of the device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 504, including instructions executable by processor 520 of apparatus 500 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium having stored therein computer executable instructions that, when executed by a processor of a terminal device, enable the terminal device to perform a method implemented by any of the embodiments described above.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (12)

1. An information processing method based on a deployment task is characterized by comprising the following steps:
Responding to a task deployment request initiated aiming at a target system, and obtaining a deployment task and a server corresponding to the target system;
determining a file system detection request corresponding to the deployment task according to the file system of the server;
inquiring a system detection result corresponding to the file system from the server based on the file system detection request;
judging whether the deployment task can normally use the file system of the server according to the system detection result;
if yes, the deployment task is sent to the server, so that the server executes the deployment task.
2. The method of claim 1, wherein the file system detection request comprises a storage space detection request; the querying, based on the file system detection request, a system detection result corresponding to the file system from the server includes:
inquiring the used quantity and the total storage quantity corresponding to the storage space of the file system from the server based on the storage space detection request;
and determining the used quantity and the total storage quantity as the system detection result.
3. The method according to claim 2, wherein the determining whether the deployment task can normally use the file system of the server according to the system detection result includes:
Adding and summing the used quantity and the required quantity of the storage space by the deployment task to obtain a target occupation quantity;
calculating the quotient of the target occupation amount and the total storage amount to obtain the utilization rate of the storage space of the file system;
if the utilization rate is determined to be greater than a safe use threshold, determining that the deployment task abnormally uses a file system of the server;
and if the usage rate is smaller than or equal to the safe usage threshold, determining that the deployment task normally uses the file system of the server.
4. A method according to any one of claims 1-3, wherein the file system detection request comprises a path detection request, and the querying, from the server, a system detection result corresponding to the file system based on the file system detection request comprises:
inquiring a path use state corresponding to an access path of the deployment task from the server based on the path detection request;
and determining the path use state as the system detection result.
5. The method of claim 4, wherein the determining whether the deployment task can normally use the file system of the server according to the system detection result comprises:
Determining a path use state corresponding to the system detection result;
if the path use state is a normal use state, determining that the deployment task normally uses a file system of the server;
and if the path use state is the abnormal use state, determining that the deployment task abnormally uses the file system of the server.
6. A method according to any one of claims 1-3, wherein the file system detection request comprises a permission detection request, and the querying, from the server, a system detection result corresponding to the file system based on the file system detection request comprises:
inquiring the path access authority of the deployment task on the access path of the server based on the authority detection request;
and determining the path access authority as the system detection result.
7. The method of claim 6, wherein the determining whether the deployment task can normally use the file system of the server according to the system detection result comprises:
if the path access permission is the access permission, determining that the deployment task normally uses the file system of the server;
And if the path access permission is no access permission, determining that the deployment task abnormally uses the file system of the server.
8. A method according to any one of claims 1 to 3, wherein after determining whether the deployment task can normally use the file system of the server according to the system detection result, the method further comprises:
if not, generating a system detection report according to the system detection result, and outputting the system detection report.
9. A method according to any one of claims 1-3, wherein determining, according to the file system of the server, a file system detection request corresponding to the deployment task includes:
determining a file system detection rule of the deployment task in the server according to the task type of the deployment task;
and generating the file system detection request based on the task information of the deployment task and the file system detection rule.
10. An information processing apparatus based on a deployment task, comprising:
the request response unit is used for responding to a task deployment request initiated by a target system and obtaining a deployment task and a server corresponding to the target system;
The request determining unit is used for determining a file system detection request corresponding to the deployment task according to the file system of the server;
a system query unit, configured to query, based on the file system detection request, a system detection result corresponding to the file system from the server;
the use judging unit is used for judging whether the deployment task can normally use the file system of the server according to the system detection result;
and the task deployment unit is used for sending the deployment task to the server if yes so as to enable the server to execute the deployment task.
11. A terminal device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1 to 9.
12. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1 to 9.
CN202310900375.2A 2023-07-20 2023-07-20 Information processing method, device, equipment, medium and product based on deployment task Pending CN116931960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310900375.2A CN116931960A (en) 2023-07-20 2023-07-20 Information processing method, device, equipment, medium and product based on deployment task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310900375.2A CN116931960A (en) 2023-07-20 2023-07-20 Information processing method, device, equipment, medium and product based on deployment task

Publications (1)

Publication Number Publication Date
CN116931960A true CN116931960A (en) 2023-10-24

Family

ID=88375022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310900375.2A Pending CN116931960A (en) 2023-07-20 2023-07-20 Information processing method, device, equipment, medium and product based on deployment task

Country Status (1)

Country Link
CN (1) CN116931960A (en)

Similar Documents

Publication Publication Date Title
CN105100074A (en) Data operation processing method, device and terminal equipment
CN106598488A (en) Distributed data reading method and device
CN105427161A (en) Monetary exchange rate exchange method and device
CN105094904A (en) Application program installation method and device
CN106201628A (en) Application program installation method and device
CN110166564B (en) Information communication method, terminal and storage medium
CN108446226B (en) Application exception processing method
CN108153540B (en) System upgrading method, device, terminal and storage medium
CN106372943A (en) Message processing method and device
US10671827B2 (en) Method and device for fingerprint verification
CN109885360B (en) Data processing method, device and storage medium
CN108829532B (en) Fingerprint detection method, device and readable storage medium
CN116630073A (en) Invoice data processing method and device and electronic equipment
CN106201634B (en) Software installation method and device
CN113726905B (en) Data acquisition method, device and equipment based on home terminal equipment
CN113778687B (en) Memory allocation information processing method and device, electronic equipment and storage medium
CN116931960A (en) Information processing method, device, equipment, medium and product based on deployment task
CN110995767B (en) Request processing method and device
CN107463414B (en) Application installation method and device
CN109194639B (en) Message receiving and processing method, device, terminal and readable storage medium
CN107728909B (en) Information processing method and device
CN113590382B (en) NFC function processing method, NFC function processing device and storage medium
CN117573234B (en) Software package uninstallation management method and device, electronic equipment and storage medium
CN114020504B (en) Data processing method and device, electronic equipment and storage medium
CN108205452B (en) Software execution control method and device

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