Information processing method, apparatus, device, and computer-readable storage medium

By performing text type recognition and encoding on alarm information, alarm encoding information with shorter character length is generated, which solves the timeliness and integrity problems caused by alarm information splitting and sensitive information desensitization, and achieves efficient information transmission and reduced operation and maintenance costs.

CN115604076BActive Publication Date: 2025-12-23CHINA CONSTRUCTION BANK +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211182838.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-27
Publication Date
2025-12-23
Estimated Expiration
2042-09-27

AI Technical Summary

Technical Problem

In existing technologies, alarm information is often split and sent in a cross-cutting manner when there is too much content, resulting in incomplete information, affecting timeliness and increasing operation and maintenance costs. Sensitive information desensitization processing also affects the timeliness and completeness of alarm information.

Method used

By identifying the text type of the alarm content, the alarm content is encoded using preset encoding rules to shorten the character length and/or desensitize it. The alarm title is also encoded to generate alarm encoding information with shorter character length. The user can then decode the alarm information by combining it with the encoding table.

Benefits of technology

This ensures the timeliness and value of alarm information, reduces operation and maintenance costs, and ensures the integrity of alarm information received by users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115604076B_ABST
    Figure CN115604076B_ABST
Patent Text Reader

Abstract

The application discloses an information processing method, device and equipment and a computer readable storage medium. The method comprises the following steps: obtaining alarm information, wherein the alarm information comprises an alarm title and alarm content; identifying at least one text type corresponding to the alarm content; encoding the alarm content according to a preset encoding rule corresponding to each text type to obtain first encoding information, wherein the preset encoding rule is used to shorten the character length of the alarm content and / or to desensitize the alarm content; encoding the alarm title to obtain second encoding information; combining the first encoding information and the second encoding information to obtain alarm encoding information corresponding to the alarm information, wherein the character length of the alarm encoding information is smaller than the character length of the alarm information. According to the information processing method, the timeliness and value of the alarm information can be ensured, and the operation and maintenance cost can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of information processing, and particularly relates to an information processing method and device, equipment and a computer readable storage medium. BACKGROUND

[0002] In the process of running a financial service system, alarm information for system running errors, alarm information for business interruption risks, and alarm information for financial risks may be generated. If the system issues alarm information, users can locate technical problems, respond to business interruption risks or financial risks in a timely manner according to the alarm information.

[0003] In the prior art, alarm information is usually sent to users immediately after being generated. In addition, sensitive information is often desensitized when it is in the alarm information.

[0004] However, if the content of the alarm information is too much, the alarm information may be split into multiple pieces of information and sent crosswise, so that the alarm information received by the user is not complete, thereby affecting the value of the alarm information and increasing the operation and maintenance cost. In addition, if the sensitive information is desensitized, the user can only obtain relevant information through database query and log query after receiving the desensitized alarm information, thereby affecting the timeliness of the alarm information and increasing the operation and maintenance cost. SUMMARY

[0005] The embodiments of the present application provide an information processing method, device, equipment, computer readable storage medium and computer program product, which can ensure the timeliness and value of alarm information and reduce the operation and maintenance cost.

[0006] In a first aspect, the embodiments of the present application provide an information processing method, which comprises:

[0007] obtaining alarm information, wherein the alarm information comprises an alarm title and alarm content;

[0008] identifying at least one text type corresponding to the alarm content;

[0009] encoding the alarm content according to a preset encoding rule corresponding to each text type, to obtain first encoded information, wherein the preset encoding rule is used to shorten the character length of the alarm content and / or desensitize the alarm content;

[0010] encoding the alarm title to obtain second encoded information;

[0011] combining the first encoded information and the second encoded information to obtain alarm encoded information corresponding to the alarm information, wherein the character length of the alarm encoded information is less than the character length of the alarm information.

[0012] In a possible implementation, the text types include a first text type;

[0013] The alarm content is encoded according to a preset encoding rule corresponding to each of the text types, to obtain first encoding information.

[0014] The alarm content is encoded according to a preset encoding rule corresponding to each of the first text types, to obtain third encoding information with a fixed character length, the fixed character length being less than a character length of the alarm content.

[0015] In a possible implementation, the text types include a numerical value type text;

[0016] The alarm content is encoded according to a preset encoding rule corresponding to each of the text types, to obtain first encoding information.

[0017] The plurality of characters in the alarm content are mapped to a plurality of target characters respectively, to obtain fourth encoding information.

[0018] In a possible implementation, after obtaining the alarm encoding information corresponding to the alarm information, the method further includes:

[0019] An encoding table is generated according to a correspondence between the alarm information and the alarm encoding information, to be used for a user to decode the alarm information corresponding to the alarm encoding information according to the encoding table.

[0020] In a possible implementation, the alarm information includes alarm theme information, and the method further includes:

[0021] The alarm encoding information and the alarm theme information corresponding thereto are obtained.

[0022] A preset correspondence between the alarm theme information and an information sending type is determined, to determine a correspondence between the alarm encoding information and the information sending type.

[0023] An information sending state corresponding to the alarm encoding information is obtained.

[0024] An alarm information record table is constructed based on the alarm encoding information, the correspondence between the alarm encoding information and the information sending type, and the correspondence between the alarm encoding information and the information sending state.

[0025] In a possible implementation, the method further includes:

[0026] scanning the alarm information record table to obtain first target alarm code information, the first target alarm code information being alarm code information of which the information sending type is asynchronous sending and the information sending state is to be sent;

[0027] inquiring whether there is a sending record of the first target alarm code information, the sending record including a sending time;

[0028] in a case where the sending record exists, obtaining a target sending time, the target sending time being calculated according to the sending time and a preset time interval;

[0029] in a case where the system time is earlier than the target sending time, increasing an alarm number;

[0030] in a case where the system time is not earlier than the target sending time, sending the first target alarm code information to a first user, and updating the information sending state according to an information sending result;

[0031] returning to scanning the alarm information record table to obtain the first target alarm code information.

[0032] In a possible implementation, the method further includes:

[0033] scanning the alarm information record table to obtain second target alarm code information, the second target alarm code information being alarm code information of which the information sending state is sending failure;

[0034] sending the second target alarm code information to a second user;

[0035] returning to scanning the alarm information record table to obtain the second target alarm code information.

[0036] In a possible implementation, the sending the first target alarm code information to the first user includes:

[0037] calling a short message interface to send the first target alarm code information to the first user in the form of a short message.

[0038] In a second aspect, an information processing apparatus is provided, which includes:

[0039] a first obtaining module, configured to obtain alarm information, the alarm information including an alarm title and alarm content;

[0040] a recognition module, configured to recognize at least one text type corresponding to the alarm content;

[0041] The first encoding module is configured to encode the alarm content according to a preset encoding rule corresponding to each text type, to obtain first encoding information, wherein the preset encoding rule is used to shorten the character length of the alarm content and / or to desensitize the alarm content.

[0042] The second encoding module is configured to encode the alarm title, to obtain second encoding information.

[0043] The combination module is configured to combine the first encoding information and the second encoding information, to obtain alarm encoding information corresponding to the alarm information, wherein the character length of the alarm encoding information is shorter than the character length of the alarm information.

[0044] In a third aspect, an electronic device is provided, which includes a processor and a memory storing computer program instructions.

[0045] The processor executes the computer program instructions to implement the method in any possible implementation method of the first aspect.

[0046] In a fourth aspect, a computer readable storage medium is provided, which stores computer program instructions. The computer program instructions are executed by a processor to implement the method in any possible implementation method of the first aspect.

[0047] In a fifth aspect, a computer program product is provided. Instructions in the computer program product are executed by a processor of an electronic device to cause the electronic device to perform the method in any possible implementation method of the first aspect.

[0048] The information processing method, device, apparatus, computer readable storage medium and computer program product provided in the embodiments of the present application can shorten the character length of the alarm title by encoding the alarm title. In addition, since the preset encoding rule is used to shorten the character length of the alarm content and / or to desensitize the alarm content, by encoding the alarm content according to the preset encoding rule corresponding to different text types, on the one hand, the alarm content can be desensitized, and on the other hand, the character length of the alarm content can be shortened. In this way, by combining the first encoding information and the second encoding information, the alarm encoding information which is desensitized and has a relatively short character length is obtained, which can ensure the integrity of the alarm encoding information received by the user. In addition, the user can decode the alarm encoding information to obtain the alarm information based on the preset encoding rule, thereby ensuring the timeliness and value of the alarm information, and reducing the operation and maintenance cost. BRIEF DESCRIPTION OF DRAWINGS

[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly introduced. For those skilled in the art, other drawings can be obtained without creative labor on the premise of the drawings.

[0050] Figure 1 is a flow diagram of an information processing method provided by an embodiment of the present application;

[0051] Figure 2 is a structural diagram of an information processing device provided by an embodiment of the present application;

[0052] Figure 3 is a structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0053] The features and exemplary embodiments of various aspects of the present application will be described in detail below, in order to make the purposes, technical solutions and advantages of the present application more clear and apparent, the present application will be further described in detail below in combination with the drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, but not to limit the present application. The present application can be implemented without some of these specific details by those skilled in the art. The following description of the embodiments is only to provide a better understanding of the present application by showing examples of the present application.

[0054] It should be noted that in this paper, relational 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 that there is 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 device 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 device. Without more limitations, the elements defined by the statement "include" do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0055] In addition, the acquisition, storage, use, processing and other data in the technical solutions of the present application all comply with the relevant provisions of national laws and regulations.

[0056] As described in the section of background, in the prior art, the alarm information is usually sent to the user immediately after the alarm information is generated. However, in some business scenarios, a large number of alarm information of the same type may be generated in a short time, and if the above alarm information is all sent to the user immediately, the value of the alarm information will be affected, and the operation and maintenance cost will be increased.

[0057] To solve the problems in the prior art, the embodiments of the present application provide an information processing method, device, equipment, computer readable storage medium and computer program product.

[0058] Firstly, the information processing method provided by the embodiments of the present application is introduced.

[0059] Figure 1 A flowchart of an information processing method provided by the embodiments of the present application is shown. As shown in the figure, Figure 1 The information processing method provided by the embodiments of the present application includes the following steps:

[0060] S110, obtaining alarm information, the alarm information including an alarm title and alarm content;

[0061] S120, identifying at least one text type corresponding to the alarm content;

[0062] S130, encoding the alarm content according to a preset encoding rule corresponding to each text type, to obtain first encoded information, wherein the preset encoding rule is used to shorten the character length of the alarm content and / or to desensitize the alarm content;

[0063] S140, encoding the alarm title to obtain second encoded information;

[0064] S150, combining the first encoded information and the second encoded information to obtain alarm encoded information corresponding to the alarm information, the character length of the alarm encoded information being less than the character length of the alarm information.

[0065] The information processing method provided by the embodiments of the present application can shorten the character length of the alarm title by encoding the alarm title. In addition, since the preset encoding rule is used to shorten the character length of the alarm content and / or to desensitize the alarm content, by encoding the alarm content according to the preset encoding rule corresponding to different text types, on the one hand, the alarm content can be desensitized, and on the other hand, the character length of the alarm content can be shortened. In this way, by combining the first encoded information and the second encoded information, the alarm encoded information which is desensitized and has a relatively short character length is obtained, which can ensure the integrity of the alarm encoded information received by the user. In addition, the user can decode the alarm encoded information to obtain the alarm information based on the preset encoding rule, thereby ensuring the timeliness and value of the alarm information and reducing the operation and maintenance cost.

[0066] The specific implementation of each of the above steps is described below.

[0067] In some embodiments, in S110, the alarm content can be detailed alarm information. The alarm title can include an alarm type. The alarm type can include a technical alarm and a business alarm. The technical alarm can be an alarm generated by a system running error, and the business alarm can include a business interruption risk alarm and a financial risk alarm. In addition, the system can be composed of multiple microservices, and based on this, the alarm title can further include a microservice name.

[0068] As an example, after the system generates an alarm, the alarm information corresponding to the alarm can be obtained.

[0069] In some embodiments, in S120, the text type can include fixed text and dynamic text. The dynamic text can include numerical text, time text, file text, Chinese text, etc. The alarm content can include any one or more of the above text types.

[0070] As an example, different text types have different characteristics, so by identifying the characteristics of the characters in the alarm content, the text type corresponding to the alarm content can be determined.

[0071] As another example, different types of alarm information can correspond to different text types. For example, the technical alarm can include alarm time and the storage location of the running error code. Based on this, the alarm content corresponding to the technical alarm can be dynamic text, and the alarm content can include time text and file text, etc. For another example, the business alarm can include a transaction failure alarm, which can include a description of the transaction content, transaction amount, and user information. Based on this, the alarm content corresponding to the business alarm can be fixed text and dynamic text, and the dynamic text can include numerical text, time text, and Chinese text, etc.

[0072] In some embodiments, in S130, the numerical text can include sensitive information such as an ID card number, a mobile phone number, and an amount. In the case of numerical text, a preset encoding rule can be used to desensitize the alarm content. In the case of other types of text, the preset encoding rule can be used to shorten the character length of the alarm content.

[0073] In some embodiments, the text type can include a first text type, and based on this, in order to shorten the character length of the alarm content, the above S130 can specifically include:

[0074] According to the preset coding rule corresponding to each first text type, the alarm content is coded respectively to obtain third coded information with a fixed character length, and the fixed character length is less than the character length of the alarm content.

[0075] Here, the first text type can include other types of text in addition to numerical value type text, and the first text type can be, for example, time type text, file type text, fixed text, etc.

[0076] As an example, in the case of a first text type of fixed type text, the third coded information can include, for example, 3 characters, i.e., a fixed character length of 3. The preset coding rule can be, for example, that the fixed text is taken as any 3 characters in 1-9, A-Z, and a-z.

[0077] As another example, in the case of a first text type of time type text, the third coded information can include, for example, 3 characters, i.e., a fixed character length of 3. The preset coding rule can be, for example, that the number 1-9 represents 1-9 o'clock, the letter A represents 10 o'clock, the letter B represents 11 o'clock, the letter C represents 12 o'clock, and the number 01-60 represents minutes. Based on this, for example, if the alarm content is described as "the alarm time is 12:19", the third coded information can be "C19".

[0078] As yet another example, file type text can include folders and files, and the files can be used to store system codes. In the case of a first text type of file type text, the third coded information can include, for example, 2 characters, i.e., a fixed character length of 2. In the case of a file type text of a folder, the preset coding rule can be, for example, that 1 character represents the folder type, for example, P represents a public folder, S represents an online service folder, and D represents an automatic task folder; the other character is sequentially numbered and can be associated with a folder, and can take any one of 1-9, A-Z, and a-z. In the case of a file type text of a file, the preset coding rule can be, for example, that 2 characters are associated with a file, and can take any 2 of 1-9, A-Z, and a-z.

[0079] In this way, by coding the alarm content of the first text type to obtain the third coded information, the character length of the alarm content can be shortened.

[0080] In some embodiments, the text type can include numerical value type text, and based on this, to desensitize the alarm content, the above S130 can specifically include:

[0081] The plurality of characters in the alarm content are respectively mapped to a plurality of target characters to obtain fourth coded information.

[0082] Here, the target character can be, for example, any one of 0-9, a-z. The numerical text can include an ID card number, a mobile phone number, and the like, which only include numbers. In this way, the preset encoding rule can be, for example, that 0-9 is randomly mapped to 0-9, a-z. The numerical text can also include an amount of money, which can include a decimal point. In this way, the preset encoding rule can be, for example, that 0-9 is randomly mapped to 0-9, a-z, and the decimal point is mapped to 0. Based on this, the length of the fourth encoding information can be equal to the length of the numerical text, and the length of the fourth encoding information can be between 1-99.

[0083] In addition, since the dynamic text corresponding to the service class alarm can include numerical text, the preset encoding rule of the dynamic text corresponding to the service class alarm can be that 1 character represents the dynamic text type, for example: N represents a number, T represents Chinese, and A represents an amount of money; and the last 2 characters represent the dynamic text length, which can take a value of 1-99.

[0084] As an example, the preset encoding rule of the dynamic text corresponding to the service class alarm can be, for example, as shown in Table 1:

[0085] Table 1

[0086]

[0087]

[0088] In this way, by mapping the multiple characters corresponding to the numerical text to multiple target characters respectively, the alarm content can be desensitized.

[0089] In some embodiments, in S140, the alarm title can include an alarm type and a microservice name. The encoding corresponding to the alarm type and the microservice name can each correspond to a character length of 1. The alarm type of the technical class can be encoded as X, for example, and the alarm type of the service class can be encoded as Y, for example. The encoding of the microservice name can take a value range of A-Z, for example, to match different microservices according to a configuration file. Based on this, the second encoding information can include the alarm type encoding and the encoding of the microservice name, and the alarm type encoding can be located before the encoding of the microservice name.

[0090] In some embodiments, in S150, the second encoding information can be an encoding header, and the first encoding information can be an encoding body, that is, the second encoding information can be located before the first encoding information. In addition, since the character length of the first encoding information can be no greater than the character length of the alarm content, and the character length of the second encoding information can be less than the character length of the alarm title, the character length of the alarm encoding information can be less than the character length of the alarm information.

[0091] Based on this, in order to ensure the timeliness and value of the alarm information and reduce the operation and maintenance cost, in some embodiments, after S150, the method can further include:

[0092] According to the correspondence between the alarm information and the alarm encoding information, an encoding table is generated for a user to decode the alarm information corresponding to the alarm encoding information according to the encoding table.

[0093] Here, each time the alarm encoding information is obtained, an encoding table can be generated according to the correspondence between the alarm information and the alarm encoding information. In this way, after the user receives the alarm encoding information, the alarm information corresponding to the alarm encoding information can be decoded based on the encoding table.

[0094] In this way, the alarm information can be decoded according to the encoding table without querying the complete information through the database or the log, thereby ensuring the timeliness and value of the alarm information and reducing the operation and maintenance cost.

[0095] In order to monitor the sending process of the alarm encoding information, in some embodiments, the alarm information can include alarm topic information, based on which the method can further include:

[0096] Obtaining the alarm encoding information and the alarm topic information corresponding thereto;

[0097] According to a preset correspondence between the alarm topic information and the information sending type, a correspondence between the alarm encoding information and the information sending type is determined;

[0098] Obtaining the information sending state corresponding to the alarm encoding information;

[0099] Based on the alarm encoding information, the correspondence between the alarm encoding information and the information sending type, and the correspondence between the alarm encoding information and the information sending state, an alarm information record table is constructed.

[0100] Here, the alarm information record table can be a table recording the sending flow of the alarm encoding information. The information sending state corresponding to the alarm encoding information can include to-be-sent, sending success, sending failure, etc.

[0101] As an example, after obtaining the alarm encoding information, the alarm encoding information can be stored in the alarm information record table. The information sending state corresponding to the alarm encoding information can be to-be-sent.

[0102] In addition, the alarm topic information can be the topic information corresponding to the alarm content, and the alarm topic information can be, for example, insufficient account balance, system operation error, operation anomaly, etc. The information sending type can include synchronous sending and asynchronous sending.

[0103] As an example, in some business scenarios, a large number of alarm information of the same type can be generated in a short time. For example, in some marketing activities, if the balance in a merchant account is insufficient, a large number of alarm information of the same type can be generated in a short time. The alarm information corresponding to such alarm information can be preset to be sent asynchronously.

[0104] As an example, since the alarm information can include alarm topic information, the alarm code information can include the alarm topic information. In addition, the correspondence between the alarm topic information and the information sending type can be preset. Therefore, the correspondence between the alarm code information and the information sending type can be obtained.

[0105] As an example, the alarm information record table can further include the sending identifier of the alarm code information, the sending time of the alarm code information, the corresponding response code and response information when the information sending fails, the retransmission number of the alarm code information, the multi-entity identifier, the time stamp, the business date, the version number and the like. The multi-entity identifier can be used to distinguish different entities running on the same system; the business date can be the running date of the system; the time stamp can record the modification time of the table; and the version number can record the number of times of modification of the table.

[0106] In this way, by constructing the alarm information record table, the sending process of the alarm code information can be monitored.

[0107] Based on this, in order to ensure the value of the alarm information and reduce the operation and maintenance cost, in some embodiments, the following can be further included:

[0108] Scanning the alarm information record table to obtain first target alarm code information, the first target alarm code information being alarm code information whose information sending type is asynchronous sending and whose information sending state is to be sent;

[0109] Querying whether there is a sending record of the first target alarm code information, the sending record including a sending time;

[0110] In the case where the sending record exists, obtaining a target sending time, the target sending time being calculated according to the sending time and a preset time interval;

[0111] In the case where the system time is earlier than the target sending time, increasing the alarm number;

[0112] In the case where the system time is not earlier than the target sending time, sending the first target alarm code information to the first user, and updating the information sending state according to the information sending result;

[0113] Returning to execute the scanning of the alarm information record table to obtain the first target alarm code information.

[0114] Here, the preset time interval can be a sending shielding time interval corresponding to the first target alarm encoding information, i.e., the sending time of the first target alarm encoding information at two adjacent times is not less than the preset time interval. The alarm subject information corresponding to the first target alarm encoding information can be the target alarm subject information, and the corresponding relationship between the target alarm subject information and the preset time interval can be stored in an alarm subject rule configuration table.

[0115] In addition, the corresponding relationship between the target alarm subject information and the sending time, the target sending time, and the alarm number can be stored in an alarm information sending statistics table.

[0116] As an example, by querying the alarm information sending statistics table, it can be determined whether there is a sending record of the first target alarm encoding information. If there is any one of the sending time and the target sending time corresponding to the target alarm subject in the alarm information sending statistics table, there can be a sending record of the first target alarm encoding information.

[0117] As an example, in the case of a sending record, if the current time reaches or is later than the target sending time, the first target alarm encoding information can be sent, and the information sending state is updated according to the information sending result. If the information sending is successful, the information sending state can be updated to sending success. If the information sending fails, the information sending state can be updated to sending failure.

[0118] As another example, in the case of a sending record, if the current time is earlier than the target sending time, the first target alarm encoding information can not be sent, and the alarm number can be increased.

[0119] As yet another example, if there is no sending record, the first target alarm encoding information can be immediately sent, and the information sending state is updated according to the information sending result.

[0120] Based on this, as an example, the above process can be automatically executed by an asynchronous sending information automatic task. The automatic task execution frequency can be, for example, 1 minute / time, which is not limited here.

[0121] In this way, by asynchronously sending the first target alarm encoding information, it can be avoided to send a large number of alarm information of the same type to the user in a short time, and the value of the alarm information can be ensured, and the operation and maintenance cost can be reduced.

[0122] Based on this, in order to ensure the value of the alarm information, in some embodiments, the following can also be included:

[0123] Scanning the alarm information record table to obtain second target alarm encoding information, the second target alarm encoding information being alarm encoding information with an information sending state of sending failure;

[0124] sending the second target alarm code information to the second user;

[0125] Returning to execute the scanning of the alarm information record table, the second target alarm code information is obtained.

[0126] Here, the process of resending information can be automatically executed by an automatic task. The frequency of automatic task execution can be, for example, 1 minute / time, which is not limited herein.

[0127] In this way, by resending the alarm code information with a sending status of sending failure, the value of the alarm information can be ensured.

[0128] Based on this, in order to ensure that the user receives the alarm information in the first time, in some embodiments, the sending of the first target alarm code information to the first user can specifically include:

[0129] Calling a short message interface to send the first target alarm code information to the first user in the form of a short message.

[0130] Here, the input parameters of the short message interface can include the information sending type and the alarm code information, and the return parameters can include true-processing success and false-processing failure.

[0131] In this way, by sending the first target alarm code information to the first user in the form of a short message, it is ensured that the user receives the alarm information in the first time.

[0132] In order to better describe the entire scheme, based on the above embodiments, some specific examples are given.

[0133] For example, the process of information processing can specifically include:

[0134] According to the specific rules, the code configuration file is edited according to the information to be delivered;

[0135] A short message sending interface is called to send a short message containing the code information;

[0136] Each short message interface call is recorded in the database, and it is determined according to specific rules whether the short message needs to be actually sent;

[0137] The short message with sending failure is compensated by an automatic task;

[0138] According to the code configuration file, an offline excel code table is generated;

[0139] The code in the short message is pasted into the excel code table, and the alarm information can be queried.

[0140] Thus, by encoding the alarm information, alarm encoding information is obtained, and the content of the short message sending information is simplified. The desensitization information transmitted in the short message can be quickly translated out through the encoding table. By defining the alarm encoding information flow data structure and the automatic task mode, the alarm information can be landed in the system in advance, and the flexibility and security of the alarm function module are increased.

[0141] Based on the information processing method provided in the above embodiments, the application also provides a specific implementation of an information processing device. Please refer to the following embodiments.

[0142] As shown in Figure 2 The information processing device 200 provided by the embodiments of the application includes the following modules:

[0143] The first acquisition module 210 is configured to acquire alarm information, and the alarm information includes an alarm title and an alarm content.

[0144] The identification module 220 is configured to identify at least one text type corresponding to the alarm content.

[0145] The first encoding module 230 is configured to encode the alarm content according to a preset encoding rule corresponding to each text type, to obtain first encoding information, wherein the preset encoding rule is used to shorten the character length of the alarm content and / or desensitize the alarm content.

[0146] The second encoding module 240 is configured to encode the alarm title to obtain second encoding information.

[0147] The combination module 250 is configured to combine the first encoding information and the second encoding information to obtain alarm encoding information corresponding to the alarm information, and the character length of the alarm encoding information is less than the character length of the alarm information.

[0148] The information processing device 200 is described in detail as follows:

[0149] In some embodiments, the text type can include a first text type.

[0150] Based on this, the first encoding module 230 can specifically include:

[0151] The encoding sub-module is configured to encode the alarm content according to a preset encoding rule corresponding to each first text type, to obtain third encoding information with a fixed character length, and the fixed character length is less than the character length of the alarm content.

[0152] In some embodiments, the text type can include a numerical text.

[0153] Based on this, the first encoding module 230 can specifically include:

[0154] The mapping submodule is configured to map the plurality of characters in the alarm content to a plurality of target characters respectively to obtain fourth encoding information.

[0155] In some embodiments, the information processing apparatus 200 can further include:

[0156] The generating module is configured to generate an encoding table according to the correspondence between the alarm information and the alarm encoding information, so that a user can decode the alarm information corresponding to the alarm encoding information according to the encoding table.

[0157] In some embodiments, the alarm information can include alarm topic information, based on which, the information processing apparatus 200 can further include:

[0158] The second obtaining module is configured to obtain the alarm encoding information and the alarm topic information corresponding thereto;

[0159] The determining module is configured to determine the correspondence between the alarm encoding information and the information sending type according to a preset correspondence between the alarm topic information and the information sending type;

[0160] The third obtaining module is configured to obtain the information sending state corresponding to the alarm encoding information;

[0161] The constructing module is configured to construct an alarm information record table based on the alarm encoding information, the correspondence between the alarm encoding information and the information sending type, and the correspondence between the alarm encoding information and the information sending state.

[0162] In some embodiments, the information processing apparatus 200 can further include:

[0163] The fourth obtaining module is configured to scan the alarm information record table to obtain a first target alarm encoding information, the first target alarm encoding information being the alarm encoding information whose information sending type is asynchronous sending and information sending state is to be sent;

[0164] The querying module is configured to query whether there is a sending record of the first target alarm encoding information, the sending record including a sending time;

[0165] The fifth obtaining module is configured to, in the case that there is the sending record, obtain a target sending time, the target sending time being calculated according to the sending time and a preset time interval;

[0166] The increasing module is configured to, in the case that the system time is earlier than the target sending time, increase the alarm number;

[0167] The first sending module is configured to send the first target alarm code information to the first user when the system time is not earlier than the target sending time, and update the information sending state according to the information sending result;

[0168] The first execution module is configured to return to execute the scanning of the alarm information record table to obtain the first target alarm code information.

[0169] In some embodiments, the information processing apparatus 200 can further include:

[0170] The sixth obtaining module is configured to scan the alarm information record table to obtain second target alarm code information, the second target alarm code information being alarm code information with a sending failure in the information sending state;

[0171] The second sending module is configured to send the second target alarm code information to the second user.

[0172] The second execution module is configured to return to execute the scanning of the alarm information record table to obtain the second target alarm code information.

[0173] In some embodiments, the first sending module can specifically include:

[0174] The sending submodule is configured to call a short message interface to send the first target alarm code information to the first user in the form of a short message.

[0175] The information processing apparatus provided in the embodiments of the present application can shorten the character length of the alarm title by encoding the alarm title. In addition, since the preset encoding rule is used to shorten the character length of the alarm content and / or desensitize the alarm content, by encoding the alarm content according to the preset encoding rule corresponding to different text types, on the one hand, the alarm content can be desensitized, and on the other hand, the character length of the alarm content can be shortened. In this way, by combining the first encoding information and the second encoding information, the alarm code information that is desensitized and has a relatively short character length is obtained, which can ensure the integrity of the alarm code information received by the user. In addition, the user can decode the alarm code information based on the preset encoding rule to obtain the alarm information, thereby ensuring the timeliness and value of the alarm information, and reducing the operation and maintenance cost.

[0176] Based on the information processing method provided in the above embodiments, the present application further provides a specific implementation of an electronic device. Figure 3 A schematic diagram of an electronic device 300 provided in the embodiments of the present application is shown.

[0177] The electronic device 300 can include a processor 310 and a memory 320 storing computer program instructions.

[0178] In particular, the processor 310 can include a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or can be configured to implement one or more integrated circuits that embody the embodiments of the present application.

[0179] The memory 320 can include mass storage for data or instructions. As an example and not by way of limitation, the memory 320 can include a hard disk drive (HDD), a floppy disk drive, flash memory, an optical disc (e.g., a compact disc (CD) or a digital versatile disc (DVD)), a tape drive, a USB drive, or a combination of two or more of these. Where appropriate, the memory 320 can include removable or non-removable (or fixed) media, where appropriate. Where appropriate, the memory 320 can be internal or external to the integrated gateway disaster recovery device. In particular embodiments, the memory 320 is non-volatile, solid-state memory.

[0180] The memory can include read-only memory (ROM), random-access memory (RAM), magnetic disk storage mediums, optical storage mediums, flash memory devices, electrical, optical, or other physical / tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software that, when executed (by one or more processors), is operable to access the data and / or instructions that enable the operations described with reference to the methods according to the aspects of the present application.

[0181] The processor 310 implements any of the information processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 320.

[0182] In one example, the electronic device 300 can further include a communication interface 330 and a bus 340. Wherein, as shown, the processor 310, the memory 320, the communication interface 330 are connected through the bus 340 and complete the communication between each other. Figure 3

[0183] The communication interface 330 is mainly used to realize the communication between each module, device, unit and / or equipment in the embodiments of the present application.

[0184] ​Bus 340 includes hardware, software, or both, to couple electronic devices to each other in a manner that allows information to be passed between or among them. The bus can include, for example, an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand (IB) interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association local (VLB) bus, or another suitable bus or a combination of two or more of these. Where appropriate, bus 340 can include one or more buses. Although the example embodiments described and illustrated herein relate to a particular bus, the application contemplates any suitable bus or interconnect.

[0185] By way of example, electronic device 300 can be a cell phone, a tablet computer, a notebook computer, a handheld computer, an on-board electronic device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), among others.

[0186] The electronic device can execute the information processing method in the embodiments of the application, thereby realizing the information processing method and apparatus described in combination Figures 1 to 2 with the above embodiments.

[0187] In addition, in combination with the information processing method in the above embodiments, the embodiments of the application can provide a computer storage medium to implement. The computer storage medium has computer program instructions stored thereon; the computer program instructions are executed by a processor to implement any one of the information processing methods in the above embodiments.

[0188] It needs to be made clear that the application is not limited to the specific configurations and processes described above and shown in the drawings. For the sake of brevity, detailed descriptions of well-known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the application are not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order of the steps, after understanding the spirit of the application.

[0189] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0190] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0191] The aspects of this application have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable information processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable information processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0192] The above merely describes a specific implementation of the present application. Those skilled in the art can clearly understand the specific working processes of the system, modules and units described above for the convenience and brevity of description, and can refer to the corresponding processes in the foregoing method embodiments, which will not be described herein again. It should be understood that the protection scope of the present application is not limited to this, and any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present application, and these modifications or replacements should be covered within the protection scope of the present application.

Claims

1. An information processing method characterized by comprising: The method comprises: obtaining alarm information, wherein the alarm information comprises an alarm title, alarm content and alarm theme information; identifying at least one text type corresponding to the alarm content; encoding the alarm content according to a preset encoding rule corresponding to each text type, to obtain first encoding information, wherein the preset encoding rule is used to shorten the character length of the alarm content and / or to desensitize the alarm content; encoding the alarm title to obtain second encoding information; combining the first encoding information and the second encoding information to obtain alarm encoding information corresponding to the alarm information, wherein the character length of the alarm encoding information is less than the character length of the alarm information; The method further comprises: obtaining the alarm encoding information and the alarm theme information corresponding thereto; determining a correspondence between the alarm encoding information and an information sending type according to a preset correspondence between the alarm theme information and the information sending type; obtaining an information sending state corresponding to the alarm encoding information; constructing an alarm information record table based on the alarm encoding information, the correspondence between the alarm encoding information and the information sending type, and the correspondence between the alarm encoding information and the information sending state.

2. The method of claim 1, wherein, The text type comprises a first text type; The encoding of the alarm content according to a preset encoding rule corresponding to each text type comprises: encoding the alarm content according to a preset encoding rule corresponding to each first text type to obtain third encoding information with a fixed character length, wherein the fixed character length is less than the character length of the alarm content.

3. The method of claim 1, wherein, The text type comprises a numerical value type; The encoding of the alarm content according to a preset encoding rule corresponding to each text type comprises: mapping multiple characters in the alarm content into multiple target characters to obtain fourth encoding information.

4. The method of claim 1, wherein, After obtaining the alarm encoding information corresponding to the alarm information, the method further comprises: generating an encoding table according to the correspondence between the alarm information and the alarm encoding information, so that a user can decode the alarm information corresponding to the alarm encoding information according to the encoding table.

5. The method of claim 1, wherein, The method further comprises: scanning the alarm information record table to obtain first target alarm encoding information, wherein the first target alarm encoding information is alarm encoding information with an asynchronous sending information sending type and a to-be-sent information sending state; querying whether there is a sending record of the first target alarm encoding information, wherein the sending record comprises a sending time; in the case where the sending record exists, obtaining a target sending time, wherein the target sending time is calculated according to the sending time and a preset time interval; in the case where the system time is earlier than the target sending time, increasing the number of alarms; in the case where the system time is not earlier than the target sending time, sending the first target alarm encoding information to a first user, and updating the information sending state according to the information sending result; Return to execute the scanning alarm information record table, obtain the first target alarm code information.

6. The method of claim 1, wherein, The method further comprises: Scanning the alarm information record table to obtain second target alarm code information, the second target alarm code information being alarm code information whose information sending state is sending failure; Sending the second target alarm code information to a second user; Return to execute the scanning the alarm information record table to obtain the second target alarm code information.

7. The method of claim 5, wherein, The sending the first target alarm code information to the first user comprises: Calling a short message interface to send the first target alarm code information to the first user in the form of a short message.

8. An information processing apparatus, characterized by comprising: The device comprises: A first obtaining module for obtaining alarm information, the alarm information comprising alarm title, alarm content and alarm topic information; An identifying module for identifying at least one text type corresponding to the alarm content; A first encoding module for encoding the alarm content according to a preset encoding rule corresponding to each text type, to obtain first encoding information, wherein the preset encoding rule is used to shorten the character length of the alarm content and / or to desensitize the alarm content; A second encoding module for encoding the alarm title to obtain second encoding information; A combining module for combining the first encoding information and the second encoding information to obtain alarm code information corresponding to the alarm information, the character length of the alarm code information being less than that of the alarm information; A second obtaining module for obtaining the alarm code information and its corresponding alarm topic information; A determining module for determining the correspondence between the alarm code information and the information sending type according to a preset correspondence between the alarm topic information and the information sending type; A third obtaining module for obtaining the information sending state corresponding to the alarm code information; A constructing module for constructing an alarm information record table based on the alarm code information, the correspondence between the alarm code information and the information sending type, and the correspondence between the alarm code information and the information sending state.

9. An electronic device, comprising: The electronic device comprises a processor and a memory storing computer program instructions; The processor executes the computer program instructions to implement the information processing method of any one of claims 1-7.

10. A computer readable storage medium characterized by The computer readable storage medium stores computer program instructions, and the computer program instructions are executed by the processor to implement the information processing method of any one of claims 1-7.

11. A computer program product, characterised in that, The instructions in the computer program product are executed by the processor of the electronic device to cause the electronic device to perform the information processing method of any one of claims 1-7.

Citation Information

Patent Citations

  • Remote equipment management method and device

    CN103684812A

  • Log processing method and device

    CN113157659A