An information processing method, device and readable storage medium
The information processing device determines whether the management software is idle. If so, it sends the message; otherwise, it establishes an information queue and merges the messages.
Patent Information
- Application Number
- CN202210764678.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2042-06-30
AI Technical Summary
When existing technologies connect to multiple third-party platforms simultaneously, the management cluster frequently modifies, queries, and reports information, leading to increased repetitive operations, increased operational pressure, increased maintenance software pressure, and increased redundant code.
Upon receiving a message, determine if the management software is idle. If so, send the message; otherwise, establish a message queue and merge the messages. If the management software is idle, process the message.
The system checks when the management software is idle; if the condition is met, the information is sent.
Smart Images

Figure CN115168034B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of information security, and in particular to an information processing method and device and readable storage medium. BACKGROUND
[0002] In recent years, with the development of computer technology and information technology, and the increase in the use of information, distributed management software accounts for an increasingly large proportion in daily work and business. Currently, distributed storage management software usually needs to support interfacing with multiple third-party management platforms. In actual development, a separate module needs to be developed for each third-party platform for interfacing, receiving requests and reporting information sent by the management platform.
[0003] The current information processing method generally develops a module for each third-party plug-in platform for interfacing to provide the information required by the platform. However, interfacing with multiple platforms at the same time means more frequent modification, query and reporting of the managed cluster. A large number of requests and reporting will inevitably result in more repetitive operations and greater operating pressure. More modules need to be maintained, which increases the pressure on maintaining the software and a large amount of redundant code.
[0004] In view of the above technology, it is an urgent problem for those skilled in the art to find an information processing method that can solve code redundancy. SUMMARY
[0005] The purpose of the present application is to provide an information processing method, device and readable storage medium to solve the problem that interfacing with multiple platforms at the same time means more frequent modification, query and reporting of the managed cluster. A large number of requests and reporting will inevitably result in more repetitive operations and greater operating pressure. More modules need to be maintained, which increases the pressure on maintaining the software and a large amount of redundant code.
[0006] To solve the above technical problem, the present application provides an information processing method, comprising:
[0007] When receiving information, it is determined whether the management software is idle;
[0008] If so, the information is sent to the management software for processing;
[0009] If not, an information queue is established, and the information in the information queue is merged;
[0010] When the management software is idle, the merged information is sent to the management software for processing.
[0011] Preferably, the merging of the information in the information queue comprises:
[0012] If the multiple information are all inquiring the same resource or different parts of the same resource, the multiple information are combined.
[0013] Preferably, the combining of the information in the information queue comprises:
[0014] If the multiple information are all modifying the same resource or different parts of the same resource, the final state of the resource to be modified is determined in advance, and the multiple information are combined into one modified request information.
[0015] Preferably, the combining of the information in the information queue comprises:
[0016] If the information in the information queue is to delete the resource, all operation information of the resource are combined into one request information to delete the resource.
[0017] Preferably, after the combined information is sent to the management software for processing, the method further comprises:
[0018] Every preset time, it is judged whether the management software is idle or not;
[0019] If yes, the processing result is sent to the corresponding platform;
[0020] If no, the sending time of the processing result is delayed, and the step of judging whether the management software is idle every preset time is returned.
[0021] Preferably, the method further comprises:
[0022] The reporting information of the management software is received;
[0023] The reporting information is divided into the format and content required by each platform according to a set template;
[0024] The divided reporting information is sent to each platform.
[0025] Preferably, the method further comprises:
[0026] When the information sending fails, an alarm is given.
[0027] To solve the above problems, the application further provides an information processing device, comprising:
[0028] A receiving module is configured to, when receiving information, judge whether a management software is idle or not, start a processing module if yes, and start a combining module if no;
[0029] A processing module is configured to send the information to the management software for processing;
[0030] a merging module, configured to establish an information queue and merge the information in the information queue;
[0031] an idle module, configured to send the merged information to the management software for processing when the management software is idle.
[0032] Preferably, the device further comprises:
[0033] a judging module, configured to judge whether the management software is idle every preset time, and if yes, start the processing module, and if not, start the delaying module;
[0034] a processing module, configured to send the processing result to the corresponding platform;
[0035] a delaying module, configured to delay the sending time of the processing result and return to the step of judging whether the management software is idle every preset time.
[0036] Preferably, the device further comprises:
[0037] a reporting module, configured to receive the information reported by the management software;
[0038] a dividing module, configured to divide the information into the format and content required by each platform according to a set template;
[0039] a sending module, configured to send the information after division to each platform.
[0040] To solve the above problems, the application further provides an information processing device, comprising a memory for storing a computer program;
[0041] a processor for executing the computer program to realize the steps of the information processing method as described above.
[0042] To solve the above problems, the application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the information processing method as described above.
[0043] The information processing method provided in the application, when receiving information, judges whether the management software is idle, if yes, sends the information to the management software for processing, if no, establishes an information queue, merges the information in the information queue, and sends the merged information to the management software for processing when the cluster management software is idle. Compared with the traditional information processing method, the application provides a distributed storage management software interface multi-platform information processing method, reduces the repeated requests and information reporting when interfacing with multiple platforms at the same time, improves the operation efficiency of the management software, reduces the operation pressure of the management software, and reduces the redundancy of the management software.
[0044] The information processing device and the computer readable storage medium provided in the application correspond to the information processing method described above, and have the same beneficial effects. BRIEF DESCRIPTION OF DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the application, the drawings needed in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.
[0046] Figure 1 A flowchart of an information processing method provided in an embodiment of the application;
[0047] Figure 2 A comparison diagram of the management software reporting executed provided in an embodiment of the application;
[0048] Figure 3 A schematic diagram of an information processing device provided in an embodiment of the application;
[0049] Figure 4 A structural diagram of an information processing device provided in another embodiment of the application. DETAILED DESCRIPTION
[0050] The technical solutions in the embodiments of the application will be described clearly and completely below with reference to the drawings in the embodiments of the application. Obviously, the described embodiments are only some of the embodiments of the application, not all. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the application.
[0051] The core of the present application is to provide an information processing method, device and readable storage medium, so as to solve the problem that simultaneously interfacing multiple sets of platforms means more frequent modification, query and reporting information of the managed cluster, a large number of requests and reporting will inevitably bring more repeated operations and greater operating pressure, more modules need to be maintained, and the pressure of maintaining software and a large amount of redundant code will be increased.
[0052] In order to enable those skilled in the art to better understand the present application scheme, the present application will be further described in detail below in combination with the drawings and specific embodiments.
[0053] Figure 1 A flowchart of an information processing method provided by the present application is shown in Figure 1 The method comprises:
[0054] S10: When receiving information, it is judged whether the management software is idle, if yes, S11 is entered, if not, S12 is entered;
[0055] The distributed storage system is to store data on multiple independent devices. The traditional network storage system uses a centralized storage server to store all data, and the storage server becomes the bottleneck of system performance and the focus of reliability and security, which cannot meet the needs of large-scale storage applications. The distributed network storage system uses a scalable system structure, uses multiple storage servers to share the storage load, and uses a location server to locate the storage information. It not only improves the reliability, availability and access efficiency of the system, but also is easy to expand. Of course, the distributed storage system contains centralized management and network storage, etc., which will not be described here.
[0056] It should be noted that the management software involved in the present embodiment is a distributed storage management software, that is, it is used for managing the distributed storage system. Generally, the distributed management software usually needs to support interfacing multiple sets of third-party management platforms, that is, computing platforms. The computing platform is the basis for the design and development of computer system hardware and software. It has certain standardization and publicity, and at the same time determines the performance of the hardware and software of the computer system. The basis of hardware is central processing unit (CPU), and the basis of software is operating system. Therefore, the computing platform is usually represented by a certain type of processor used as the CPU of the computer system and the operating system used by the system, that is, processor / operating system. Therefore, it is an Internet management software. With the advent of the era of product platformization and application fragmentation, the speed of product update and release is faster, the period of new technology applied to products is shorter, and the process of product service has also changed. Unlike traditional system operation and maintenance services, it focuses on product updates and the use of new technologies.
[0057] In the actual development process, a separate module needs to be developed for each third-party platform to interface, receive and report information sent by the management platform. For the management software, simultaneously interfacing multiple platforms means more frequent modification, query and reporting information for the managed cluster. Therefore, judging whether the management software is idle means judging whether it is currently processing other related information. In the present embodiment, the information involved can include but is not limited to reporting information, resource retrieval, deletion, modification information and the like, which are all various request information of the platform for the distributed storage system. In the present embodiment, the specific way of judging whether the distributed management software is idle is not limited, and the above-mentioned information is also not limited. It can be understood that whether the management software is idle can be detected by log and processor occupancy rate of the management software and the like.
[0058] S11: sending information to the management software for processing;
[0059] It should be noted that the execution subject adopted in the present application is to merge and resolve conflicts of the requests sent by the third-party platform when simultaneously interfacing multiple third-party plug-ins or management platforms, to reduce the running pressure of the management software and reduce redundancy. When multiple third-party platforms simultaneously send requests to the management software, all the requests are first sent to the preprocessing module, i.e. all the steps are performed through the preprocessing module. In the present embodiment, the preprocessing module is an information processing module on the software, not an entity hardware device, and will not be described in detail hereinafter.
[0060] It should be noted that the step of processing information includes integration and execution of commands in the information, etc. According to different received information, it can be a series of operations such as modifying, deleting, etc. the data stored in the distributed storage. In the present embodiment, the specific steps of processing are not described in detail.
[0061] S12: establishing an information queue and merging information in the information queue;
[0062] A queue is a special linear list, which is special in that it only allows deletion operation at the front end of the list and insertion operation at the rear end of the list. Like a stack, a queue is a linear list with limited operations. The end for insertion operation is called the queue tail, and the end for deletion operation is called the queue head. When there is no element in the queue, it is called an empty queue. The data elements in the queue are also called queue elements. Inserting a queue element into the queue is called enqueue, and deleting a queue element from the queue is called dequeue. In the present embodiment, the information sent by each platform is the element of the queue, and the specific sorting method of the element is not limited in the present embodiment.
[0063] Because the queue only allows insertion at one end and deletion at the other end, only the element that enters the queue earliest can be deleted from the queue first, so the queue is also called the first-in first-out linear table.
[0064] It should be noted that the queue is divided into a sequential queue and a circular queue, and the queue taken is different according to the information in the queue. In the embodiment, the specific way of establishing the information queue, the management of the information queue, and the specific content of the information merging are not limited, and it can be understood that the request information for the same data in the information can be merged accordingly. For example, if there is a request information that deletes the data, all request information for the information can be merged into one information that deletes the data. Because the information has been deleted, other requests for the information cannot find corresponding request data, so there is no need to respond to other requests, thereby reducing the running burden of the management software.
[0065] S13: When the management software is idle, send the merged information to the management software for processing.
[0066] It should be noted that the way of judging whether the management software is idle in the present step is consistent with the above steps, and the corresponding way of processing the merged information is similar to the description of the above information processing method. It should be clear that the step of the merged information is less than the step of the information sent to the management software, so the corresponding step of the management software will also be reduced.
[0067] The information processing method provided in the embodiment, when receiving information, judges whether the management software is idle, if yes, sends the information to the management software for processing, if not, establishes an information queue, and merges the information in the information queue. When the cluster management software is idle, send the merged information to the management software for processing. Compared with the traditional information processing method, the present application provides an information processing method for distributed storage management software to interface multiple platforms, reduces repeated requests and information reporting when interfacing multiple platforms at the same time, improves the running efficiency of the management software, reduces the running pressure of the management software, and reduces the redundancy of the management software.
[0068] The specific content of the merging of the information in the information queue in the above embodiment is not limited, and the merging of the information in the information queue includes:
[0069] If multiple information are all queries for the same resource or different parts of the same resource, the information is merged and processed.
[0070] If multiple information are all modifications for the same resource or different parts of the same resource, the final state of the resource to be modified is determined in advance, and the information is merged into one modified request information.
[0071] If there is information in the information queue to delete the resource, all operation information of the resource is combined into a request information of deleting the resource.
[0072] It should be noted that the concept of resource in the computer has been very early, perhaps can be traced back to the use of constants in the program. For example, we define in the computer language: Const float pi = 3.14, the constant pi here is actually the simplest kind of resource, in the future program, when encountering the circular constant, pi can be used instead. When the parameter pi value needs to be modified (such as to improve the calculation accuracy), only the value of pi needs to be modified in one place, and it is not necessary to modify all the places where pi is used. This is the earliest form of resource. With the rapid development of computer technology, the types of resources are becoming more and more rich, such as pictures, audios, videos and the like. In the embodiment, the type of resource is not specifically limited, that is, the resource stored in the distributed storage system can be any type of resource.
[0073] The above three preferred schemes are all for different commonly used information. It can be understood that the query refers to the main method of retrieving data from a data table. The query can be divided into four categories: selection query, parameter query, cross query and operation query. For multiple platforms to query the same resource or different parts of the same resource, since the address stored by the resource is the same, after the information is combined, only the storage resource corresponding to the information content needs to be sent to the corresponding platform, so the information of the platforms requesting to query the resource can be integrated into the same information, so that the management software only needs to be executed once.
[0074] For modification, it is from the platform to add and rewrite a certain resource in the distributed storage software and the like, for example, platform A adds the corresponding content to storage resource B, which is also regarded as modification of storage resource B. The integration of the request information for modification is to calculate the final state of the resource in advance, for example, the content C in resource B needs to be modified to C1 by the request information of platform A and to C2 by the request information of platform B, so that after integration, the content C in resource B is modified to C2. Therefore, the specific calculation and integration are performed by the preprocessing module, and the management software only needs to perform the specific steps of the request information after calculation and integration.
[0075] Delete: refers to deleting a file that is no longer needed from the directory list of the system to free up disk space for other operations. Most "thorough" deletion in a computer is to remove it from the list and can be overwritten by other files. For deletion, there are logical deletion and physical deletion. Logical deletion refers to deleting and emptying the data of a file, only adding code E5 to the file header in the FAT table, and then clearing the registration of the clusters occupied by the file in the FAT table, indicating the release of space. The deletion operated by general users belongs to logical deletion. Logical deletion does not modify the hard disk data, which makes the mistakenly deleted file recoverable. However, the clusters occupied by the file before deletion are allowed to be overwritten, which means that if the file is deleted and the partition where the file is located is used continuously, the data may be overwritten, resulting in damage or even unrecoverability. Physical deletion refers to completely emptying the file data and erasing all data to 0. Physical deletion cannot be recovered. If the quick formatting option is not selected in the HDD LOW LEVEL FORMAT software low-level formatting, it can be considered as physical deletion.
[0076] In this embodiment, the specific content of deletion is not specifically limited. It can be understood that when the data in a resource are all deleted, whether it is logical deletion or physical deletion, any request information for the resource cannot find corresponding data to execute. Even if the corresponding content cannot be found, the corresponding request information is still sent to the management software, and then the management software processes and feeds back that the corresponding resource cannot be found, thereby reporting an error. The running resources of the management software are still occupied. Therefore, the request information for deletion, i.e., the other request information corresponding to the deleted resource, can be merged, and only the request information for deleting the resource needs to be retained.
[0077] In this embodiment, the multiple information are all for querying the same resource or different parts of the same resource, and the information are merged and processed. The multiple information are all for modifying the same resource or different parts of the same resource, the final state of the resource to be modified is determined in advance, and the information are merged into one modified request information. The information in the information queue are all for deleting the resource, and all the operation information of the resource are merged into one request information for deleting the resource. The way of how to merge the corresponding resources is specifically limited, thereby greatly reducing the number of request information received by the management software, and thereby reducing the management burden of the distributed storage system.
[0078] Considering that in general, after the distributed storage system processes the corresponding information, the processing result of the corresponding information needs to be fed back to the corresponding platform, the preferred scheme is proposed, which further includes the following after the merged information is sent to the management software for processing:
[0079] Every preset time, it is judged whether the management software is idle or not.
[0080] If so, the processing result will be sent to the corresponding platform;
[0081] If not, the sending time of the processing result is delayed, and the process returns to the step of determining whether the management software is idle at preset intervals.
[0082] It should be noted that the specific duration of the preset time is not specifically limited in this embodiment. The specific delay time can be determined by judging whether the management software is idle. For example, if the management software is idle after the second preset time, the processing result will be sent to the corresponding platform. It can be understood that the content of the feedback will be different for different processing results, so the sending delay will also be different. The delay is affected by many factors such as data and network speed. These factors can be used as parameters for reference when making feedback, judging idle time and setting preset time.
[0083] In this embodiment, a delay method is used to process the feedback information in a delayed manner, thereby ensuring the normal operation of the management software and preventing data redundancy.
[0084] Considering that previous management software required multiple modules to report information from different platforms, a preferred solution is provided here, such as... Figure 2 As shown, Figure 2 This application provides a comparative illustration of a management software reporting process, and the method further includes:
[0085] Receive information reported by the management software;
[0086] The information is segmented into the required formats and content for each platform according to the set template.
[0087] The segmented information is then sent to each platform.
[0088] It should be noted that reporting refers to sending the operation content of the distributed storage system corresponding to the management software to the platform. In other words, it involves the management software responding to requests initiated by the platform. Previously, due to the lack of a preprocessing module, this was not the case. Figure 2 As shown, the management software directly interfaces with the platform. Therefore, different interfaces need to be established for different platforms. In this solution, due to the addition of a preprocessing module, the management software only needs to send all the information to be reported to the preprocessing module. The preprocessing module then processes the data through the template and sends the data to the corresponding platform. It can be understood that the template is an important means of establishing a general algorithm that is independent of data type.
[0089] In this embodiment, the addition of templates in the preprocessing module optimizes the information processing of the management software and prevents data redundancy.
[0090] In view of preventing information loss and timely processing of the information failed to be sent, the preferred solution provided herein further comprises:
[0091] When the information fails to be sent, an alarm is given.
[0092] It should be noted that the information in the embodiment includes information sent by the platform to the management software and information reported by the management software to the platform. The embodiment does not limit the device corresponding to the alarm and the specific alarm mode. By giving an alarm when the information fails to be sent, the function of preventing loss of information failed to be sent and ensuring information security is ensured.
[0093] In the above embodiment, the information processing method is described in detail, and the application further provides an embodiment of an information processing device. It should be noted that the embodiment of the device part is described from two angles, one based on the functional module and the other based on the hardware.
[0094] Figure 3 A schematic diagram of an information processing device provided in the embodiment of the application is shown in the figure. The device comprises:
[0095] The receiving module 10 is configured to determine whether the management software is idle when receiving the information. If yes, the processing module is started, and if no, the merging module is started.
[0096] The processing module 11 is configured to send the information to the management software for processing.
[0097] The merging module 12 is configured to establish an information queue and merge the information in the information queue.
[0098] The idle module 13 is configured to send the merged information to the management software for processing when the management software is idle.
[0099] Preferably, the device further comprises:
[0100] The determining module is configured to determine whether the management software is idle every preset time. If yes, the processing module is started, and if no, the delay module is started.
[0101] The processing module is configured to send the processing result to the corresponding platform.
[0102] The delay module is configured to delay the sending time of the processing result and return to the step of determining whether the management software is idle every preset time.
[0103] Preferably, the device further comprises:
[0104] The reporting module is configured to receive information reported by the management software.
[0105] The splitting module is configured to split the information into formats and contents required by each platform according to a set template.
[0106] The sending module is configured to send the split information to each platform.
[0107] Since the embodiments of the device part correspond to the embodiments of the method part, the embodiments of the device part are described by referring to the description of the embodiments of the method part, which will not be repeated here.
[0108] The information processing device provided in the present application comprises a receiving module, a processing module, a merging module and an idle module. The idle module is configured to determine whether the management software is idle. If the management software is idle, the information is sent to the management software for processing. If the management software is not idle, an information queue is established, and the information in the information queue is merged. When the cluster management software is idle, the merged information is sent to the management software for processing. Compared with the conventional information processing method, the present application provides a distributed storage management software interfacing multi-platform information processing method, which reduces the repeated requests and information reporting when interfacing multiple platforms at the same time, improves the operation efficiency of the management software, reduces the operation pressure of the management software, and reduces the redundancy of the management software.
[0109] Figure 4 The structure diagram of the information processing device provided in another embodiment of the present application is shown in FIG. 2. The information processing device comprises a memory 20 configured to store a computer program, a processor 21 configured to execute the computer program to implement the steps of the information processing method mentioned in the above embodiments, and a receiving module 22 configured to receive information. Figure 4
[0110] The processor 21 is configured to execute the computer program to implement the steps of the information processing method mentioned in the above embodiments.
[0111] The information processing device provided in the present application can include but is not limited to a smart phone, a tablet computer, a notebook computer or a desktop computer, etc.
[0112] The processor 21 can include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one of a hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), a programmable logic array (PLA), etc. The processor 21 can also include a main processor and a coprocessor. The main processor is a processor for processing data in a wake-up state, also referred to as a central processing unit (CPU). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 can be integrated with a graphics processor (GPU) for rendering and drawing content required to be displayed by the display screen. In some embodiments, the processor 21 can further include an artificial intelligence (AI) processor for processing computing operations related to machine learning.
[0113] The memory 20 can include one or more computer-readable storage media, which can be non-transitory. The memory 20 can further include a high-speed random access memory, and a nonvolatile memory such as one or more disk storage devices, flash storage devices. In this embodiment, the memory 20 is at least used to store a computer program 201, wherein the computer program is loaded and executed by the processor 21, and can implement the related steps of the information processing method disclosed in any of the preceding embodiments. In addition, the resources stored in the memory 20 can further include an operating system 202 and data 203, etc., and the storage manner can be temporary storage or permanent storage. The operating system 202 can include Windows, Unix, Linux, etc. The data 203 can include but is not limited to the data involved in the above information processing method, etc.
[0114] In some embodiments, the information processing apparatus can further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
[0115] Those skilled in the art can understand that the structure shown in the above embodiments does not constitute a limitation on the information processing apparatus, and can include more or fewer components than those shown in the drawings. Figure 4 The structure shown in the above embodiments does not constitute a limitation on the information processing apparatus, and can include more or fewer components than those shown in the drawings.
[0116] The information processing apparatus provided in the embodiments of the present application comprises a memory and a processor. The processor, when executing a program stored in the memory, can implement the information processing method described in the above embodiments.
[0117] Since the embodiments of the device part correspond to the embodiments of the method part, the embodiments of the device part and their corresponding advantages are described in the description of the embodiments of the method part, and are not described here.
[0118] The information processing apparatus provided in the embodiments of the present application comprises a memory and a processor. The processor, when executing a program stored in the memory, can implement the information processing method described in the above embodiments. Compared with the conventional information processing method, the information processing method provided in the embodiments of the present application can reduce repeated requests and information reporting when multiple platforms are connected at the same time, improve the operation efficiency of the management software, reduce the operation pressure of the management software, and reduce the redundancy of the management software.
[0119] Finally, the embodiments of the present application also provide a computer readable storage medium. The computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the steps described in the above method embodiments.
[0120] It can be understood that if the method in the above embodiments is implemented in the form of a software function unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the whole or part of the technical solutions that essentially contribute to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium, and executes all or part of the steps of the method described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0121] Since the embodiments of the device part correspond to the embodiments of the method part, the embodiments of the device part and their corresponding advantages are described in the description of the embodiments of the method part, and are not described here.
[0122] The computer readable storage device provided by the application can achieve the following effects when the content stored therein is executed: when information is received, it is determined whether the management software is idle, if yes, the information is sent to the management software for processing, if no, an information queue is established, and the information in the information queue is merged, and the merged information is sent to the management software for processing when the cluster management software is idle. Compared with the conventional information processing method, the application provides a distributed storage management software interfacing multi-platform information processing method, which reduces repeated requests and information reporting when interfacing multiple platforms at the same time, improves the operation efficiency of the management software, reduces the operation pressure of the management software, and reduces the redundancy of the management software.
[0123] The information processing device, circuit and device, and readable storage medium provided by the application are described in detail above. Each embodiment in the specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between each embodiment can be understood by referring to each other. For the device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and the relevant parts can be understood by referring to the method part. It should be pointed out that for ordinary skilled in the art, without departing from the principles of the application, the application can be improved and modified in several ways, and these improvements and modifications also fall within the protection scope of the claims of the application.
[0124] It should be further noted that in the specification, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or equipment. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or equipment including the element.
Claims
1. An information processing method characterized by comprising: The method comprises the following steps: Upon receiving the information, it is determined whether the management software is idle; If yes, the information is sent to the management software for processing; If no, an information queue is established and the information in the information queue is merged; When the management software is idle, the merged information is sent to the management software for processing; The merging of the information in the information queue comprises the following steps: If multiple pieces of information are inquiring about the same resource or different parts of the same resource, the information is merged, wherein the same resource has the same storage address; If multiple pieces of information are modifying the same resource or different parts of the same resource, the final state of the resource to be modified is determined in advance, and the information is merged into one modified request information; If there is information in the information queue for deleting the resource, all operation information of the resource is merged into one request information for deleting the resource.
2. The information processing method according to claim 1, characterized by, After the step of sending the merged information to the management software for processing, the following steps are further included: Every preset time, it is determined whether the management software is idle; If yes, the processing result is sent to the corresponding platform; If no, the sending time of the processing result is delayed, and the step of determining whether the management software is idle every preset time is returned to.
3. The information processing method according to claim 1, characterized by, Further included are the following steps: Receiving the information reported by the management software; According to a set template, the reported information is segmented into the format and content required by each platform; The segmented reported information is sent to each platform.
4. The information processing method according to claim 2, characterized by, Further included are the following steps: When the information sending fails, an alarm is given.
5. An information processing apparatus, characterized by comprising: The method comprises the following steps: A receiving module is used to determine whether the management software is idle upon receiving the information, and if yes, a processing module is started, and if no, a merging module is started; The processing module is used to send the information to the management software for processing; The merging module is used to establish an information queue and merge the information in the information queue; The idle module is used to send the merged information to the management software for processing when the management software is idle; The merging module is specifically used for the following steps: If multiple pieces of information are inquiring about the same resource or different parts of the same resource, the information is merged, wherein the same resource has the same storage address; If multiple pieces of information are modifying the same resource or different parts of the same resource, the final state of the resource to be modified is determined in advance, and the information is merged into one modified request information; If there is information in the information queue for deleting the resource, all operation information of the resource is merged into one request information for deleting the resource.
6. An information processing apparatus, characterized by comprising: The computer readable storage medium stores a computer program, and the computer program is executed by the processor to realize the steps of the information processing method according to any one of claims 1 to 4. The computer readable storage medium stores a computer program, and the computer program is executed by the processor to realize the steps of the information processing method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that,
Citation Information
Patent Citations
Method and device for merging network requests, and electronic equipment
CN109451076A
Communication method of management platform and robot software and related equipment
CN111813573A