WO2020015090A1 - Method and device for generating mail recording position information of sender, and storage medium - Google Patents

Method and device for generating mail recording position information of sender, and storage medium Download PDF

Info

Publication number
WO2020015090A1
WO2020015090A1 PCT/CN2018/104852 CN2018104852W WO2020015090A1 WO 2020015090 A1 WO2020015090 A1 WO 2020015090A1 CN 2018104852 W CN2018104852 W CN 2018104852W WO 2020015090 A1 WO2020015090 A1 WO 2020015090A1
Authority
WO
WIPO (PCT)
Prior art keywords
location information
signature
signed
mail
information
Prior art date
Application number
PCT/CN2018/104852
Other languages
French (fr)
Chinese (zh)
Inventor
王高华
余鹏
袁剑波
王荣端
高钜枝
余凌峰
Original Assignee
密信技术(深圳)有限公司
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 密信技术(深圳)有限公司 filed Critical 密信技术(深圳)有限公司
Publication of WO2020015090A1 publication Critical patent/WO2020015090A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Definitions

  • the present application relates to the field of electronic mail technology, and in particular, to a method, a device, and a computer-readable storage medium for generating a sender's location information email.
  • the main purpose of this application is to provide a method, device, and computer-readable storage medium for generating a sender's location information email, which aims to prove the true location information of the email sender when sending the email.
  • the present application provides a method for generating a sender's location information email.
  • the method for generating a sender's location information email includes the following steps:
  • the present application further provides a device for generating a sender's location information email, where the device includes: a memory, a processor, and stored on the memory and can run on the processor A mail generating program that, when executed by the processor, implements the steps of the method for generating a mail that records sender location information as described above.
  • the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a mail generating program, and the mail generating program is implemented by the processor to implement the above-mentioned Record the steps of the method for generating the sender's location information email.
  • An embodiment of the present application provides a method, an apparatus, and a computer-readable storage medium for generating a record of a sender's location information.
  • FIG. 1 is a schematic structural diagram of a terminal of a hardware operating environment involved in the solution according to an embodiment of the present application;
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for generating a location information email of a sender of this application;
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for generating a sender's location information email in this application;
  • FIG. 4 is a schematic flowchart of a third embodiment of a method for generating a sender's location information email in this application;
  • FIG. 5 is a schematic flowchart of a fourth embodiment of a method for generating a location information email of a sender of this application;
  • FIG. 6 is a schematic flowchart of a fifth embodiment of a method for generating a location information email of a sender of this application;
  • FIG. 7 is a schematic flowchart of a sixth embodiment of a method for generating a sender's location information email in this application;
  • FIG. 8 is a schematic flowchart of a seventh embodiment of a method for generating a sender's location information email in this application;
  • FIG. 9 is a schematic flowchart of an eighth embodiment of a method for generating a sender's location information email in this application.
  • An embodiment of the present application provides a method for generating a sender's location information email, which obtains current location information of a sending device of the email and inserts the location information into a signed attribute of a signed email, thereby solving the problem that the prior art cannot Technical issues with inserting location information into emails.
  • FIG. 1 is a schematic structural diagram of a terminal of a hardware operating environment involved in the solution of the embodiment of the present application.
  • the terminal may be a PC and / or an intelligent mobile terminal.
  • the terminal may include a processor 1001, such as a CPU, a communication bus 1002, a display 1003, a network interface 1004, and a memory 1005.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the memory 1005 may be a high-speed RAM memory or a non-volatile memory. memory), such as disk storage.
  • the memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
  • terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or some components may be combined, or different components may be arranged.
  • the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a mail generating program.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect to the client (user) and perform data communication with the client, thereby achieving The purpose of the client to output data;
  • the processor 1001 can be used to call the mail generating program stored in the memory 1005 and perform the following operations:
  • the method for generating a sender's location information email includes: Collins
  • Step S10 Acquire the current positioning information of the device as the position information.
  • the device positioning information is first obtained as the position information, where the positioning information is directly obtained through the bottom layer, and the mail sending end cannot customize the change.
  • the Android platform supports the API (Application Programming) that provides location services Interface (Application Programming Interface), so during the development process, two objects, LocationManager (Location Manager) and LocationProviders (Location Providers), can be used to obtain the current location information of the device.
  • API Application Programming
  • LocationManager Location Manager
  • LocationProviders Location Providers
  • the application can directly obtain the current location information (current latitude and longitude information) of the device through the LocationManager (Location Manager) class. Then, the positioning information is converted into position information (that is, the latitude and longitude information is converted into corresponding general location information such as a country, region, and street).
  • the current system is the iOS system
  • the CoreLocation (co-location) library due to the built-in positioning function of the iOS system, after importing the CoreLocation (co-location) library during development, it can be obtained using CLLocationManager (the location manager of the iOS system, that is, the second location manager) Location information.
  • CLLocationManager the location manager of the iOS system, that is, the second location manager
  • the prompt information that the email cannot be generated because the location information cannot be obtained is output, otherwise the current location information of the device is obtained through the CLLocationManager class, and then the location information is converted into location information.
  • the current system is a Windows system
  • the data access right of the third-party positioning application for example, Gaode map
  • the current IP address of the device obtains the third-party application data access right or the device's current
  • read the positioning information of the third-party application for example, read "My Location” stored on the Gaode map
  • calculate the current positioning information of the device from the IP address uses the positioning Information as location information.
  • the step of obtaining the location information is performed at the bottom layer, and the obtained location information cannot be changed.
  • Step S20 Add the location information to a signed attribute of a mail signature, and calculate a characteristic value of the signed attribute;
  • the location information when the location information is obtained, the location information is used as a data item in a signed attribute of a signed mail, inserted into the signed attribute, and then the signed attribute of the inserted location information is calculated.
  • Eigenvalues when the location information is obtained, the location information is used as a data item in a signed attribute of a signed mail, inserted into the signed attribute, and then the signed attribute of the inserted location information is calculated.
  • the SignerInfos may include a signer digital certificate identification, a hash algorithm of the original message, a signed attribute (SignedAttrs), a signature algorithm, a result after signing the private key, and an unsigned attribute (UnSignedAttrs).
  • the signed attribute when the signed attribute is generated, when the signed attribute is generated, a hash value of the original text is first calculated, and then the location information of the device is obtained, and the hash value of the original text and the location information are encapsulated.
  • the signed attributes may also include a signature time, a signature algorithm supported by a signer, a symmetric encryption algorithm, and a set of key encryption algorithms.
  • the location information into the signed attribute when inserting the location information into the signed attribute, first determine a corresponding item of the location information in the signed attribute, and add an object identifier (OID, Object) of the corresponding item.
  • OID object identifier
  • Identifier for example, the OID may be 1.3.6.1.4.1.50775.2.8).
  • a characteristic value of the signed attribute that is, a hash value of the signed attribute is calculated to apply a signer's signature private key.
  • Step S30 Sign the characteristic value by using a signature certificate of the device to generate signature data
  • Step S40 Generate a signature mail according to the feature value and the signature data.
  • the step S10 includes:
  • Step S11 When the current system is the Android system and the positioning permission of the Android system is obtained, obtain the current latitude and longitude information of the device through a first location manager class;
  • Step S12 Determine the location information according to the current latitude and longitude information.
  • the API Application Programming Interface (Application Programming Interface)
  • two objects LocationManager (Location Manager) and LocationProviders (Location Providers) can be used to obtain the current location information of the device.
  • Get positioning permission first android.permision.ACCESS_FINE_LOCATION, where the permission can be customized by the user.
  • the application can directly obtain the current location information (current latitude and longitude information) of the device through the LocationManager (Location Manager) class. Then, the positioning information is converted into position information (that is, the latitude and longitude information is converted into corresponding general location information such as a country, region, and street).
  • the positioning authority of the system is obtained first, and then the current positioning information of the device is obtained, and then the location information is determined, so that the reliability of the obtained location information is improved.
  • step S10 further includes:
  • Step S13 When the current system is the iOS system and the positioning permission of the iOS system is obtained, obtain the current latitude and longitude information of the device through a second location manager class;
  • Step S14 Determine the position information according to the current latitude and longitude information.
  • the positioning permission under iOS is obtained first, then the positioning information is obtained according to the positioning permission, and the location information is determined according to the positioning information. This achieves the purpose of obtaining reliable location information under the iOS system, and improves the Compatibility and reliability of location information.
  • step S10 further includes:
  • Step S15 Obtain a third-party application data access right or the current IP address of the device
  • the access right of the third-party application data of the Windows system (for example, the right to access Gaode map data) is obtained, or the current IP address of the device is obtained.
  • the third-party data access right of the device and the current IP address can be obtained at the same time.
  • Step S16 When the third-party application data access right or the current IP address of the device is obtained, read the current location information saved by the third-party application or calculate the location information corresponding to the IP address;
  • Step S17 Use the current location information or location information corresponding to the IP address as the location information.
  • the access right of the third data is obtained, the data of the third-party application is read, and the current positioning information is determined according to the data of the third-party application. For example, reading data of a high German map that is currently installed in the system, where the data of the high German map may include "my location", that is, current location information. Then, the current device positioning information is determined according to the determined positioning information of the third-party application.
  • a database of address information corresponding to the IP address may be generated in advance, and then the positioning information is queried in the database according to the IP address, or may be through a network , Querying the positioning information corresponding to the IP address in a third-party database.
  • the positioning information corresponding to the IP address and the positioning information determined according to a third-party application are used as the location information.
  • the positioning information may also be obtained directly through the positioning module.
  • the access right or IP address of the third-party application data is obtained first, and then the location information is determined according to the data or IP address of the third-party application, so that when the device does not have a positioning module, the current positioning of the device is obtained.
  • the purpose of the information is obtained.
  • step S20 further includes:
  • Step S21 Determine a corresponding item of the location information in the signed attribute
  • Step S22 Add the object identifier of the corresponding item for a third-party application at the receiving end of the signed email to obtain the location information through the object identifier.
  • the signed attributes may include a signing time, a signer's encryption certificate, a hash of the original message, data type, location information, a signature algorithm supported by the signer, a symmetric encryption algorithm, and a set of key encryption algorithms.
  • an AIA Program Source File Format
  • ASN.1 information system network (information system network) structure generates an extension containing location information, and its OID can be 1.3.6.1.4.1.50775.2.8.
  • the purpose of the information is to improve the compatibility of the location information.
  • a sixth embodiment of a method for generating a sender's location information email according to the present application. Based on the first to fifth embodiments, the method for generating a sender's location information email further includes:
  • Step S50 When receiving the signed mail, verify whether the signature of the signed mail is valid
  • Step S60 When the signature of the signed email is valid, parse out the location information carried in the signed email.
  • a mail when a mail is received, it is first determined whether the mail is a signed mail.
  • the mail is a signed mail, obtain signature data of the signed mail, and verify whether the signature of the signed mail is valid according to the signature data of the signed mail.
  • the location information is determined to be tampered, and then the signature data carried in the signed email is parsed.
  • first verify whether the signature of the signed mail is valid determine that the location information has not been tampered with when the signature is valid, and then parse out the location information, so that the reliability of the location information received by the receiver is improved.
  • step S50 includes:
  • Step S51 When the signed signature certificate exists, determine whether the signature time of the signature is within the permitted time of the signed certificate;
  • the signature certificate exists determine whether the signature time of the signature is within the permission time of the signature certificate. Otherwise, determine that the signature is invalid. .
  • a certificate chain of a signature certificate carried in the signed email is obtained, and then whether the signature certificate exists is determined according to the certificate chain of the signature certificate.
  • the signature certificate exists, obtain the validity time (ie, the permission time) of the signature certificate and the signature time in the signed attribute, and determine whether the signature time is within the validity time. Otherwise, it is determined that the signature is invalid.
  • Step S52 When the signature time is within the permission time, calculate a hash value of the original text of the signed email;
  • the signature time when the signature time is within the permission time, the original text content and a hash algorithm of the original text are obtained, and a hash of the original text is calculated according to the hash algorithm of the original text. value. And comparing the calculated hash value of the original text with the Message carried in the signed email Digest (message digest) is the same.
  • Message Digest is a common sense component of signed emails and will not be described again.
  • Step S53 When the original hash value is the same as the message digest, decrypt the signature according to the signature certificate;
  • the public key of the signing certificate is obtained to decrypt the signature of the signed mail, and the decryption result is signed with signedAttributes (signed Attribute).
  • Step S54 When the decryption result is the same as the hash value of the signed attribute, determine that the signature is valid.
  • the signature when the decryption result is the same as the hash value in signedAttributes, the signature is determined to be valid. Otherwise, it is determined that the signature is invalid.
  • first determine whether a signature certificate exists determine whether the signature time is valid when the signature certificate exists, and determine whether the original hash value is the same as the message digest when the signature time is valid.
  • determine the decryption Whether the result is the same as the hash value determines the decryption Whether the result is the same as the hash value, and then the signature is determined to be valid when the hash value is the same.
  • an eighth embodiment of a method for generating a sender's location information email according to the present application. Based on the first to seventh embodiments, after step S60, the method further includes:
  • Step S70 According to the object identifier, read the location information carried in the signed email through the third-party application, and display the location information on a map.
  • a third-party application upon receiving the signed email, a third-party application (which may be a map application, such as Gaode Map, Baidu Map, etc.) obtains the object identifier of the location information carried by the signed attribute in the signed email Character (for example, ID: 1.3.6.1.4.1.50775.2.8), and then obtain the location information from the signed attributes according to the object identifier.
  • the position information is displayed on a map.
  • the position information is converted into a country, region, or street in a map and displayed.
  • a third-party application when receiving a signed email carrying location information, a third-party application can obtain the location information according to the object identifier and display it on the map, so that the location information can be displayed more intuitively.
  • an embodiment of the present application further provides a device for generating a sender's position information email, where the device includes: a memory, a processor, and a mail generator stored on the memory and capable of running on the processor.
  • a program that, when executed by the processor, implements the steps of the method for generating a mail that records sender location information as described above.
  • an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a mail generating program, and when the mail generating program is executed by a processor, the mail generating program is implemented as described in the foregoing embodiment. Record the steps of the method for generating the sender's location information email.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present application discloses a method for generating a mail recording position information about a sender, said method comprising the following steps: acquiring the current positioning information about a device as position information; adding the position information to the signed attribute of a mail signature, and calculating the characteristic value of the signed attribute; signing the characteristic value by means of a signature certificate of the device, so as to generate signature data; and according to the characteristic value and the signature data, generating a signature mail. The present application further discloses a device for generating a mail recording position information about a sender, and a computer readable storage medium.

Description

记录发送者位置信息邮件的生成方法、装置及存储介质  Method, device and storage medium for generating sender position information email Ranch
技术领域Technical field
本申请涉及电子邮件技术领域,尤其涉及一种记录发送者位置信息邮件的生成方法、装置及计算机可读存储介质。The present application relates to the field of electronic mail technology, and in particular, to a method, a device, and a computer-readable storage medium for generating a sender's location information email.
背景技术Background technique
随着通信技术的发展,电子邮件也在不断发展,从最早的明文邮件到现在的加密邮件、签名邮件。用户越来越重视电子邮件的保密性和真实性。但仅仅对邮件进行加密签名已经无法满足人们的需求的。在现有技术中,由于电子邮件不携带发送者地理位置信息,因此,在邮件接收者需要获悉邮件发送者发送邮件时的真实位置信息,或者邮件发送者需要向邮件接收者证明自己发送邮件时的位置时,现有电子邮件技术无法满足用户的需求。With the development of communication technology, e-mail is also constantly developing, from the earliest plain text mail to the present encrypted mail and signed mail. Users increasingly value the confidentiality and authenticity of email. But simply encrypting and signing emails is no longer sufficient. In the prior art, because the email does not carry the geographic location information of the sender, the mail receiver needs to know the real location information when the mail sender sends the mail, or when the mail sender needs to prove to the mail receiver that he sent the mail Location, existing email technology cannot meet user needs.
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solution of the present application, and does not mean that the above content is prior art.
发明内容Summary of the invention
本申请的主要目的在于提供一种记录发送者位置信息邮件的生成方法、装置及计算机可读存储介质,旨在实现证明电子邮件发送者发送邮件时的真实位置信息的目的。The main purpose of this application is to provide a method, device, and computer-readable storage medium for generating a sender's location information email, which aims to prove the true location information of the email sender when sending the email.
为实现上述目的,本申请提供一种记录发送者位置信息邮件的生成方法,所述记录发送者位置信息邮件的生成方法包括如下步骤:To achieve the above objective, the present application provides a method for generating a sender's location information email. The method for generating a sender's location information email includes the following steps:
获取设备当前定位信息作为位置信息;Obtaining the current positioning information of the device as the position information;
将所述位置信息添加至邮件签名的已签署属性中,并计算所述已签署属性的特征值;Adding the location information to a signed attribute of a mail signature, and calculating a characteristic value of the signed attribute;
通过所述设备的签名证书对所述特征值进行签名,生成签名数据;以及Signing the characteristic value with a signature certificate of the device to generate signature data; and
根据所述特征值和所述签名数据生成签名邮件。Generate a signed mail according to the feature value and the signature data.
此外,为实现上述目的,本申请还提供一种记录发送者位置信息邮件的生成装置,其中,所述装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的邮件生成程序,所述邮件生成程序被所述处理器执行时实现如上所述的记录发送者位置信息邮件的生成方法的步骤。In addition, in order to achieve the above-mentioned object, the present application further provides a device for generating a sender's location information email, where the device includes: a memory, a processor, and stored on the memory and can run on the processor A mail generating program that, when executed by the processor, implements the steps of the method for generating a mail that records sender location information as described above.
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有邮件生成程序,所述邮件生成程序被处理器执行时实现如上所述的记录发送者位置信息邮件的生成方法的步骤。In addition, in order to achieve the above object, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a mail generating program, and the mail generating program is implemented by the processor to implement the above-mentioned Record the steps of the method for generating the sender's location information email.
本申请实施例提出的一种记录发送者位置信息邮件的生成方法、装置和计算机可读存储介质,通过获取设备当前定位信息作为位置信息,并将所述位置信息添加至邮件签名的已签署属性中,然后计算所述已签署属性的特征值,进而通过所述设备的签名证书对所述特征值进行签名,生成签名数据,最后根据所述特征值和所述签名数据生成签名邮件。这样,实现了在签名邮件的已签署属性中插入位置信息的目的,从而解决了现有技术无法再电子邮件中插入位置信息的技术问题。An embodiment of the present application provides a method, an apparatus, and a computer-readable storage medium for generating a record of a sender's location information. By acquiring current location information of a device as the location information, and adding the location information to a signed attribute of a mail signature Then, the feature value of the signed attribute is calculated, and then the feature value is signed by the device's signing certificate, signature data is generated, and a signed email is finally generated according to the feature value and the signature data. In this way, the purpose of inserting the location information into the signed attributes of the signed mail is achieved, thereby solving the technical problem that the prior art cannot insert the location information into the email.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例方案涉及的硬件运行环境的终端结构示意图;FIG. 1 is a schematic structural diagram of a terminal of a hardware operating environment involved in the solution according to an embodiment of the present application;
图2为本申请记录发送者位置信息邮件的生成方法第一实施例的流程示意图;FIG. 2 is a schematic flowchart of a first embodiment of a method for generating a location information email of a sender of this application;
图3为本申请记录发送者位置信息邮件的生成方法第二实施例的流程示意图;3 is a schematic flowchart of a second embodiment of a method for generating a sender's location information email in this application;
图4为本申请记录发送者位置信息邮件的生成方法第三实施例的流程示意图;4 is a schematic flowchart of a third embodiment of a method for generating a sender's location information email in this application;
图5为本申请记录发送者位置信息邮件的生成方法第四实施例的流程示意图;FIG. 5 is a schematic flowchart of a fourth embodiment of a method for generating a location information email of a sender of this application;
图6为本申请记录发送者位置信息邮件的生成方法第五实施例的流程示意图;FIG. 6 is a schematic flowchart of a fifth embodiment of a method for generating a location information email of a sender of this application;
图7为本申请记录发送者位置信息邮件的生成方法第六实施例的流程示意图;7 is a schematic flowchart of a sixth embodiment of a method for generating a sender's location information email in this application;
图8为本申请记录发送者位置信息邮件的生成方法第七实施例的流程示意图;8 is a schematic flowchart of a seventh embodiment of a method for generating a sender's location information email in this application;
图9为本申请记录发送者位置信息邮件的生成方法第八实施例的流程示意图。FIG. 9 is a schematic flowchart of an eighth embodiment of a method for generating a sender's location information email in this application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the purpose of this application will be further described with reference to the embodiments and the drawings.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application.
本申请实施例的主要解决方案是:The main solutions of the embodiments of the present application are:
获取设备当前定位信息作为位置信息;Obtaining the current positioning information of the device as the position information;
将所述位置信息添加至邮件签名的已签署属性中,并计算所述已签署属性的特征值;Adding the location information to a signed attribute of a mail signature, and calculating a characteristic value of the signed attribute;
通过所述设备的签名证书对所述特征值进行签名,生成签名数据;Signing the characteristic value by using a signature certificate of the device to generate signature data;
根据所述特征值和所述签名数据生成签名邮件Generate a signed email based on the feature value and the signature data
由于现有技术无法实现在电子邮件中插入发送者的位置信息。Due to the existing technology, it is impossible to insert the location information of the sender in the email.
本申请实施例提出的一种记录发送者位置信息邮件的生成方法,通过获取邮件发送设备的当前定位信息,并把所述定位信息插入签名邮件的已签署属性中,从而解决了现有技术无法在电子邮件中插入位置信息的技术问题。 An embodiment of the present application provides a method for generating a sender's location information email, which obtains current location information of a sending device of the email and inserts the location information into a signed attribute of a signed email, thereby solving the problem that the prior art cannot Technical issues with inserting location information into emails. Ranch
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1, FIG. 1 is a schematic structural diagram of a terminal of a hardware operating environment involved in the solution of the embodiment of the present application.
本申请实施例终端可以为PC机及/或智能移动终端等。In the embodiment of the present application, the terminal may be a PC and / or an intelligent mobile terminal.
如图1所示,该终端可以包括:处理器1001,例如CPU,通信总线1002,显示器1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the terminal may include a processor 1001, such as a CPU, a communication bus 1002, a display 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement connection and communication between these components. The memory 1005 may be a high-speed RAM memory or a non-volatile memory. memory), such as disk storage. The memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or some components may be combined, or different components may be arranged.
如图1所示,作为一种计算机可读存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及邮件生成程序。As shown in FIG. 1, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a mail generating program.
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信,进而实现通过客户端输出数据的目的;而处理器1001可以用于调用存储器1005中存储的邮件生成程序,并执行以下操作:In the terminal shown in FIG. 1, the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly used to connect to the client (user) and perform data communication with the client, thereby achieving The purpose of the client to output data; and the processor 1001 can be used to call the mail generating program stored in the memory 1005 and perform the following operations:
获取设备当前定位信息作为位置信息;Obtaining the current positioning information of the device as the position information;
将所述位置信息添加至邮件签名的已签署属性中,并计算所述已签署属性的特征值;Adding the location information to a signed attribute of a mail signature, and calculating a characteristic value of the signed attribute;
通过所述设备的签名证书对所述特征值进行签名,生成签名数据;Signing the characteristic value by using a signature certificate of the device to generate signature data;
根据所述特征值和所述签名数据生成签名邮件Generate a signed email based on the feature value and the signature data
参照图2,本申请记录发送者位置信息邮件的生成方法第一实施例,所述记录发送者位置信息邮件的生成方法包括: Referring to FIG. 2, a first embodiment of a method for generating a sender's location information email according to the present application. The method for generating a sender's location information email includes: Ranch
步骤S10、获取设备当前定位信息作为位置信息;Step S10: Acquire the current positioning information of the device as the position information.
在本实施例中,先获取设备定位信息作为位置信息,其中所述定位信息直接通过底层获取,邮件发送端无法自定义更改。In this embodiment, the device positioning information is first obtained as the position information, where the positioning information is directly obtained through the bottom layer, and the mail sending end cannot customize the change.
具体地,在当前系统为Android系统时,由于Android平台下支持提供位置服务的API(Application Programming Interface,应用程序编程接口),因而在开发过程可以运用LocationManager(位置管理器)和LocationProviders(位置提供者)两个对象,获取设备的当前定位信息。Specifically, when the current system is the Android system, since the Android platform supports the API (Application Programming) that provides location services Interface (Application Programming Interface), so during the development process, two objects, LocationManager (Location Manager) and LocationProviders (Location Providers), can be used to obtain the current location information of the device.
例如:先添加访问位置信息权限android.permision.ACCESS_FINE_LOCATION,其中所述权限可以由用户自定义开关,当用户选择关闭所述权限时,输出因无法获取位置信息而无法生成邮件的提示信息。当权限开启时,应用程序通过LocationManager(位置管理器)类,可以直接获取到设备的当前定位信息(当前经纬度信息)。然后将所述定位信息转换为位置信息(即将所述经纬度信息转换为对应的国家、区域、街道等常规位置信息)。For example: first add the permission to access location information android.permision.ACCESS_FINE_LOCATION, where the permission can be customized by the user. When the user chooses to turn off the permission, output the prompt message that the email cannot be generated because the location information cannot be obtained. When the permission is enabled, the application can directly obtain the current location information (current latitude and longitude information) of the device through the LocationManager (Location Manager) class. Then, the positioning information is converted into position information (that is, the latitude and longitude information is converted into corresponding general location information such as a country, region, and street).
在当前系统为iOS系统时,由于iOS系统自带定位功能,在开发过程中导入CoreLocation(共定位)库后,可以使用CLLocationManager(iOS系统的位置管理器,即所述第二位置管理器)获取定位信息。When the current system is the iOS system, due to the built-in positioning function of the iOS system, after importing the CoreLocation (co-location) library during development, it can be obtained using CLLocationManager (the location manager of the iOS system, that is, the second location manager) Location information.
例如:先获取定位权限,其中用户可以通过客户端控制是否允许使用所述定位权限。在用户不允许使用所述定位权限时,输出因无法获取位置信息而无法生成邮件的提示信息,否则通过CLLocationManager类获取设备的当前定位信息,然后将所述定位信息转换为位置信息。For example, first obtain a positioning right, where a user can control whether to use the positioning right through a client. When the user is not allowed to use the positioning permission, the prompt information that the email cannot be generated because the location information cannot be obtained is output, otherwise the current location information of the device is obtained through the CLLocationManager class, and then the location information is converted into location information.
在当前系统为Windows系统时,先获取当前系统搭载的第三方定位应用(例如,高德地图)的数据访问权限或者设备的当前IP地址,在获取到第三方应用数据访问权限,或者设备的当前IP地址时,读取所述第三方应用的定位信息(例如,读取高德地图保存的“我的位置”),或者通过所述IP地址计算设备的当前定位信息,然后再将所述定位信息作为位置信息。When the current system is a Windows system, first obtain the data access right of the third-party positioning application (for example, Gaode map) or the current IP address of the device, and obtain the third-party application data access right or the device's current When the IP address is used, read the positioning information of the third-party application (for example, read "My Location" stored on the Gaode map), or calculate the current positioning information of the device from the IP address, and then use the positioning Information as location information.
需要说明的是,为保障位置信息的可靠性,所述位置信息获取的步骤在底层进行,并且获取到的所述位置信息不可以进行更改。It should be noted that, to ensure the reliability of the location information, the step of obtaining the location information is performed at the bottom layer, and the obtained location information cannot be changed.
步骤S20、将所述位置信息添加至邮件签名的已签署属性中,并计算所述已签署属性的特征值;Step S20: Add the location information to a signed attribute of a mail signature, and calculate a characteristic value of the signed attribute;
在本实施例中,在获取到位置信息时,将所述位置信息作为签名邮件的已签署属性中的数据项,插入所述已签署属性中,然后计算所述已插入位置信息的已签署属性的特征值。In this embodiment, when the location information is obtained, the location information is used as a data item in a signed attribute of a signed mail, inserted into the signed attribute, and then the signed attribute of the inserted location information is calculated. Eigenvalues.
具体地,先创建签名邮件的主结构,其中所述主结构包括签名邮件的数据类型和数数据内容,然后创建数据内容的SignData(签名数据),其中所述SignData包括签名数据的版本号、签名算法、已签名的内容、签名证书的证书链、签名证书的CRL(Certificate Revocation List ,证书吊销列表)以及SignerInfos(签名者的信息)。所述SignerInfos可以包括签名者数字证书标识、邮件原文的哈希(hash)算法、已签署属性(SignedAttrs)、签名算法、私钥签名后的结果以及未签名属性(UnSignedAttrs)。进一步地,在生成所述已签署属性时,所述已签署属性在生成时,先计算原文的哈希值,然后获取设备的位置信息,将所述原文的哈希值和所述位置信息封装进所述已签署属性中。另外,所述已签署属性还可以包括签名时间以及签名者支持的签名算法、对称加密算法和密钥加密算法集合等。Specifically, first create a main structure of the signed mail, where the main structure includes the data type and data content of the signed mail, and then create a SignData (signature data) of the data content, where the SignData includes the version number of the signed data, the signature Algorithm, signed content, certificate chain of signing certificate, CRL (Certificate of signing certificate) Revocation List , Certificate revocation list) and SignerInfos. The SignerInfos may include a signer digital certificate identification, a hash algorithm of the original message, a signed attribute (SignedAttrs), a signature algorithm, a result after signing the private key, and an unsigned attribute (UnSignedAttrs). Further, when the signed attribute is generated, when the signed attribute is generated, a hash value of the original text is first calculated, and then the location information of the device is obtained, and the hash value of the original text and the location information are encapsulated. Into the signed properties. In addition, the signed attributes may also include a signature time, a signature algorithm supported by a signer, a symmetric encryption algorithm, and a set of key encryption algorithms.
另外,在将所述位置信息插入所述已签署属性中时,先确定所述位置信息在所述已签署属性中的对用项,并添加所述对应项的对象标识符(OID,Object Identifier,例如所述OID可以为1.3.6.1.4.1.50775.2.8)。In addition, when inserting the location information into the signed attribute, first determine a corresponding item of the location information in the signed attribute, and add an object identifier (OID, Object) of the corresponding item. Identifier, for example, the OID may be 1.3.6.1.4.1.50775.2.8).
在生成所述已签署属性后,计算所述已签署属性的特征值,即所述已签署属性的哈希值,以适用签名者的签名私钥。After the signed attribute is generated, a characteristic value of the signed attribute, that is, a hash value of the signed attribute is calculated to apply a signer's signature private key.
步骤S30、通过所述设备的签名证书对所述特征值进行签名,生成签名数据;Step S30: Sign the characteristic value by using a signature certificate of the device to generate signature data;
步骤S40、根据所述特征值和所述签名数据生成签名邮件。Step S40: Generate a signature mail according to the feature value and the signature data.
在本实施例中,在通过计算获得所述已签署属性的特征值后,通过设备的签名证书对所述特征值进行签名,生成签名数据,然后基于所述签名值和所述签名数据生成签名邮件。In this embodiment, after obtaining the signature value of the signed attribute through calculation, signing the signature value with a device's signature certificate, generating signature data, and then generating a signature based on the signature value and the signature data mail.
在本实施例中,先获取当前位置信息,然后将所述位置信息插入至签名邮件的已签署属性中,生成签名数据,最后根据所述签名数据生成签名邮件,这样实现可生成携带位置信息的邮件,解决了现有技术无法实现在邮件中添加地理位置的技术问题。In this embodiment, first obtain the current location information, then insert the location information into the signed attributes of the signed email to generate signature data, and finally generate a signed email based on the signed data. Mail, which solves the technical problem that the existing technology cannot add geographic locations to mail.
进一步地,参照图3,本申请记录发送者位置信息邮件的生成方法第二实施例,基于上述第一实施例,所述步骤S10包括:Further, referring to FIG. 3, a second embodiment of a method for generating a sender's location information email according to the present application. Based on the above first embodiment, the step S10 includes:
步骤S11、在当前系统为Android系统且获取到所述Android系统的定位权限时,通过第一位置管理器类获取所述设备的当前经纬度信息;Step S11: When the current system is the Android system and the positioning permission of the Android system is obtained, obtain the current latitude and longitude information of the device through a first location manager class;
步骤S12、根据所述当前经纬度信息确定所述位置信息。Step S12: Determine the location information according to the current latitude and longitude information.
在本实施例中,在当前系统为Android系统时,由于Android平台下支持提供位置服务的API(Application Programming Interface,应用程序编程接口),因而在开发过程可以运用LocationManager(位置管理器)和LocationProviders(位置提供者)两个对象,获取设备的当前定位信息。In this embodiment, when the current system is an Android system, the API (Application Programming Interface (Application Programming Interface), so during the development process, two objects, LocationManager (Location Manager) and LocationProviders (Location Providers), can be used to obtain the current location information of the device.
例如:先获取定位权限 android.permision.ACCESS_FINE_LOCATION,其中所述权限可以由用户自定义开关,当用户选择关闭所述权限时,输出因无法获取位置信息而无法生成邮件的提示信息。当权限开启时,应用程序通过LocationManager(位置管理器)类,可以直接获取到设备的当前定位信息(当前经纬度信息)。然后将所述定位信息转换为位置信息(即将所述经纬度信息转换为对应的国家、区域、街道等常规位置信息)。For example: Get positioning permission first android.permision.ACCESS_FINE_LOCATION, where the permission can be customized by the user. When the user chooses to turn off the permission, it outputs a prompt message that the email cannot be generated because the location information cannot be obtained. When the permission is enabled, the application can directly obtain the current location information (current latitude and longitude information) of the device through the LocationManager (Location Manager) class. Then, the positioning information is converted into position information (that is, the latitude and longitude information is converted into corresponding general location information such as a country, region, and street).
需要说明的是,本申请所述法至少适用于Android、iOS及 Windows系统。It should be noted that the method described in this application is applicable to at least Android, iOS and Windows systems.
在本实施例中,先获取系统的定位权限,然后获取设备当前定位信息,进而确定所述位置信息,这样使得获取到的位置信息的可靠性提高。In this embodiment, the positioning authority of the system is obtained first, and then the current positioning information of the device is obtained, and then the location information is determined, so that the reliability of the obtained location information is improved.
进一步地,参照图4,本申请记录发送者位置信息邮件的生成方法第三实施例,基于上述第一实施例,所述步骤S10还包括:Further, referring to FIG. 4, a third embodiment of a method for generating a sender's location information email according to the present application. Based on the first embodiment, step S10 further includes:
步骤S13、在当前系统为iOS系统且获取到所述iOS系统的定位权限时,通过第二位置管理器类获取所述设备的当前经纬度信息;Step S13: When the current system is the iOS system and the positioning permission of the iOS system is obtained, obtain the current latitude and longitude information of the device through a second location manager class;
步骤S14、根据所述当前经纬度信息确定所述位置信息。Step S14: Determine the position information according to the current latitude and longitude information.
需要说明的是,在开发过程中,针对不同的系统(例如:Android系统、iOS系统或Windows系统)采用不同的位置获取方法。可以理解的,在当前系统为iOS系统时,其设备安装的位置获取程序必然为iOS系统对应的位置获取程序。It should be noted that during the development process, different location acquisition methods are adopted for different systems (for example: Android system, iOS system, or Windows system). Understandably, when the current system is an iOS system, the location acquisition program installed on the device must be a location acquisition program corresponding to the iOS system.
在开发iOS系统对用的程序时,其解决iOS系统下获取定位信息的可以通过导入CoreLocation(共定位)库后,使用CLLocationManager(iOS系统的位置管理器,即所述第二位置管理器)获取定位信息。When developing a program for the iOS system, which solves the problem of obtaining positioning information under the iOS system, it can be obtained by importing the CoreLocation (co-location) library and using CLLocationManager (the location manager of the iOS system, that is, the second location manager). Location information.
在本实施例中,先获取iOS下的定位权限,然后根据所述定位权限获取定位信息,并根据所述定位信息确定位置信息,这样实现了在iOS系统下获取可靠位置信息的目的,提高了兼容性和位置信息的可靠性。In this embodiment, the positioning permission under iOS is obtained first, then the positioning information is obtained according to the positioning permission, and the location information is determined according to the positioning information. This achieves the purpose of obtaining reliable location information under the iOS system, and improves the Compatibility and reliability of location information.
进一步地,参照图5,本申请记录发送者位置信息邮件的生成方法第四实施例,基于上述第一实施例,所述步骤S10还包括:Further, referring to FIG. 5, a fourth embodiment of a method for generating a sender's location information email according to the present application. Based on the first embodiment, step S10 further includes:
步骤S15、获取第三方应用数据访问权限或者所述设备的当前IP地址;Step S15: Obtain a third-party application data access right or the current IP address of the device;
在本实施例中,在当前系统为Windows系统时,获取Windows系统第三方应用数据的访问权限(例如,获取访问高德地图数据的权限),或者获取设备的当前IP地址。In this embodiment, when the current system is a Windows system, the access right of the third-party application data of the Windows system (for example, the right to access Gaode map data) is obtained, or the current IP address of the device is obtained.
需要说明的是,可以同时获取设备第三方数据访问权限和当前IP地址。It should be noted that the third-party data access right of the device and the current IP address can be obtained at the same time.
步骤S16、在获取到第三方应用数据访问权限,或者所述设备的当前IP地址时,读取第三方应用保存的当前位置信息,或者计算所述IP地址对应的位置信息;Step S16: When the third-party application data access right or the current IP address of the device is obtained, read the current location information saved by the third-party application or calculate the location information corresponding to the IP address;
步骤S17、将所述当前位置信息或者所述IP地址对应的位置信息作为所述位置信息。Step S17: Use the current location information or location information corresponding to the IP address as the location information.
在本实施例中,当获取到所述第三数据的访问权限时,读取所述第三方应用的数据,根据所述第三方应用的数据确定当前定位信息。例如,读取当前系统已经安装的高德地图的数据,其中所述高德地图的数据可以包括“我的位置”,即当前定位信息。进而根据第三方应用的确定的定位信息,确定当前设备定位信息。In this embodiment, when the access right of the third data is obtained, the data of the third-party application is read, and the current positioning information is determined according to the data of the third-party application. For example, reading data of a high German map that is currently installed in the system, where the data of the high German map may include "my location", that is, current location information. Then, the current device positioning information is determined according to the determined positioning information of the third-party application.
在获取到设备的当前IP地址时,根据所述IP 地址计算设备的当前位置信息,其中,根据IP地址计算设备当前位置信息,可以预先生成IP地址对应地址信息的数据库,然后根据所述IP地址在所述数据库中查询定位信息,也可以是通过网络,在第三方数据库中查询所述IP地址对应的定位信息。When the current IP address of the device is obtained, according to the IP The current location information of the address calculation device. According to the current location information of the IP address calculation device, a database of address information corresponding to the IP address may be generated in advance, and then the positioning information is queried in the database according to the IP address, or may be through a network , Querying the positioning information corresponding to the IP address in a third-party database.
进而将所述IP地址对应的定位信息和所述根据第三方应用确定的定位信息,作为位置信息。Furthermore, the positioning information corresponding to the IP address and the positioning information determined according to a third-party application are used as the location information.
需要说明的是,当所述Windows系统下存在定位模块时,也可以直接通过定位模块获取定位信息。It should be noted that when a positioning module exists in the Windows system, the positioning information may also be obtained directly through the positioning module.
在本实施例中,先获取第三方应用数据的访问权限或者IP地址,进而根据所述第三方应用的数据或IP地址确定位置信息,这样实现了在设备不存在定位模块时,获取设备当前定位信息的目的。In this embodiment, the access right or IP address of the third-party application data is obtained first, and then the location information is determined according to the data or IP address of the third-party application, so that when the device does not have a positioning module, the current positioning of the device is obtained. The purpose of the information.
进一步地,参照图6,本申请记录发送者位置信息邮件的生成方法第五实施例,基于上述第一至第四实施例,所述步骤S20还包括:Further, referring to FIG. 6, a fifth embodiment of a method for generating a sender's location information email according to the present application. Based on the first to fourth embodiments, step S20 further includes:
步骤S21、确定所述位置信息在所述已签署属性中的对应项;Step S21: Determine a corresponding item of the location information in the signed attribute;
步骤S22、添加所述对应项的对象标识符,以供所述签名邮件的接收端的第三方应用通过所述对象标识符获取所述位置信息。Step S22: Add the object identifier of the corresponding item for a third-party application at the receiving end of the signed email to obtain the location information through the object identifier.
在本实施例中,所述已签署属性可以包括签名时间、签名者的加密证书、邮件原文的hash、数据类型、位置信息、签名者支持的签名算法、对称加密算法和密钥加密算法集合等。因此在插入所述位置信息时,需要定义一个AIA(程序源文件格式)ASN.1(information system network,信息系统网络)结构中生成包含位置信息的扩展项,其OID可以为1.3.6.1.4.1.50775.2.8。In this embodiment, the signed attributes may include a signing time, a signer's encryption certificate, a hash of the original message, data type, location information, a signature algorithm supported by the signer, a symmetric encryption algorithm, and a set of key encryption algorithms. . Therefore, when inserting the location information, an AIA (Program Source File Format) ASN.1 (information system network (information system network) structure generates an extension containing location information, and its OID can be 1.3.6.1.4.1.50775.2.8.
在本实施例中,先确定所述位置信息在所述已签署属性中的对应项,然后添加所述对应性的对象标识符,这样任意第三方应用可以通过所述对象标识符获取所述位置信息的目的,提高可所述位置信息的兼容性。In this embodiment, first determine a corresponding item of the location information in the signed attribute, and then add the corresponding object identifier, so that any third-party application can obtain the location through the object identifier. The purpose of the information is to improve the compatibility of the location information.
进一步地,参照图7,本申请记录发送者位置信息邮件的生成方法第六实施例,基于上述第一至第五实施例,所述记录发送者位置信息邮件的生成方法还包括:Further, referring to FIG. 7, a sixth embodiment of a method for generating a sender's location information email according to the present application. Based on the first to fifth embodiments, the method for generating a sender's location information email further includes:
步骤S50、在接收到所述签名邮件时,验证所述签名邮件的签名是否有效;Step S50: When receiving the signed mail, verify whether the signature of the signed mail is valid;
步骤S60、在所述签名邮件的签名有效时,解析出所述签名邮件中携带的位置信息。Step S60: When the signature of the signed email is valid, parse out the location information carried in the signed email.
在本实施例中,当接收到邮件时,先判断所述邮件是否为签名邮件。当所述邮件为签名邮件时,获取所述签名邮件的签名数据,并根据所述签名邮件的签名数据验证所述签名邮件的签名是否有效。In this embodiment, when a mail is received, it is first determined whether the mail is a signed mail. When the mail is a signed mail, obtain signature data of the signed mail, and verify whether the signature of the signed mail is valid according to the signature data of the signed mail.
当所述签名有效时,判定所述位置信息为被篡改,然后解析出所述签名邮件携带的签名数据。When the signature is valid, the location information is determined to be tampered, and then the signature data carried in the signed email is parsed.
在本实施例中,先验证签名邮件的签名是否有效,在签名有效时判定位置信息未被篡改,进而解析出所述位置信息,这样使得接收者接收到的位置信息可靠性提高。In this embodiment, first verify whether the signature of the signed mail is valid, determine that the location information has not been tampered with when the signature is valid, and then parse out the location information, so that the reliability of the location information received by the receiver is improved.
进一步地,参照图8,本申请记录发送者位置信息邮件的生成方法第七实施例,基于上述第一至第六实施例,所述步骤S50包括:Further, referring to FIG. 8, a seventh embodiment of a method for generating a sender's location information email according to the present application. Based on the first to sixth embodiments, step S50 includes:
步骤S51、当所述签名的签名证书存在时,判断所述签名的签名时间是否在所述签名证书的许可时间内;Step S51: When the signed signature certificate exists, determine whether the signature time of the signature is within the permitted time of the signed certificate;
在本实施例中,先判断所述签名的签名证书是否存在,当所述签名证书存在时,判断所述签名的签名时间是否在所述签名证书的许可时间内,否则,判定所述签名无效。In this embodiment, first determine whether the signature certificate of the signature exists. When the signature certificate exists, determine whether the signature time of the signature is within the permission time of the signature certificate. Otherwise, determine that the signature is invalid. .
具体地,获取所述签名邮件中携带的签名证书的证书链,进而根据所述签名证书的证书链判断所述签名证书是否存在。当所述签名证书存在时,获取所述签名证书的有效时间(即许可时间)及所述已签署属性中的签名时间,并判断所述签名时间是否在所述有效时间内。否则,判定所述签名无效。Specifically, a certificate chain of a signature certificate carried in the signed email is obtained, and then whether the signature certificate exists is determined according to the certificate chain of the signature certificate. When the signature certificate exists, obtain the validity time (ie, the permission time) of the signature certificate and the signature time in the signed attribute, and determine whether the signature time is within the validity time. Otherwise, it is determined that the signature is invalid.
步骤S52、当所述签名时间在所述许可时间内时,计算所述签名邮件原文的哈希值;Step S52: When the signature time is within the permission time, calculate a hash value of the original text of the signed email;
在本实施例中,当所述签名时间在所述许可时间内时,获取所述邮件的原文内容和邮件原文的hash算法,并根据所述邮件原文的hash算法计算所述邮件原文的哈希值。并比较计算所得的所述原文的哈希值是否与所述签名邮件中携带的Message Digest(消息摘要)是否相同。In this embodiment, when the signature time is within the permission time, the original text content and a hash algorithm of the original text are obtained, and a hash of the original text is calculated according to the hash algorithm of the original text. value. And comparing the calculated hash value of the original text with the Message carried in the signed email Digest (message digest) is the same.
当所述签名时间不在所述许可时间内时,判定所述签名无效。When the signature time is not within the permission time, it is determined that the signature is invalid.
需要说明的是,所述Message Digest(消息摘要)为签名邮件的组成部分是公知常识,再次不再赘述。It should be noted that the Message Digest (Message Digest) is a common sense component of signed emails and will not be described again.
步骤S53、当所述原文哈希值与所述消息摘要相同时,根据所述签名证书解密所述签名;Step S53: When the original hash value is the same as the message digest, decrypt the signature according to the signature certificate;
在本实施例中,当所述原文的哈希值与所述消息摘要相同时,获取所述签名证书的公钥解密所述签名邮件的signature(签名),并将解密结果与signedAttributes(已签署属性)中的哈希值对比。In this embodiment, when the hash value of the original text is the same as the message digest, the public key of the signing certificate is obtained to decrypt the signature of the signed mail, and the decryption result is signed with signedAttributes (signed Attribute).
当所述原文的哈希值与所述消息摘要不相同时,判定所述签名无效。When the hash value of the original text is different from the message digest, it is determined that the signature is invalid.
步骤S54、当解密结果与所述已签署属性的哈希值相同时,判定所述签名有效。Step S54: When the decryption result is the same as the hash value of the signed attribute, determine that the signature is valid.
在本实施例中,当解密结果与signedAttributes(已签署属性)中的哈希值相同时,定所述签名有效。否则,判定所述签名无效。In this embodiment, when the decryption result is the same as the hash value in signedAttributes, the signature is determined to be valid. Otherwise, it is determined that the signature is invalid.
在本实施例中,先判断签名证书是否存在,在签名证书存在时判断签名时间是否有效,在签名时间有效时,判断原文哈希值与所述消息摘要是否相同相同,在相同时,判断解密结果是否与哈希值相同,进而在哈希值相同时判定签名有效,这样通过多次判定,提高了签名验证的可靠性,提高了签名邮件信息的真实性。In this embodiment, first determine whether a signature certificate exists, determine whether the signature time is valid when the signature certificate exists, and determine whether the original hash value is the same as the message digest when the signature time is valid. When the same, determine the decryption Whether the result is the same as the hash value, and then the signature is determined to be valid when the hash value is the same. In this way, through multiple determinations, the reliability of the signature verification is improved and the authenticity of the signed mail information is improved.
进一步地,参照图9,本申请记录发送者位置信息邮件的生成方法第八实施例,基于上述第一至第七实施例,所述步骤S60之后,还包括:Further, referring to FIG. 9, an eighth embodiment of a method for generating a sender's location information email according to the present application. Based on the first to seventh embodiments, after step S60, the method further includes:
步骤S70、根据所述对象标识符,通过所述第三方应用读取所述签名邮件中携带的所述位置信息,并在地图中显示所述位置信息。Step S70: According to the object identifier, read the location information carried in the signed email through the third-party application, and display the location information on a map.
在本实施例中,在接收到所述签名邮件时,第三方应用(可以是地图类应用,如高德地图、百度地图等)获取所述签名邮件中已签署属性携带的位置信息的对象标识符(例如,ID: 1.3.6.1.4.1.50775.2.8),然后根据所述对象标识符,从所述已签署属性中获取所述位置信息。并将所述位置信息在地图中显示。In this embodiment, upon receiving the signed email, a third-party application (which may be a map application, such as Gaode Map, Baidu Map, etc.) obtains the object identifier of the location information carried by the signed attribute in the signed email Character (for example, ID: 1.3.6.1.4.1.50775.2.8), and then obtain the location information from the signed attributes according to the object identifier. The position information is displayed on a map.
需要说明的是,当获取到的位置信息类型为经纬度信息时,将所述位置信息在地图中转化为国家、区域及或街道的形式显示。It should be noted that when the type of the obtained position information is latitude and longitude information, the position information is converted into a country, region, or street in a map and displayed.
在本实施例中,当接收携带位置信息的签名邮件时,第三方应用可以根据对象标识符获取所述位置信息,并显示在地图中,这样使得所述位置信息能更直观的显示。In this embodiment, when receiving a signed email carrying location information, a third-party application can obtain the location information according to the object identifier and display it on the map, so that the location information can be displayed more intuitively.
此外,本申请实施例还提出一种记录发送者位置信息邮件的生成装置,其中,所述装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的邮件生成程序,所述邮件生成程序被所述处理器执行时实现如上所述的记录发送者位置信息邮件的生成方法的步骤。In addition, an embodiment of the present application further provides a device for generating a sender's position information email, where the device includes: a memory, a processor, and a mail generator stored on the memory and capable of running on the processor. A program that, when executed by the processor, implements the steps of the method for generating a mail that records sender location information as described above.
此外,本申请实施例还提出一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有邮件生成程序,所述邮件生成程序被处理器执行时实现如以上实施例所述的记录发送者位置信息邮件的生成方法的步骤。In addition, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a mail generating program, and when the mail generating program is executed by a processor, the mail generating program is implemented as described in the foregoing embodiment. Record the steps of the method for generating the sender's location information email.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, in this article, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, It also includes other elements not explicitly listed, or elements inherent to such a process, method, article, or system. Without more restrictions, an element limited by the sentence "including a ..." does not exclude the existence of other identical elements in the process, method, article, or system that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the superiority or inferiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个计算机可读存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,或者平板电脑等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better. Implementation. Based on such an understanding, the technical solution of this application that is essentially or contributes to the existing technology may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as The ROM / RAM, magnetic disk, and optical disc) include several instructions for causing a terminal device (such as a mobile phone, a computer, or a tablet computer) to execute the methods described in the embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and thus do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the specification and drawings of the present application, or directly or indirectly used in other related technical fields Are included in the scope of patent protection of this application.

Claims (17)

  1. 一种记录发送者位置信息邮件的生成方法,其中,所述记录发送者位置信息邮件的生成方法包括以下步骤: A method for generating a sender's location information email, wherein the method for generating a sender's location information email includes the following steps:
    获取设备当前定位信息作为位置信息;Obtaining the current positioning information of the device as the position information;
    将所述位置信息添加至邮件签名的已签署属性中,并计算所述已签署属性的特征值;Adding the location information to a signed attribute of a mail signature, and calculating a characteristic value of the signed attribute;
    通过所述设备的签名证书对所述特征值进行签名,生成签名数据;以及Signing the characteristic value with a signature certificate of the device to generate signature data; and
    根据所述特征值和所述签名数据生成签名邮件。Generate a signed mail according to the feature value and the signature data.
  2. 如权利要求1所述的记录发送者位置信息邮件的生成方法,其中,所述获取设备当前定位信息作为位置信息的步骤包括:The method of claim 1, wherein the step of obtaining the current location information of the device as the location information comprises:
    在当前系统为Android系统且获取到所述Android系统的定位权限时,通过第一位置管理器类获取所述设备的当前经纬度信息;以及When the current system is the Android system and the positioning permission of the Android system is obtained, the current latitude and longitude information of the device is obtained through the first location manager class; and
    根据所述当前经纬度信息确定所述位置信息。Determining the position information according to the current latitude and longitude information.
  3. 如权利要求2所述的记录发送者位置信息邮件的生成方法,其中,所述在当前系统为Android系统且获取到所述Android系统的定位权限时,通过第一位置管理器类获取所述设备的当前经纬度信息的步骤之前,还包括:The method for generating a sender's location information email according to claim 2, wherein when the current system is an Android system and the positioning permission of the Android system is obtained, the device is obtained through a first location manager class Before the steps of current latitude and longitude information, it also includes:
    输出所述Android系统定位权限的权限获取请求信息;以及Output the permission acquisition request information of the positioning permission of the Android system; and
    在接收到授权指令时,获取所述所述Android系统的定位权限。When receiving the authorization instruction, acquiring the positioning permission of the Android system.
  4. 如权利要求1所述的记录发送者位置信息邮件的生成方法,其中,所述获取设备当前定位信息作为位置信息的步骤包括:The method of claim 1, wherein the step of obtaining the current location information of the device as the location information comprises:
    在当前系统为iOS系统且获取到所述iOS系统的定位权限时,通过第二位置管理器类获取所述设备的当前经纬度信息;以及When the current system is the iOS system and the positioning permission of the iOS system is obtained, the current latitude and longitude information of the device is obtained through a second location manager class; and
    根据所述当前经纬度信息确定所述位置信息。Determining the position information according to the current latitude and longitude information.
  5. 如权利要求4所述的记录发送者位置信息邮件的生成方法,其中,所述在当前系统为iOS系统且获取到所述iOS系统的定位权限时,通过第二位置管理器类获取所述设备的当前经纬度信息的步骤之前,还包括:The method for generating a sender's location information email according to claim 4, wherein when the current system is an iOS system and the positioning permission of the iOS system is obtained, the device is obtained through a second location manager class Before the steps of current latitude and longitude information, it also includes:
    输出所述iOS系统定位权限的权限获取请求信息;以及Output the permission acquisition request information of the iOS system positioning permission; and
    在接收到授权指令时,获取所述所述iOS系统的定位权限。When receiving the authorization instruction, obtaining the positioning permission of the iOS system.
  6. 如权利要求1所述的记录发送者位置信息邮件的生成方法,其中,所述获取设备当前定位信息作为位置信息的步骤包括:The method of claim 1, wherein the step of obtaining the current location information of the device as the location information comprises:
    获取第三方应用数据访问权限或者所述设备的当前IP地址;Obtaining third-party application data access rights or the current IP address of the device;
    在获取到第三方应用数据访问权限,或者所述设备的当前IP地址时,读取第三方应用保存的当前位置信息,或者计算所述IP地址对应的位置信息;以及When obtaining the third-party application data access right or the current IP address of the device, reading the current location information saved by the third-party application or calculating the location information corresponding to the IP address; and
    将所述当前位置信息或者所述IP地址对应的位置信息作为所述位置信息。Using the current location information or location information corresponding to the IP address as the location information.
  7. 如权利要求6所述的记录发送者位置信息邮件的生成方法,其中,所述计算所述IP地址对应的位置信息的步骤包括:The method according to claim 6, wherein the step of calculating the location information corresponding to the IP address comprises:
    预先生成所述IP地址对应地址信息的数据库;以及Generating a database of address information corresponding to the IP address in advance; and
    根据所述IP地址在所述数据库中查询定位信息。Querying positioning information in the database according to the IP address.
  8. 如权利要求6所述的记录发送者位置信息邮件的生成方法,其中,所述计算所述IP地址对应的位置信息的步骤包括:The method according to claim 6, wherein the step of calculating the location information corresponding to the IP address comprises:
    通过网络,在第三方数据库中查询所述IP地址对应的定位信息。Through a network, query the positioning information corresponding to the IP address in a third-party database.
  9. 如权利要求1所述的记录发送者位置信息邮件的生成方法,其中,所述将所述位置信息添加至邮件签名的已签署属性中的步骤包括:The method of claim 1, wherein the step of adding the location information to a signed attribute of a mail signature comprises:
    确定所述位置信息在所述已签署属性中的对应项;以及Determining a corresponding item of the location information in the signed attribute; and
    添加所述对应项的对象标识符,以供所述签名邮件的接收端的第三方应用通过所述对象标识符获取所述位置信息。The object identifier of the corresponding item is added, so that a third-party application at the receiving end of the signed email obtains the location information through the object identifier.
  10. 如权利要求9所述的记录发送者位置信息邮件的生成方法,其中,所述记录发送者位置信息邮件的生成方法,还包括:The method for generating a record sender location information email according to claim 9, wherein the method of generating a record sender location information email further comprises:
    在接收到所述签名邮件时,验证所述签名邮件的签名是否有效;以及Verifying whether the signature of the signed mail is valid when the signed mail is received; and
    在所述签名邮件的签名有效时,解析出所述签名邮件中携带的位置信息。When the signature of the signed email is valid, the location information carried in the signed email is parsed.
  11. 如权利要求10所述的记录发送者位置信息邮件的生成方法,其中,所述验证所述签名邮件的签名是否有效的步骤包括:The method according to claim 10, wherein the step of verifying whether a signature of the signed mail is valid comprises:
    当所述签名的签名证书存在时,判断所述签名的签名时间是否在所述签名证书的许可时间内;When the signed signing certificate exists, determining whether the signing time of the signature is within a permitted time of the signing certificate;
    当所述签名时间在所述许可时间内时,计算所述签名邮件原文的哈希值;When the signature time is within the permission time, calculating a hash value of the original text of the signed email;
    当所述原文哈希值与所述消息摘要相同时,根据所述签名证书解密所述签名;以及When the original hash value is the same as the message digest, decrypting the signature according to the signing certificate; and
    当解密结果与所述已签署属性的哈希值相同时,判定所述签名有效。When the decryption result is the same as the hash value of the signed attribute, it is determined that the signature is valid.
  12. 如权利要求11所述的记录发送者位置信息邮件的生成方法,其中,所述判断所述签名的签名时间是否在所述签名证书的许可时间内的步骤包括:The method for generating a sender's location information email according to claim 11, wherein the step of determining whether a signature time of the signature is within a permitted time of the signature certificate comprises:
    获取签名证书的有效时间及所述已签署属性中的签名时间;以及Obtaining the validity time of the signing certificate and the signing time in the signed attributes; and
    判断所述签名时间是否在所述有效时间内。Determine whether the signature time is within the valid time.
  13. 如权利要求10所述的记录发送者位置信息邮件的生成方法,其中,所述解析出所述签名邮件中携带的位置信息的步骤之后,还包括:The method of claim 10, wherein after the step of parsing the location information carried in the signed email, the method further comprises:
    根据所述对象标识符,通过所述第三方应用读取所述签名邮件中携带的所述位置信息,并在地图中显示所述位置信息。Reading the location information carried in the signed email through the third-party application according to the object identifier, and displaying the location information on a map.
  14. 如权利要求13所述的记录发送者位置信息邮件的生成方法,其中,所述对象标识符保存在签名邮件的已签署属性中。The method of claim 13, wherein the object identifier is stored in a signed attribute of the signed mail.
  15. 如权利要求1所述的记录发送者位置信息邮件的生成方法,其中,兼容系统可以为Android系统、iOS系统或Windows系统。The method of claim 1, wherein the compatible system is an Android system, an iOS system, or a Windows system.
  16. 一种记录发送者位置信息邮件的生成装置,其中,所述记录发送者位置信息邮件的生成装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的邮件生成程序,所述邮件生成程序被所述处理器执行时实现以下步骤:A device for generating a sender's location information email, wherein the device for generating a sender's location information email includes: a memory, a processor, and a mail generator stored on the memory and operable on the processor Program, the mail generating program implements the following steps when executed by the processor:
    获取设备当前定位信息作为位置信息;Obtaining the current positioning information of the device as the position information;
    将所述位置信息添加至邮件签名的已签署属性中,并计算所述已签署属性的特征值;Adding the location information to a signed attribute of a mail signature, and calculating a characteristic value of the signed attribute;
    通过所述设备的签名证书对所述特征值进行签名,生成签名数据;以及Signing the characteristic value with a signature certificate of the device to generate signature data; and
    根据所述特征值和所述签名数据生成签名邮件。Generate a signed mail according to the feature value and the signature data.
  17. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有邮件生成程序,所述邮件生成程序被处理器执行时实现以下步骤:A computer-readable storage medium, wherein the computer-readable storage medium stores a mail generating program, and the mail generating program implements the following steps when executed by a processor:
    获取设备当前定位信息作为位置信息;Obtaining the current positioning information of the device as the position information;
    将所述位置信息添加至邮件签名的已签署属性中,并计算所述已签署属性的特征值;Adding the location information to a signed attribute of a mail signature, and calculating a characteristic value of the signed attribute;
    通过所述设备的签名证书对所述特征值进行签名,生成签名数据;以及Signing the characteristic value with a signature certificate of the device to generate signature data; and
    根据所述特征值和所述签名数据生成签名邮件。Generate a signed mail according to the feature value and the signature data.
PCT/CN2018/104852 2018-07-20 2018-09-10 Method and device for generating mail recording position information of sender, and storage medium WO2020015090A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810809068.2A CN109005105B (en) 2018-07-20 2018-07-20 Method and device for generating mail with recorded sender position information and storage medium
CN201810809068.2 2018-07-20

Publications (1)

Publication Number Publication Date
WO2020015090A1 true WO2020015090A1 (en) 2020-01-23

Family

ID=64596668

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/104852 WO2020015090A1 (en) 2018-07-20 2018-09-10 Method and device for generating mail recording position information of sender, and storage medium

Country Status (2)

Country Link
CN (1) CN109005105B (en)
WO (1) WO2020015090A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110311904B (en) * 2019-06-26 2021-11-16 沃通电子认证服务有限公司 Internet of things communication method, device, terminal and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413064A (en) * 2010-09-25 2012-04-11 上海中标软件有限公司 Browser control-based webmail signing encrypting method
CN104159195A (en) * 2014-08-06 2014-11-19 诚迈科技(南京)股份有限公司 Device and method for automatically adding location information to short message
CN106789585A (en) * 2016-12-27 2017-05-31 沃通电子认证服务有限公司 Can verify that Email sends the method and device of time
CN107911225A (en) * 2017-11-15 2018-04-13 李智虎 A kind of timestamp method for anti-counterfeit and device based on signed data chain

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1286292A3 (en) * 2001-08-21 2004-05-12 Matsushita Electric Industrial Co., Ltd. Method and system for data distribution
KR100983027B1 (en) * 2008-12-16 2010-09-17 엘지전자 주식회사 Mobile Terminal And Method Of Transferring And Receiving Data Using The Same
CN102025519B (en) * 2009-09-22 2013-01-16 中国移动通信集团公司 Mail proxy server, mail push system and method and mobile terminal
CN102148770A (en) * 2010-02-09 2011-08-10 宏碁股份有限公司 Method and system for sharing moving path
CN102655482B (en) * 2011-12-26 2014-11-05 上海西默通信技术有限公司 HTTP (hyper text transport protocol) protocol analysis based web E-mail recovering method
CN104579924A (en) * 2014-12-27 2015-04-29 北京奇虎科技有限公司 Method for displaying email and email client

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413064A (en) * 2010-09-25 2012-04-11 上海中标软件有限公司 Browser control-based webmail signing encrypting method
CN104159195A (en) * 2014-08-06 2014-11-19 诚迈科技(南京)股份有限公司 Device and method for automatically adding location information to short message
CN106789585A (en) * 2016-12-27 2017-05-31 沃通电子认证服务有限公司 Can verify that Email sends the method and device of time
CN107911225A (en) * 2017-11-15 2018-04-13 李智虎 A kind of timestamp method for anti-counterfeit and device based on signed data chain

Also Published As

Publication number Publication date
CN109005105A (en) 2018-12-14
CN109005105B (en) 2021-12-14

Similar Documents

Publication Publication Date Title
WO2019132272A1 (en) Id as blockchain based service
WO2020147383A1 (en) Process examination and approval method, device and system employing blockchain system, and non-volatile storage medium
WO2018194350A1 (en) Method for managing document on basis of blockchain by using utxo-based protocol, and document management server using same
WO2012005555A2 (en) Method for creating/issuing electronic document distribution certificate, method for verifying electronic document distribution certificate, and system for distributing electronic document
WO2019024126A1 (en) Blockchain-based knowledge management method, and terminal and server
WO2020253120A1 (en) Webpage registration method, system and device, and computer storage medium
WO2020224246A1 (en) Block chain-based data management method and apparatus, device and storage medium
WO2016169410A1 (en) Login method and device, server and login system
WO2020220413A1 (en) Zero knowledge proving method and system for personal information, and storage medium
WO2014092511A1 (en) Method and apparatus for protecting an application program
WO2019174090A1 (en) Screenshot file sharing control method, apparatus and device, and computer storage medium
WO2013170653A1 (en) Unlocking system and method for screen lock
WO2021072881A1 (en) Object storage-based request processing method, apparatus and device, and storage medium
WO2018090481A1 (en) Method and system for verifying digital certificate of mobile terminal application
WO2020141660A1 (en) Electronic apparatus managing data based on block chain and method for managing data
WO2015101332A1 (en) Password classification management method and system
WO2018072261A1 (en) Information encryption method and device, information decryption method and device, and terminal
WO2020186775A1 (en) Service data providing method, apparatus and device, and computer-readable storage medium
WO2012099330A2 (en) System and method for issuing an authentication key for authenticating a user in a cpns environment
WO2020062658A1 (en) Contract generation method and apparatus, and device and storage medium
JP2002244927A (en) Data distribution system
CN112307515A (en) Database-based data processing method and device, electronic equipment and medium
WO2017016272A1 (en) Method, apparatus and system for processing virtual resource data
WO2018120311A1 (en) Method and device capable of verifying sending time of electronic mail
WO2012109985A1 (en) Java-based mobile terminal authentication system and method, server and terminal

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: 18926458

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: 18926458

Country of ref document: EP

Kind code of ref document: A1