Dynamic password sending processing method and device, electronic equipment and storage medium

By monitoring the calling link status in real time and updating the configuration table, the SMS sending link is dynamically switched, which solves the problem of SMS sending delay caused by calling link failure in cross-system applications and improves the user experience.

CN119342427APending Publication Date: 2025-01-21PING AN BANK CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411441566.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-15
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

During the cross-system application process of dynamic password system, there is a cross-system call link failure, resulting in the SMS sending and verification process being unable to be completed in time, affecting the experience effect of system users.

Method used

By obtaining the real-time status information of the calling link, updating the SMS sending link configuration information in the configuration table, determining the SMS sending target link, and switching the SMS sending link when there is a fault, to ensure the timely completion of SMS sending and verification.

Benefits of technology

It achieves timely detection and switching of the SMS sending link when there is a fault in the calling link, improves the efficiency of SMS sending and verification, and improves the user experience of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342427A_ABST
    Figure CN119342427A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a dynamic password sending processing method and device, electronic equipment and a storage medium, and can be widely applied to the technical field of data processing. According to the method, the real-time state information of the calling link is acquired, so that whether the calling link has a fault or not can be found in time according to the real-time state information, then the configuration table provided with the short message sending link configuration information is updated according to the real-time state information, and after the sending trigger instruction of the short message to be sent is acquired, the short message to be sent is sent. The short message sending link configuration information is obtained according to the sending trigger instruction, and the short message sending target link is determined from the short message sending links according to the short message sending link configuration information, so that the short message sending links can be switched in time when the current short message sending link has a fault, the short message sending and verification process can be completed in time, and the short message sending efficiency is improved. And the experience effect of a system user is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method and device for sending and processing a dynamic password, an electronic device, and a storage medium. Background Art

[0002] At present, the dynamic password system can provide SMS sending and verification services during the application process. In the cross-system application process of the dynamic password system, there are cross-system call links. When there is a fault in the call link, it is difficult for the system involved in the call link to detect the link fault in time, resulting in the failure to complete the SMS sending and verification process in time, which in turn affects the experience of system users. Summary of the invention

[0003] The main purpose of the embodiments of the present application is to propose a method and device for sending and processing a dynamic password, an electronic device and a storage medium, which can promptly detect call link failures and thereby improve the experience of system users.

[0004] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application proposes a method for sending a dynamic password, the method comprising the following steps:

[0005] Acquire real-time status information of a call link; one end of the call link is connected to a first system, and the other end of the call link is connected to a second system, the first system is used to generate a text message to be sent according to the dynamic password; the second system is used to obtain the text message to be sent through the call link;

[0006] Update a configuration table according to the real-time status information, wherein the configuration table is provided with SMS sending link configuration information;

[0007] Obtaining a sending trigger instruction for the short message to be sent;

[0008] Acquire the SMS sending link configuration information according to the sending trigger instruction;

[0009] Determine a target link for sending a text message from a text message sending link according to the text message sending link configuration information, wherein the text message sending link includes a first link and a second link, wherein the first link is composed of the first system, the second system and a terminal device, and the second link is composed of the first system and the terminal device;

[0010] The task of sending the short message to be sent is performed through the short message sending target link.

[0011] In some embodiments, obtaining the real-time status information of the call link includes:

[0012] Obtaining a code program corresponding to the call link;

[0013] Performing interface point embedding processing of the monitoring system at the target location of the code program;

[0014] After the interface tracking processing of the monitoring system is completed, the real-time status information of the call link is monitored by the monitoring system.

[0015] In some embodiments, updating the configuration table according to the real-time status information includes:

[0016] Acquire abnormality judgment rule information, wherein the abnormality judgment rule information includes a text message sending time threshold and a text message sending success rate threshold;

[0017] Obtain the SMS sending time in the real-time status information;

[0018] When the SMS sending time is greater than the SMS sending time threshold, obtaining the SMS sending success rate within a preset time period;

[0019] When the SMS sending success rate is less than the SMS sending success rate threshold, it is determined that an abnormality exists in the call link, and the SMS sending link configuration information in the configuration table is updated.

[0020] In some embodiments, updating the configuration table according to the real-time status information includes:

[0021] Acquire abnormality judgment rule information, wherein the abnormality judgment rule information includes abnormal content of the SMS message and a threshold value of SMS sending success rate;

[0022] Obtaining SMS content information in the real-time status information;

[0023] When the SMS content information includes the abnormal SMS content, obtaining the SMS sending success rate within a preset time period;

[0024] When the SMS sending success rate is less than the SMS sending success rate threshold, it is determined that an abnormality exists in the call link, and the SMS sending link configuration information in the configuration table is updated.

[0025] In some embodiments, after updating the SMS sending link configuration information in the configuration table, the method further includes the following steps:

[0026] Obtaining the server corresponding to the call link;

[0027] The updated configuration table is cached in the server.

[0028] In some embodiments, before determining the SMS sending target link from the SMS sending link according to the SMS sending link configuration information, the method further includes the following steps:

[0029] Obtaining link switching enabling information in the configuration table;

[0030] The switching enabling state of the calling link is determined according to the link switching enabling information.

[0031] In some embodiments, determining the SMS sending target link from the SMS sending link according to the SMS sending link configuration information includes:

[0032] When the switching enabling state is enabled, judging whether it is necessary to switch the SMS sending link according to the SMS sending link configuration information;

[0033] When it is determined that the SMS sending link needs to be switched, the second link is determined as the SMS sending target link according to the SMS sending link configuration information.

[0034] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application provides a dynamic password sending and processing device, the device comprising:

[0035] The first module is used to obtain real-time status information of a call link; one end of the call link is connected to a first system, and the other end of the call link is connected to a second system, the first system is used to generate a text message to be sent according to the dynamic password; the second system is used to obtain the text message to be sent through the call link;

[0036] The second module is used to update the configuration table according to the real-time status information, wherein the configuration table is provided with SMS sending link configuration information;

[0037] The third module is used to obtain the sending trigger instruction of the short message to be sent;

[0038] The fourth module is used to obtain the SMS sending link configuration information according to the sending trigger instruction;

[0039] A fifth module, configured to determine a target link for sending a text message from a text message sending link according to the text message sending link configuration information, wherein the text message sending link includes a first link and a second link, wherein the first link is composed of the first system, the second system and a terminal device, and the second link is composed of the first system and the terminal device;

[0040] The sixth module is used to execute the task of sending the short message to be sent through the short message sending target link.

[0041] To achieve the above objectives, a third aspect of an embodiment of the present application proposes an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in the first aspect is implemented.

[0042] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.

[0043] The dynamic password sending and processing method and device, electronic device and storage medium proposed in the present application obtain the real-time status information of the calling link, so as to timely discover whether there is a fault in the calling link according to the real-time status information, and then update the configuration table with the SMS sending link configuration information according to the real-time status information. After obtaining the sending trigger instruction of the SMS to be sent, the SMS sending link configuration information is obtained according to the sending trigger instruction, and the SMS sending target link is determined from the SMS sending link according to the SMS sending link configuration information. Therefore, when there is a fault in the current SMS sending link, the SMS sending link can be switched in time, and then the SMS sending and verification process can be completed in time, effectively improving the experience of system users. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a flow chart of a method for sending and processing a dynamic password provided in an embodiment of the present application;

[0045] Figure 2 The embodiment of this application provides Figure 1 Flow chart of step S110;

[0046] Figure 3 The embodiment of this application provides Figure 1 Flow chart of the first embodiment of step S120;

[0047] Figure 4 The embodiment of this application provides Figure 1 Flow chart of the first embodiment of step S120;

[0048] Figure 5 This is a flow chart of real-time monitoring of a call link provided by an embodiment of the present application;

[0049] Figure 6 is a flow chart for updating the configuration table provided in the embodiment of the present application;

[0050] Figure 7 It is a flow chart of switching the target link for sending short messages provided in an embodiment of the present application;

[0051] Figure 8 It is a structural diagram of a dynamic password sending and processing device provided in an embodiment of the present application;

[0052] Fig. 9 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0054] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0056] First, some nouns involved in this application are analyzed:

[0057] Fintech is a technology-driven financial innovation under the background of deep integration of finance and technology. Its core is to help financial business improve efficiency, experience and scale, while reducing the cost of financial operation and the risk of financial operation process. The application areas of Fintech include but are not limited to deposit, loan and financing services, payment and clearing services, investment management services and market infrastructure services.

[0058] CAT is an application monitoring system that can collect data from business systems without affecting the normal operation of business systems. CAT can record information such as program access behaviors, event occurrence times, and business indicators that cross system boundaries.

[0059] OTP (One-time Password) is a time-related, unpredictable random number combination generated every 60 seconds based on a special algorithm. Each password can only be used once, and 1440 passwords can be generated every day. Dynamic passwords are a safe and convenient account theft prevention technology that can effectively protect the authentication security of transactions and logins. Using dynamic passwords eliminates the need to change passwords regularly, which is safe and worry-free.

[0060] A configuration table is a data table used to store system configuration information. It is usually used to store system parameter settings, function switches, permission control and other information, which can easily configure and manage the system. The role of the configuration table in the database is very important. It facilitates the configuration management of the system, enabling the system to run and manage flexibly under different environments and different requirements. The configuration table in the database is a special table used to store the configuration information of the system or application. The configuration table usually contains a series of key-value pairs, where the key represents the name of the configuration item and the value represents the value of the configuration item.

[0061] Tracking refers to the technology and implementation process of capturing, processing and sending specific user behaviors or events. The essence of tracking technology is to monitor the events in the running process of software applications, and then judge and capture the events that need attention when they are sent.

[0062] Information Extraction: A text processing technology that extracts specified types of entity, relationship, event and other factual information from text and forms structured data output. Information extraction is a technology that extracts specific information from text data. Text data is composed of some specific units, such as sentences, paragraphs, and chapters. Text information is composed of some small specific units, such as characters, words, phrases, sentences, paragraphs, or a combination of these specific units. Extracting noun phrases, names, place names, etc. from text data are all text information extraction. Of course, the information extracted by text information extraction technology can be various types of information.

[0063] In the related technology, the dynamic password system can improve the SMS sending and verification services. In the cross-system application process, the dynamic password is usually generated in the designated system, and then called and forwarded by other systems connected to the designated system. However, when the calling link fails to send, the designated system and the calling system are usually unable to perceive the link failure, so that the SMS sending and verification process cannot be completed in time, thereby reducing the user experience of the system.

[0064] Based on this, the embodiments of the present application provide a method and device for sending and processing a dynamic password, an electronic device and a storage medium, aiming to promptly detect call link failures and improve the experience of system users.

[0065] The method and device for sending and processing a dynamic password, an electronic device, and a storage medium provided in the embodiments of the present application are specifically described through the following embodiments. First, the recommended method in the embodiments of the present application is described.

[0066] The embodiments of the present application can acquire and process relevant data based on the tracking technology. Tracking refers to the relevant technology and implementation process for capturing, processing and sending specific user behaviors or events. Tracking is to first monitor the events during the operation of the software application, and judge and capture when the events that need attention are sent.

[0067] The sending and processing method of the dynamic password provided in the embodiment of the present application relates to the field of data processing technology. The sending and processing method of the dynamic password provided in the embodiment of the present application can be applied to the terminal, can also be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or it can be configured as a server cluster or a distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the sending and processing method of the dynamic password, etc., but is not limited to the above forms.

[0068] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0069] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.

[0070] Figure 1 is an optional flowchart of the method for sending and processing a dynamic password provided in an embodiment of the present application. Figure 1 The method may include but is not limited to steps S110 to S160:

[0071] Step S110, obtaining real-time status information of the call link; wherein one end of the call link is connected to the first system, and the other end of the call link is connected to the second system, the first system is used to generate a text message to be sent according to the dynamic password; the second system is used to obtain the text message to be sent through the call link;

[0072] It is understandable that the call link can be a link for SMS generation, sending and verification set according to the SMS verification process corresponding to the current business information. Exemplarily, taking the securities business scenario as an example, the securities trading process usually involves several terminals such as securities issuing companies, banks and securities buyers. In order to improve the security of the securities trading process, a dynamic password system can be pre-established in the bank system (first system), and the corresponding system (second system) of the securities issuing company can establish a call link with the bank system, and then obtain the SMS to be sent generated by the bank system based on the dynamic password through the call link, and send the SMS to be sent to the terminal device of the securities buyer through the Internet, so that the securities buyer can complete the transaction verification process such as securities account opening and purchase on the terminal device.

[0073] Step S120, updating the configuration table according to the real-time status information, wherein the configuration table is provided with SMS sending link configuration information;

[0074] It is understandable that the real-time status information of the call link may include but is not limited to the data transmission time, data transmission stability and data transmission fluency in the call link. The connection configuration information of the call link, the SMS sending link configuration information, the SMS sending link switching configuration information, the SMS sending speed configuration information, etc. can be set in the configuration table. Among them, the configuration table can be pre-stored in the database. When it is necessary to call the information of the configuration table, the corresponding configuration table can be directly obtained from the database, and then the information in the configuration table can be called to modify the information in the configuration table. Specifically, when it is determined according to the real-time status information that the current call link has an adjustable situation, the configuration information in the configuration table can be updated based on the pre-set state modification information. Exemplarily, when it is determined that the data transmission process of the current call link is relatively stable according to the data transmission stability information, the data transmission speed of the current call link can be adjusted according to the pre-set SMS sending speed configuration information, thereby improving the working efficiency of the current link to improve the experience efficiency of the system user.

[0075] Step S130, obtaining a sending trigger instruction of a short message to be sent;

[0076] It is understandable that the sending trigger instruction can be an instruction generated based on business information, and the instruction is used to characterize that the current business needs to perform a text message verification operation process. Exemplarily, taking the securities trading scenario as an example and when the call link between the first system and the second system is in a normal state, when the securities purchaser needs to operate the target securities, the securities operation requirement information can be input in the corresponding software interface, and the back end corresponding to the software interface can generate a sending trigger instruction according to the securities operation requirement information, and send the sending trigger instruction to the corresponding first system. After the first system sends the sending trigger instruction to the second system, the second system generates a text message to be sent based on the dynamic password according to the sending trigger instruction, and sends the text message to be sent to the first system through the call link. The first system sends the text message to be sent to the software interface corresponding to the securities purchaser, so that the securities purchaser can enter the securities viewing system to perform securities operations after completing the verification operation in the software interface.

[0077] Step S140: Obtain SMS sending link configuration information according to the sending trigger instruction;

[0078] It is understandable that the sending trigger instruction is used to characterize that the current business needs to perform a text message verification operation process. However, in actual situations, the text message verification operation will be affected by factors such as link smoothness and data transmission efficiency in the link, thereby affecting the efficiency of the text message verification operation. To this end, after obtaining the sending trigger instruction, this embodiment obtains the corresponding text message sending link configuration information from the configuration table based on the sending trigger instruction, and then adjusts the link involved in the text message verification operation process according to the text message sending link configuration information. Specifically, link adjustment includes but is not limited to link switching, link data transmission speed adjustment, etc., and the specific adjustment method can be selected according to the actual situation.

[0079] Step S150: determining a target link for sending a short message from the short message sending link according to the short message sending link configuration information;

[0080] It is understandable that the SMS sending link includes but is not limited to the first link and the second link. Specifically, the first link can be composed of the first system, the second system and the terminal device, and the second link can be composed of the first system and the terminal device. Exemplarily, taking the field of stock trading as an example, the circulation process of funds will involve the securities issuing company system and the bank system, so the bank system can be used as the first system and the securities issuing company system as the second system. At the same time, the transaction process requires the purchaser to verify, so the SMS sending link will also include the purchaser's terminal device. In an embodiment of the present application, a SMS gateway program is pre-established in the first system, and the program can generate corresponding SMS to be sent based on a dynamic password (OTP). After the SMS gateway program is established in the first system, the link formed between the first system, the second system and the terminal device is used as the first link, and the link formed between the first system and the terminal device is used as the second link. Among them, the first link is used as the main link to complete the SMS sending verification process. When an abnormality exists in the calling link in the first link, this embodiment performs a switching process of the SMS sending link based on the SMS sending link configuration information in the configuration table, switches the first link to the second link as the SMS sending target link, and then performs the SMS sending verification process through the second link, so that when an abnormality exists in the calling link, the SMS sending verification operation can be completed in time, thereby not affecting the use process of the system user.

[0081] Step S160: Execute the task of sending the short message to be sent through the short message sending target link.

[0082] In an embodiment of the present application, after the switching operation of the SMS sending link is completed, the SMS sending task corresponding to the current business is executed through the SMS sending target link. Exemplarily, under normal circumstances, after the first system in the first link generates the SMS to be sent based on the dynamic password according to the business information, the second system obtains the SMS to be sent from the first system through the call link, and sends the SMS to be sent to the corresponding terminal device through the Internet. After receiving the feedback information of the terminal device, the feedback information is sent to the first system through the call link for verification to complete the complete verification process of the SMS, thereby completing the business transaction process in a timely and effective manner. In this process, the second system, as the seller of the business commodity, can timely understand the transaction process of the business commodity; the first system, as the manager of the funds corresponding to the business commodity, can effectively improve the security of the fund transaction. However, when there is an abnormality in the call link in the first link, the SMS verification process cannot be completed in time because the second system cannot obtain the SMS to be sent from the first system. This embodiment completes link switching according to the SMS sending link configuration information, determines the second link as the SMS sending target link, and directly sends the SMS to be sent to the terminal device through the first system in the second link, and receives feedback information from the terminal device to complete the SMS verification process, so that the SMS verification operation process can be completed in time, and then the business transaction process is completed in time and effectively, effectively improving the experience of system users.

[0083] In summary, steps S110 to S160 shown in the embodiment of the present application, by acquiring the real-time status information of the call link, can promptly discover whether there is a fault in the call link according to the real-time status information, and then update the configuration table with the SMS sending link configuration information according to the real-time status information. After obtaining the sending trigger instruction of the SMS to be sent, the SMS sending link configuration information is obtained according to the sending trigger instruction, and the SMS sending target link is determined from the SMS sending link according to the SMS sending link configuration information. Therefore, when the current SMS sending link has a fault, the SMS sending link can be switched in time, and then the SMS sending and verification process can be completed in time, effectively improving the experience of system users.

[0084] See also Figure 2 In some embodiments, step S110 may include but is not limited to steps S210 to S230:

[0085] Step S210, obtaining the code program corresponding to the call link;

[0086] Step S220, performing interface tracking processing of the monitoring system at the target position of the code program;

[0087] Step S230: After the interface tracking process of the monitoring system is completed, the real-time status information of the call link is monitored by the monitoring system.

[0088] It is understandable that when it is necessary to perform the corresponding business operation, the corresponding function can be automatically completed by calling the corresponding code program. Exemplarily, when securities trading is required, the second system can automatically call the corresponding code program to complete the SMS sending and verification process. Specifically, during the application process, the call link between the first system and the second system may have a fault, and it is difficult for the system user or staff to find the fault in time, resulting in the terminal device being unable to receive the corresponding SMS in time during the business execution process, and then unable to perform the SMS verification operation in time, reducing the user experience. Based on this, this embodiment performs interface point embedding processing of the monitoring system at the target position in the code program, so that the call link can be automatically monitored by the monitoring system, and the real-time status information of the call link can be obtained in time, and then the SMS sending link can be processed according to the real-time status information. In the embodiment of the present application, the monitoring system can adopt a distributed real-time monitoring system, such as a CAT monitoring system, and multiple links are synchronously monitored by the distributed monitoring system, or multiple monitoring points of a single link are synchronously monitored by the distributed monitoring system to improve the monitoring efficiency. It is understandable that the monitoring system of this embodiment can also be other monitoring modules that can realize the corresponding functions of the embodiment of the present application, which can be set according to the actual application. In addition, this embodiment performs point-embedding processing on the monitoring system in the target position of the code program, thereby eliminating the need for extensive modifications to the pre-set code program, thereby effectively reducing the workload of the staff.

[0089] See also Figure 3 In some embodiments, step S120 may include but is not limited to steps S310 to S340:

[0090] Step S310: Acquire abnormality judgment rule information, wherein the abnormality judgment rule information includes a text message sending time threshold and a text message sending success rate threshold;

[0091] Step S320, obtaining the SMS sending duration in the real-time status information;

[0092] Step S330: when the SMS sending time is greater than the SMS sending time threshold, obtain the SMS sending success rate within the preset time period;

[0093] Step S340: When the SMS sending success rate is less than the SMS sending success rate threshold, it is determined that there is an abnormality in the call link, and the SMS sending link configuration information in the configuration table is updated.

[0094] It can be understood that the abnormal judgment rule information can be information pre-edited and stored in the configuration center, and the information is used to determine whether the call link stores an abnormal situation. Specifically, after the real-time status information is obtained, the SMS sending duration in the real-time status information is extracted, and the SMS sending duration is compared with the SMS sending time threshold in the abnormal judgment rule information. If the SMS sending duration is greater than the SMS sending time threshold, it can be preliminarily determined that there is an abnormal situation in the data transmission process of the call link, such as the existence of a network instability. However, the situation where the SMS sending duration is too long due to network instability does not necessarily cause the first system to fail to receive the SMS to be sent. Therefore, this embodiment obtains the SMS sending success rate within a preset time period from the SMS sending table of the database, and further determines the working state of the call link between the first system and the second system by judging the size of the SMS sending success rate within the preset time period. When the SMS sending success rate is less than the SMS sending success rate threshold, it can be determined that the current call link is abnormal, and the SMS sending link configuration information in the configuration table needs to be updated, so that the subsequent steps can switch the SMS sending link according to the updated SMS sending link configuration information.

[0095] See also Figure 4 In some other embodiments, step S120 may also include but is not limited to steps S410 to S440:

[0096] Step S410: Acquire abnormality judgment rule information, wherein the abnormality judgment rule information includes abnormal content of the SMS message and a threshold value of SMS sending success rate;

[0097] Step S420, obtaining the SMS content information in the real-time status information;

[0098] Step S430: when the SMS content information includes abnormal SMS content, obtain the SMS sending success rate within a preset time period;

[0099] Step S440: When the SMS sending success rate is less than the SMS sending success rate threshold, it is determined that there is an abnormality in the call link, and the SMS sending link configuration information in the configuration table is updated.

[0100] It can be understood that the abnormal judgment rule information can be information pre-edited and stored in the configuration center, and the information is used to determine whether the call link stores abnormal conditions. In this embodiment, after the real-time status information is obtained, the SMS content information in the real-time status information is extracted, and the received SMS content information can be processed by information extraction. Among them, the information processing process of this embodiment can be to analyze the specific content contained in the SMS content information, such as whether it contains a dynamic password verification code in a preset format, and whether there is garbled information that does not meet the format requirements. Specifically, after extracting the SMS content information, this embodiment can compare the SMS content segment extracted from the information with the abnormal content of the SMS information. If the SMS content segment extracted from the information contains the same or highly similar content, it can be preliminarily determined that the call link is abnormal. However, garbled SMS or SMS content that does not meet the preset requirements does not necessarily mean a problem with the call link. Therefore, this embodiment further obtains the SMS sending success rate within a preset time period from the SMS sending table of the database, and further determines the working state of the call link between the first system and the second system by judging the size of the SMS sending success rate within the preset time period. When the SMS sending success rate is less than the SMS sending success rate threshold, it can be determined that there is an abnormality in the current call link, and the SMS sending link configuration information in the configuration table needs to be updated so that the subsequent steps can switch the SMS sending link according to the updated SMS sending link configuration information.

[0101] In some embodiments, the present embodiment can also set the normal content of the SMS information in the abnormal judgment rule information, and preliminarily judge whether there is an abnormality in the call link between the first system and the second system by judging the probability of the normal content of the SMS information contained in the SMS to be sent. Specifically, after extracting information fragments from the SMS to be sent by information extraction, the present embodiment analyzes the similarity between the information fragments and the normal content of the SMS information in turn. When the similarity is greater than the similarity threshold, it can be determined that the corresponding fragment belongs to normal content. Further, the present implementation can also count the total number of SMS information fragments whose similarity is greater than the similarity threshold. When the total number is greater than the total number threshold, it can be determined that the current SMS to be sent is a normal SMS, and then it can be determined that the working state of the call link is in a normal state; conversely, when the total number is less than or equal to the total number threshold, it can be determined that the current SMS to be sent is an abnormal SMS, and then it can be preliminarily determined that there is an abnormality in the working state of the call link. After preliminarily judging that there is an abnormality in the working state of the call link, the present embodiment can also further judge the working state of the call link in combination with the SMS sending success rate. Specifically, when the SMS sending success rate within the preset time period is less than the SMS sending success rate threshold, it can be determined that there is an abnormality in the current call link. Therefore, it is necessary to update the SMS sending link configuration information in the configuration table so that subsequent steps can switch the SMS sending link according to the updated SMS sending link configuration information.

[0102] In some embodiments, the abnormal judgment rule information may include but is not limited to a threshold value of a text message sending time, abnormal content of the text message information, and a threshold value of a text message sending success rate. Specifically, after the real-time status information is obtained, the text message sending duration in the real-time status information is extracted, and the text message sending duration is compared with the text message sending time threshold. If the text message sending duration is greater than the text message sending time threshold, it can be preliminarily determined that there is an abnormality in the data transmission process of the call link. It can be understood that this situation does not necessarily lead to the first system not receiving the text message to be sent. Therefore, after the first system receives the text message to be sent, the text message content information in the text message to be sent is extracted, and the text message content segment extracted from the information is compared with the abnormal content of the text message information. If there is the same or highly similar content in the text message content segment extracted from the information, it can be further determined that there is an abnormality in the call link. It is not necessarily a problem with the call link because the text message is garbled or the text message content does not meet the preset requirements. Therefore, this embodiment continues to judge the working state of the call link in combination with the text message sending success rate threshold. Specifically, when the text message sending success rate is less than the text message sending success rate threshold, it can be determined that there is an abnormality in the current call link. At this point, it is determined through a combination of the three-level judgment process that there may be an abnormality in the call link. Therefore, this embodiment updates the SMS sending link configuration information in the configuration table so that subsequent steps can switch the SMS sending link according to the updated SMS sending link configuration information, thereby ensuring that the SMS sending and verification process can be completed in a timely and effective manner when executing the business.

[0103] In some embodiments, before determining the SMS sending target link from the SMS sending link according to the SMS sending link configuration information, the method of the embodiment of the present application will also cache the updated configuration table in the server after obtaining the server corresponding to the call link. It is understandable that the updated configuration table can be cached in a database in the server, and the information in the database can be directly called.

[0104] Reference Figure 5 Taking the call link established by the securities issuing group system and the bank system as an example, the process of real-time monitoring of the call link in the embodiment of the present application includes but is not limited to steps S510 to S590:

[0105] Step S510: perform group fault monitoring point tracking in the call link, wherein the fault monitoring system may adopt a distributed monitoring system (CAT), which is a monitoring platform in the bank system.

[0106] Step S520: After completing the group fault monitoring point processing, execute the monitoring logic.

[0107] Step S530, call the CAT report interface through the monitoring logic, and obtain the real-time status information of the call link by monitoring the 50550 gateway application interface request; wherein, the monitored real-time status information can be saved in the CAT monitoring report. The CAT monitoring report is an OTP automatically customized monitoring "Group → Bank Call Link", which can display the real-time status information of the call link in a more intuitive diagram. By saving the real-time status information in the CAT monitoring report, the working status of the call link can be timely understood by monitoring the content of the report. Exemplarily, the content information of the report can be monitored through the instruction " / secure / searchMessage".

[0108] Step S540, obtaining rule indicators. The rule indicators can be obtained from the configuration (apollo), and the rule indicators include but are not limited to the SMS sending time threshold, SMS message abnormal content, SMS message normal content or SMS sending success rate threshold.

[0109] Step S550: determine whether there is an abnormality in the call link according to the rule indicator. If there is no abnormality in the call link, end the determination process; if there is an abnormality in the call link, execute step S560;

[0110] Step S560, obtaining the SMS success rate. In this step, the SMS sending data of the most recent few minutes can be obtained from the SMS sending table in the database, and the sending success rate of the SMS sending data can be determined.

[0111] Step S570: If the SMS sending success rate is greater than the SMS sending success rate threshold, it is determined that the call link is in a normal state, and the judgment process ends; if the SMS sending success rate is less than or equal to the SMS sending success rate threshold, it is determined that the call link is abnormal, and step S580 is executed;

[0112] Step S580, modify the SMS sending link configuration information in the configuration table. The configuration table includes but is not limited to the instruction "ESS_ES_CACHE_KEY_VALUE". The SMS sending link configuration information is used to switch the SMS sending link, that is, to switch the SMS sending link between the securities issuance group system and the bank system to the inside of the bank system, so that the SMS to be sent can be directly sent to the terminal device through the bank system to complete the SMS verification process.

[0113] Step S590: Refresh the information of the configuration table in the database to cache the latest SMS sending link configuration information.

[0114] From the above content, it can be seen that this embodiment can monitor the call link in real time by monitoring the system interface in the call link, and when it is determined that there is an abnormality in the call link based on the real-time status information obtained by monitoring, the SMS sending link configuration information in the configuration table is updated, so that the switching process of the SMS sending link can be completed according to the SMS sending link configuration information, effectively improving the efficiency of SMS sending and verification, and improving the experience of system users.

[0115] In some embodiments, Figure 6 As shown, the updating process of the configuration table includes but is not limited to steps S610 to S630:

[0116] Step S610, pre-setting the fault automatic switching switch cache task in the verification code service program;

[0117] Step S620, start the fault automatic switching switch cache task;

[0118] Step S630: Acquire data from the configuration table in the database, update the data in the configuration table to the latest SMS sending link configuration information, and save the updated configuration table in the database.

[0119] This embodiment pre-sets the fault automatic switching switch cache task, so that when the configuration information needs to be updated, the update operation is automatically completed, thereby effectively improving the data processing efficiency.

[0120] In some embodiments, before determining the target link for SMS transmission from the SMS transmission link according to the SMS transmission link configuration information, link switching enabling information may be pre-set in the configuration center (apollo). Therefore, before performing SMS transmission link switching, this embodiment obtains the link switching enabling information in the configuration table and determines the switching enabling state of the calling link according to the link switching enabling information. If the switching enabling state is enabled, the SMS transmission link may be switched according to the SMS transmission link configuration information; if the switching enabling state is not enabled, the SMS transmission link may not be switched according to the SMS transmission link configuration information.

[0121] Reference Figure 7 , Taking the call link between the securities issuance system and the banking system as an example, the switching process of the SMS target link includes but is not limited to

[0122] Step S710, start the SMS sending process;

[0123] Step S720, obtaining the link switching activation information in apollo, and judging whether to enable the link switching function according to the link switching activation information. If not enabled, the original SMS sending link (bank system - securities issuance system - terminal device) is used; if enabled, executing step S730;

[0124] Step S730, obtain the SMS sending link configuration information in the configuration table, and determine whether it is necessary to switch the SMS sending link. If not, use the original SMS sending link (bank system-securities issuance system-terminal device). Otherwise, switch to the bank system link for SMS sending and verification (bank system-terminal device).

[0125] It can be seen from the above content that this embodiment improves the flexibility of link switching control and facilitates the operation of the staff by setting the link switching activation judgment process.

[0126] In an embodiment of the present application, when the fault of the calling link is eliminated, this embodiment updates the SMS sending link configuration information in the configuration table according to the fault elimination information, so that the SMS sending link can be switched to the original link according to the SMS sending link configuration information, so that multiple systems involved in the business can understand the business progress in a timely manner.

[0127] See also Figure 8 The embodiment of the present application further provides a dynamic password sending and processing device, which can implement the above-mentioned dynamic password sending and processing method, and the device includes:

[0128] The first module 810 is used to obtain real-time status information of the call link; one end of the call link is connected to the first system, and the other end of the call link is connected to the second system, the first system is used to generate a text message to be sent according to the dynamic password; the second system is used to obtain the text message to be sent through the call link;

[0129] The second module 820 is used to update the configuration table according to the real-time status information, and the configuration table is provided with the SMS sending link configuration information;

[0130] The third module 830 is used to obtain a sending trigger instruction of a short message to be sent;

[0131] The fourth module 840 is used to obtain SMS sending link configuration information according to the sending trigger instruction;

[0132] A fifth module 850 is used to determine a target link for sending a short message from a short message sending link according to the short message sending link configuration information, where the short message sending link includes a first link and a second link, where the first link is composed of a first system, a second system and a terminal device, and the second link is composed of the first system and the terminal device;

[0133] The sixth module 860 is used to execute the task of sending the short message to be sent through the short message sending target link.

[0134] The specific implementation of the dynamic password sending and processing device is basically the same as the specific implementation of the dynamic password sending and processing method described above, and will not be repeated here.

[0135] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned dynamic password sending and processing method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0136] See also Fig. 9 , Fig. 9 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0137] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0138] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other applications. When the technical solution provided in the embodiments of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the dynamic password sending processing method of the embodiment of the present application;

[0139] Input / output interface 903, used to implement information input and output;

[0140] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);

[0141] A bus 905 that transmits information between the various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);

[0142] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .

[0143] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned dynamic password sending and processing method is implemented.

[0144] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0145] The dynamic password sending and processing method and device, electronic device and storage medium provided in the embodiments of the present application can obtain the real-time status information of the call link in time by combining with the automatic monitoring function of the monitoring system, so that it can timely discover whether there is a fault in the call link according to the real-time status information, and update the configuration table with SMS sending link configuration information according to the real-time status information. After obtaining the sending trigger instruction of the SMS to be sent, the SMS sending link configuration information is obtained according to the sending trigger instruction, and the SMS sending target link is determined from the SMS sending link according to the SMS sending link configuration information. Therefore, when there is a fault in the current SMS sending link, the SMS sending link can be switched in time, and then the SMS sending and verification process can be completed in time, effectively improving the experience of system users.

[0146] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0147] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0148] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0149] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0150] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0151] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0152] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0153] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0154] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0155] If the integrated unit is implemented in the form of a software functional 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 solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0156] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A method for sending a dynamic password, characterized in that: The method comprises the following steps: Acquire real-time status information of a call link; one end of the call link is connected to a first system, and the other end of the call link is connected to a second system, the first system is used to generate a text message to be sent according to the dynamic password; the second system is used to obtain the text message to be sent through the call link; Update a configuration table according to the real-time status information, wherein the configuration table is provided with SMS sending link configuration information; Obtaining a sending trigger instruction for the short message to be sent; Acquire the SMS sending link configuration information according to the sending trigger instruction; Determine a target link for sending a text message from a text message sending link according to the text message sending link configuration information, wherein the text message sending link includes a first link and a second link, wherein the first link is composed of the first system, the second system and a terminal device, and the second link is composed of the first system and the terminal device; The task of sending the short message to be sent is performed through the short message sending target link.

2. The method according to claim 1, characterized in that The obtaining of the real-time status information of the call link includes: Obtaining a code program corresponding to the call link; Performing interface point embedding processing of the monitoring system at the target location of the code program; After the interface tracking processing of the monitoring system is completed, the real-time status information of the call link is monitored by the monitoring system.

3. The method according to claim 1, characterized in that The updating of the configuration table according to the real-time status information comprises: Acquire abnormality judgment rule information, wherein the abnormality judgment rule information includes a text message sending time threshold and a text message sending success rate threshold; Obtain the SMS sending time in the real-time status information; When the SMS sending time is greater than the SMS sending time threshold, obtaining the SMS sending success rate within a preset time period; When the SMS sending success rate is less than the SMS sending success rate threshold, it is determined that an abnormality exists in the call link, and the SMS sending link configuration information in the configuration table is updated.

4. The method according to claim 1, characterized in that: The updating of the configuration table according to the real-time status information comprises: Acquire abnormality judgment rule information, wherein the abnormality judgment rule information includes abnormal content of the SMS message and a threshold value of SMS sending success rate; Obtaining SMS content information in the real-time status information; When the SMS content information includes the abnormal SMS content, obtaining the SMS sending success rate within a preset time period; When the SMS sending success rate is less than the SMS sending success rate threshold, it is determined that an abnormality exists in the call link, and the SMS sending link configuration information in the configuration table is updated.

5. The method according to claim 3 or 4, characterized in that: After updating the SMS sending link configuration information in the configuration table, the method further includes the following steps: Obtain the server corresponding to the call link; The updated configuration table is cached in the server.

6. The method according to claim 1, characterized in that Before determining the target link for sending a text message from the text message sending link according to the text message sending link configuration information, the method further comprises the following steps: Obtaining link switching enabling information in the configuration table; The switching enabling state of the calling link is determined according to the link switching enabling information.

7. The method according to claim 6, characterized in that The determining the SMS sending target link from the SMS sending link according to the SMS sending link configuration information includes: When the switching enabling state is enabled, judging whether it is necessary to switch the SMS sending link according to the SMS sending link configuration information; When it is determined that the SMS sending link needs to be switched, the second link is determined as the SMS sending target link according to the SMS sending link configuration information.

8. A dynamic password sending and processing device, characterized in that: The device comprises: The first module is used to obtain real-time status information of a call link; one end of the call link is connected to a first system, and the other end of the call link is connected to a second system, the first system is used to generate a text message to be sent according to the dynamic password; the second system is used to obtain the text message to be sent through the call link; The second module is used to update the configuration table according to the real-time status information, wherein the configuration table is provided with SMS sending link configuration information; The third module is used to obtain the sending trigger instruction of the short message to be sent; The fourth module is used to obtain the SMS sending link configuration information according to the sending trigger instruction; A fifth module, configured to determine a target link for sending a text message from a text message sending link according to the text message sending link configuration information, wherein the text message sending link includes a first link and a second link, wherein the first link is composed of the first system, the second system and a terminal device, and the second link is composed of the first system and the terminal device; The sixth module is used to execute the task of sending the short message to be sent through the short message sending target link.

9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method for sending and processing a dynamic password as claimed in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for sending and processing a dynamic password according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method and device for transmitting verification codes via short messages

    CN103002415A

  • Short message sending method and short message gateway device

    CN108243397A

  • Short message channel routing method and device and electronic equipment

    CN112004202A

  • Uplink (UL) retransmission and radio link failure (RLF) recovery in a multi-hop relay network

    WO2020176537A1