A business processing method, device, electronic device and computer readable medium
By generating and broadcasting voice files of verification codes, the problem that visually impaired customers find it difficult to identify graphic verification codes is solved, and the security verification and transaction services for visually impaired customers are realized, providing a better user experience.
Patent Information
- Application Number
- CN202210143017.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-16
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2042-02-16
AI Technical Summary
The color and background color of the existing graphic verification codes are too similar and have large shape differences, which makes it difficult for visually impaired customers to identify and cannot perform safety verification of the graphic verification code normally.
By receiving service processing requests, obtaining language identifiers and terminal identifiers, generating verification codes, and calling the basic voice library to generate voice files, using the voice broadcast interface to perform voice broadcasting, receiving user's voice return information for verification, supporting multilingual voice broadcasting, ensuring that Visually impaired customers can accurately complete the safety verification of the graphic verification code.
It realizes that visually impaired customers can accurately perform safe verification of graphic verification codes, providing visually impaired customers with better services and helping them complete transaction business by themselves.
Smart Images

Figure CN114614980B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of cloud computing security services, and in particular to a business processing method, device, electronic device, and computer-readable medium. Background Art
[0002] At present, most websites require users to identify graphic verification codes when logging in or conducting account transactions to avoid attacks from hackers or third parties. This strategy can make online transactions safer, but it also sacrifices some convenience. In order to avoid being recognized by machines, verification code images are usually more complex and blurred. Even for normal customers, it is difficult to ensure that they can enter them correctly in one go, and it is even more difficult for visually impaired customers to recognize them.
[0003] In the process of implementing this application, the inventors found that there are at least the following problems in the prior art:
[0004] The color of the verification code in the current graphic verification code is very close to the background color, and the shape of the verification code is quite different. It is difficult for visually impaired customers to recognize the true content of the verification code, resulting in websites and transactions that require graphic verification code security verification being unable to provide normal services to such customers. Summary of the invention
[0005] In view of this, the embodiments of the present application provide a business processing method, device, electronic device and computer-readable medium, which can solve the problem that the color of the verification code in the existing graphic verification code is very close to the background color, and the shape of the verification code is quite different, making it difficult for visually impaired customers to recognize the true content of the verification code, resulting in websites and transactions that require graphic verification code security verification being unable to provide normal services to such customers.
[0006] To achieve the above objective, according to one aspect of an embodiment of the present application, a service processing method is provided, including:
[0007] Receive a business processing request and obtain the corresponding language identifier and terminal identifier;
[0008] Generate a verification code, and then call the basic voice library to generate a voice file based on the verification code and the language identifier;
[0009] Call the voice broadcast interface corresponding to the terminal identifier to perform the corresponding voice broadcast based on the voice file;
[0010] Receive verification information returned by the user based on the broadcast voice, and then process corresponding services based on the verification information.
[0011] Optionally, before generating the verification code, the method further includes:
[0012] In response to detecting a user interaction event on the authentication dialog box, triggering an authentication process.
[0013] Optionally, after generating the verification code, the method further includes:
[0014] Encrypt the verification code to generate an encrypted string.
[0015] Optionally, generating a voice file based on the verification code and the language identifier includes:
[0016] Obtain a basic voice file in a basic voice library corresponding to the language identifier;
[0017] The encrypted string is matched with the basic voice file, and the matched basic voice files are assembled to generate a complete voice file.
[0018] Optionally, before calling the voice broadcast interface corresponding to the terminal identifier, the method further includes:
[0019] Generate a verification code image corresponding to the voice file based on the encrypted string.
[0020] Optionally, performing corresponding voice broadcast based on the voice file includes:
[0021] In response to detecting an interaction event of the user with the verification code image, a voice file corresponding to the verification code image is voice broadcasted.
[0022] Optionally, processing corresponding services based on the verification information includes:
[0023] Matching the verification information with the verification code, and in response to a successful match, executing processing of the business corresponding to the business processing request;
[0024] In response to a matching failure, request failure information is returned.
[0025] In addition, the present application also provides a service processing device, including:
[0026] A receiving unit is configured to receive a service processing request and obtain a corresponding language identifier and a terminal identifier;
[0027] A voice file generating unit is configured to generate a verification code, and then call a basic voice library to generate a voice file based on the verification code and the language identifier;
[0028] A voice broadcast unit is configured to call a voice broadcast interface corresponding to the terminal identifier to perform a corresponding voice broadcast based on the voice file;
[0029] The service processing unit is configured to receive verification information returned by the user based on the broadcast voice, and then process the corresponding service based on the verification information.
[0030] Optionally, the receiving unit is further configured to:
[0031] In response to detecting a user interaction event on the authentication dialog box, triggering an authentication process.
[0032] Optionally, the device further comprises an encryption unit configured to:
[0033] Encrypt the verification code to generate an encrypted string.
[0034] Optionally, the voice file generating unit is further configured to:
[0035] Obtain a basic voice file in a basic voice library corresponding to a language identifier;
[0036] The encrypted string is matched with the basic voice file, and the matched basic voice files are assembled to generate a complete voice file.
[0037] Optionally, the device further includes a verification code image generating unit, which is configured to:
[0038] Generate a verification code image corresponding to the voice file based on the encrypted string.
[0039] Optionally, the voice broadcast unit is further configured to:
[0040] In response to detecting an interaction event of the user with the verification code image, a voice file corresponding to the verification code image is voice broadcasted.
[0041] Optionally, the service processing unit is further configured to:
[0042] Matching the verification information with the verification code, and in response to a successful match, executing processing of the business corresponding to the business processing request;
[0043] In response to a matching failure, request failure information is returned.
[0044] In addition, the present application also provides a business processing electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the one or more processors implement the business processing method as described above.
[0045] In addition, the present application also provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the business processing method as described above is implemented.
[0046] To achieve the above objective, according to another aspect of the embodiments of the present application, a computer program product is provided.
[0047] A computer program product according to an embodiment of the present application includes a computer program, and when the program is executed by a processor, the business processing method provided by the embodiment of the present application is implemented.
[0048] One embodiment of the above invention has the following advantages or beneficial effects: the application receives a business processing request to obtain the corresponding language identifier and terminal identifier; generates a verification code, and then calls the basic voice library to generate a voice file based on the verification code and language identifier; calls the voice broadcast interface corresponding to the terminal identifier to perform a corresponding voice broadcast based on the voice file; receives the verification information returned by the user based on the broadcast voice, and then processes the corresponding business based on the verification information. It can support multi-language voice broadcast, so that visually impaired customers can also accurately perform security verification of graphic verification codes, providing better services for visually impaired customers and helping visually impaired customers to complete transactions by themselves.
[0049] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The accompanying drawings are used to better understand the present application and do not constitute an improper limitation on the present application.
[0051] Figure 1 is a schematic diagram of the main process of the business processing method according to the first embodiment of the present application;
[0052] Figure 2 is a schematic diagram of the main process of the business processing method according to the second embodiment of the present application;
[0053] Figure 3 is a schematic diagram of the main process of the business processing method according to the third embodiment of the present application;
[0054] Figure 4 is a schematic diagram of an application scenario of a business processing method according to a fourth embodiment of the present application;
[0055] Figure 5 is a schematic diagram of main units of a service processing device according to an embodiment of the present application;
[0056] Figure 6 is an exemplary system architecture diagram to which the embodiments of the present application can be applied;
[0057] Figure 7 It is a structural diagram of a computer system of a terminal device or server suitable for implementing an embodiment of the present application. DETAILED DESCRIPTION
[0058] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description. The acquisition, storage, use, and processing of data in the technical solution of the present application are in compliance with the relevant provisions of national laws and regulations.
[0059] Figure 1 is a schematic diagram of the main process of the business processing method according to the first embodiment of the present application, such as Figure 1 As shown, the business processing method includes:
[0060] Step S101, receiving a service processing request, and obtaining a corresponding language identifier and terminal identifier.
[0061] In this embodiment, the execution subject of the business processing method (for example, it can be a server) can receive a business processing request through a wired connection or a wireless connection. The business processing request can be, for example, a login business, a registration business, etc. The user triggers the login button control or the registration button control on the current page to trigger the business processing process and send a business processing request to the execution subject. The execution subject receives the business processing request and can obtain the language identifier and terminal identifier carried in the request. Among them, the language identifier corresponds to the language selection button control on the current page clicked by the user. The user selects the language by clicking the language selection button control. The terminal identifier is the identifier corresponding to the carrier on which the current page depends, for example, it can be the identifier corresponding to the personal computer PC end, the identifier corresponding to the mobile browser, the identifier corresponding to the mobile client, the identifier corresponding to the tablet end, etc.
[0062] Specifically, before generating the verification code, the method further includes:
[0063] In response to detecting a user interaction event on the authentication dialog box, triggering an authentication process.
[0064] The user can interact with the execution entity by clicking on the verification dialog box. When the execution entity detects that the user has clicked on the verification dialog box, that is, the execution entity detects that the interaction event corresponding to the verification dialog box has been triggered, the verification process is triggered. Specifically, the verification process can display a graphic verification code to the user for the execution entity, and determine whether to process the business processing request initiated by the user by verifying whether the graphic verification code entered by the user is consistent with the copy of the verification code stored in the background. If they are consistent, the business processing request initiated by the user is processed, such as allowing the user to log in or allowing the user to register. If they are inconsistent, the request failure information is returned to the user.
[0065] Step S102: Generate a verification code, and then call the basic voice library to generate a voice file based on the verification code and the language identifier.
[0066] like Figure 4 As shown, after the verification process is verified, the execution subject can call the verification code program (verification code servlet) to generate a 5-digit (only for example, it can also be 6 digits, n digits, etc., the embodiment of the present application does not specifically limit the number of digits of the verification code, the verification code can be pure letters, pure numbers, or a combination of letters and numbers, and the embodiment of the present application does not limit the form of the verification code) verification code encrypted string, and then call the voice program (voice servlet) to decrypt the encrypted string, and match the voice file in the basic voice library, and then generate a complete verification code voice file. For example, the server randomly generates a 5-digit (the embodiment of the present application does not limit the number of digits) verification code (including numbers and letters) and encrypts the string. The encrypted string will be applied to both the voice stream and the image stream, which can ensure that the verification code image and the voice broadcast content are consistent. The voice servlet decrypts the verification code encrypted string and obtains the 5-digit verification code information. The voice files corresponding to these five characters are matched in the basic voice library (multiple languages can be distinguished) and integrated into a complete voice stream output. The front-end system calls the voice servlet and sends the corresponding voice identifier, and can obtain the corresponding verification code voice file, thereby realizing the barrier-free broadcast function.
[0067] Step S103, calling the voice broadcast interface corresponding to the terminal identifier to perform corresponding voice broadcast based on the voice file.
[0068] After generating a complete verification code voice file, the execution entity can initiate a page request through the front-end caller and call the voice servlet to obtain the voice file. When it is detected that the voice file is triggered by the outside world, the sound of the voice file can be played to voice broadcast the voice file.
[0069] Step S104, receiving verification information returned by the user based on the broadcast voice, and then processing corresponding services based on the verification information.
[0070] After hearing the verification information corresponding to the voice file announced by voice, the user can input the verification information heard in the verification dialog box, so that the execution subject can verify based on the verification information received from the user.
[0071] Specifically, the corresponding business is processed based on the verification information, including:
[0072] The verification information is matched with the verification code (i.e., a copy of the verification code text stored in the background). In response to a successful match, the business processing corresponding to the business processing request is executed; in response to a failed match, request failure information is returned.
[0073] After receiving the verification information returned by the user based on the broadcast voice, the execution entity can verify the verification information with the verification code text copy saved in the background to determine whether they are consistent. If they are consistent, the execution entity will process the corresponding business, such as executing the registration business processing, executing the login business processing, etc. If they are inconsistent, the execution entity will return the request failure information, such as returning the registration failure information, returning the login failure information, etc.
[0074] This embodiment receives a business processing request, obtains the corresponding language identifier and terminal identifier; generates a verification code, and then calls the basic voice library to generate a voice file based on the verification code and language identifier; calls the voice broadcast interface corresponding to the terminal identifier to perform a corresponding voice broadcast based on the voice file; receives the verification information returned by the user based on the broadcast voice, and then processes the corresponding business based on the verification information. It can support multi-language voice broadcast, so that visually impaired customers can also accurately perform security verification of graphic verification codes, providing better services for visually impaired customers and helping visually impaired customers to complete transactions by themselves.
[0075] Figure 2 is a schematic diagram of the main flow of the business processing method according to the second embodiment of the present application, such as Figure 2 As shown, the business processing method includes:
[0076] Step S201: receiving a service processing request and obtaining a corresponding language identifier and terminal identifier.
[0077] Step S202, generating a verification code, encrypting the verification code, and generating an encrypted string.
[0078] Specifically, the execution subject can encrypt the verification code through the message digest algorithm (Message-Digest Algorithm, MD5) to generate an encrypted string (i.e., a hash value). The principle of the MD5 algorithm is: the MD5 code processes the input information (the input information is the verification code) in 512-bit groups, and each group is divided into 16 32-bit sub-groups. After a series of processing, the output of the algorithm consists of four 32-bit groups. After the four 32-bit groups are cascaded, a 128-bit hash value will be generated.
[0079] Step S203: calling a basic voice library to generate a voice file based on the verification code and the language identifier.
[0080] After obtaining the encrypted string corresponding to the verification code, the execution subject can call the basic voice library. According to the language identifier carried in the business processing request, the basic voices corresponding to the language identifier in the basic voice library are located. If the language identifier corresponds to English (or Chinese, the embodiment of the application does not specifically limit the type of language corresponding to the language identifier), the basic voices of English (or Chinese) in the basic voice library are matched with the byte codes in the encrypted string.
[0081] Specifically, generating a voice file based on the verification code and the language identifier includes: obtaining a basic voice file in a basic voice library corresponding to the language identifier; matching the encrypted string with the basic voice file, and assembling the matched basic voice files to generate a complete voice file.
[0082] Step S204: Generate a verification code image corresponding to the voice file based on the encrypted string.
[0083] When the execution entity generates a voice file based on the encrypted string and the basic voice library, it will also generate a verification code image corresponding to the generated voice file to ensure that the content of the voice file broadcast by the voice is consistent with the verification code image displayed to the user.
[0084] Step S205, in response to detecting an interaction event of the user with the verification code image, calling a voice broadcast interface corresponding to the terminal identifier, and voice broadcasting the voice file corresponding to the verification code image.
[0085] When a click operation on the verification code image is detected, the execution subject can determine that the user has interacted with the verification code image and triggered an interaction event. The execution subject can call the voice broadcast interface corresponding to the terminal identifier (if the terminal identifier corresponds to a mobile phone terminal, the playback device of the mobile phone terminal, such as the microphone of the mobile phone terminal, is called) to voice broadcast the voice file.
[0086] Step S206, receiving verification information returned by the user based on the broadcast voice, and then processing corresponding services based on the verification information.
[0087] The execution entity can receive the verification information entered by the user in the verification dialog box, match the verification information with the copy of the verification code text stored in the background, and execute the corresponding business processing according to the matching result.
[0088] The embodiment of the present application provides a method for producing a voice broadcast of a verification code based on a file stream in business processing. For example, it can be implemented through the following three steps: 1. The server randomly generates a 5-digit verification code (including numbers and letters) and generates an encrypted string; 2. The voice verification code servlet obtains the verification code encrypted string, decrypts it, and generates a corresponding voice file; 3. The front end calls the request voice servlet to obtain the voice file and broadcast it through its own player. Among them, the servlet provides a large number of practical tool routines, such as automatically parsing and decoding HTML form data, reading and setting HTTP headers, processing cookies, tracking session status, etc. The servlet can interact directly with the Web server. The servlet can also share data between programs, making it easy to implement functions such as database connection pools. A servlet is a small program running on a server, usually used to run on a client, and the result is to perform calculations for the user or locate graphics based on user interactions.
[0089] In the embodiments of the present application, js stands for JavaScript, which is a lightweight, interpreted or just-in-time compiled programming language with function priority; it is a high-level scripting language belonging to the network, mainly used for the Web, and is often used to add a variety of dynamic functions to web pages. Graphic verification code: Verification code (CAPTCHA) is the abbreviation of "Completely Automated Public Turing test to tell Computers and Humans Apart" (Turing test to automatically distinguish computers and humans). It is a public fully automatic program to distinguish whether a user is a computer or a human. It can prevent: malicious password cracking, ticket brushing, forum flooding, and effectively prevent a hacker from using a specific program to brute force a specific registered user to make continuous login attempts. Barrier-free: Web Content Accessibility Guidelines WCAG (Web Content Accessibility Guidelines) covers various suggestions for making Web content more accessible. Following these guidelines will make it easier for more people with disabilities to access website content, including blindness and low vision, deafness and hearing loss, limited movement, speech disorders, photosensitivity and multiple combinations of disabilities, as well as people with learning disabilities and cognitive limitations; but it will not meet all the needs of these disabled users.
[0090] The voice broadcast function of the embodiment of the present application can be called by js loading or target link (the user can trigger the voice broadcast by clicking the target link), and can be flexibly used in multiple scenarios such as PC browser, mobile browser and mobile client, which improves the application ability of the system. At the same time, this function makes up for the lack of barrier-free function, provides better service for visually impaired customers, and reflects the humanistic spirit of the system. The embodiment of the present application synthesizes voice files through voice files, can support multiple language playback, and supports multiple combinations of letters and arrays. Supports multiple devices, and voice streams can be obtained through request strings without platform restrictions. Independent servlet generates encrypted voice streams, and retains a copy of the verification code text in the background for verification, which is safe and reliable. Provides better service for visually impaired customers, reflecting the humanistic spirit of the system.
[0091] Figure 3 is a schematic diagram of the main flow of the business processing method according to the third embodiment of the present application, such as Figure 3 As shown, the business processing method includes:
[0092] Step S301: receiving a service processing request and obtaining a corresponding language identifier and terminal identifier.
[0093] The business processing request may be, for example, a login verification request or a registration verification request. The embodiment of the present application does not limit the specific content of the business processing request.
[0094] The business processing request can carry a language identifier and a terminal identifier. The language identifier is used to characterize the language type on which this business processing is based. There can be one or more terminal identifiers. When there are multiple terminal identifiers, it can be a business processing request initiated by multiple terminals through the same interface. In other words, the business processing method can be applied to various terminals and has strong universality. When the received business processing request is a picture verification request during the login process, the customer does not need to visually identify the picture verification code to realize business processing in different languages and different terminals, which can conveniently, accurately and quickly process business and improve business processing efficiency.
[0095] Step S302, generate a verification code, encrypt the verification code, and generate an encrypted string.
[0096] The verification code can be randomly generated by the execution subject. A symmetric encryption algorithm (AES, DES, 3DES) can be used to encrypt the verification code. A symmetric encryption algorithm means that the same key is used for encryption and decryption, and it is reversible (i.e., decryptable) to generate an encrypted string.
[0097] Step S303: calling a basic speech library to obtain a basic speech file in the basic speech library corresponding to the language identifier.
[0098] The basic speech database may store basic speech of various languages, basic speech of various voices, basic speech of various accents, and the like.
[0099] Step S304, matching the encrypted string with the basic voice file, and assembling the matched basic voice files to generate a complete voice file.
[0100] For example, after the execution entity matches the basic speech of English (or Chinese) in the basic speech library with each byte code in the encrypted string, the matched basic speech of English (or Chinese) in the basic speech library can be assembled based on the arrangement order of each byte code in the encrypted string to obtain the final speech file, such as ASJ3.
[0101] Step S305, calling the voice broadcast interface corresponding to the terminal identifier to perform corresponding voice broadcast based on the voice file.
[0102] Step S306, receiving verification information returned by the user based on the broadcast voice, and then processing corresponding services based on the verification information.
[0103] As another implementation method of the embodiment of the present application, the execution subject can also obtain the accent identifier in the business processing request, determine the matching basic voice from the basic voice library according to the accent identifier, and then assemble the matched basic voice files to generate a complete voice file. This makes the solution of the present application applicable to customers with various accents, so that customers can more accurately determine the corresponding picture verification code through the voice file broadcast by voice, and enter the verification dialog box for verification, which greatly improves the user experience.
[0104] Figure 5 Schematic diagram of the main units of the service processing device according to an embodiment of the present application. Figure 5 As shown, the service processing device 500 includes a receiving unit 501 , a voice file generating unit 502 , a voice broadcasting unit 503 and a service processing unit 504 .
[0105] The receiving unit 501 is configured to receive a service processing request and obtain a corresponding language identifier and a terminal identifier;
[0106] The voice file generating unit 502 is configured to generate a verification code, and then call the basic voice library to generate a voice file based on the verification code and the language identifier;
[0107] The voice broadcast unit 503 is configured to call the voice broadcast interface corresponding to the terminal identifier to perform the corresponding voice broadcast based on the voice file;
[0108] The service processing unit 504 is configured to receive the verification information returned by the user based on the broadcast voice, and then process the corresponding service based on the verification information.
[0109] In some embodiments, the receiving unit 501 is further configured to: trigger a verification process in response to detecting an interaction event of a user with the verification dialog box.
[0110] In some embodiments, the device further comprises Figure 5 The encryption unit not shown in the figure is configured to: encrypt the verification code to generate an encrypted string.
[0111] In some embodiments, the voice file generation unit 502 is further configured to: obtain a basic voice file in a basic voice library corresponding to a language identifier; match the encrypted string with the basic voice file, and assemble the matched basic voice files to generate a complete voice file.
[0112] In some embodiments, the device further comprises Figure 5 The verification code picture generating unit not shown in the figure is configured to generate a verification code picture corresponding to the voice file based on the encrypted string.
[0113] In some embodiments, the voice broadcast unit 503 is further configured to: in response to detecting an interaction event of the user with the verification code image, voice broadcast the voice file corresponding to the verification code image.
[0114] In some embodiments, the business processing unit 504 is further configured to: match the verification information with the verification code, and in response to a successful match, execute processing on the business corresponding to the business processing request; in response to a failed match, return request failure information.
[0115] It should be noted that the business processing method and the business processing device of the present application have a corresponding relationship in terms of specific implementation content, so the repeated content will not be described again.
[0116] Figure 6 An exemplary system architecture 600 to which the service processing method or service processing device according to the embodiment of the present application can be applied is shown.
[0117] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0118] Users can use terminal devices 601, 602, and 603 to interact with server 605 through network 604 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 601, 602, and 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).
[0119] The terminal devices 601, 602, and 603 may be various electronic devices having a service processing screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0120] Server 605 can be a server that provides various services, such as a background management server that provides support for tasks submitted by users using terminal devices 601, 602, and 603 (only as an example). The background management server can receive a business processing request, obtain the corresponding language identifier and terminal identifier; generate a verification code, and then call the basic voice library to generate a voice file based on the verification code and language identifier; call the voice broadcast interface corresponding to the terminal identifier to perform a corresponding voice broadcast based on the voice file; receive the verification information returned by the user based on the voice broadcast, and then process the corresponding business based on the verification information. Multi-language voice broadcast can be supported, so that visually impaired customers can also accurately perform security verification of graphic verification codes, providing better services for visually impaired customers and helping visually impaired customers to complete transactions by themselves.
[0121] It should be noted that the business processing method provided in the embodiment of the present application is generally executed by the server 605 , and accordingly, the business processing device is generally set in the server 605 .
[0122] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0123] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of a terminal device suitable for implementing an embodiment of the present application. Figure 7 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0124] like Figure 7As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the computer system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0125] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.
[0126] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present application are executed.
[0127] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. Computer-readable storage media may include, for example, but are not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0128] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0129] The units involved in the embodiments described in the present application may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a receiving unit, a voice file generating unit, a voice broadcast and a service processing unit. The names of these units do not constitute limitations on the units themselves in some cases.
[0130] As another aspect, the present application also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs. When the above one or more programs are executed by a device, the device receives a business processing request, obtains the corresponding language identifier and terminal identifier; generates a verification code, and then calls the basic voice library to generate a voice file based on the verification code and language identifier; calls the voice broadcast interface corresponding to the terminal identifier to perform corresponding voice broadcast based on the voice file; receives the verification information returned by the user based on the broadcast voice, and then processes the corresponding business based on the verification information.
[0131] The computer program product of the present application includes a computer program, and when the computer program is executed by a processor, the business processing method in the embodiment of the present application is implemented.
[0132] According to the technical solution of the embodiment of the present application, multi-language voice broadcast can be supported, so that visually impaired customers can also accurately perform security verification of graphic verification codes, providing visually impaired customers with better services and helping visually impaired customers to complete transactions by themselves.
[0133] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A business processing method, characterized in that: include: Receive a business processing request and obtain the corresponding language identifier and terminal identifier; Generate a verification code, and then call a basic voice library to generate a voice file based on the verification code and the language identifier; Before generating the verification code, the method further includes: in response to detecting an interactive event of the user on the verification dialog box, triggering a verification process; after generating the verification code, the method further includes: encrypting the verification code to generate an encrypted string; generating a voice file based on the verification code and the language identifier, including: obtaining a basic voice file in the basic voice library corresponding to the language identifier; matching the encrypted string with the basic voice file, and assembling the matched basic voice files to generate a complete voice file; Calling the voice broadcast interface corresponding to the terminal identifier to perform a corresponding voice broadcast based on the voice file; before calling the voice broadcast interface corresponding to the terminal identifier, the method further includes: generating a verification code picture corresponding to the voice file based on the encrypted string; performing a corresponding voice broadcast based on the voice file includes: in response to detecting an interaction event of a user with the verification code picture, performing a voice broadcast of the voice file corresponding to the verification code picture; Receive verification information returned by the user based on the broadcast voice, and then process corresponding services based on the verification information.
2. The method according to claim 1, characterized in that The processing of corresponding services based on the verification information includes: Matching the verification information with the verification code, and in response to a successful match, executing processing of the service corresponding to the service processing request; In response to a matching failure, request failure information is returned.
3. A service processing device, characterized in that: include: A receiving unit is configured to receive a service processing request and obtain a corresponding language identifier and a terminal identifier; A voice file generating unit is configured to generate a verification code, and then call a basic voice library to generate a voice file based on the verification code and the language identifier; A voice broadcast unit, configured to call a voice broadcast interface corresponding to the terminal identifier to perform a corresponding voice broadcast based on the voice file; A service processing unit, configured to receive verification information returned by the user based on the broadcast voice, and then process corresponding services based on the verification information; The receiving unit is further configured to: in response to detecting an interaction event of a user with the verification dialog box, trigger a verification process; The device further comprises an encryption unit configured to: encrypt the verification code to generate an encrypted string; The voice file generation unit is further configured to: obtain a basic voice file in the basic voice library corresponding to the language identifier; Matching the encrypted string with the basic voice file, and assembling the matched basic voice files to generate a complete voice file; The device further comprises a verification code picture generating unit configured to: generate a verification code picture corresponding to the voice file based on the encrypted string; The voice broadcast unit is further configured to: in response to detecting an interaction event of the user with the verification code image, voice broadcast the voice file corresponding to the verification code image.
4. A business processing electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 2.
5. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.
6. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.