WO2017211076A1 - Automatic filling method for associated documents - Google Patents
Automatic filling method for associated documents Download PDFInfo
- Publication number
- WO2017211076A1 WO2017211076A1 PCT/CN2017/000306 CN2017000306W WO2017211076A1 WO 2017211076 A1 WO2017211076 A1 WO 2017211076A1 CN 2017000306 W CN2017000306 W CN 2017000306W WO 2017211076 A1 WO2017211076 A1 WO 2017211076A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- document
- version
- information
- new
- user
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/197—Version control
Definitions
- the present invention relates to the field of document network applications, and in particular to an automatic reporting method for interconnected documents.
- PDF documents are one of the most widely used types of documents in formal office applications. Most official documents and forms use PDF documents as transmission media. This phenomenon is more prominent in foreign countries.
- the present invention provides an automatic filing method for interconnected documents to overcome at least one of the problems existing in the prior art.
- the present invention provides an automatic filling method for an interconnected document, comprising the following steps:
- the device hardware information is uploaded to the cloud server and the device ID is applied, and the unique interconnection ID identification information of the document is generated according to the obtained device ID, and the interconnection ID identification information and version information uniquely corresponding to the document are saved in the
- the document is uploaded to the cloud server to make the document an interconnected document;
- the version information of the document in the cloud server is automatically updated according to the interconnection ID identification information of the document;
- the identity ID information according to the document's interconnection ID
- the version information of the document is automatically queried to the cloud server.
- a prompt box is displayed prompting the user to have an updated version of the document, and prompting the user to re-download the new version of the document;
- the content in the old version of the document cell is automatically filled in the cell corresponding to the new version of the document according to the corresponding mapping relationship of the form in the new and old version of the document.
- the document is a PDF document.
- the invention can effectively solve the dilemma of the filling of the traditional PDF form, can effectively solve the problem of timeliness of the update of the form template, and can effectively avoid the repeated form filling, thereby further improving the quickness of filling the PDF document form.
- Figure 1 is a manual filling flow chart after updating the version of the traditional form document
- FIG. 2 is a flow chart of an automatic filling method for an interconnected document according to an embodiment of the present invention.
- the automatic filling method of the interconnected document includes the following steps:
- the device hardware information is uploaded to the cloud server and the device ID is applied, and the unique interconnection ID identification information of the document is generated according to the obtained device ID, and the interconnection ID identification information uniquely corresponding to the document is generated.
- the version information is saved in the document and uploaded to the cloud server to make the document an interconnected document;
- the version information of the document in the cloud server is automatically updated according to the interconnection ID identification information of the document;
- the version information of the document is automatically queried according to the interconnection ID identification information of the document.
- a prompt box is displayed to prompt the user to the document. Have an updated version and prompt the user to re-download the new version of the document;
- the content in the old version of the document cell is automatically filled in the cell corresponding to the new version of the document according to the corresponding mapping relationship of the form in the new and old version of the document.
- ConnectedPDF convert a normal PDF document to a ConnectedPDF document by:
- the system provides the device hardware information to the server to apply for the device ID, uses the device ID as the driver, uses a specific algorithm to generate the identifier, and confirms the uniqueness of the document DocumentID, which is stored in the PDF.
- the creator has administrative rights to the document.
- the system also uploads information such as DocumentID and document version to the server for permanent retention (hereinafter referred to as version 1).
- the user obtains version 1 through the official website downloading, etc., and fills in the form, submits the processing, and the like.
- the system uploads the information such as the DocumentID and the document version to the server again, and the server records the latest information of the document (hereinafter referred to as version 2).
- the system connects to the server and checks whether the document is updated according to the DocumentID. The system has found an updated version. A pop-up prompt box reminds the user that the document has an updated version. Please download it again.
- the system After the user downloads the version 2 document, the system automatically detects the download of the new document and writes the contents of the old document form to the new document.
- the user adjusts and supplements the newly added content or the filled content in the new document.
- the invention injects new concepts into the traditional PDF document through the thinking mode of the Internet, improves the use of the PDF document by the user, enables the intelligent processing to be better integrated into the work and life, simplifies the processing flow, and improves the processing speed.
- the significance of the big level is the reason for the big level.
- the present invention is based on a cloud platform, and can automatically update the form format provided by a government agency department or an authority department in real time, and automatically fill in the relevant content items of the new form according to the past filling of the old version form, thereby avoiding the user filling in The old form does not conform to the latest specifications, and avoids the repeated filling of the contents of the form items. For those who fill in a large number of data reports every day, it is greatly convenient for daily use.
- the present invention also provides a cross-platform, less reproducible ID generation method, which can It is used to generate the interconnection ID identity information in the above embodiment.
- the method for generating ID of the invention has cross-platformity, and the implementation method is implemented by using c/c++, and can be compiled and run on several mainstream desktop platforms and embedded platforms of Windows system, Linux system, Mac, iOS and Android.
- the ID generated by the present invention consists of the following six parts:
- time information 1.) time information; 2.) device information; 3.) random number information; 4.) operating system status information; 5.) user data information; 6.) operating system type information.
- the operating system type information can use one byte to indicate the operating system information, so that the IDs generated by different operating systems are never the same, reducing the repetition probability.
- User data information allows the user to set a byte of user data as a component of the ID, the user data is arbitrarily defined by the user, such as different software, different use methods of the ID, etc., to reduce the repetition probability.
- Operating system status information is runtime information running on the operating system of the hardware device, including memory status information, current stack status information, process ID, thread ID, current time, operating system user name, computer name And other software information. This information can be encoded into 8 bytes of data using the SHA1 hash algorithm in the present invention.
- the random number information may be a pseudo random number or a true random number.
- the present invention uses a true random number. If the random sequence is considered to be a random number, the following characteristics must be met:
- each bit of the random sequence should satisfy the equal probability distribution.
- the probability of 0 and 1 for each bit is 50%;
- the currently published random sequence test set is: NIST SP800-22, FIPS 140-1, -2. That is to say, we believe that as long as the authentication random sequence is detected by FIPS 140 or SP800-22, then we think it is Random sequence, consistent with random sequence characteristics.
- a FIPS-detected CryptGenRandom function and a dev/random function are used.
- Device information includes the number information that can identify the characteristics of the device, such as IP address, MAC address, hard disk reel, etc.
- IP address can theoretically be a unique number of a computer, and the MAC address can also be used as a unique identifier of a device.
- Device information such as hard disk reels, which are encoded into 8 bytes of data using the SHA1 hash algorithm in the present invention.
- Time information consisting of current system time, time adjustment parameters, and timestamp adjustment parameters.
- Step 1 Obtain device information, and the obtained device information is encoded into a first set number (such as 8 bytes) of byte data by using a hash algorithm (such as a sha1 hash algorithm, an MD5 hash algorithm, etc.);
- a hash algorithm such as a sha1 hash algorithm, an MD5 hash algorithm, etc.
- Step 2 Obtain a second set number (such as 6) of byte true random numbers as the first random number information
- Step 3 Obtain operating system status information, where the operating system status information is information when the system is running in the current state, and is encoded into a third set number by using a hash algorithm (such as a sha1 hash algorithm, an MD5 hash algorithm, etc.). (eg 8) byte data;
- a hash algorithm such as a sha1 hash algorithm, an MD5 hash algorithm, etc.
- Step 4 Obtain a fourth set number (such as 10) of byte true random numbers as the second random number information
- Step 5 Obtain time information, where the time information is composed of current system time, time adjustment parameters, and timestamp adjustment parameters, and is encoded and processed on a hard disk by a hash algorithm (such as a sha1 hash algorithm, an MD5 hash algorithm, etc.).
- a hash algorithm such as a sha1 hash algorithm, an MD5 hash algorithm, etc.
- Step 6 The above time information, device information, first random number information, second random number information, operating system state information, user data information, and operating system type information are grouped into a string according to a set order to generate a final interconnected document. ID;
- steps 1 to 5 can be adjusted.
- the acquired device information is stored, so that the next generation ID is reused.
- the device information is simulated using a true random number.
- the operating system status information is simulated using a true random number.
- the last system time, time adjustment parameter, and timestamp adjustment parameter are first obtained from the file, and if the current system time obtained is later than the last system time, the current system is obtained.
- Time is used as a part of the ID; if the current system time obtained is the same as the previous system time, adjust the time adjustment parameter so that the current system time and time adjustment parameters are different from the previous system time and time adjustment parameters; if the current system is acquired The time is earlier than the last system time, and the timestamp adjustment parameter is adjusted so that the current system time and timestamp adjustment parameters are different from the previous system time and timestamp adjustment parameters.
- the generated ID specifications are consistent and can be run on different platforms to achieve cross-platform features
- the time information is stored by using a file, so that the repetition probability of the ID generated by the same device is 0;
- the ID repetition probability generated by different devices is extremely low
- modules in the devices in the embodiments may be distributed in the devices of the embodiments according to the embodiments, or may be correspondingly changed in one or more devices different from the embodiment.
- the modules of the above embodiments may be combined into one module, or may be further split into multiple sub-modules.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Disclosed is an automatic filling method for associated documents. The method comprises: when a form-type document is created, generating unique association identifier information of the document according to a device ID, and storing, in the document, the association identifier information uniquely corresponding to the document and version information, and uploading the same to a cloud server; if the document version is updated, automatically updating version information of the document in the cloud server according to the association identifier information of the document; when a user opens a form-type document which has previously been filled out, automatically querying version information of the document on the cloud server according to association identifier information of the document, and when a new version of the document is found, informing the user that the document has an updated version; and when detecting that the new version of the document is downloaded, automatically taking, according to a corresponding mapping relationship between new and old versions of the document, content from cells of the old version of the document and filling the content into corresponding cells of the new version of the document.
Description
本发明涉及文档网络应用领域,具体而言,涉及一种互联文档的自动填报方法。The present invention relates to the field of document network applications, and in particular to an automatic reporting method for interconnected documents.
PDF文档是在正式的办公场合应用最为广泛的文档类型之一,大多的官方公文、表单等都使用PDF文档作为传输媒介,这一现象在国外更为显著。PDF documents are one of the most widely used types of documents in formal office applications. Most official documents and forms use PDF documents as transmission media. This phenomenon is more prominent in foreign countries.
对于规范性的PDF文档表单的填写,传统的填表流程为如图1所示。由图1可知,现有方案中所有环节都需要人工手动完成,且有可能没有及时更新最新表单而填写旧表单造成时间的浪费。For the filling of the normative PDF document form, the traditional filling process is shown in Figure 1. It can be seen from FIG. 1 that all the links in the existing solution need to be manually completed manually, and it may be that the latest form is not updated in time and the old form is used to waste time.
发明内容Summary of the invention
本发明提供一种互联文档的自动填报方法,用以克服现有技术中存在的至少一个问题。The present invention provides an automatic filing method for interconnected documents to overcome at least one of the problems existing in the prior art.
为达到上述目的,本发明提供了一种互联文档的自动填报方法,包括以下步骤:To achieve the above objective, the present invention provides an automatic filling method for an interconnected document, comprising the following steps:
在创建表单类文档时,向云端服务器上传设备硬件信息并申请设备ID,根据获得的设备ID生成文档唯一的互联ID身份标识信息,将与文档唯一对应的互联ID身份标识信息与版本信息保存在文档中并上传至云端服务器中,使该文档成为互联文档;When the form-type document is created, the device hardware information is uploaded to the cloud server and the device ID is applied, and the unique interconnection ID identification information of the document is generated according to the obtained device ID, and the interconnection ID identification information and version information uniquely corresponding to the document are saved in the The document is uploaded to the cloud server to make the document an interconnected document;
当该文档的版本更新时,根据该文档的互联ID身份标识信息自动更新云端服务器中该文档的版本信息;When the version of the document is updated, the version information of the document in the cloud server is automatically updated according to the interconnection ID identification information of the document;
当用户打开已填过的表单类文档时,根据该文档的互联ID身份标识信息
自动向云端服务器查询该文档的版本信息,在查询到该文档已有新版本时,弹出提示框提示用户该文档有了更新版本,并提示用户重新下载新版本的文档;When the user opens the filled form class document, the identity ID information according to the document's interconnection ID
The version information of the document is automatically queried to the cloud server. When a new version of the document is queried, a prompt box is displayed prompting the user to have an updated version of the document, and prompting the user to re-download the new version of the document;
当检测到新版本的文档下载后,根据新、旧版本文档中表单的对应映射关系,将旧版本文档单元格中的内容自动填入新版本文档对应的单元格中。After detecting the download of the new version of the document, the content in the old version of the document cell is automatically filled in the cell corresponding to the new version of the document according to the corresponding mapping relationship of the form in the new and old version of the document.
进一步地,对于新版本文档中新增的单元格,接受用户手动填写。Further, for the newly added cells in the new version of the document, the user is manually filled in.
进一步地,所述文档为PDF文档。Further, the document is a PDF document.
本发明可以有效地解决传统PDF表单填写上的困境,可以有效解决表单范本更新的及时性问题,并能有效地避免重复的表单填写,进一步提高了PDF文档表单填写的快捷性。The invention can effectively solve the dilemma of the filling of the traditional PDF form, can effectively solve the problem of timeliness of the update of the form template, and can effectively avoid the repeated form filling, thereby further improving the quickness of filling the PDF document form.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为传统的表单类文档版本更新后的手动填写流程图;Figure 1 is a manual filling flow chart after updating the version of the traditional form document;
图2为本发明一个实施例的互联文档的自动填报方法流程图。2 is a flow chart of an automatic filling method for an interconnected document according to an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention.
图2为本发明一个实施例的互联文档的自动填报方法流程图。如图所示,
互联文档的自动填报方法包括以下步骤:2 is a flow chart of an automatic filling method for an interconnected document according to an embodiment of the present invention. as the picture shows,
The automatic filling method of the interconnected document includes the following steps:
在创建表单类文档(如PDF文档)时,向云端服务器上传设备硬件信息并申请设备ID,根据获得的设备ID生成文档唯一的互联ID身份标识信息,将与文档唯一对应的互联ID身份标识信息与版本信息保存在文档中并上传至云端服务器中,使该文档成为互联文档;When a form-type document (such as a PDF document) is created, the device hardware information is uploaded to the cloud server and the device ID is applied, and the unique interconnection ID identification information of the document is generated according to the obtained device ID, and the interconnection ID identification information uniquely corresponding to the document is generated. The version information is saved in the document and uploaded to the cloud server to make the document an interconnected document;
当该文档的版本更新时,根据该文档的互联ID身份标识信息自动更新云端服务器中该文档的版本信息;When the version of the document is updated, the version information of the document in the cloud server is automatically updated according to the interconnection ID identification information of the document;
当用户打开已填过的表单类文档时,根据该文档的互联ID身份标识信息自动向云端服务器查询该文档的版本信息,在查询到该文档已有新版本时,弹出提示框提示用户该文档有了更新版本,并提示用户重新下载新版本的文档;When the user opens the filled form document, the version information of the document is automatically queried according to the interconnection ID identification information of the document. When a new version of the document is found, a prompt box is displayed to prompt the user to the document. Have an updated version and prompt the user to re-download the new version of the document;
当检测到新版本的文档下载后,根据新、旧版本文档中表单的对应映射关系,将旧版本文档单元格中的内容自动填入新版本文档对应的单元格中。After detecting the download of the new version of the document, the content in the old version of the document cell is automatically filled in the cell corresponding to the new version of the document according to the corresponding mapping relationship of the form in the new and old version of the document.
进一步地,对于新版本文档中新增的单元格,接受用户手动填写。Further, for the newly added cells in the new version of the document, the user is manually filled in.
以下以PDF表单文档为例进行说明。The following is an example of a PDF form document.
我们引入ConnectedPDF(互联PDF)的概念,它是在传统PDF文档的基础上,添加移动互联的功能,让传统的PDF文档进入互联时代,它引入了DocumentID:用来识别唯一的Document,对于新、旧版本的PDF文档,拥有同一样DocumentID。We introduce the concept of ConnectedPDF, which is based on the traditional PDF document, adding the function of mobile internet, let the traditional PDF document enter the era of interconnection, it introduces DocumentID: used to identify the unique Document, for new, Older versions of PDF documents have the same DocumentID.
完成上述功能需要经过以下步骤:To complete the above functions, you need to go through the following steps:
生成ConnectedPDF,将普通PDF文档转换为ConnectedPDF文档通过以下方式实现:To generate ConnectedPDF, convert a normal PDF document to a ConnectedPDF document by:
***向服务器提供设备硬件信息等来申请设备ID,使用设备ID作为驱动,使用特定的算法生成标识、确认文档唯一性的DocumentID,存储在PDF
文档中,创建者拥有该文档的管理权。同时,***还将DocumentID及文档版本等信息上传至服务器永久保留(以下称为版本1)。The system provides the device hardware information to the server to apply for the device ID, uses the device ID as the driver, uses a specific algorithm to generate the identifier, and confirms the uniqueness of the document DocumentID, which is stored in the PDF.
In the document, the creator has administrative rights to the document. At the same time, the system also uploads information such as DocumentID and document version to the server for permanent retention (hereinafter referred to as version 1).
用户通过官网下载等方式获取到版本1,进行填表、提交处理等。The user obtains version 1 through the official website downloading, etc., and fills in the form, submits the processing, and the like.
在文档需要更新,做了调整存储时,***将DocumentID及文档版本等信息再次上传至服务器,服务器会记录该文档的最新信息(以下称为版本2)。When the document needs to be updated and the storage is adjusted, the system uploads the information such as the DocumentID and the document version to the server again, and the server records the latest information of the document (hereinafter referred to as version 2).
用户在打开版本1时,***连接到服务器,根据DocumentID查看该文档是否有更新。***发现了有更新版本,弹出提示框提醒用户该文档有了更新版本,请重新下载。When the user opens version 1, the system connects to the server and checks whether the document is updated according to the DocumentID. The system has found an updated version. A pop-up prompt box reminds the user that the document has an updated version. Please download it again.
用户下载版本2的文档后,***自动检测到新文档的下载,将旧文档表单中的内容写入新文档。After the user downloads the version 2 document, the system automatically detects the download of the new document and writes the contents of the old document form to the new document.
用户就新文档里新增的内容或已填写的内容做调整、补充。The user adjusts and supplements the newly added content or the filled content in the new document.
本发明通过这种互联网的思维模式,为传统的PDF文档注入新的概念改善用户在PDF文档的使用,让智能化的处理更好的融入到工作、生活中,简化处理流程,提高处理速度具有级大的意义。The invention injects new concepts into the traditional PDF document through the thinking mode of the Internet, improves the use of the PDF document by the user, enables the intelligent processing to be better integrated into the work and life, simplifies the processing flow, and improves the processing speed. The significance of the big level.
通过图1、图2对比可知,旧方案中所有环节都需要人工手动完成,且有可能没有及时更新最新表单而填写旧表单造成时间的浪费;而新方案中大部分步骤都由***自动完成,人工只需补充或调整部分表单内容,且不会错过新表单的更新,大大提高效率及减少出错。It can be seen from the comparison between Fig. 1 and Fig. 2 that all the links in the old scheme need to be manually and manually completed, and it may be that the old form is not updated in time and the old form is wasted; and most of the steps in the new scheme are automatically completed by the system. Manually only needs to supplement or adjust some of the form content, and will not miss the update of the new form, greatly improving efficiency and reducing errors.
综上,本发明基于云平台,能够实时发现政府机关部门或权威部门提供的表单格式的更新,并根据以往对旧版本表单的填写,自动填写到新表单的相关内容项中,可以避免用户填写了旧表单不符合最新规范,及避免重复填写表单项内容等情况,对于每天填写大量数据报表的人员,大大方便了日常的使用。In summary, the present invention is based on a cloud platform, and can automatically update the form format provided by a government agency department or an authority department in real time, and automatically fill in the relevant content items of the new form according to the past filling of the old version form, thereby avoiding the user filling in The old form does not conform to the latest specifications, and avoids the repeated filling of the contents of the form items. For those who fill in a large number of data reports every day, it is greatly convenient for daily use.
此外,本发明还提供了一种跨平台的,重复性较低的ID生成方法,可以
用于生成上述实施例中的互联ID身份标识信息。本发明生成ID的方法具有跨平台性,实现方法使用c/c++实现,可以在Windows***、Linux***、Mac、iOS、Android几个主流的桌面平台和嵌入平台编译和运行。In addition, the present invention also provides a cross-platform, less reproducible ID generation method, which can
It is used to generate the interconnection ID identity information in the above embodiment. The method for generating ID of the invention has cross-platformity, and the implementation method is implemented by using c/c++, and can be compiled and run on several mainstream desktop platforms and embedded platforms of Windows system, Linux system, Mac, iOS and Android.
本发明生成的ID由以下六个部分构成:The ID generated by the present invention consists of the following six parts:
1.)时间信息;2.)设备信息;3.)随机数信息;4.)操作***状态信息;5.)用户数据信息;6.)操作***类型信息。1.) time information; 2.) device information; 3.) random number information; 4.) operating system status information; 5.) user data information; 6.) operating system type information.
操作***类型信息,本发明可以使用一个字节标示操作***信息,使得不同操作***生成的ID永远不相同,降低重复概率。The operating system type information, the present invention can use one byte to indicate the operating system information, so that the IDs generated by different operating systems are never the same, reducing the repetition probability.
用户数据信息,本发明允许用户可以设置一个字节用户数据作为ID的组成部分,用户数据由用户任意定义,比如不同软件,ID的不同使用方法等,降低重复概率。User data information, the present invention allows the user to set a byte of user data as a component of the ID, the user data is arbitrarily defined by the user, such as different software, different use methods of the ID, etc., to reduce the repetition probability.
操作***状态信息,操作***状态信息是运行在硬件设备的操作***上的运行时信息,如包括内存状态信息、当前堆栈状态信息、进程ID、线程ID、当前时间、操作***用户名称、计算机名称等软件信息。这些信息在本发明中可以使用SHA1哈希算法编码成8个字节数据。Operating system status information, operating system status information is runtime information running on the operating system of the hardware device, including memory status information, current stack status information, process ID, thread ID, current time, operating system user name, computer name And other software information. This information can be encoded into 8 bytes of data using the SHA1 hash algorithm in the present invention.
随机数信息,随机数可以是伪随机数也可以是真随机数,本发明使用真随机数,随机序列如果被认为是随机数,必须要符合以下几个特性:The random number information, the random number may be a pseudo random number or a true random number. The present invention uses a true random number. If the random sequence is considered to be a random number, the following characteristics must be met:
1.)能够通过所有的正确的随机性测试,如fips,SP800等;1.) Can pass all correct randomness tests, such as fips, SP800, etc.;
2.)分布均匀性,随机序列的每一位都应该满足等概率分布,长期来看,每一bits出现的0和1的概率是50%;2.) Distribution uniformity, each bit of the random sequence should satisfy the equal probability distribution. In the long run, the probability of 0 and 1 for each bit is 50%;
3.)无周期规律性,随机性序列没有周期性,或者说周期性为无限长,并且不能有其他规律性,自相关系数等于0,随机序列内部所有的子序列都应该是随机的,子序列满足随机序列的各种特性;3.) There is no periodicity, the random sequence has no periodicity, or the periodicity is infinitely long, and there is no other regularity. The autocorrelation coefficient is equal to 0. All subsequences in the random sequence should be random. The sequence satisfies various characteristics of the random sequence;
4.)不可预测性,包括不可向后预测和向前预测;
4.) Unpredictability, including non-backward prediction and forward prediction;
5.)不可重复性,即使使用相同的生成手段,也不会生成相同的随机序列;5.) Non-repeatable, even if the same generation means are used, the same random sequence will not be generated;
6.)目前已经发布的随机序列测试集合有:NIST SP800-22,FIPS 140-1,-2.也就是说我们认为只要通过FIPS 140或者SP800-22检测认证的随机序列,那么我们就认为是随机序列,符合随机序列特性.。6.) The currently published random sequence test set is: NIST SP800-22, FIPS 140-1, -2. That is to say, we believe that as long as the authentication random sequence is detected by FIPS 140 or SP800-22, then we think it is Random sequence, consistent with random sequence characteristics.
在本发明中使用经过FIPS检测的CryptGenRandom函数和dev/random函数生成。In the present invention, a FIPS-detected CryptGenRandom function and a dev/random function are used.
设备信息,设备信息包括是能够标识设备特性的编号信息组成,如IP地址、MAC地址、硬盘卷轴等,IP地址理论上可以作为一台计算机的唯一编号,MAC地址也可以作为一个设备的唯一标识,硬盘卷轴等设备信息,这些信息在本发明中使用SHA1哈希算法编码成8个字节数据。Device information, device information includes the number information that can identify the characteristics of the device, such as IP address, MAC address, hard disk reel, etc. The IP address can theoretically be a unique number of a computer, and the MAC address can also be used as a unique identifier of a device. Device information such as hard disk reels, which are encoded into 8 bytes of data using the SHA1 hash algorithm in the present invention.
时间信息,由当前***时间、时间调整参数和时间戳调整参数组成。Time information, consisting of current system time, time adjustment parameters, and timestamp adjustment parameters.
本发明一个实施例的跨平台的互联文档ID生成方法包括:The method for generating a cross-platform interconnected document ID according to an embodiment of the present invention includes:
步骤1:获取设备信息,获取的设备信息使用哈希算法(如sha1哈希算法、MD5哈希算法等)编码成第一设定数个(如8个)字节数据;Step 1: Obtain device information, and the obtained device information is encoded into a first set number (such as 8 bytes) of byte data by using a hash algorithm (such as a sha1 hash algorithm, an MD5 hash algorithm, etc.);
步骤2:获取第二设定数量个(如6个)字节真随机数作为第一随机数信息;Step 2: Obtain a second set number (such as 6) of byte true random numbers as the first random number information;
步骤3:获取操作***状态信息,所述操作***状态信息是当前状态下***运行时的信息,使用哈希算法(如sha1哈希算法、MD5哈希算法等)编码成第三设定数量个(如8个)字节数据;Step 3: Obtain operating system status information, where the operating system status information is information when the system is running in the current state, and is encoded into a third set number by using a hash algorithm (such as a sha1 hash algorithm, an MD5 hash algorithm, etc.). (eg 8) byte data;
步骤4:获取第四设定数量个(如10个)字节真随机数作为第二随机数信息;Step 4: Obtain a fourth set number (such as 10) of byte true random numbers as the second random number information;
步骤5:获取时间信息,所述时间信息由当前***时间、时间调整参数和时间戳调整参数组成,通过哈希算法(如sha1哈希算法、MD5哈希算法等)编码处理后保存在硬盘的一个文件中;
Step 5: Obtain time information, where the time information is composed of current system time, time adjustment parameters, and timestamp adjustment parameters, and is encoded and processed on a hard disk by a hash algorithm (such as a sha1 hash algorithm, an MD5 hash algorithm, etc.). In a file;
步骤6:将以上时间信息、设备信息、第一随机数信息、第二随机数信息、操作***状态信息、用户数据信息、操作***类型信息按照设定顺序组成一个字符串,生成最终的互联文档ID;Step 6: The above time information, device information, first random number information, second random number information, operating system state information, user data information, and operating system type information are grouped into a string according to a set order to generate a final interconnected document. ID;
其中,步骤1至步骤5的顺序排列可调整。The order of steps 1 to 5 can be adjusted.
进一步地,第一次获取设备信息后,将所获取的设备信息存储起来,以备下一次生成ID重复使用。Further, after the device information is acquired for the first time, the acquired device information is stored, so that the next generation ID is reused.
进一步地,如果设备信息获取不到,使用真随机数模拟设备信息。Further, if the device information is not available, the device information is simulated using a true random number.
进一步地,如果操作***状态信息获取不到,使用真随机数模拟操作***状态信息。Further, if the operating system status information is not available, the operating system status information is simulated using a true random number.
进一步地,当需要生成一个ID时,首先从所述文件中获取上一次的***时间、时间调整参数和时间戳调整参数,如果获取的当前***时间比上一次***时间晚,则将当前的***时间作为ID的一个部分;如果获取的当前***时间和上一次***时间一样,则调整时间调整参数,使当前***时间和时间调整参数与上一次***时间和时间调整参数不同;如果获取的当前***时间比上一次***时间早,则调整时间戳调整参数,使当前的***时间和时间戳调整参数与上一次***时间和时间戳调整参数不同。Further, when an ID needs to be generated, the last system time, time adjustment parameter, and timestamp adjustment parameter are first obtained from the file, and if the current system time obtained is later than the last system time, the current system is obtained. Time is used as a part of the ID; if the current system time obtained is the same as the previous system time, adjust the time adjustment parameter so that the current system time and time adjustment parameters are different from the previous system time and time adjustment parameters; if the current system is acquired The time is earlier than the last system time, and the timestamp adjustment parameter is adjusted so that the current system time and timestamp adjustment parameters are different from the previous system time and timestamp adjustment parameters.
本发明达到的有益效果包括几个方面:The beneficial effects achieved by the present invention include several aspects:
使用同一套c/c++实现,生成的ID规格一致,可以在不同平台运行,达到跨平台特性;Using the same set of c/c++ implementations, the generated ID specifications are consistent and can be run on different platforms to achieve cross-platform features;
使用文件的方式来存储时间信息,使得相同设备生成的ID的重复概率为0;The time information is stored by using a file, so that the repetition probability of the ID generated by the same device is 0;
使用当前操作***运行信息、设备信息、真随机数信息,使得不同设备生成的ID重复概率极低;Using the current operating system running information, device information, and true random number information, the ID repetition probability generated by different devices is extremely low;
以上三点可以满足互联PDF的大数据需求,保证一个互联PDF文档对应
一个ID,实现文档互联,人的互联和***的互联,为以后互联PDF生态***提供互联的基础保证。The above three points can meet the big data needs of the interconnected PDF, and ensure an interconnected PDF document corresponding
An ID, which enables document interconnection, human interconnection and system interconnection, provides the basis for interconnection of the interconnected PDF ecosystem in the future.
本领域普通技术人员可以理解:附图只是一个实施例的示意图,附图中的模块或流程并不一定是实施本发明所必须的。It will be understood by those of ordinary skill in the art that the drawings are only a schematic diagram of an embodiment, and the modules or processes in the drawings are not necessarily required to implement the invention.
本领域普通技术人员可以理解:实施例中的装置中的模块可以按照实施例描述分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个或多个装置中。上述实施例的模块可以合并为一个模块,也可以进一步拆分成多个子模块。It will be understood by those skilled in the art that the modules in the devices in the embodiments may be distributed in the devices of the embodiments according to the embodiments, or may be correspondingly changed in one or more devices different from the embodiment. The modules of the above embodiments may be combined into one module, or may be further split into multiple sub-modules.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的精神和范围。
It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.
Claims (3)
- 一种互联文档的自动填报方法,其特征在于,包括以下步骤:An automatic filling method for an interconnected document, comprising the steps of:在创建表单类文档时,向云端服务器上传设备硬件信息并申请设备ID,根据获得的设备ID生成文档唯一的互联ID身份标识信息,将与文档唯一对应的互联ID身份标识信息与版本信息保存在文档中并上传至云端服务器中,使该文档成为互联文档;When the form-type document is created, the device hardware information is uploaded to the cloud server and the device ID is applied, and the unique interconnection ID identification information of the document is generated according to the obtained device ID, and the interconnection ID identification information and version information uniquely corresponding to the document are saved in the The document is uploaded to the cloud server to make the document an interconnected document;当该文档的版本更新时,根据该文档的互联ID身份标识信息自动更新云端服务器中该文档的版本信息;When the version of the document is updated, the version information of the document in the cloud server is automatically updated according to the interconnection ID identification information of the document;当用户打开已填过的表单类文档时,根据该文档的互联ID身份标识信息自动向云端服务器查询该文档的版本信息,在查询到该文档已有新版本时,弹出提示框提示用户该文档有了更新版本,并提示用户重新下载新版本的文档;When the user opens the filled form document, the version information of the document is automatically queried according to the interconnection ID identification information of the document. When a new version of the document is found, a prompt box is displayed to prompt the user to the document. Have an updated version and prompt the user to re-download the new version of the document;当检测到新版本的文档下载后,根据新、旧版本文档中表单的对应映射关系,将旧版本文档单元格中的内容自动填入新版本文档对应的单元格中。After detecting the download of the new version of the document, the content in the old version of the document cell is automatically filled in the cell corresponding to the new version of the document according to the corresponding mapping relationship of the form in the new and old version of the document.
- 根据权利要求1所述的互联文档的自动填报方法,其特征在于,对于新版本文档中新增的单元格,接受用户手动填写。The method for automatically reporting an interconnected document according to claim 1, wherein the newly added cell in the new version of the document is manually filled in by the user.
- 根据权利要求1所述的互联文档的自动填报方法,其特征在于,所述文档为PDF文档。 The automatic filing method of an interconnected document according to claim 1, wherein the document is a PDF document.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610399574.X | 2016-06-07 | ||
CN201610399574.XA CN107480111B (en) | 2016-06-07 | 2016-06-07 | A kind of interconnection document makes a report on method automatically |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017211076A1 true WO2017211076A1 (en) | 2017-12-14 |
Family
ID=60577574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/000306 WO2017211076A1 (en) | 2016-06-07 | 2017-04-19 | Automatic filling method for associated documents |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107480111B (en) |
WO (1) | WO2017211076A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111144080A (en) * | 2019-12-27 | 2020-05-12 | 深圳市金政软件技术有限公司 | Budget document generation method and system |
CN117272953A (en) * | 2023-11-15 | 2023-12-22 | 明度智云(浙江)科技有限公司 | Automatic document information filling method, system and storage medium |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781189B (en) * | 2019-10-25 | 2022-08-26 | 北京达佳互联信息技术有限公司 | Document platform construction method and device, electronic equipment and storage medium |
CN114386374A (en) * | 2020-10-19 | 2022-04-22 | 昆明安泰得软件股份有限公司 | Method for generating odf document by using CA signature in data integration and program thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101350009A (en) * | 2008-09-05 | 2009-01-21 | 中国工商银行股份有限公司 | System for writing and compiling cooperated documents |
CN104077665A (en) * | 2014-07-10 | 2014-10-01 | 国家电网公司 | Power grid project manufacturing cost analysis data collecting system and method |
CN105045770A (en) * | 2015-07-22 | 2015-11-11 | 福建福昕软件开发股份有限公司 | Automatic document new version prompting method |
CN105589813A (en) * | 2015-07-02 | 2016-05-18 | ***股份有限公司 | Electronic document version change tracking method |
-
2016
- 2016-06-07 CN CN201610399574.XA patent/CN107480111B/en active Active
-
2017
- 2017-04-19 WO PCT/CN2017/000306 patent/WO2017211076A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101350009A (en) * | 2008-09-05 | 2009-01-21 | 中国工商银行股份有限公司 | System for writing and compiling cooperated documents |
CN104077665A (en) * | 2014-07-10 | 2014-10-01 | 国家电网公司 | Power grid project manufacturing cost analysis data collecting system and method |
CN105589813A (en) * | 2015-07-02 | 2016-05-18 | ***股份有限公司 | Electronic document version change tracking method |
CN105045770A (en) * | 2015-07-22 | 2015-11-11 | 福建福昕软件开发股份有限公司 | Automatic document new version prompting method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111144080A (en) * | 2019-12-27 | 2020-05-12 | 深圳市金政软件技术有限公司 | Budget document generation method and system |
CN111144080B (en) * | 2019-12-27 | 2024-04-26 | 深圳市金政软件技术有限公司 | Budget document generation method and system |
CN117272953A (en) * | 2023-11-15 | 2023-12-22 | 明度智云(浙江)科技有限公司 | Automatic document information filling method, system and storage medium |
CN117272953B (en) * | 2023-11-15 | 2024-03-12 | 明度智云(浙江)科技有限公司 | Automatic document information filling method, system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107480111B (en) | 2019-11-22 |
CN107480111A (en) | 2017-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109889505B (en) | Data consistency verification method and terminal equipment | |
WO2017211076A1 (en) | Automatic filling method for associated documents | |
CN109831487B (en) | Fragmented file verification method and terminal equipment | |
US20200412526A1 (en) | Method and apparatus for verifying smart contracts in blockchain, and storage medium | |
US20150326667A1 (en) | Peer-to-peer sharing of cloud-based content | |
US11977637B2 (en) | Technique for authentication and prerequisite checks for software updates | |
US11360938B2 (en) | Files having unallocated portions within content addressable storage | |
CN102857578B (en) | A kind of file uploading method of network hard disc, system and net dish client | |
US20190354716A1 (en) | Obfuscation and deletion of personal data in a loosely-coupled distributed system | |
US20160239409A1 (en) | Testing a web service using inherited test attributes | |
CN110543448A (en) | data synchronization method, device, equipment and computer readable storage medium | |
KR20140129042A (en) | Application installation | |
US9940115B2 (en) | Mobile application deployment for distributed computing environments | |
TWI762851B (en) | Data verification method, system, device and equipment in blockchain ledger | |
CN109445866A (en) | A kind of the determination method, apparatus and server of disk identifier of hard disk | |
US10411896B2 (en) | Mixed checksum injection for content verification on multiple platforms | |
CN112486915A (en) | Data storage method and device | |
US20140279946A1 (en) | System and Method for Automatic Integrity Checks in a Key/Value Store | |
WO2017211077A1 (en) | Cross-platform interlinked document id generating method | |
CN114781007A (en) | Tree-based document batch signature and signature verification method and system | |
CN112182112A (en) | Block chain based distributed data dynamic storage method and electronic equipment | |
CN114900497A (en) | Identification serial number generation method and device, electronic equipment and storage medium | |
CN110636042B (en) | Method, device and equipment for updating verified block height of server | |
CN111949738A (en) | Block chain-based data storage deduplication method, terminal device and storage medium | |
CN113436699A (en) | Method, system, electronic device and storage medium for generating new corona nucleic acid detection report |
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: 17809517 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: 17809517 Country of ref document: EP Kind code of ref document: A1 |