WO2017084513A1 - 一种核验信息处理方法及服务器 - Google Patents
一种核验信息处理方法及服务器 Download PDFInfo
- Publication number
- WO2017084513A1 WO2017084513A1 PCT/CN2016/105006 CN2016105006W WO2017084513A1 WO 2017084513 A1 WO2017084513 A1 WO 2017084513A1 CN 2016105006 W CN2016105006 W CN 2016105006W WO 2017084513 A1 WO2017084513 A1 WO 2017084513A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- verification
- server
- information
- picture
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/42—Mailbox-related aspects, e.g. synchronisation of mailboxes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
Definitions
- the present application relates to the field of communications technologies, and in particular, to a method for processing verification information.
- the application also relates to a verification information processing server.
- verification information function.
- the process of verifying information involves the user's verification information, mailbox and use.
- the processing of verification information often presents a difficult situation between user experience and security.
- ICP filing is a management of the website by the Ministry of Information Industry to prevent illegal operation of the website.
- submitting the website authenticity verification form is an important process for ICP filing.
- you need to submit the website authenticity verification form by the following steps:
- the user opens a browser to access a third-party system website
- the user first needs to register the third-party system website on the Internet to belong to its own account number and password, and then use the account to log in, and manually upload the verification form after login, after which the user must wait for the website aspect. Response.
- the inventor found that not only the ICP filing process, the existing information verification process usually requires the user to perform a series of manual processing steps (registering mailbox, login, uploading), and the time spent. Longer, resulting in a poor user experience, and high processing speed requirements for third-party systems, seriously reducing the efficiency of existing verification information processing.
- the present application discloses a verification information processing method for automatically processing and transmitting the verification information provided by a user to a third-party system, thereby improving the efficiency of the existing verification information processing, and applying the method.
- a verification information processing method for automatically processing and transmitting the verification information provided by a user to a third-party system, thereby improving the efficiency of the existing verification information processing, and applying the method.
- the server When the server receives the verification email, the server queries whether the verification email carries the verification information of the specified format, and the header information of the verification email carries the specific identification information;
- the server verifies the verification information, the email address, and the authenticity of the sending user of the verification email according to the email address of the verification email.
- the specific identification information is sent to the third party system.
- the server when the server receives the verification email, the server queries whether the verification email carries the verification information in the specified format, specifically:
- the server receives an email from the sending user
- the server extracts header information of the mail
- the server determines whether the header information includes specific identification information, and whether the email carries an accessory
- the server determines whether the attachment carried by the mail conforms to the specified format
- the server confirms that the email is the verification email, and the verification email carries the verification information.
- the specified format is specifically a verification check picture
- the server determines whether the accessory carried by the mail conforms to the specified format, specifically:
- the server determines whether the image file is included in the attachment
- the server determines whether the similarity between the picture file and the preset template check list picture exceeds a preset threshold
- the server determines that the attachment conforms to the specified format.
- the server determines whether the header information includes specific identification information, specifically:
- the information is extracted by the regular expression and the information is taken as the specific identification information.
- the server determines whether the similarity between the picture file and the preset template check list picture exceeds a preset threshold, specifically:
- the server randomly extracts a specified number of features in the picture file and the image of the specified position in the template verification check picture;
- the server confirms that the similarity between the picture file and the preset template check list picture does not exceed a preset threshold
- the server confirms that the similarity between the picture file and the preset template check list picture exceeds a preset threshold.
- the email address is used to be registered in the third party system after being generated by the sending user registration;
- the server is authenticating the sending user of the verification email according to the email address of the verification email
- the verification information, the email address, and the specific identification information are sent to the third-party system, specifically:
- the server queries, according to the email address, whether the sending user is registered in the third-party system
- the server sends the verification information, the email address, and the specific identification information to the third-party system by using a message, so that the third-party system, after receiving the message, according to the mailbox
- the address is queried to the sending user, and the verification information is processed into the warehousing corresponding to the sent user;
- the server discards the message.
- the present application also proposes a server, which is applied as a node to a cluster including a plurality of nodes and a database, the server comprising:
- the query module when the server receives the verification email, queries whether the verification email carries the verification information in a specified format, and the header information of the verification email carries the specific identification information;
- a verification module carrying the verification information in the verification email and verifying the authenticity of the sending user of the verification email according to the email address of the verification email, and verifying the verification information, the email address, and the location
- the specific identification information is sent to the third party system.
- the query module specifically includes:
- Receiving a submodule receiving an email from the sending user
- Determining a sub-module determining whether the header information includes specific identification information, and whether the email carries an attachment
- a confirmation submodule determining whether the attachment carried by the mail conforms to the specified format when the title information includes the specific identification information and the mail carries the attachment, and confirming when the attachment meets the specified format
- the mail is the verification mail.
- the specified format is specifically a verification check picture
- the confirmation sub-module is specifically configured to:
- the determining submodule is specifically configured to:
- the information of the type domain name is detected in the title information by a preset regular expression, and the information is extracted by the regular expression when the judgment result is present, and the information is used as the specific identification information.
- the confirmation sub-module determines whether the similarity between the picture file and the preset template verification check picture exceeds a preset threshold, specifically:
- the email address is used to be registered in the third-party system after being generated by the sending user, and the verification module is specifically configured to:
- the identification information is sent to the third-party system by using a message, so that after receiving the message, the third-party system queries the sending user according to the email address, and performs the verification information corresponding to the sent user.
- the warehousing process and discarding the message when the query result is no.
- the server when the server receives the verification email, the server queries whether the verification email carries the verification information in the specified format, and carries the verification information in the verification email and according to the email address of the verification email. After verification of the authenticity of the sending user of the verification mail, the verification information and the email address will be verified. And the specific identification information is sent to the third-party system, and the user can use any mail client to forward the website authenticity verification information related to the record to the third-party system through the server. This eliminates the cumbersome process of manual registration, login verification network platform, etc., and improves the efficiency of existing verification information processing.
- FIG. 1 is a schematic flow chart of a method for processing verification information according to the present application
- FIG. 2 is a schematic diagram of a method for processing record information according to a specific embodiment of the present application
- FIG. 3 is a schematic diagram of verification of authenticity of website filing information in the prior art
- FIG. 4 is a schematic structural diagram of a server according to the present application.
- the present application proposes a verification information processing method, by which a user can use any mailbox to send a special verification email to a server dedicated to processing the verification email, and the server can verify the email for the verification email.
- the content itself and the contents of the attachment are automatically processed, and the verification information, the user's email address, and specific identification information are finally forwarded to the third-party system.
- the process of uploading, registering, etc. that the user needs to perform is omitted, and the time for waiting for the page jump is reduced, and the processing efficiency of the verification information is greatly improved.
- a schematic flowchart of a method for processing verification information according to the present application includes the following steps:
- the server queries whether the verification email carries verification information in a specified format, and the header information of the verification email carries specific identification information.
- the present application is directed to automatically processing and transmitting the verification information sent by the user to a third-party system.
- the user needs to first send a verification email that the server can identify the specific identification information through the header information.
- the verification of the filing information is taken as an example (wherein the third-party system is a filing system), but the application is not limited thereto, and the user is required to verify the user through the mail through a third-party system.
- the information verification method of the sent attachment may adopt the technical solution of the present application, and the specific form of the change does not affect the protection scope of the present application.
- the server identifies the email sent by the user by the following steps:
- Step b) the server extracts header information of the mail
- Step c) The server determines whether the header information includes specific identification information, and whether the email carries an accessory;
- the retrieval of the specific identification information in the preferred embodiment of the present application can be based on the naming rules for verifying the domain name, for example, by means of keywords or specified features. Retrieval of information. In this specific embodiment, it is detected by a preset regular expression whether there is information of the type domain name in the header information, and if so, the information is extracted by the regular expression, and the information is used as The specific identification information.
- the server first determines whether the image file is included in the attachment; if the attachment includes the image file, the server further determines whether the similarity between the image file and the preset template verification check image exceeds a preset threshold, if If the result is above the threshold, then the server determines that the attachment conforms to the specified format.
- the server first checks the picture file and the template respectively. An image of a specified position in a single picture randomly extracts a specified number of features, and then respectively generates feature values of the picture file and the template check list picture according to the feature, and after obtaining the feature values of the two, the server may determine the Whether the absolute value of the difference between the feature values is less than the threshold value, and if so, confirming that the similarity between the picture file and the preset template check list picture does not exceed a preset threshold, if otherwise, confirming the picture file
- the similarity between the template and the preset template checklist image exceeds a preset threshold.
- the server verifies the verification information and the mailbox after verifying the authenticity of the sending user of the verification email according to the email address of the verification email.
- the address and the specific identification information are sent to the third party system.
- the email address obtained by the mail in the application in S101 is generated by the sending user and is used in the third-party system. Registered, in order to avoid malicious registration of illegal users and to ensure the authenticity of the filing information, this application will be verified with a third-party system for each email address.
- the server first Querying, according to the email address, whether the sending user is registered in the third-party system, and if yes, sending the verification information, the email address, and the specific identification information to the third-party system by using a message, so that After receiving the message, the third-party system queries the sending user according to the email address, and performs the processing of the verification corresponding to the sent user; if the message is discarded.
- step S201 the user registers a dedicated mailbox for website filing.
- step S202 the user registers in the filing system using the email address of the dedicated mailbox registered in S201.
- step S203 the user scans the real verification form of the paper to generate an electronic version of the picture corresponding to the paper real verification check.
- step S204 the user sends an email to the filing mailbox cloud server through any other mailbox client, and the verification checklist image is used as an attachment of the email, and the title is set to the domain name to be filed.
- Step S205 After the cloud mail server receives the mail, check whether the title includes the domain name, check whether the attached image includes an image, and compare the similarity between the image and the verification check template image to check whether the receiving address is a record user.
- the regular domain name can be detected and obtained through the regular expression.
- the title of the mail is set to the domain name to be filed when the user sends the mail in the above step (for example, XXX. COM)
- this step passes the regular expression "[a-zA-Z0-9][-a-zA-Z0-9] ⁇ 0,62 ⁇ ( ⁇ .[a-zA-Z0-9][-a -zA-Z0-9] ⁇ 0,62 ⁇ )+ ⁇ .
- Check if there is a domain name in the title, if there is a regular expression for matching, and extract the matching domain name.
- the website verification information authenticity verification form when identifying whether the attachment picture is a verification check form, it is necessary to first use some image processing library for image processing, because the picture of the verification check form is one.
- kind of fixed picture The user to be verified only needs to fill in a few fixed information, so the similarity recognition rate is high, and the 95% similarity can be regarded as the verification form picture.
- image recognition algorithms There are many image recognition algorithms.
- the OpenCV-based ORB feature extraction algorithm is used to illustrate.
- the OpenCV library is used to extract the upper and middle-left images of the checked image (generally including the basic information of the website sponsor and the content of the website registration information). N features because the two features are solid Therefore, the comparison accuracy is high, and the feature values of the two pictures are compared, and the similarity is judged accordingly.
- the filing system is open to the server to query the interface according to the user name, and the server queries whether the user is registered in the filing system according to the email address.
- the server may send the verification information, the email address, and the record domain name information to the filing system by using MetaQ in a message queue manner.
- the filing system After receiving the message, the filing system searches for the user according to the email address, and stores the user's filing information into the database.
- the present application also proposes a server, which is applied as a node to a cluster including a plurality of nodes and a database.
- the server includes:
- the query module when the server receives the verification email, queries whether the verification email carries the verification information in a specified format, and the header information of the verification email carries the specific identification information;
- a verification module carrying the verification information in the verification email and verifying the authenticity of the sending user of the verification email according to the email address of the verification email, and verifying the verification information, the email address, and the location
- the specific identification information is sent to the third party system.
- the query module specifically includes:
- Receiving a submodule receiving an email from the sending user
- Determining a sub-module determining whether the header information includes specific identification information, and whether the email carries an attachment
- a confirmation submodule determining whether the attachment carried by the mail conforms to the specified format when the title information includes the specific identification information and the mail carries the attachment, and confirming when the attachment meets the specified format
- the mail is the verification mail.
- the specified format is specifically a verification check picture
- the confirmation sub-module is specifically configured to:
- the determining sub-module is specifically configured to:
- the information of the type domain name is detected in the title information by a preset regular expression, and the information is extracted by the regular expression when the judgment result is present, and the information is used as the specific identification information.
- the confirmation sub-module determines whether the similarity between the picture file and the preset template check-up picture exceeds a preset threshold, specifically:
- the email address is used to be registered in the third-party system after being generated by the sending user, and the verification module is specifically configured to:
- the identification information is sent to the third-party system by using a message, so that after receiving the message, the third-party system queries the sending user according to the email address, and performs the verification information corresponding to the sent user.
- the warehousing process and discarding the message when the query result is no.
- the present application can be implemented by hardware, or by software plus a necessary general hardware platform.
- the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various implementation scenarios of the present application.
- modules in the apparatus in the implementation scenario may be distributed in the apparatus for implementing the scenario according to the implementation scenario description, or may be correspondingly changed in one or more devices different from the implementation scenario.
- the modules of the above implementation scenarios may be combined into one module, or may be further split into multiple sub-modules.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本申请公开了一种核验信息处理方法及服务器。当服务器接收到核验邮件时,查询所述核验邮件是否携带指定格式的核验信息,若所述核验邮件中携带所述核验信息,所述服务器在根据所述核验邮件的邮箱地址对所述核验邮件的发送用户的真实性验证通过后,将所述核验信息、所述邮箱地址以及所述特定识别信息发送至第三方系统。从而使用户不再需要通过手动注册以及登陆备案网络平台等繁琐过程提交核验信息,提高了核验流程的便捷性以及效率。
Description
本申请要求2015年11月17日递交的申请号为201510791585.8、发明名称为“一种核验信息处理方法及服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及通信技术领域,特别涉及一种核验信息处理方法。本申请同时还涉及一种核验信息处理服务器。
随着互联网的发展,人们越来越依赖于通过互联网完成与自身相关的各项服务,其中一项较为常见的即为核验信息功能,由于核验信息的过程涉及到用户的核验信息、邮箱以及用于核验的第三方系统等多个方面,因此核验信息的处理常常在用户体验以及安全性之间存着这两难的境地。
以ICP(Internet Content Provider,因特网内容提供商)备案为例,ICP备案是信息产业部对网站的一种管理,用以防止网站的非法运营。目前,提交网站真实性核验单是ICP备案的一个重要流程。当某个用户需要进行ICP备案时,需要通过以下步骤提交网站真实性核验单:
a,用户打开浏览器访问第三方系统网站;
b,用户进行注册和登录;
c,用户输入用户名和密码进行登录;
d,网站方将用户跳转至提交网站真实性核验单的页面;
e,用户点击上传按钮上传核验单图片,等待上传成功;
f,网站方确认上传成功。
然而,在实现上述方法的过程中,用户首先需要在网上进行第三方系统网站的注册属于自身的账号和密码,随后利用该账号登录,并在登录后手动上传核验单,之后用户必须等待网站方面的回应。
发明人在实现本申请的方案过程中发现,不仅仅是ICP备案,现有的信息核验流程通常都需要用户执行一系列的手动处理步骤(注册邮箱、登录、上传),所花费的时间
较长,导致用户体验较差,并且对第三方系统的处理速度要求高,严重降低了现有的核验信息处理效率。
发明内容
有鉴于背景技术中的问题,本申请公开了一种核验信息处理方法,用以针对用户提供的核验信息自动进行处理并发送至第三方系统,从而提高现有的核验信息处理效率,该方法应用于与第三方系统连接的服务器,包括以下步骤:
当所述服务器接收到核验邮件时,所述服务器查询所述核验邮件是否携带指定格式的核验信息,所述核验邮件的标题信息中携带特定识别信息;
若所述核验邮件中携带所述核验信息,所述服务器在根据所述核验邮件的邮箱地址对所述核验邮件的发送用户的真实性验证通过后,将所述核验信息、所述邮箱地址以及所述特定识别信息发送至所述第三方系统。
优选地,当服务器接收到核验邮件时,所述服务器查询所述核验邮件是否携带指定格式的核验信息,具体为:
所述服务器接收来自于所述发送用户的邮件;
所述服务器提取所述邮件的标题信息;
所述服务器判断所述标题信息是否包含特定识别信息,以及所述邮件是否携带有附件;
若所述标题信息包含所述特定识别信息且所述邮件携带所述附件,所述服务器确定所述邮件携带的附件是否符合所述指定格式;
若所述附件符合所述指定格式,所述服务器确认所述邮件为所述核验邮件,且所述核验邮件携带所述核验信息。
优选地,所述指定格式具体为核验单图片,所述服务器确定所述邮件携带的附件是否符合所述指定格式,具体为:
所述服务器判断所述附件中是否包含图片文件;
若所述附件包含图片文件,所述服务器判断所述图片文件与预设的模板核验单图片之间的相似度是否超过预设的阈值;
若是,所述服务器确定所述附件符合所述指定格式。
优选地,所述服务器判断所述标题信息是否包含特定识别信息,具体为:
通过预设的正则表达式检测所述标题信息中是否存在类型为域名的信息;
若存在,通过所述正则表达式提取所述信息,并将所述信息作为所述特定识别信息。
优选地,所述服务器判断所述图片文件与预设的模板核验单图片之间的相似度是否超过预设的阈值,具体为:
所述服务器分别在所述图片文件以及所述模板核验单图片中指定位置的图像随机提取指定数量的特征;
所述服务器根据所述特征分别生成所述图片文件以及所述模板核验单图片的特征值;
所述服务器判断所述特征值之间的差值的绝对值是否小于所述阈值;
若是,所述服务器确认所述图片文件与预设的模板核验单图片之间的相似度未超过预设的阈值;
若否,所述服务器确认所述图片文件与预设的模板核验单图片之间的相似度超过预设的阈值。
优选地,所述邮箱地址在由所述发送用户注册生成后被用于在所述第三方系统中注册;所述服务器在根据所述核验邮件的邮箱地址对所述核验邮件的发送用户的真实性验证通过后,将所述核验信息、所述邮箱地址以及所述特定识别信息发送至所述第三方系统,具体为:
所述服务器根据所述邮箱地址查询所述发送用户是否在所述第三方系统中注册;
若是,所述服务器将所述核验信息、所述邮箱地址以及所述特定识别信息通过消息发送至所述第三方系统,以使所述第三方系统在收到所述消息后,根据所述邮箱地址查询到所述发送用户,并将所述核验信息对应所发送用户进行入库处理;
若否,所述服务器丢弃所述消息。
相应地,本申请还提出了一种服务器,所述服务器作为节点应用于包括多个节点以及数据库的集群中,该服务器包括:
查询模块,当所述服务器接收到核验邮件时,查询所述核验邮件是否携带指定格式的核验信息,所述核验邮件的标题信息中携带特定识别信息;
核验模块,在所述核验邮件中携带所述核验信息且根据所述核验邮件的邮箱地址对所述核验邮件的发送用户的真实性验证通过后,将所述核验信息、所述邮箱地址以及所述特定识别信息发送至所述第三方系统。
优选地,所述查询模块具体包括:
接收子模块,接收来自于所述发送用户的邮件;
提取子模块,提取所述邮件的标题信息;
判断子模块,判断所述标题信息是否包含特定识别信息,以及所述邮件是否携带有附件;
确认子模块,在所述标题信息包含所述特定识别信息且所述邮件携带所述附件时确定所述邮件携带的附件是否符合所述指定格式,以及在所述附件符合所述指定格式时确认所述邮件为所述核验邮件。
优选地,所述指定格式具体为核验单图片,所述确认子模块具体用于:
判断所述附件中是否包含图片文件,并在所述附件包含图片文件时,判断所述图片文件与预设的模板核验单图片之间的相似度是否超过预设的阈值,以及在判断结果为是时确定所述附件符合所述指定格式。
优选地,所述判断子模块具体用于:
通过预设的正则表达式检测所述标题信息中是否存在类型为域名的信息,并在判断结果为存在时通过所述正则表达式提取所述信息,将所述信息作为所述特定识别信息。
优选地,所述确认子模块判断所述图片文件与预设的模板核验单图片之间的相似度是否超过预设的阈值,具体为:
分别在所述图片文件以及所述模板核验单图片中指定位置的图像随机提取指定数量的特征,根据所述特征分别生成所述图片文件以及所述模板核验单图片的特征值;
判断所述特征值之间的差值的绝对值是否小于所述阈值;若是,确认所述图片文件与预设的模板核验单图片之间的相似度未超过预设的阈值;若否,确认所述图片文件与预设的模板核验单图片之间的相似度超过预设的阈值。
优选地,所述邮箱地址在由所述发送用户注册生成后被用于在所述第三方系统中注册,所述核验模块具体用于:
根据所述邮箱地址查询所述发送用户是否在所述第三方系统中注册,并在查询结果为是时,并在查询结果为是时,将所述核验信息、所述邮箱地址以及所述特定识别信息通过消息发送至所述第三方系统,以使所述第三方系统在收到所述消息后,根据所述邮箱地址查询到所述发送用户,并将所述核验信息对应所发送用户进行入库处理,以及在查询结果为否时丢弃所述消息。
由此可见,通过应用本申请的技术方案,在当服务器接收到核验邮件时,服务器查询该核验邮件是否携带指定格式的核验信息,并在核验邮件中携带核验信息且根据核验邮件的邮箱地址对核验邮件的发送用户的真实性验证通过后,将核验信息、邮箱地址以
及特定识别信息发送至第三方系统,通过服务器对待核验邮件的检查、分析功能,用户可以使用任意邮件客户端将与备案相关的网站真实性核验信息通过服务器转交至第三方系统。从而省去了手动注册、登陆核验网络平台等的繁琐过程,提高了现有的核验信息处理效率。
图1为本申请提出的一种核验信息处理方法流程示意图;
图2为本申请的具体实施例所提出的一种备案信息处理方法示意图;
图3为现有技术中的网站备案信息真实性核验单示意图;
图4为本申请提出的一种服务器的结构示意图。
为解决现有技术中的技术问题,本申请提出了一种核验信息处理方法,通过该方法用户可使用任意邮箱发送特殊的核验邮件至专用于处理核验邮件的服务器,服务器即可针对该核验邮件本身以及附件的内容进行一系列自动处理,最终将核验信息、用户的邮箱地址以及特定识别信息转发至第三方系统。省去了用户所需要执行的一系列上传、注册等过程,并且减少了等待页面跳转的时间,极大地提高了核验信息的处理效率。
如图1所示,为本申请提出的一种核验信息处理方法流程示意图,包括以下步骤:
S101,当所述服务器接收到核验邮件时,所述服务器查询所述核验邮件是否携带指定格式的核验信息,所述核验邮件的标题信息中携带特定识别信息。
本申请旨在针对用户发送的核验信息进行自动处理并发送至第三方系统,为此用户需要首先发送服务器能够通过标题信息识别到特定识别信息的核验邮件。在此需要说明的是,虽然后续的实施例中以备案信息的核验为例进行说明(其中第三方系统为备案系统),但是本申请并非局限于此,凡是需要通过第三方系统核验用户通过邮件发送的附件的信息核验方法均可以采用本申请的技术方案,具体的形式的变化并不影响本申请的保护范围。
在本申请的一个优选实施例中,服务器在接收到用户发送的邮件中,通过以下步骤进行识别:
步骤a)所述服务器接收来自于所述发送用户的邮件;
步骤b)所述服务器提取所述邮件的标题信息;
步骤c)所述服务器判断所述标题信息是否包含特定识别信息,以及所述邮件是否携带有附件;
由于大多数情况下特定识别信息均采用域名的形式,因此在本申请的优选实施例中针对特定识别信息的检索可以基于核验域名的命名规则,采用例如关键字或指定特征的方式实现针对特定识别信息的检索。在该具体实施例中,则是通过预设的正则表达式检测所述标题信息中是否存在类型为域名的信息,若存在的话通过所述正则表达式提取所述信息,并将所述信息作为所述特定识别信息。
步骤d)若所述标题信息包含所述特定识别信息且所述邮件携带所述附件,所述服务器确定所述邮件携带的附件是否符合所述指定格式;
在目前的核验处理过程中,用户所需要提交的核验单复印件一般都是图片的形式,因此本申请优选实施例针对指定格式为核验单图片的情况提出了具体的处理流程。具体地,服务器首先判断附件中是否包含图片文件;若所述附件包含图片文件,则服务器进一步判断所述图片文件与预设的模板核验单图片之间的相似度是否超过预设的阈值,如果结果是超过阈值的话,那么服务器确定所述附件符合所述指定格式。
需要说明的是,针对两张图片文件之间的相似度判断可以采用现有的图片特征对比技术,作为一个快捷且方便的相似度判断方式,服务器首先分别在所述图片文件以及所述模板核验单图片中指定位置的图像随机提取指定数量的特征,随后根据所述特征分别生成所述图片文件以及所述模板核验单图片的特征值,在得到二者的特征值之后,服务器可判断所述特征值之间的差值的绝对值是否小于所述阈值,若是则确认所述图片文件与预设的模板核验单图片之间的相似度未超过预设的阈值,若否则确认所述图片文件与预设的模板核验单图片之间的相似度超过预设的阈值。
步骤e)若所述附件符合所述指定格式,所述服务器确认所述邮件为所述核验邮件。
S102,若所述核验邮件中携带所述核验信息,所述服务器在根据所述核验邮件的邮箱地址对所述核验邮件的发送用户的真实性验证通过后,将所述核验信息、所述邮箱地址以及所述特定识别信息发送至所述第三方系统。
由于现有的第三方系统都要求用户以自身的邮箱为用户名进行注册,因此本申请在S101中通过邮件所得到的邮箱地址都是由发送用户注册生成后被用于在所述第三方系统中注册的,为了避免非法用户的恶意注册以及保证备案信息的真实性,本申请针对每个邮箱地址都会联合第三方系统进行验证。在本申请的一个优选实施例中,服务器首先
根据所述邮箱地址查询所述发送用户是否在所述第三方系统中注册,若是,则将所述核验信息、所述邮箱地址以及所述特定识别信息通过消息发送至所述第三方系统,这样第三方系统在收到所述消息后,根据所述邮箱地址查询到所述发送用户,并将所述核验信息对应所发送用户进行入库处理;若否则丢弃所述消息。
由此可见,通过应用以上技术方案,用户仅需利用自身的邮箱将备案信息通过特殊的核验邮件直接发送至服务器,服务器随后即可自动完成备案信息的处理流程并上传至第三方系统,从而极大地提高了现有的核验处理速率。
为了进一步阐述本申请的技术思想,现结合图2所示的具体的应用场景,对本申请的技术方案进行说明。该实施例包括以下步骤:
步骤S201,用户注册用于进行网站备案的专用邮箱。
步骤S202,用户使用S201中所注册的专用邮箱的邮箱地址在备案系统中进行注册。
步骤S203,用户扫描纸质的真实核验单,生成与纸质真实核验单对应的电子版图片。
步骤S204,用户通过其他任意的邮箱客户端向备案邮箱云服务器发送邮件,将核验单图片作为邮件的附件,将标题设置为需要备案的域名。
步骤S205,当云邮件服务器收到邮件后,检查标题是否包含域名,检查附件中是否包含一张图片,并将此图片与核验单模板图片做相似度比较,检查收件地址是否是备案用户。
在通过该步骤检查标题中的备案域名并提取的过程中,可以通过正则表达式进行备案域名的检测以及获取,假设上述步骤中用户发送邮件时邮件的标题设置为待备案的域名(例如XXX.COM),那么该步骤通过正则表达式“[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?”检查标题中是否存在域名,如果有则使用正则表达式进行匹配处理,并将匹配的域名进行提取。
如图3所示,为现有技术中的网站备案信息真实性核验单,在识别附件图片是否为核验单时,需要先使用某种图像处理库来进行图片处理,因为核验单的图片是一种固定的图片。待核验用户只需要填写几处固定信息,因此相似度识别率较高,达到95%的相似度则可以认定为是核验单图片。图像识别算法较多,这里基于OpenCV的ORB特征提取算法做说明,使用OpenCV库提取被检查图片的上方、中间偏左的图像(一般包括网站主办者基本信息和网站备案信息核验内容),随机提取N处特征,因为两处特征是固
定不变的因此拿来对比准确性较高,将两张图片的特征值做比较,据此进行相似度的判断。
另外,备案系统对服务器开放根据用户名查询接口,服务器根据邮件地址查询一个此用户是否在备案系统注册过。
S206,如果判断为一个真实性核验单邮件,则将接收的邮件地址、邮件标题中的域名、附件发送给备案系统。
具体地,服务器可以消息队列的方式,使用MetaQ将所述核验信息、所述邮箱地址以及所述备案域名信息发送至所述备案系统。
S207,备案系统收到消息后根据邮箱地址查找用户,并将用户的备案信息进行入库处理。
为达到上述目的,本申请还提出了一种服务器,所述服务器作为节点应用于包括多个节点以及数据库的集群中,如图4所示,该服务器包括:
查询模块,当所述服务器接收到核验邮件时,查询所述核验邮件是否携带指定格式的核验信息,所述核验邮件的标题信息中携带特定识别信息;
核验模块,在所述核验邮件中携带所述核验信息且根据所述核验邮件的邮箱地址对所述核验邮件的发送用户的真实性验证通过后,将所述核验信息、所述邮箱地址以及所述特定识别信息发送至所述第三方系统。
在优选的实施例中,所述查询模块具体包括:
接收子模块,接收来自于所述发送用户的邮件;
提取子模块,提取所述邮件的标题信息;
判断子模块,判断所述标题信息是否包含特定识别信息,以及所述邮件是否携带有附件;
确认子模块,在所述标题信息包含所述特定识别信息且所述邮件携带所述附件时确定所述邮件携带的附件是否符合所述指定格式,以及在所述附件符合所述指定格式时确认所述邮件为所述核验邮件。
在优选的实施例中,所述指定格式具体为核验单图片,所述确认子模块具体用于:
判断所述附件中是否包含图片文件,并在所述附件包含图片文件时,判断所述图片文件与预设的模板核验单图片之间的相似度是否超过预设的阈值,以及在判断结果为是时确定所述附件符合所述指定格式。
在优选的实施例中,所述判断子模块具体用于:
通过预设的正则表达式检测所述标题信息中是否存在类型为域名的信息,并在判断结果为存在时通过所述正则表达式提取所述信息,将所述信息作为所述特定识别信息。
在优选的实施例中,所述确认子模块判断所述图片文件与预设的模板核验单图片之间的相似度是否超过预设的阈值,具体为:
分别在所述图片文件以及所述模板核验单图片中指定位置的图像随机提取指定数量的特征,根据所述特征分别生成所述图片文件以及所述模板核验单图片的特征值;
判断所述特征值之间的差值的绝对值是否小于所述阈值;若是,确认所述图片文件与预设的模板核验单图片之间的相似度未超过预设的阈值;若否,确认所述图片文件与预设的模板核验单图片之间的相似度超过预设的阈值。
在优选的实施例中,所述邮箱地址在由所述发送用户注册生成后被用于在所述第三方系统中注册,所述核验模块具体用于:
根据所述邮箱地址查询所述发送用户是否在所述第三方系统中注册,并在查询结果为是时,并在查询结果为是时,将所述核验信息、所述邮箱地址以及所述特定识别信息通过消息发送至所述第三方系统,以使所述第三方系统在收到所述消息后,根据所述邮箱地址查询到所述发送用户,并将所述核验信息对应所发送用户进行入库处理,以及在查询结果为否时丢弃所述消息。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本申请可以通过硬件实现,也可以借助软件加必要的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施场景所述的方法。
本领域技术人员可以理解附图只是一个优选实施场景的示意图,附图中的模块或流程并不一定是实施本申请所必须的。
本领域技术人员可以理解实施场景中的装置中的模块可以按照实施场景描述进行分布于实施场景的装置中,也可以进行相应变化位于不同于本实施场景的一个或多个装置中。上述实施场景的模块可以合并为一个模块,也可以进一步拆分成多个子模块。
上述本申请序号仅仅为了描述,不代表实施场景的优劣。
以上公开的仅为本申请的几个具体实施场景,但是,本申请并非局限于此,任何本领域的技术人员能思之的变化都应落入本申请的保护范围。
Claims (12)
- 一种核验信息处理方法,其特征在于,该方法应用于与第三方系统连接的服务器,包括以下步骤:当所述服务器接收到核验邮件时,所述服务器查询所述核验邮件是否携带指定格式的核验信息,所述核验邮件的标题信息中携带特定识别信息;若所述核验邮件中携带所述核验信息,所述服务器在根据所述核验邮件的邮箱地址对所述核验邮件的发送用户的真实性验证通过后,将所述核验信息、所述邮箱地址以及所述特定识别信息发送至所述第三方系统。
- 如权利要求1所述的方法,其特征在于,当服务器接收到核验邮件时,所述服务器查询所述核验邮件是否携带指定格式的核验信息,具体为:所述服务器接收来自于所述发送用户的邮件;所述服务器提取所述邮件的标题信息;所述服务器判断所述标题信息是否包含特定识别信息,以及所述邮件是否携带有附件;若所述标题信息包含所述特定识别信息且所述邮件携带所述附件,所述服务器确定所述邮件携带的附件是否符合所述指定格式;若所述附件符合所述指定格式,所述服务器确认所述邮件为所述核验邮件。
- 如权利要求2所述的方法,其特征在于,所述指定格式具体为核验单图片,所述服务器确定所述邮件携带的附件是否符合所述指定格式,具体为:所述服务器判断所述附件中是否包含图片文件;若所述附件包含图片文件,所述服务器判断所述图片文件与预设的模板核验单图片之间的相似度是否超过预设的阈值;若是,所述服务器确定所述附件符合所述指定格式。
- 如权利要求2所述的方法,其特征在于,所述服务器判断所述标题信息是否包含特定识别信息,具体为:通过预设的正则表达式检测所述标题信息中是否存在类型为域名的信息;若存在,通过所述正则表达式提取所述信息,并将所述信息作为所述特定识别信息。
- 如权利要求3所述的方法,其特征在于,所述服务器判断所述图片文件与预设的模板核验单图片之间的相似度是否超过预设的阈值,具体为:所述服务器分别在所述图片文件以及所述模板核验单图片中指定位置的图像随机 提取指定数量的特征;所述服务器根据所述特征分别生成所述图片文件以及所述模板核验单图片的特征值;所述服务器判断所述特征值之间的差值的绝对值是否小于所述阈值;若是,所述服务器确认所述图片文件与预设的模板核验单图片之间的相似度未超过预设的阈值;若否,所述服务器确认所述图片文件与预设的模板核验单图片之间的相似度超过预设的阈值。
- 如权利要求1所述的方法,其特征在于,所述邮箱地址在由所述发送用户注册生成后被用于在所述第三方系统中注册;所述服务器在根据所述核验邮件的邮箱地址对所述核验邮件的发送用户的真实性验证通过后,将所述核验信息、所述邮箱地址以及所述特定识别信息发送至所述第三方系统,具体为:所述服务器根据所述邮箱地址查询所述发送用户是否在所述第三方系统中注册;若是,所述服务器将所述核验信息、所述邮箱地址以及所述特定识别信息通过消息发送至所述第三方系统,以使所述第三方系统在收到所述消息后,根据所述邮箱地址查询到所述发送用户,并将所述核验信息对应所发送用户进行入库处理;若否,所述服务器丢弃所述消息。
- 一种服务器,其特征在于,所述服务器作为节点应用于包括多个节点以及数据库的集群中,该服务器包括:查询模块,当接收到核验邮件时,查询所述核验邮件是否携带指定格式的核验信息,所述核验邮件的标题信息中携带特定识别信息;核验模块,在所述核验邮件中携带所述核验信息且根据所述核验邮件的邮箱地址对所述核验邮件的发送用户的真实性验证通过后,将所述核验信息、所述邮箱地址以及所述特定识别信息发送至所述第三方系统。
- 如权利要求7所述的服务器,其特征在于,所述查询模块具体包括:接收子模块,接收来自于所述发送用户的邮件;提取子模块,提取所述邮件的标题信息;判断子模块,判断所述标题信息是否包含特定识别信息,以及所述邮件是否携带有附件;确认子模块,在所述标题信息包含所述特定识别信息且所述邮件携带所述附件时确 定所述邮件携带的附件是否符合所述指定格式,以及在所述附件符合所述指定格式时确认所述邮件为所述核验邮件。
- 如权利要求8所述的服务器,其特征在于,所述指定格式具体为核验单图片,所述确认子模块具体用于:判断所述附件中是否包含图片文件,并在所述附件包含图片文件时判断所述图片文件与预设的模板核验单图片之间的相似度是否超过预设的阈值,以及在判断结果为是时确定所述附件符合所述指定格式。
- 如权利要求8所述的服务器,其特征在于,所述判断子模块具体用于:通过预设的正则表达式检测所述标题信息中是否存在类型为域名的信息,并在判断结果为存在时通过所述正则表达式提取所述信息,将所述信息作为所述特定识别信息。
- 如权利要求9所述的服务器,其特征在于,所述确认子模块判断所述图片文件与预设的模板核验单图片之间的相似度是否超过预设的阈值,具体为:分别在所述图片文件以及所述模板核验单图片中指定位置的图像随机提取指定数量的特征,根据所述特征分别生成所述图片文件以及所述模板核验单图片的特征值;判断所述特征值之间的差值的绝对值是否小于所述阈值;若是,确认所述图片文件与预设的模板核验单图片之间的相似度未超过预设的阈值;若否,确认所述图片文件与预设的模板核验单图片之间的相似度超过预设的阈值。
- 如权利要求7所述的服务器,其特征在于,所述邮箱地址在由所述发送用户注册生成后被用于在所述第三方系统中注册,所述核验模块具体用于:根据所述邮箱地址查询所述发送用户是否在所述第三方系统中注册,并在查询结果为是时将所述核验信息、所述邮箱地址以及所述特定识别信息通过消息发送至所述第三方系统,以使所述第三方系统在收到所述消息后根据所述邮箱地址查询到所述发送用户,并将所述核验信息对应所发送用户进行入库处理,以及在查询结果为否时丢弃所述消息。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510791585.8 | 2015-11-17 | ||
CN201510791585.8A CN106713114B (zh) | 2015-11-17 | 2015-11-17 | 一种核验信息处理方法及设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017084513A1 true WO2017084513A1 (zh) | 2017-05-26 |
Family
ID=58717313
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/105006 WO2017084513A1 (zh) | 2015-11-17 | 2016-11-08 | 一种核验信息处理方法及服务器 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106713114B (zh) |
WO (1) | WO2017084513A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107172087A (zh) * | 2017-06-30 | 2017-09-15 | 北京小米移动软件有限公司 | 基于验证邮件的验证方法、装置及存储介质 |
CN111353744B (zh) * | 2020-03-05 | 2023-12-08 | 深圳市赤狐软件技术有限公司 | 基于图像识别的货物签收单数据存储方法及装置 |
CN113329016A (zh) * | 2021-05-28 | 2021-08-31 | 北京天空卫士网络安全技术有限公司 | 一种处理邮件的方法和装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102195989A (zh) * | 2011-06-15 | 2011-09-21 | 中国电信股份有限公司 | 电子邮件的处理方法和系统 |
CN103220213A (zh) * | 2013-04-23 | 2013-07-24 | 国网信息通信有限公司 | 一种邮件过滤方法和装置 |
CN103581151A (zh) * | 2012-08-07 | 2014-02-12 | 百度在线网络技术(北京)有限公司 | 对邮箱有效性进行在线验证的方法、系统和客户端 |
CN103634420A (zh) * | 2013-11-22 | 2014-03-12 | 北京极客优才科技有限公司 | 简历邮件筛选系统及方法 |
CN104935492A (zh) * | 2014-03-18 | 2015-09-23 | 阿里巴巴集团控股有限公司 | 一种邮件校验方法、装置和系统 |
-
2015
- 2015-11-17 CN CN201510791585.8A patent/CN106713114B/zh active Active
-
2016
- 2016-11-08 WO PCT/CN2016/105006 patent/WO2017084513A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102195989A (zh) * | 2011-06-15 | 2011-09-21 | 中国电信股份有限公司 | 电子邮件的处理方法和系统 |
CN103581151A (zh) * | 2012-08-07 | 2014-02-12 | 百度在线网络技术(北京)有限公司 | 对邮箱有效性进行在线验证的方法、系统和客户端 |
CN103220213A (zh) * | 2013-04-23 | 2013-07-24 | 国网信息通信有限公司 | 一种邮件过滤方法和装置 |
CN103634420A (zh) * | 2013-11-22 | 2014-03-12 | 北京极客优才科技有限公司 | 简历邮件筛选系统及方法 |
CN104935492A (zh) * | 2014-03-18 | 2015-09-23 | 阿里巴巴集团控股有限公司 | 一种邮件校验方法、装置和系统 |
Also Published As
Publication number | Publication date |
---|---|
CN106713114A (zh) | 2017-05-24 |
CN106713114B (zh) | 2020-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10361871B2 (en) | Electronic signature framework with enhanced security | |
US11588813B2 (en) | Systems and methods for biometric authentication using existing databases | |
US10135818B2 (en) | User biological feature authentication method and system | |
US11188635B2 (en) | File authentication method and apparatus | |
CN104468531B (zh) | 敏感数据的授权方法、装置和系统 | |
CN108011863B (zh) | 识别暴力破解的方法及装置 | |
US20150012988A1 (en) | Authentication method and authentication system | |
WO2016165536A1 (zh) | 一种身份验证方法和设备 | |
WO2015144058A1 (en) | Account binding processing method, apparatus and system | |
CN107733581B (zh) | 基于全网环境下的快速互联网资产特征探测方法及装置 | |
CN105847245B (zh) | 一种电子邮箱登录认证方法和装置 | |
JP6514721B2 (ja) | デュアルチャネル識別認証 | |
WO2017096921A1 (zh) | 一种通过社交关系进行身份验证的方法 | |
US9703982B2 (en) | Document distribution and interaction | |
WO2013091435A1 (zh) | 文件类型识别方法及文件类型识别装置 | |
CN104980402B (zh) | 一种识别恶意操作的方法及装置 | |
US9230103B2 (en) | System and method for registering users for communicating information on a web site | |
US20150312248A1 (en) | Identity authentication | |
US20160044045A1 (en) | Security verification method, apparatus, server and terminal device | |
US20220046012A1 (en) | Method and System for Verifying the Identity of a User | |
US20220141252A1 (en) | System and method for data filtering in machine learning model to detect impersonation attacks | |
JP2017532707A (ja) | アウト・オブ・バンド・データから導出されるデジタルフィンガープリント信号に基づくユーザ検証 | |
WO2017084513A1 (zh) | 一种核验信息处理方法及服务器 | |
WO2016169438A1 (zh) | 获取用户账号的方法和装置 | |
WO2019174354A1 (zh) | 认证方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16865690 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16865690 Country of ref document: EP Kind code of ref document: A1 |