[go: up one dir, main page]

CN108366052A - Verify the processing method and system of short message - Google Patents

Verify the processing method and system of short message Download PDF

Info

Publication number
CN108366052A
CN108366052A CN201810084587.7A CN201810084587A CN108366052A CN 108366052 A CN108366052 A CN 108366052A CN 201810084587 A CN201810084587 A CN 201810084587A CN 108366052 A CN108366052 A CN 108366052A
Authority
CN
China
Prior art keywords
short message
verification
word
local server
keyword
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810084587.7A
Other languages
Chinese (zh)
Other versions
CN108366052B (en
Inventor
徐国诚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201810084587.7A priority Critical patent/CN108366052B/en
Publication of CN108366052A publication Critical patent/CN108366052A/en
Priority to PCT/CN2018/124338 priority patent/WO2019144756A1/en
Application granted granted Critical
Publication of CN108366052B publication Critical patent/CN108366052B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/284Lexical analysis, e.g. tokenisation or collocates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2411Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/30Noise filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/148Segmentation of character regions
    • G06V30/153Segmentation of character regions using recognition of characters or words
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/082Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00 applying multi-factor authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • H04L63/0838Network architectures or network communication protocols for network security for authentication of entities using passwords using one-time-passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention is suitable for Internet technical field, provides a kind of processing method and system of verification short message, receives instruction input by user, and the time of recording instruction input by local server, request message is sent to far-end server according to described instruction;Terminal device judges whether the short message is verification short message when receiving short message;If the short message is verification short message, the verification short message is forwarded to the local server by terminal device;Local server receives the verification short message, and records the short message receiving time of the verification short message;If the time of described instruction input and the difference of the short message receiving time are less than or equal to preset time difference threshold value, then the local server identifies the identifying code in the verification short message, and identifying code is sent to the far-end server, to call function corresponding with described instruction in far-end server, make local server when calling the function of far-end server, the degree of automation and working efficiency higher.

Description

验证短信的处理方法及系统Processing method and system for verifying short messages

技术领域technical field

本发明属于互联网技术领域,尤其涉及一种验证短信的处理方法及系统。The invention belongs to the technical field of the Internet, and in particular relates to a processing method and system for verifying short messages.

背景技术Background technique

随着互联网技术的发展,设备和设备之间的数据交互日益密切,现在的分布式系统,往往需要多台服务器或平台互相调取数据和调用功能,这有利于数据处理效率以及降低成本。为了保证分布式系统中各个服务器之间的数据安全,一台本地服务器在调用其他服务器的数据或功能时,往往需要输入正确的验证码,而在一般情况下,其他服务器并不会直接将验证码发送至本地服务器,而是会将验证码以短信的形式发送至一个终端设备,例如发送至一台手机中,用户需要将该短信中的验证码输入本地服务器中,才可以完成从其他服务器调用数据或功能的目的。With the development of Internet technology, data interaction between devices has become increasingly close. Today's distributed systems often require multiple servers or platforms to transfer data and call functions from each other, which is conducive to data processing efficiency and cost reduction. In order to ensure data security between servers in a distributed system, when a local server calls data or functions of other servers, it often needs to enter the correct verification code, but in general, other servers will not directly verify the code. Instead, the verification code will be sent to a terminal device in the form of a text message, for example, to a mobile phone. The user needs to enter the verification code in the text message into the local server to complete the verification from other servers. Purpose of calling data or function.

但是,在多个用户同时使用本地服务器,并调用不同的远端服务器的数据或功能时,或一个用户需要调用多个远端服务器的功能,需要正确输入多个验证码时,如果每个用户都需要人工读取各自终端设备接收到的验证码,并将其输入至本地服务器,就会影响本地服务器的使用效率,并且对于用户而言,便捷性也比较差。However, when multiple users use the local server at the same time and call the data or functions of different remote servers, or a user needs to call the functions of multiple remote servers and need to enter multiple verification codes correctly, if each user Both need to manually read the verification code received by the respective terminal equipment and input it to the local server, which will affect the efficiency of the local server, and for the user, the convenience is relatively poor.

发明内容Contents of the invention

有鉴于此,本发明实施例提供了一种验证短信的处理方法及系统,以解决现有技术在多服务器功能调用过程中由于验证码的存在而带来的运行效率不高,便捷性较差的问题。In view of this, the embodiment of the present invention provides a processing method and system for verifying short messages to solve the problem of low operating efficiency and poor convenience caused by the existence of verification codes in the process of calling multi-server functions in the prior art The problem.

本发明实施例的第一方面提供了一种验证短信的处理方法,包括:The first aspect of the embodiments of the present invention provides a processing method for verifying short messages, including:

本地服务器接收用户输入的指令,并记录指令输入的时间;The local server receives the instruction input by the user, and records the time of instruction input;

所述本地服务器根据所述指令向远端服务器发送请求报文,以控制远端服务器向终端设备发送验证短信;The local server sends a request message to the remote server according to the instruction, so as to control the remote server to send a verification message to the terminal device;

所述终端设备在接收到短信时,判断所述短信是否为所述验证短信;When the terminal device receives the short message, it judges whether the short message is the verification short message;

若所述短信为所述验证短信,则所述终端设备将所述验证短信转发至所述本地服务器;If the short message is the verification short message, the terminal device forwards the verification short message to the local server;

所述本地服务器接收所述验证短信,并记录所述验证短信的短信接收时间;The local server receives the verification short message, and records the short message receiving time of the verification short message;

若所述指令输入的时间与所述短信接收时间的差值小于或等于预设的时间差阈值,则所述本地服务器识别所述验证短信中的验证码,并将所述验证码发送至所述远端服务器,以调用所述远端服务器中与所述指令对应的功能。If the difference between the time of inputting the instruction and the receiving time of the short message is less than or equal to the preset time difference threshold, the local server identifies the verification code in the verification short message, and sends the verification code to the The remote server is used to call the function corresponding to the instruction in the remote server.

本发明实施例的第二方面提供了一种验证短信的处理的系统,包括:The second aspect of the embodiment of the present invention provides a system for verifying the processing of short messages, including:

本地服务器,用于接收用户输入的指令,并记录指令输入的时间;The local server is used to receive the instruction input by the user and record the time of instruction input;

所述本地服务器,还用于根据所述指令向远端服务器发送请求报文,以控制远端服务器向终端设备发送验证短信;The local server is also used to send a request message to the remote server according to the instruction, so as to control the remote server to send a verification message to the terminal device;

所述终端设备,用于在接收到短信时,判断所述短信是否为所述验证短信;The terminal device is configured to, when receiving a short message, determine whether the short message is the verification short message;

所述终端设备还用于,若所述短信为所述验证短信,则将所述验证短信转发至所述本地服务器;The terminal device is also used to, if the short message is the verification short message, forward the verification short message to the local server;

所述本地服务器,用于接收所述验证短信,并记录所述验证短信的短信接收时间;The local server is configured to receive the verification short message, and record the short message receiving time of the verification short message;

所述本地服务器,还用于若所述指令输入的时间与所述短信接收时间的差值小于或等于预设的时间差阈值,则识别所述验证短信中的验证码,并将所述验证码发送至所述远端服务器,以调用所述远端服务器中与所述指令对应的功能。The local server is also used to identify the verification code in the verification text message if the difference between the time of the instruction input and the time of receiving the short message is less than or equal to the preset time difference threshold, and send the verification code sent to the remote server to invoke the function corresponding to the instruction in the remote server.

在本发明实施例中,通过本地服务器接收用户输入的指令,并记录指令输入的时间,根据所述指令向远端服务器发送请求报文,以控制远端服务器向终端设备发送验证短信;终端设备在接收到短信时,判断所述短信是否为所述验证短信;若所述短信为所述验证短信,则终端设备将所述验证短信转发至所述本地服务器;本地服务器接收所述验证短信,并记录所述验证短信的短信接收时间;若所述指令输入的时间与所述短信接收时间的差值小于或等于预设的时间差阈值,则所述本地服务器识别所述验证短信中的验证码,并将所述验证码发送至所述远端服务器,以调用所述远端服务器中与所述指令对应的功能,使得本地服务器在调用远端服务器的功能时,自动化程度以及工作效率更高。In the embodiment of the present invention, the instruction input by the user is received by the local server, and the time of instruction input is recorded, and a request message is sent to the remote server according to the instruction, so as to control the remote server to send a verification message to the terminal device; the terminal device When receiving a short message, determine whether the short message is the verification short message; if the short message is the verification short message, the terminal device forwards the verification short message to the local server; the local server receives the verification short message, And record the short message receiving time of the verification short message; if the difference between the time of the instruction input and the short message receiving time is less than or equal to the preset time difference threshold, then the local server recognizes the verification code in the verification short message , and send the verification code to the remote server to call the function corresponding to the instruction in the remote server, so that when the local server calls the function of the remote server, the degree of automation and work efficiency are higher .

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.

图1是本发明实施例提供的验证短信的处理方法的实现流程图;Fig. 1 is the implementation flow diagram of the processing method of the verification short message provided by the embodiment of the present invention;

图2是本发明实施例提供的验证短信的处理方法S103的具体实现流程图;Fig. 2 is the specific implementation flow chart of the processing method S103 of verifying short message provided by the embodiment of the present invention;

图3是本发明实施例提供的验证短信的处理方法S108的具体实现流程图;Fig. 3 is the specific implementation flow chart of the processing method S108 of verifying short message provided by the embodiment of the present invention;

图4是是本发明实施例提供的验证短信的处理方法S1085的具体实现流程图;Fig. 4 is the specific implementation flowchart of the processing method S1085 for verifying short messages provided by the embodiment of the present invention;

图5是本发明实施例提供的验证短信的处理系统交互图。Fig. 5 is an interaction diagram of a processing system for verifying short messages provided by an embodiment of the present invention.

具体实施方式Detailed ways

以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

图1示出了本发明实施例提供的验证短信的处理方法的实现流程,该方法流程包括步骤S101至S109。各步骤的具体实现原理如下。Fig. 1 shows the implementation flow of the method for processing the verification short message provided by the embodiment of the present invention, and the method flow includes steps S101 to S109. The specific implementation principle of each step is as follows.

步骤S101:本地服务器接收用户输入的指令,并记录指令输入的时间。Step S101: the local server receives the instruction input by the user, and records the time when the instruction was input.

本发明实施例中,验证短信的处理方法主要涉及本地服务器,以及可以为本地服务器提供功能或数据的多个远端服务器,以及终端设备,其中,终端设备可以是诸如个人电脑在内的固定终端,也可以是诸如手机在内的移动终端。In the embodiment of the present invention, the processing method for verifying short messages mainly involves a local server, multiple remote servers that can provide functions or data for the local server, and a terminal device, wherein the terminal device can be a fixed terminal such as a personal computer , and may also be a mobile terminal such as a mobile phone.

在本发明实施例中,用户可以通过客户端或其他控制设备直接向本地服务器输入指令,用于控制本地服务器调用本地服务器内的功能或存储在本地服务器内的数据,也可以用于控制本地服务器调用其他服务器即远端服务器内的功能或数据。In the embodiment of the present invention, the user can directly input instructions to the local server through the client or other control devices to control the local server to call functions in the local server or data stored in the local server, or to control the local server Call functions or data in other servers, that is, remote servers.

值得注意地,在本发明实施例中,由于考虑到安全性的因素,引入了时间验证的概念,所以在本地服务器接收到用户输入的指令时,需要同时记录指令输入的时间,以为后续在验证时间是否符合要求的步骤中,提供一类时间数据。It is worth noting that in the embodiment of the present invention, due to the consideration of security factors, the concept of time verification is introduced. Therefore, when the local server receives the instruction input by the user, it needs to record the time of instruction input at the same time, so that it can be verified later. In the step of whether the time meets the requirements, a class of time data is provided.

步骤S102,所述本地服务器根据所述指令向远端服务器发送请求报文,以控制远端服务器向终端设备发送验证短信。Step S102, the local server sends a request message to the remote server according to the instruction, so as to control the remote server to send a verification short message to the terminal device.

可以理解地,如果本地服务器接收到的指令是调用本地服务器内的功能或数据,则本地服务器通过封装于本地服务器中的模块处理本地服务器中的数据,以满足用户的需求。如果本地服务器识别出接收到的指令需要调用其他远端服务器的功能和数据,则本地服务器需要将该指令添加进一个请求报文,发送至对应的远端服务器。Understandably, if the instruction received by the local server is to call functions or data in the local server, the local server processes the data in the local server through modules encapsulated in the local server to meet the needs of users. If the local server recognizes that the received command needs to call functions and data of other remote servers, the local server needs to add the command into a request message and send it to the corresponding remote server.

值得注意地,请求报文中还会添加与所述指令对应的终端设备的描述信息,所述终端设备的描述信息包括终端设备的ID或终端设备的电话号码,远端服务器在接收到请求报文后,会根据终端设备的描述信息向对应的终端设备发送验证短信。It is worth noting that the description information of the terminal device corresponding to the instruction will also be added to the request message, and the description information of the terminal device includes the ID of the terminal device or the phone number of the terminal device. After the text, a verification SMS will be sent to the corresponding terminal device according to the description information of the terminal device.

步骤S103,所述终端设备在接收到短信时,判断所述短信是否为所述验证短信。Step S103, when the terminal device receives a short message, judge whether the short message is the verification short message.

如上文示例所述,远端服务器在接收到请求报文后,会根据终端设备的描述信息向对应的终端设备发送验证短信,但是可以理解地,终端设备可能会接收到各类短信并不一定是远端服务器发送的验证短信,所以在本发明实施例中,终端设备在接收到一个短信时,会首先判断该短信是否是验证短信。As mentioned in the example above, after receiving the request message, the remote server will send a verification message to the corresponding terminal device according to the description information of the terminal device. However, it is understandable that the terminal device may receive various types of short messages It is a verification short message sent by a remote server, so in the embodiment of the present invention, when a terminal device receives a short message, it first judges whether the short message is a verification short message.

可选地,由于验证短信中含有验证码,所以为了指示验证码,验证短信中往往含有相关的关键词,在本发明实施例中,通过一个短信中关键词出现的次数,判断一个短信是否是验证短信。Optionally, since the verification text message contains a verification code, in order to indicate the verification code, the verification text message often contains relevant keywords. In the embodiment of the present invention, it is judged whether a text message is Verify SMS.

作为本发明的一个实施例,如图2所示,上述S103包括:As an embodiment of the present invention, as shown in FIG. 2, the above S103 includes:

步骤S1031,对所述短信的文本进行分词处理,生成多个短信词。Step S1031, performing word segmentation processing on the text of the short message to generate a plurality of short message words.

可选地,在本发明实施例中,终端设备首先通过封装有基于dijkstra算法的分词程序对接收到的短信进行分词处理,以生成多个短信词。Optionally, in the embodiment of the present invention, the terminal device firstly performs word segmentation processing on the received short message by encapsulating a word segmentation program based on the Dijkstra algorithm, so as to generate multiple short message words.

示例性地,一个短信为:“您正在申请A银行一闪通的短信验证码是:12345。”,会生成多个短信词,分别为:您、正在、申请、A银行、一闪通、的、短信、验证码、是、:12345。Exemplarily, a text message reads: "You are applying for Bank A's flash pass. The text message verification code is: 12345." Multiple text messages will be generated, which are: you, in progress, application, bank A, flash pass, , SMS, verification code, yes, : 12345.

步骤S1032,判断各个短信词是否存在于关键词数据库中。Step S1032, judging whether each short message word exists in the keyword database.

在本发明实施例中,存在一个关键词数据库,关键词数据库中包含词语与关键词概率的对应关系,可选地,该关键词数据库可以存储在终端设备中,也可能存储与本地服务器中,终端设备可以从本地服务器中调用该关键词数据库。In the embodiment of the present invention, there is a keyword database, which contains the corresponding relationship between words and keyword probabilities. Optionally, the keyword database can be stored in the terminal device, and may also be stored in a local server. The terminal device can call the keyword database from the local server.

示例性地,如上文示例所述,一个短信可能被拆分为:您、正在、申请、A银行、一闪通、的、短信、验证码、是、:12345等短信词。则可能在这些短信词中只有“A银行”、“一闪通”以及“验证码”这三个词语存在于关键词数据库中,且在关键词数据库中“A银行”对应的关键词概率为:60%;“一闪通”对应的关键词概率为40%;而“验证码”对应的关键词概率为90%。Exemplarily, as described in the above example, a text message may be split into: you, is, application, bank A, flash pass, of, text message, verification code, yes, :12345 and other short message words. Then it is possible that only the three words "A Bank", "One Flash" and "Verification Code" exist in the keyword database among these SMS words, and the keyword probability corresponding to "A Bank" in the keyword database is : 60%; the keyword probability corresponding to "one flash" is 40%; and the keyword probability corresponding to "verification code" is 90%.

步骤S1033,若所述短信词存在于预设的关键词数据库中,则根据所述关键词数据库中的词语与关键词概率的对应关系,确定各个所述短信词对应的关键词概率。Step S1033, if the short message word exists in the preset keyword database, determine the keyword probability corresponding to each of the short message words according to the corresponding relationship between the word in the keyword database and the keyword probability.

如上文示例所述,则只有“A银行”、“一闪通”以及“验证码”可以通过关键词数据库确定对应的关键词概率,即短信词“A银行”对应的关键词概率为:60%;短信词“一闪通”对应的关键词概率为40%;而短信词“验证码”对应的关键词概率为90%。As mentioned in the example above, only "Bank A", "One Flash" and "Verification Code" can determine the corresponding keyword probability through the keyword database, that is, the keyword probability corresponding to the SMS word "A Bank" is: 60 %; the keyword probability corresponding to the short message word "one flash" is 40%; and the keyword probability corresponding to the short message word "verification code" is 90%.

步骤S1034,若所述短信词不存在于所述关键词数据库中,则为所述短信词分配一个预设的关键词概率。Step S1034, if the short message word does not exist in the keyword database, assign a preset keyword probability to the short message word.

如上文示例所述,只有“A银行”、“一闪通”以及“验证码”这三个词语存在于关键词数据库中,所以短信词:“您”、“正在”、“申请”、“的”、“短信”、“是”、“:12345”无法通过关键词数据库包含的词语与关键词概率的对应关系确定各自对应的关键词概率,则终端设备为这些短信词分配一个预设的关键词概率。可选地,预设的关键词概率可以是0%。As mentioned in the example above, only the three words "Bank A", "One Flash" and "Verification Code" exist in the keyword database, so the SMS words: "You", "Currently", "Apply", " ", "SMS", "Yes", ": 12345" cannot determine the corresponding keyword probability through the corresponding relationship between the words contained in the keyword database and the keyword probability, then the terminal device assigns a preset Keyword Probability. Optionally, the preset keyword probability may be 0%.

步骤S1035,将所述短信的文本中所述关键词概率大于或等于预设概率阈值的短信词,作为关键词。Step S1035, taking the short message words whose keyword probability is greater than or equal to a preset probability threshold in the text of the short message as keywords.

在本发明实施例中,通过比对一个短信词的关键词概率是否大于或等于预设概率阈值,以确定关键词。例如:如果预设概率阈值为50%,则在上文示例中,由于短信词“A银行”对应的关键词概率为:60%;短信词“一闪通”对应的关键词概率为40%;而短信词“验证码”对应的关键词概率为90%,所以只有“A银行”以及“验证码”会被判定为关键词。In the embodiment of the present invention, the keyword is determined by comparing whether the keyword probability of a short message word is greater than or equal to a preset probability threshold. For example: if the preset probability threshold is 50%, then in the above example, the keyword probability corresponding to the text message word "A bank" is: 60%; the keyword probability corresponding to the text message word "One Flash" is 40% ; and the keyword probability corresponding to the SMS word "verification code" is 90%, so only "A bank" and "verification code" will be judged as keywords.

综上,在本示例中,短信“您正在申请A银行一闪通的短信验证码是:12345”中含有两个关键词。To sum up, in this example, the text message "You are applying for Bank A's Quick Pass SMS verification code is: 12345" contains two keywords.

步骤S1036,若所述短信中包含大于或等于预设个数的关键词,则判定所述短信为所述验证短信。Step S1036, if the short message contains more than or equal to a preset number of keywords, determine that the short message is the verification short message.

如上文示例所述,假设预设个数为2,则由于短信“您正在申请A银行一闪通的短信验证码是:12345”中含有两个关键词,所以该短信会被判定为验证短信。As mentioned in the example above, assuming that the preset number is 2, since the text message "You are applying for Bank A's Quick Pass SMS verification code is: 12345" contains two keywords, the text message will be judged as a verification text message .

步骤S104,若所述短信为所述验证短信,则所述终端设备将所述验证短信转发至所述本地服务器。Step S104, if the short message is the verification short message, the terminal device forwards the verification short message to the local server.

在本发明实施例中,通过终端设备判断接收到的短信是否为验证短信,可以减少传输不必要的短信至本地服务器,有利于减少传输无效的数据,并且可以节省本地服务器对无效数据的处理资源。In the embodiment of the present invention, the terminal device judges whether the received short message is a verification short message, which can reduce the transmission of unnecessary short messages to the local server, which is beneficial to reduce the transmission of invalid data, and can save the processing resources of the local server for invalid data .

步骤S105,若所述短信不为所述验证短信,则所述终端设备将所述验证短信存储于所述终端设备中,并不将所述短信转发至本地服务器。Step S105, if the short message is not the verification short message, then the terminal device stores the verification short message in the terminal device, and does not forward the short message to the local server.

步骤S106,所述本地服务器接收所述验证短信,并记录所述验证短信的短信接收时间。Step S106, the local server receives the verification short message, and records the short message receiving time of the verification short message.

在上文实施例中,本地服务器在接收到用户输入的指令后,就记录了指令输入的时间,在本步骤中,本地服务器在接收验证短信后,记录验证短信的短信接收时间,以此通过指令输入的时间到短信接收时间之间的时间差,判断从终端设备转发的验证短信,是否为远端服务器根据用户输入的指令生成的验证短信。In the above embodiment, after the local server receives the instruction input by the user, it records the time of instruction input. In this step, after receiving the verification SMS, the local server records the receiving time of the verification SMS, so as to pass The time difference between the time when the command is input and the time when the short message is received determines whether the verification short message forwarded from the terminal device is a verification short message generated by the remote server according to the command input by the user.

步骤S107,判断所述指令输入的时间与所述短信接收时间的差值是否小于或等于预设的时间差阈值。Step S107, judging whether the difference between the time when the command is input and the time when the short message is received is less than or equal to a preset time difference threshold.

可以理解地,如果所述指令输入的时间与所述短信接收时间的差值小于或等于预设的时间差阈值,则该由终端设备转发的验证短信很可能就是远端服务器根据用户输入的指令生成的验证短信。而如果所述指令输入的时间与所述短信接收时间的差值大于预设的时间差阈值,则该验证短信很可能不是远端服务器根据用户输入的指令生成的验证短信,或者该验证短信很可能已经超过了验证短信的有效时间。Understandably, if the difference between the time of inputting the instruction and the receiving time of the short message is less than or equal to the preset time difference threshold, the verification short message forwarded by the terminal device is likely to be generated by the remote server according to the instruction input by the user. verification SMS. And if the difference between the time of the instruction input and the receiving time of the short message is greater than the preset time difference threshold, the verification short message is probably not the verification short message generated by the remote server according to the instruction input by the user, or the verification short message is likely to be The valid time of verification SMS has been exceeded.

步骤S108,若所述指令输入的时间与所述短信接收时间的差值小于或等于预设的时间差阈值,则所述本地服务器识别所述验证短信中的验证码,并将所述验证码发送至所述远端服务器,以调用所述远端服务器中与所述指令对应的功能。Step S108, if the difference between the time of inputting the instruction and the receiving time of the short message is less than or equal to the preset time difference threshold, the local server identifies the verification code in the verification short message and sends the verification code to to the remote server, so as to call the function corresponding to the instruction in the remote server.

如上文示例所述,如果所述指令输入的时间与所述短信接收时间的差值小于或等于预设的时间差阈值,则该由终端设备转发的验证短信很可能就是远端服务器根据用户输入的指令生成的验证短信,所以本地服务器将自动识别验证短信中的验证码。As mentioned in the example above, if the difference between the time of inputting the instruction and the receiving time of the short message is less than or equal to the preset time difference threshold, the verification short message forwarded by the terminal device is probably the The verification SMS generated by the instruction, so the local server will automatically recognize the verification code in the verification SMS.

作为本发明的一个实施例,如图所示,上述S108包括:As an embodiment of the present invention, as shown in the figure, the above S108 includes:

步骤S1081,对所述验证短信的文本进行分词处理,生成多个短信词。Step S1081, perform word segmentation processing on the text of the verification short message to generate a plurality of short message words.

在本发明实施例中,本地服务器对于验证短信的文本进行分词处理的方法与上文实施例的步骤S1031中终端设备对于短信的文本进行分词处理的方法相同,不在此赘述。In the embodiment of the present invention, the method for the local server to segment the text of the verification SMS is the same as the method for the terminal device to segment the text of the SMS in step S1031 of the above embodiment, and will not be repeated here.

步骤S1082,若所述短信词存在于预设的关键词数据库中,则根据所述关键词数据库中的词语与关键词概率的对应关系,确定各个所述短信词对应的关键词概率。Step S1082, if the short message words exist in the preset keyword database, then determine the keyword probability corresponding to each of the short message words according to the corresponding relationship between the words in the keyword database and the keyword probabilities.

在本发明实施例中,本地服务器确定各个短信词对应的关键词概率的方法与上文实施例的步骤S1032中终端设备确定各个所述短信词对应的关键词概率的方法相同,不在此赘述。In the embodiment of the present invention, the method for the local server to determine the keyword probability corresponding to each short message word is the same as the method for the terminal device to determine the keyword probability corresponding to each short message word in step S1032 of the above embodiment, and will not be repeated here.

步骤S1083,将所述验证短信中位置最靠前的一个关键词概率最高的短信词作为特殊关键词。Step S1083, taking the word in the text message with the highest probability in the front position in the verification text message as the special key word.

可以理解地地,在上文实施例中,终端设备将一个包含大于或等于预设个数的关键词的短信作为验证短信,并将验证短信发送到了本地服务器,所以如果预设个数大于1,则验证短信存在多个关键词。在本发明实施例中,需要从这些关键词中选择关键词概率最高的关键词作为特殊关键词,在特殊情况下,如果存在多个关键词的关键词概率并列最高,则在这些关键词概率并列最高的关键词中选择在验证短信中位置最靠前的一个,作为特殊关键词。Understandably, in the above embodiment, the terminal device takes a short message containing keywords greater than or equal to the preset number as a verification message, and sends the verification message to the local server, so if the preset number is greater than 1 , then verify that there are multiple keywords in the text message. In the embodiment of the present invention, it is necessary to select the keyword with the highest keyword probability from these keywords as a special keyword. Select the one with the highest position in the verification text message among the keywords with the highest rank as the special keyword.

步骤S1084,若所述特殊关键词之前的预设隔断标志与所述特殊关键词之后的所述预设隔断标志之间存在数字,则将所述数字作为所述验证码。Step S1084, if there is a number between the preset isolation mark before the special keyword and the preset isolation mark after the special keyword, use the number as the verification code.

示例性地,若词语“验证码”为关键词,标点符号“】”以及标点符号“,”为预设隔断标志,假设一个接口验证短信为:“【软件A】581458(软件A手机验证码,请完成验证),如非本人操作,请忽略本短信”。关键词之前的预设隔断标志为“】”,关键词之后的预设隔断标志为“,”,所以通过两个预设隔断标志可以从接口验证短信中截取出“】581458(软件A手机验证码,请完成验证),”,通过识别该部分中的数字,得到“581458”作为接口验证短信中的验证码。For example, if the word "verification code" is a keyword, the punctuation mark "]" and the punctuation mark "," are preset partition marks, assuming an interface verification message is: "[Software A] 581458 (Software A mobile phone verification code , please complete the verification), if you did not do it yourself, please ignore this message." The default partition mark before the keyword is "]", and the default partition mark after the keyword is ",", so the "]581458 (software A mobile phone verification) can be intercepted from the interface verification SMS through the two preset partition marks code, please complete the verification), ", by identifying the numbers in this part, get "581458" as the verification code in the interface verification SMS.

可选地,设定预设隔断标志的方法包括:从多个接口验证短信中,筛选出出现频率大于或等于第一频率阈值的标点符号,得到第一符号组;计算各个所述第一符号组里的标点符号出现在验证码与关键词之间的频率,作为各个标点符号的第二频率;将所述第一符号组中第二频率大于第二频率阈值的标点符号删除,得到第二符号组;将所述第二符号组内的标点符号作为预设隔断标志。Optionally, the method for setting the preset partition flag includes: filtering out punctuation marks whose frequency of occurrence is greater than or equal to the first frequency threshold from multiple interface verification short messages to obtain the first symbol group; calculating each of the first symbols The frequency at which the punctuation marks in the group appear between the verification code and the keyword is used as the second frequency of each punctuation mark; the punctuation marks whose second frequency is greater than the second frequency threshold in the first symbol group are deleted to obtain the second A symbol group: using the punctuation marks in the second symbol group as preset partition marks.

值得注意地,特殊关键词之前的预设隔断标志与所述特殊关键词之后的所述预设隔断标志之间可能不仅存在数字,还存在图片,但是在本发明实施例中,当特殊关键词之前的预设隔断标志与所述特殊关键词之后的所述预设隔断标志之间同时存在数字和图片时,直接将数字作为验证码,而不对图片进行识别。It is worth noting that there may be not only numbers but also pictures between the preset partition mark before the special keyword and the preset partition mark after the special keyword, but in the embodiment of the present invention, when the special keyword When there are numbers and pictures between the preset partition mark before the special keyword and the preset partition mark after the special keyword, the number is directly used as the verification code without identifying the picture.

在本发明实施例中,通过对关键词以及预设隔断标志的提取,划分出验证码在接口验证短信中的区间,提取该区间的数字作为验证码,实现了对接口验证短信的自动化分析,在无人工干预的情况下提取验证码,提高整个接口调用过程的自动化程度。In the embodiment of the present invention, by extracting keywords and preset partition marks, the interval of the verification code in the interface verification text message is divided, and the number in this interval is extracted as the verification code, which realizes the automatic analysis of the interface verification text message, Extract the verification code without manual intervention, and improve the automation of the entire interface calling process.

步骤S1085,若所述特殊关键词之前的预设隔断标志与所述特殊关键词之后的所述预设隔断标志之间不存在数字但存在图片,则识别所述图片中的字符串,并将所述字符串作为所述验证码。Step S1085, if there is no number but a picture between the preset partition mark before the special keyword and the preset partition mark after the special keyword, identify the character string in the picture, and The character string is used as the verification code.

由于一些验证短信中的验证码存在于一个图片中,所以在本发明实施例提供了一种识别图片中验证码的方法。Since the verification codes in some verification text messages exist in a picture, the embodiment of the present invention provides a method for identifying the verification code in the picture.

作为本发明的一个实施例,如图所示,上述S1085包括:As an embodiment of the present invention, as shown in the figure, the above S1085 includes:

步骤S10851,通过中值滤波算法对所述图片进行降噪处理,生成验证图像。Step S10851, performing noise reduction processing on the picture through a median filter algorithm to generate a verification image.

可以理解地,验证短信的包含验证码的图片中,存在一些干扰因素,所以需要首先对图片进行降噪处理,以生成相对清晰的验证图像。Understandably, there are some interference factors in the picture containing the verification code in the verification message, so it is necessary to firstly perform noise reduction processing on the picture to generate a relatively clear verification image.

具体地,中值滤波是基于排序统计理论的一种能有效抑制噪声的非线性信号处理技术,中值滤波的基本原理是把数字图像中一点的值用该点的一个邻域中各点值的中值代替,让周围的像素值接近的真实值,从而消除孤立的噪声点。Specifically, median filtering is a nonlinear signal processing technique based on sorting statistics theory that can effectively suppress noise. Instead of the median value, the surrounding pixel values are close to the true value, thereby eliminating isolated noise points.

步骤S10852,根据所述验证图像中各个像素点的灰度值,计算所述验证图像的灰度平均值,并将所述验证图像中灰度值小于所述灰度平均值的像素点转换为黑色像素点,将所述验证图像中灰度值大于或等于所述灰度平均值的像素点转换为白色像素点。Step S10852, according to the gray value of each pixel in the verification image, calculate the average gray value of the verification image, and convert the pixels in the verification image whose gray value is smaller than the average gray value into Black pixels, converting pixels whose gray values are greater than or equal to the gray average value in the verification image to white pixels.

在本发明实施例中,为了准确的识别验证图像中包含的验证码,需要将验证图像中验证码所在的像素点与验证码不占用的像素点进行最大限度的区分,所以首先计算出验证图像中全部像素点的灰度平均值。In the embodiment of the present invention, in order to accurately identify the verification code contained in the verification image, it is necessary to distinguish the pixels where the verification code is located in the verification image from the pixels not occupied by the verification code to the maximum extent, so first calculate the verification image The average gray value of all pixels in the

可以理解地,当前一般的数字图像的各个像素点的灰度值被分为256个区间,分别为灰度值0-灰度值255,其中,白色像素点的灰度值为255,黑色像素点的灰度值为0。因此,为了将验证图像的不同像素点进行分类,在本发明实施例中,将验证图像中灰度值小于所述灰度平均值的像素点的灰度值设定为0,将验证图像中灰度值大于或等于所述灰度平均值的像素点的灰度值设定为255。It can be understood that the gray value of each pixel of the current general digital image is divided into 256 intervals, which are respectively gray value 0-gray value 255, wherein the gray value of the white pixel is 255, and the gray value of the black pixel The gray value of the point is 0. Therefore, in order to classify different pixels in the verification image, in the embodiment of the present invention, the gray value of the pixel in the verification image whose gray value is smaller than the gray average value is set to 0, and the verification image The gray value of the pixels whose gray value is greater than or equal to the average gray value is set to 255.

步骤S10853,从所述验证图像的一端至另一端进行扫描,将扫描线上首次出现黑色像素点到所述扫描线上首次不含有黑色像素点之间的区域作为一个验证区域,以将所述验证图像切分为一个以上的所述验证区域。Step S10853, scan from one end to the other end of the verification image, and use the area between the first appearance of black pixels on the scanning line and the first absence of black pixels on the scanning line as a verification area, so that the The verification image is segmented into more than one verification area.

具体地,假设验证图像是一个矩形图像,分为长和宽两个维度,假设在验证图像中,验证码是从验证图像的左侧向右侧依次排布的,那么在本发明实施例中就从验证图像的左侧向右侧进行扫描,且扫描线是一个垂直于验证图像的长轴的线。可以理解地,在扫描开始的一段时间内,扫描线可能无法检测到任何黑色像素点,但是随着扫描线持续向右移动,会存在一个时刻,扫描线上首次出现黑色像素点,本发明实施例记录下此时扫描线的位置,并将此时的扫描线所在的位置作为用于切割验证图像的一个切割线。随后扫描线持续向右移动,在一个时间段内,由于验证码的存在,扫描线上会持续存在黑色像素点,直到一个时刻,扫描线上首次不含有黑色像素点,本发明实施例记录下此时扫描线的位置并将此时的扫描线所在的位置作为用于切割验证图像的一个切割线,可以理解地,根据上述过程,验证图像会被划分出一个验证区域。Specifically, assuming that the verification image is a rectangular image, divided into two dimensions of length and width, and assuming that in the verification image, the verification codes are arranged sequentially from the left to the right of the verification image, then in the embodiment of the present invention The scanning is performed from the left side to the right side of the verification image, and the scanning line is a line perpendicular to the long axis of the verification image. Understandably, during a period of time when scanning starts, the scanning line may not be able to detect any black pixels, but as the scanning line continues to move to the right, there will be a moment when black pixels appear on the scanning line for the first time, and the implementation of the present invention For example, record the position of the scanning line at this time, and use the position of the scanning line at this time as a cutting line for cutting the verification image. Then the scanning line continues to move to the right. In a period of time, due to the existence of the verification code, black pixels will continue to exist on the scanning line. Until a moment, the scanning line does not contain black pixels for the first time. The embodiment of the present invention records The position of the scanning line at this time is used as a cutting line for cutting the verification image. Understandably, according to the above process, the verification image will be divided into a verification area.

在本发明实施例中,验证图像在被划分出一个验证区域后,扫描线会继续向右移动,在一段时间内,由于验证图像中的字符与字符之间存在间隔区域,所以扫描线会在一段时间内,无法检测到任何黑色像素点,直到某一个时刻,扫描线上再次出现黑色像素点,值得注意地,在本发明实施例中,将扫描线上经过一段无法检测到黑色像素点后再次出现黑色像素点,也称为首次出现黑色像素点;将每次扫描线持续存在黑色像素点,直到一个时刻,扫描线上又一次不再含有黑色像素点,也称为首次不含有黑色像素点。In the embodiment of the present invention, after the verification image is divided into a verification area, the scanning line will continue to move to the right. In a period of time, due to the space between the characters in the verification image, the scanning line will be in the For a period of time, no black pixels can be detected until at a certain moment, black pixels appear on the scanning line again. Black pixels appear again, also known as black pixels appearing for the first time; black pixels continue to exist on each scan line until a moment, the scan line no longer contains black pixels again, also known as no black pixels for the first time point.

步骤S10854,计算所述验证图像的各个所述验证区域的特征向量,并通过有监督学习模型识别各个所述验证区域的特征向量对应的字符,作为各个所述验证区域对应的字符。Step S10854, calculating the feature vectors of each of the verification areas of the verification image, and using a supervised learning model to identify characters corresponding to the feature vectors of each of the verification areas as characters corresponding to each of the verification areas.

可以理解地,根据上一个步骤,验证图像被划分为一个以上的验证区域,每个验证区域内只含有一个字符。所以在本发明实施例中,可以通过有监督学习模型识别各个验证区域中的字符。Understandably, according to the previous step, the verification image is divided into more than one verification area, and each verification area contains only one character. Therefore, in the embodiment of the present invention, characters in each verification area can be identified through a supervised learning model.

可选地,在本发明实施例中,存在一个字符数据库,该字符数据库中包含字符与特征向量的对应关系,可以通过支持向量机模型计算出验证区域的特征向量对应的字符。Optionally, in the embodiment of the present invention, there is a character database, which contains the correspondence between characters and feature vectors, and the character corresponding to the feature vector of the verification area can be calculated through the support vector machine model.

步骤S10855,组合各个所述验证区域对应的字符,生成所述图片中的字符串。Step S10855, combining the characters corresponding to each of the verification areas to generate a character string in the picture.

在本发明实施例中,基于各个像素点的灰度值,将包含验证码的图片划分为多个验证区域,并对各个验证区域进行单独的图像识别,以提高识别准确性以及降低识别计算量,有利于更加快速准确地识别出图片中的验证码。In the embodiment of the present invention, based on the gray value of each pixel, the picture containing the verification code is divided into multiple verification areas, and a separate image recognition is performed on each verification area, so as to improve the recognition accuracy and reduce the recognition calculation amount , which is conducive to more quickly and accurately identifying the verification code in the picture.

可以理解地,当本地服务器识别出验证短信中的验证码后,会将验证码发送至远端服务器,以调用远端服务器中与指令对应的功能。Understandably, when the local server recognizes the verification code in the verification message, it will send the verification code to the remote server, so as to call the function corresponding to the instruction in the remote server.

进一步地,所述本地服务器存储由所述终端设备转发的验证短信,并存储所述验证短信与所述终端设备的对应关系;在所述本地服务器接收到所述远端服务器发送的验证码错误通知后,或在接收到用户输入的查看验证短信的指令后,提示用户输入设备名称以及查看密码;若用户输入的设备名称以及查看密码正确,则所述本地服务器显示所述设备名称对应的终端设备最新转发的验证短信。Further, the local server stores the verification short message forwarded by the terminal device, and stores the corresponding relationship between the verification short message and the terminal device; when the local server receives an incorrect verification code sent by the remote server, After the notification, or after receiving the instruction to view the verification text message input by the user, prompt the user to enter the device name and view password; if the device name and view password entered by the user are correct, the local server will display the terminal corresponding to the device name The latest verification SMS forwarded by the device.

步骤S109,若所述指令输入的时间与所述短信接收时间的差值大于时间差阈值,则不对验证短信进行识别。Step S109, if the difference between the time when the command is input and the time when the short message is received is greater than the time difference threshold, then the verification short message is not identified.

在本发明实施例中,通过本地服务器接收用户输入的指令,并记录指令输入的时间,根据所述指令向远端服务器发送请求报文,以控制远端服务器向终端设备发送验证短信;终端设备在接收到短信时,判断所述短信是否为所述验证短信;若所述短信为所述验证短信,则终端设备将所述验证短信转发至所述本地服务器;本地服务器接收所述验证短信,并记录所述验证短信的短信接收时间;若所述指令输入的时间与所述短信接收时间的差值小于或等于预设的时间差阈值,则所述本地服务器识别所述验证短信中的验证码,并将所述验证码发送至所述远端服务器,以调用所述远端服务器中与所述指令对应的功能,使得本地服务器在调用远端服务器的功能时,自动化程度以及工作效率更高。In the embodiment of the present invention, the instruction input by the user is received by the local server, and the time of instruction input is recorded, and a request message is sent to the remote server according to the instruction, so as to control the remote server to send a verification message to the terminal device; the terminal device When receiving a short message, determine whether the short message is the verification short message; if the short message is the verification short message, the terminal device forwards the verification short message to the local server; the local server receives the verification short message, And record the short message receiving time of the verification short message; if the difference between the time of the instruction input and the short message receiving time is less than or equal to the preset time difference threshold, then the local server recognizes the verification code in the verification short message , and send the verification code to the remote server to call the function corresponding to the instruction in the remote server, so that when the local server calls the function of the remote server, the degree of automation and work efficiency are higher .

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.

对应于上文实施例所述的验证短信的处理方法,图5示出了本发明实施例提供的验证短信的处理系统交互图,为了便于说明,仅示出了与本发明实施例相关的部分。Corresponding to the processing method of the verification text message described in the above embodiment, Fig. 5 shows the interaction diagram of the verification text message processing system provided by the embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown .

参照图5,该系统包括:Referring to Figure 5, the system includes:

本地服务器501,用于接收用户输入的指令,并记录指令输入的时间;The local server 501 is used to receive the instruction input by the user, and record the time of instruction input;

所述本地服务器501,还用于根据所述指令向远端服务器502发送请求报文,以控制远端服务器向终端设备发送验证短信;The local server 501 is further configured to send a request message to the remote server 502 according to the instruction, so as to control the remote server to send a verification message to the terminal device;

所述终端设备503,用于在接收到短信时,判断所述短信是否为所述验证短信;The terminal device 503 is configured to, when receiving a short message, determine whether the short message is the verification short message;

所述终端设备503,还用于若所述短信为所述验证短信,则将所述验证短信转发至所述本地服务器;The terminal device 503 is further configured to forward the verification message to the local server if the message is the verification message;

所述本地服务器501,用于接收所述验证短信,并记录所述验证短信的短信接收时间;The local server 501 is configured to receive the verification short message, and record the short message receiving time of the verification short message;

所述本地服务器501,还用于若所述指令输入的时间与所述短信接收时间的差值小于或等于预设的时间差阈值,则识别所述验证短信中的验证码,并将所述验证码发送至所述远端服务器,以调用所述远端服务器中与所述指令对应的功能。The local server 501 is further configured to identify the verification code in the verification text message if the difference between the time of the instruction input and the time of receiving the text message is less than or equal to a preset time difference threshold, and send the verification code to the text message. The code is sent to the remote server to invoke the function corresponding to the instruction in the remote server.

可选地,所述终端设备503,包括:Optionally, the terminal device 503 includes:

分词模块,用于对所述验证短信的文本进行分词处理,生成多个短信词;The word segmentation module is used to carry out word segmentation processing to the text of the verification short message, and generates a plurality of short message words;

第一确定模块,用于若所述短信词存在于预设的关键词数据库中,则根据所述关键词数据库中的词语与关键词概率的对应关系,确定各个所述短信词对应的关键词概率;The first determination module is used to determine the keywords corresponding to each of the short message words according to the corresponding relationship between the words in the keyword database and the keyword probability if the short message words exist in the preset keyword database probability;

第二确定模块,用于若所述短信词不存在于所述关键词数据库中,则为所述短信词分配一个预设的关键词概率;The second determination module is used to assign a preset keyword probability for the short message word if the short message word does not exist in the keyword database;

关键词识别模块,用于将所述短信的文本中所述关键词概率大于或等于预设概率阈值的短信词,作为关键词;Keyword identification module, used for using the short message words with the keyword probability greater than or equal to the preset probability threshold in the text of the short message as keywords;

验证短信识别模块,用于若所述短信中包含大于或等于预设个数的关键词,则判定所述短信为所述验证短信。The verification short message identification module is used to determine that the short message is the verification short message if the short message contains keywords greater than or equal to a preset number.

可选地,本地服务器501,包括:Optionally, the local server 501 includes:

服务器分词模块,用于对所述短信的文本进行分词处理,生成多个短信词;The word segmentation module of the server is used to perform word segmentation processing on the text of the short message to generate a plurality of short message words;

服务器第一确定模块,用于若所述短信词存在于预设的关键词数据库中,则根据所述关键词数据库中的词语与关键词概率的对应关系,确定各个所述短信词对应的关键词概率;The first determining module of the server is used to determine the corresponding keywords of each of the short message words according to the corresponding relationship between the words in the keyword database and the keyword probability if the short message words exist in the preset keyword database. word probability;

服务器第二确定模块,用于将所述验证短信中位置最靠前的一个关键词概率最高的短信词作为特殊关键词;The second determination module of the server is used to use the short message word with the highest probability of a keyword in the most front position in the verification short message as a special keyword;

第一识别模块,用于若所述特殊关键词之前的预设隔断标志与所述特殊关键词之后的所述预设隔断标志之间存在数字,则将所述数字作为所述验证码;The first identification module is configured to use the number as the verification code if there is a number between the preset isolation mark before the special keyword and the preset isolation mark after the special keyword;

第二识别模块,用于若所述特殊关键词之前的预设隔断标志与所述特殊关键词之后的所述预设隔断标志之间不存在数字但存在图片,则识别所述图片中的字符串,并将所述字符串作为所述验证码。The second recognition module is used to identify the characters in the picture if there is no number but a picture between the preset partition mark before the special keyword and the preset partition mark after the special keyword string, and use the string as the verification code.

可选地,本地服务器501,还包括:Optionally, the local server 501 also includes:

生成模块,用于通过中值滤波算法对所述图片进行降噪处理,生成验证图像;A generating module, configured to perform denoising processing on the picture through a median filtering algorithm to generate a verification image;

转换模块,用于根据所述验证图像中各个像素点的灰度值,计算所述验证图像的灰度平均值,并将所述验证图像中灰度值小于所述灰度平均值的像素点转换为黑色像素点,将所述验证图像中灰度值大于或等于所述灰度平均值的像素点转换为白色像素点;A conversion module, configured to calculate the gray average value of the verification image according to the gray value of each pixel in the verification image, and convert the pixel points in the verification image whose gray value is smaller than the gray average value Converting to black pixels, converting pixels whose gray value is greater than or equal to the gray average value in the verification image to white pixels;

划分模块,用于从所述验证图像的一端至另一端进行扫描,将扫描线上首次出现黑色像素点到所述扫描线上首次不含有黑色像素点之间的区域作为一个验证区域,以将所述验证图像切分为一个以上的所述验证区域;The dividing module is used to scan from one end to the other end of the verification image, and the area between the first appearance of black pixels on the scanning line and the first absence of black pixels on the scanning line is used as a verification area, so as to The verification image is segmented into more than one verification area;

计算模块,用于计算所述验证图像的各个所述验证区域的特征向量,并通过有监督学习模型识别各个所述验证区域的特征向量对应的字符,作为各个所述验证区域对应的字符;A calculation module, configured to calculate the feature vectors of each of the verification areas of the verification image, and identify characters corresponding to the feature vectors of each of the verification areas through a supervised learning model as the characters corresponding to each of the verification areas;

组合模块,用于组合各个所述验证区域对应的字符,生成所述图片中的字符串。The combination module is used to combine characters corresponding to each of the verification areas to generate a character string in the picture.

可选地,本地服务器501,还包括:Optionally, the local server 501 also includes:

存储模块,用于所述本地服务器存储由所述终端设备转发的验证短信,并存储所述验证短信与所述终端设备的对应关系;A storage module, configured for the local server to store the verification short message forwarded by the terminal device, and store the correspondence between the verification short message and the terminal device;

提示模块,用于在所述本地服务器接收到所述远端服务器发送的验证码错误通知后,或在接收到用户输入的查看验证短信的指令后,提示用户输入设备名称以及查看密码;The prompt module is used to prompt the user to input the device name and check the password after the local server receives the verification code error notification sent by the remote server, or after receiving the instruction to view the verification text message input by the user;

显示模块,用于若用户输入的设备名称以及查看密码正确,则所述本地服务器显示所述设备名称对应的终端设备最新转发的验证短信。The display module is configured to display the latest verification message forwarded by the terminal device corresponding to the device name if the device name and the password entered by the user are correct.

在本发明实施例中,通过本地服务器接收用户输入的指令,并记录指令输入的时间,根据所述指令向远端服务器发送请求报文,以控制远端服务器向终端设备发送验证短信;终端设备在接收到短信时,判断所述短信是否为所述验证短信;若所述短信为所述验证短信,则终端设备将所述验证短信转发至所述本地服务器;本地服务器接收所述验证短信,并记录所述验证短信的短信接收时间;若所述指令输入的时间与所述短信接收时间的差值小于或等于预设的时间差阈值,则所述本地服务器识别所述验证短信中的验证码,并将所述验证码发送至所述远端服务器,以调用所述远端服务器中与所述指令对应的功能,使得本地服务器在调用远端服务器的功能时,自动化程度以及工作效率更高。In the embodiment of the present invention, the instruction input by the user is received by the local server, and the time of instruction input is recorded, and a request message is sent to the remote server according to the instruction, so as to control the remote server to send a verification message to the terminal device; the terminal device When receiving a short message, determine whether the short message is the verification short message; if the short message is the verification short message, the terminal device forwards the verification short message to the local server; the local server receives the verification short message, And record the short message receiving time of the verification short message; if the difference between the time of the instruction input and the short message receiving time is less than or equal to the preset time difference threshold, then the local server recognizes the verification code in the verification short message , and send the verification code to the remote server to call the function corresponding to the instruction in the remote server, so that when the local server calls the function of the remote server, the degree of automation and work efficiency are higher .

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated into one processing unit, or each unit can exist separately physically, or two or more units can be integrated into one unit, and the above-mentioned integrated units can either adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above system, reference may be made to the corresponding process in the foregoing method embodiments, and details will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described 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 may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。If the integrated module/unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer When the program is executed by the processor, the steps in the above-mentioned various method embodiments can be realized.

以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still carry out the foregoing embodiments Modifications to the technical solutions recorded in the examples, or equivalent replacement of some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should be included in within the protection scope of the present invention.

Claims (10)

1. a kind of processing method of verification short message, which is characterized in that including:
Local server receives instruction input by user, and the time of recording instruction input;
The local server sends request message according to described instruction to far-end server, to control far-end server to terminal Equipment sends verification short message;
The terminal device judges whether the short message is the verification short message when receiving short message;
If the short message is the verification short message, the verification short message is forwarded to the local service by the terminal device Device;
The local server receives the verification short message, and records the short message receiving time of the verification short message;
If the time of described instruction input and the difference of the short message receiving time are less than or equal to preset time difference threshold value, The local server identifies the identifying code in the verification short message, and the identifying code is sent to the far-end server, To call function corresponding with described instruction in the far-end server.
2. the processing method of verification short message as described in claim 1, which is characterized in that described to judge whether the short message is institute Verification short message is stated, including:
Word segmentation processing is carried out to the text of the short message, generates multiple short message words;
If the short message word is present in preset keyword database, according in the keyword database word and pass The correspondence of keyword probability determines the corresponding key words probabilities of each short message word;
If the short message word is not present in the keyword database, a preset keyword is distributed for the short message word Probability;
Key words probabilities described in the text of the short message are greater than or equal to the short message word of predetermined probabilities threshold value, as key Word;
If comprising the keyword more than or equal to predetermined number in the short message, judge that the short message is the verification short message.
3. the processing method of verification short message as described in claim 1, which is characterized in that tested described in the local server identification The identifying code in short message is demonstrate,proved, including:
Word segmentation processing is carried out to the text of the verification short message, generates multiple short message words;
If the short message word is present in preset keyword database, according in the keyword database word and pass The correspondence of keyword probability determines the corresponding key words probabilities of each short message word;
Using position in the verification short message near the preceding highest short message word of a key words probabilities as special key word;
If the default partition mark before the special key word indicates with the default partition after the special key word Between exist number, then will it is described number be used as the identifying code;
If the default partition mark before the special key word indicates with the default partition after the special key word Between there is no number but there are pictures, then identify the character string in the picture, and using the character string as the verification Code.
4. the processing method of verification short message as claimed in claim 3, which is characterized in that it is described, identify the word in the picture Symbol string, including:
Noise reduction process is carried out to the picture by median filtering algorithm, generates authentication image;
According to the gray value of each pixel in the authentication image, the average gray of the authentication image is calculated, and by institute It states gray value in authentication image and is converted to black pixel point less than the pixel of the average gray, it will be in the authentication image The pixel that gray value is greater than or equal to the average gray is converted to white pixel point;
It is scanned from one end of the authentication image to the other end, black pixel point will be first appeared in scan line and swept described in It retouches for the first time without containing the region between black pixel point as a validation region on line, is one by the authentication image cutting A above validation region;
The feature vector of each validation region of the authentication image is calculated, and each by supervised learning Model Identification The corresponding character of feature vector of the validation region, as the corresponding character of each validation region;
The corresponding character of each validation region is combined, the character string in the picture is generated.
5. the processing method of verification short message as described in claim 1, which is characterized in that further include:
The local server stores the verification short message forwarded by the terminal device, and stores the verification short message and the end The correspondence of end equipment;
After the identifying code error notification that the local server receives that the far-end server is sent, or receiving user After what is inputted checks the instruction of verification short message, prompts user input equipment title and check password;
If device name input by user and checking that password is correct, the local server shows that the device name corresponds to The newest forwarding of terminal device verification short message.
6. a kind of processing system of verification short message, which is characterized in that including:
Local server, for receiving instruction input by user, and the time of recording instruction input;
The local server is additionally operable to send request message to far-end server according to described instruction, to control remote service Device sends verification short message to terminal device;
The terminal device, for when receiving short message, judging whether the short message is the verification short message;
The verification short message is forwarded to described by the terminal device if it is the verification short message to be additionally operable to the short message Ground server;
The local server for receiving the verification short message, and records the short message receiving time of the verification short message;
The local server, if the difference for being additionally operable to time and the short message receiving time that described instruction inputs is less than or waits In preset time difference threshold value, then the identifying code in the verification short message is identified, and the identifying code is sent to the distal end Server, to call function corresponding with described instruction in the far-end server.
7. the processing system of verification short message as claimed in claim 6, which is characterized in that the terminal device includes:
Word-dividing mode carries out word segmentation processing for the text to the verification short message, generates multiple short message words;
First determining module, if being present in preset keyword database for the short message word, according to the keyword The correspondence of word and key words probabilities in database determines the corresponding key words probabilities of each short message word;
Second determining module, if being not present in the keyword database for the short message word, for the short message word point With a preset key words probabilities;
Keyword identification module, for key words probabilities described in the text of the short message to be greater than or equal to predetermined probabilities threshold value Short message word, as keyword;
Short message identification module is verified, if for, comprising the keyword more than or equal to predetermined number, judging institute in the short message It is the verification short message to state short message.
8. the processing system of verification short message as claimed in claim 6, which is characterized in that the local server, including:
Server word-dividing mode carries out word segmentation processing for the text to the short message, generates multiple short message words;
The first determining module of server, if being present in preset keyword database for the short message word, according to The correspondence of word and key words probabilities in keyword database determines that the corresponding keyword of each short message word is general Rate;
The second determining module of server, for position in the verification short message is highest short near a preceding key words probabilities Believe word as special key word;
First identification module, if for before the special key word default partition mark with after the special key word There is number between the default partition mark, then regard the number as the identifying code;
Second identification module, if for before the special key word default partition mark with after the special key word There is no number but there are pictures between the default partition mark, then the character string in the picture is identified, and by the word Symbol string is used as the identifying code.
9. the processing system of verification short message as claimed in claim 8, which is characterized in that the local server further includes:
Generation module generates authentication image for carrying out noise reduction process to the picture by median filtering algorithm;
Conversion module calculates the gray scale of the authentication image for the gray value according to each pixel in the authentication image Average value, and the pixel by gray value in the authentication image less than the average gray is converted to black pixel point, it will Gray value is converted to white pixel point more than or equal to the pixel of the average gray in the authentication image;
Division module will first appear black for being scanned from one end of the authentication image to the other end in scan line The region between black pixel point is not contained on pixel to the scan line for the first time as a validation region, is tested described Card image cutting is the more than one validation region;
Computing module, the feature vector of each validation region for calculating the authentication image, and by there is supervision to learn The corresponding character of feature vector for practising each validation region of Model Identification, as the corresponding word of each validation region Symbol;
Composite module generates the character string in the picture for combining the corresponding character of each validation region.
10. the processing system of verification short message as claimed in claim 6, which is characterized in that the local server further includes:
Memory module stores the verification short message forwarded by the terminal device for the local server, and is tested described in storage Demonstrate,prove the correspondence of short message and the terminal device;
Reminding module, for after the identifying code error notification that the local server receives that the far-end server is sent, Or after receiving the instruction input by user checked and verify short message, prompts user input equipment title and check password;
Display module, if for device name input by user and checking that password is correct, the local server shows institute State the verification short message of the newest forwarding of the corresponding terminal device of device name.
CN201810084587.7A 2018-01-29 2018-01-29 Processing method and system for verification short message Expired - Fee Related CN108366052B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810084587.7A CN108366052B (en) 2018-01-29 2018-01-29 Processing method and system for verification short message
PCT/CN2018/124338 WO2019144756A1 (en) 2018-01-29 2018-12-27 Method and system for processing verification short message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810084587.7A CN108366052B (en) 2018-01-29 2018-01-29 Processing method and system for verification short message

Publications (2)

Publication Number Publication Date
CN108366052A true CN108366052A (en) 2018-08-03
CN108366052B CN108366052B (en) 2021-01-01

Family

ID=63007232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810084587.7A Expired - Fee Related CN108366052B (en) 2018-01-29 2018-01-29 Processing method and system for verification short message

Country Status (2)

Country Link
CN (1) CN108366052B (en)
WO (1) WO2019144756A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600722A (en) * 2018-11-14 2019-04-09 平安科技(深圳)有限公司 Short message receives verification method and device, electronic equipment, storage medium
WO2019144756A1 (en) * 2018-01-29 2019-08-01 深圳壹账通智能科技有限公司 Method and system for processing verification short message
CN110677338A (en) * 2019-09-16 2020-01-10 北京达佳互联信息技术有限公司 Verification information timing method and device, electronic equipment and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124455B (en) * 2021-10-22 2023-05-05 中国联合网络通信集团有限公司 Short message verification method and short message verification system
CN114925350B (en) * 2022-03-16 2025-01-24 广东长荣科技有限公司 Verification code implementation method, device, medium, and product based on semantic recognition of random motion objects
CN115226137A (en) * 2022-06-14 2022-10-21 深圳市富途网络科技有限公司 Fault warning method and device, electronic equipment and readable medium
CN115767537B (en) * 2022-11-15 2023-10-17 南京鼎山信息科技有限公司 Permission processing method and device for short message verification code and computer equipment
CN116996840B (en) * 2023-09-26 2023-12-29 北京百悟科技有限公司 Short message auditing method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530642A (en) * 2012-08-21 2014-01-22 深圳市中金岭南有色金属股份有限公司凡口铅锌矿 Detonator automatic recognition machine and detonator coding image recognition method
CN103618606A (en) * 2013-11-26 2014-03-05 觅林网络科技(上海)有限公司 App login method verified through short message
CN105046140A (en) * 2015-06-09 2015-11-11 苏州德锐朗智能科技有限公司 Automatic input method for character verification code
CN105159533A (en) * 2015-08-31 2015-12-16 努比亚技术有限公司 Mobile terminal and automatic verification code input method thereof
US20150365232A1 (en) * 2014-06-13 2015-12-17 BicDroid Inc. Methods, systems and computer program product for providing verification code recovery and remote authentication
US9336549B2 (en) * 2014-09-30 2016-05-10 Wal-Mart Stores, Inc. Systems and methods for performing in-store and online transactions
CN105703921A (en) * 2014-11-24 2016-06-22 甘肃省科学技术情报研究所 A device and method for remotely controlling a server by using a mobile phone short message
CN106170004A (en) * 2016-09-23 2016-11-30 北京小米移动软件有限公司 Process the method and device of identifying code
CN106294714A (en) * 2016-08-08 2017-01-04 龙官波 A kind of information collecting method and device
CN106851602A (en) * 2017-03-31 2017-06-13 武汉票据交易中心有限公司 A kind of transaction system short-message verification method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366052B (en) * 2018-01-29 2021-01-01 深圳壹账通智能科技有限公司 Processing method and system for verification short message

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530642A (en) * 2012-08-21 2014-01-22 深圳市中金岭南有色金属股份有限公司凡口铅锌矿 Detonator automatic recognition machine and detonator coding image recognition method
CN103618606A (en) * 2013-11-26 2014-03-05 觅林网络科技(上海)有限公司 App login method verified through short message
US20150365232A1 (en) * 2014-06-13 2015-12-17 BicDroid Inc. Methods, systems and computer program product for providing verification code recovery and remote authentication
US9336549B2 (en) * 2014-09-30 2016-05-10 Wal-Mart Stores, Inc. Systems and methods for performing in-store and online transactions
CN105703921A (en) * 2014-11-24 2016-06-22 甘肃省科学技术情报研究所 A device and method for remotely controlling a server by using a mobile phone short message
CN105046140A (en) * 2015-06-09 2015-11-11 苏州德锐朗智能科技有限公司 Automatic input method for character verification code
CN105159533A (en) * 2015-08-31 2015-12-16 努比亚技术有限公司 Mobile terminal and automatic verification code input method thereof
CN106294714A (en) * 2016-08-08 2017-01-04 龙官波 A kind of information collecting method and device
CN106170004A (en) * 2016-09-23 2016-11-30 北京小米移动软件有限公司 Process the method and device of identifying code
CN106851602A (en) * 2017-03-31 2017-06-13 武汉票据交易中心有限公司 A kind of transaction system short-message verification method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019144756A1 (en) * 2018-01-29 2019-08-01 深圳壹账通智能科技有限公司 Method and system for processing verification short message
CN109600722A (en) * 2018-11-14 2019-04-09 平安科技(深圳)有限公司 Short message receives verification method and device, electronic equipment, storage medium
CN109600722B (en) * 2018-11-14 2021-11-02 平安科技(深圳)有限公司 Short message receiving verification method and device, electronic equipment and storage medium
CN110677338A (en) * 2019-09-16 2020-01-10 北京达佳互联信息技术有限公司 Verification information timing method and device, electronic equipment and storage medium
CN110677338B (en) * 2019-09-16 2021-10-15 北京达佳互联信息技术有限公司 Verification information timing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108366052B (en) 2021-01-01
WO2019144756A1 (en) 2019-08-01

Similar Documents

Publication Publication Date Title
CN108366052A (en) Verify the processing method and system of short message
CN107872772B (en) Method and device for detecting fraud short messages
CN106162584B (en) Method, client, cloud server and system for identifying spam messages
CN104301875B (en) SMS processing and device
CN111343162B (en) System secure login method, device, medium and electronic equipment
CN102405474A (en) User challenge using information based on geography or user identity
CN113157854B (en) API sensitive data leakage detection method and system
CN109087194A (en) Invoice checking method, device, computer equipment and storage medium
CN105187632B (en) Method and device for determining mobile phone number
CN108668241A (en) Information reminding method, device, storage medium and electronic equipment
CN112929835B (en) Message notification method, device, electronic terminal and storage medium
CN107623620B (en) Processing method of random interaction data, network server and intelligent dialogue system
CN111309850A (en) A data feature extraction method, device, terminal device and medium
CN117973523A (en) Model calling method, device, electronic device and storage medium
CN113220949B (en) Construction method and device of private data identification system
WO2020124454A1 (en) Font switching method and related product
CN108875349B (en) Verification code generation method and device based on pinyin
CN113515280B (en) Page code generation method and device
CN110532186B (en) Method, device, electronic device and storage medium for testing using verification code
CN111753548B (en) Information acquisition method and device, computer storage medium and electronic equipment
CN112580762B (en) Dynamic two-dimensional code and identification method and identification device thereof
CN115396329B (en) Method, device, equipment and storage medium for determining target different network number
CN115712887B (en) Picture verification code identification method and device, electronic equipment and storage medium
CN114329399B (en) A face video verification method, device, equipment and storage medium
CN108874376B (en) Method and device for exporting functions and classes, terminal and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210101

CF01 Termination of patent right due to non-payment of annual fee