Registration-login-free form filling method and device

文档序号:169063 发布日期:2021-10-29 浏览:10次 中文

阅读说明:本技术 一种免注册登录的表单填写方法及装置 (Registration-login-free form filling method and device ) 是由 桑磊 孙方贵 蒋云安 吕正钰 于 2021-06-07 设计创作,主要内容包括:本发明提出一种免注册登录的表单填写方法及装置,获取用户使用客户端时首次填写的表单信息,接收客户端的表单信息,生成提示信息和令牌;接收并保存提示信息和令牌;获取用户选择的提示信息,发送请求信息;接收请求信息并验证请求信息中的令牌;基于令牌调取表单信息并保存,基于表单信息填写表单并发送表单填写结果的提示信息。本发明通过获取用户使用客户端首次填写的表单信息,通过服务器保存至表单中心,后续该客户端的其他服务器需要填写表单时,用户只需可通过选择提示信息自动填写表单,免除了注册登录的繁琐程序,提高了用户体验感。(The invention provides a registration-login-free form filling method and a registration-login-free form filling device, which are used for acquiring form information filled for the first time when a user uses a client, receiving the form information of the client and generating prompt information and a token; receiving and storing the prompt message and the token; acquiring prompt information selected by a user and sending request information; receiving request information and verifying a token in the request information; and calling and storing form information based on the token, filling the form based on the form information and sending prompt information of a form filling result. According to the invention, the form information which is firstly filled by the user using the client is obtained and stored to the form center through the server, and when other servers of the client need to fill in the form subsequently, the user only needs to automatically fill in the form by selecting the prompt information, so that a complicated program of registration and login is avoided, and the user experience is improved.)

1. A registration-free login form filling method is applied to a client, and is characterized by comprising the following steps: a pre-storing step and a reading step;

the pre-storing step specifically comprises:

acquiring form information filled in by a user for the first time when the user uses a client;

sending the form information to a first information server;

receiving and storing prompt information and a token returned by the first server;

the reading step specifically includes:

acquiring prompt information selected by a user;

sending request information to a second server, wherein the request information comprises a token;

and receiving prompt information of the form filling result returned by the second server.

2. A registration-free login form filling method is applied to a server and is characterized by comprising the following steps: a pre-storing step and a reading step;

the pre-storing step specifically comprises:

the first server receives the form information of the client, stores and submits the form information to a form center;

the first server receives prompt information and a token returned by the form center and sends the prompt information and the token to the client;

the reading step specifically includes:

the second server receives request information of the client, wherein the request information comprises a token;

the second server verifies whether the token in the request information is the token of the form center; if yes, calling and storing form information of the form center based on the token;

and the second server fills the form based on the form information and sends prompt information of the filling result to the client.

3. A registration-free entry form filling apparatus, comprising:

the first acquisition module is used for acquiring form information filled in by a user for the first time when the user uses the client;

the first sending module is used for sending the form information to a first server;

the first receiving module is used for receiving the prompt message and the token returned by the first server;

the storage module is used for storing the prompt information returned by the first server and the corresponding token;

the second acquisition module is used for acquiring prompt information selected by a user;

the second sending module is used for sending request information to a second server, and the request information comprises a token;

and the second receiving module is used for receiving prompt information of the form filling result returned by the second server.

4. A registration-free entry form filling apparatus, comprising:

the first receiving module is used for receiving and storing the form information of the client;

the first sending module is used for submitting the form information to a form center;

the first receiving module is also used for receiving prompt information and a token returned by the form center;

the first sending module is further used for sending the prompt information and the corresponding token to the client;

the second receiving module is used for receiving the request information of the client;

the verification module is used for verifying whether the token in the request information is the token returned by the form center; if yes, calling and storing form information of the form center based on the token;

the filling module is used for filling the form according to the form information;

and the second sending module is used for sending the prompt information of the form filling result to the client.

5. A computer readable storage medium comprising computer readable instructions which, when read and executed by a computer, cause the computer to perform the method of claim 1.

6. A computer readable storage medium comprising computer readable instructions which, when read and executed by a computer, cause the computer to perform the method of claim 2.

Technical Field

The invention relates to the technical field of form filling, in particular to a registration-free login form filling method and device.

Background

The user can touch the process of filling in the form in the process of using the client, and the user needs to repeatedly fill in the form after filling once, if too many form items to be filled cause easy filling errors, the filling accuracy is not high, the time of the user is wasted, and the filling efficiency is not high. For the problems, in the prior art, two modes are used for filling in the form, firstly, basic information of a user is called for filling in through user login, and the mode needs a process of registering and logging in by the user, so that the user experience is poor; secondly, the filled-in form is cached locally, but the method has potential safety hazard and easily causes the phenomenon of user information leakage.

Disclosure of Invention

In order to solve the technical problems in the background art, the invention provides a registration-free form filling method and a registration-free form filling device, which solve the potential safety hazard of user form information in the storage process and realize the filling-free function of a client form.

The invention provides a registration-free login form filling method, which is applied to a client and comprises the following steps: a pre-storing step and a reading step;

the pre-storing step specifically comprises:

acquiring form information filled in by a user for the first time when the user uses a client;

sending the form information to a first information server;

receiving and storing prompt information and a token returned by the first server;

the reading step specifically includes:

acquiring prompt information selected by a user;

sending request information to a second server, wherein the request information comprises a token;

and receiving prompt information of the form filling result returned by the second server.

The invention also provides a registration-free form filling method, which is applied to a server and comprises the following steps: a pre-storing step and a reading step;

the pre-storing step specifically comprises:

the first server receives the form information of the client, stores and submits the form information to a form center;

the first server receives prompt information and a token returned by the form center and sends the prompt information and the token to the client;

the reading step specifically includes:

the second server receives request information of the client, wherein the request information comprises a token;

the second server verifies whether the token in the request information is the token of the form center; if yes, calling and storing form information of the form center based on the token;

and the second server fills the form based on the form information and sends prompt information of the filling result to the client.

The invention also provides a registration-free form filling device, which comprises:

the first acquisition module is used for acquiring form information filled in by a user for the first time when the user uses the client;

the first sending module is used for sending the form information to a first server;

the first receiving module is used for receiving the prompt message and the token returned by the first server;

the storage module is used for storing the prompt information returned by the first server and the corresponding token;

the second acquisition module is used for acquiring prompt information selected by a user;

the second sending module is used for sending request information to a second server, and the request information comprises a token;

and the second receiving module is used for receiving prompt information of the form filling result returned by the second server.

The invention also provides a registration-free form filling device, which comprises:

the first receiving module is used for receiving and storing the form information of the client;

the first sending module is used for submitting the form information to a form center;

the first receiving module is also used for receiving prompt information and a token returned by the form center;

the first sending module is further used for sending the prompt information and the corresponding token to the client;

the second receiving module is used for receiving the request information of the client;

the verification module is used for verifying whether the token in the request information is the token returned by the form center; if yes, calling and storing form information of the form center based on the token;

the filling module is used for filling the form according to the form information;

and the second sending module is used for sending the prompt information of the form filling result to the client.

The present invention also proposes a computer-readable storage medium characterized by comprising computer-readable instructions which, when read and executed by a computer, cause the computer to perform the method according to claim 1.

The present invention also proposes a computer-readable storage medium characterized by comprising computer-readable instructions which, when read and executed by a computer, cause the computer to perform the method according to claim 2.

In the pre-storage step, after the client acquires the form information filled for the first time when a user uses the client, the form information is sent to a first server; the first server receives the form information of the client, stores and submits the form information to a form center, and the form center stores the form information and generates prompt information and a token; the first server receives prompt information and a token returned by the form center and sends the prompt information and the token to the client; the client receives and stores the prompt message and the token; in the reading process, the client acquires prompt information selected by a user and sends request information to the second server; the second server receives the request information of the client and verifies whether the token in the request information is the token of the form center; and if so, calling and storing form information of the form center based on the token, and filling the form by the second server based on the form information and sending prompt information of a form filling result to the client.

In the invention, the first server and the second server mainly aim at distinguishing the pre-storage step and the reading step, and aiming at a single server, the two steps of the pre-storage step and the reading step can be realized; for example: when the first server acquires the form information filled for the first time and then stores the form information to the form center, and other servers need the form information, the other servers are the second servers; and when the form information required to be filled in by the first server is the form information acquired by the server before, the first server and the second server are the same server.

In summary, the form information firstly filled by the user when the user uses the client is acquired and stored to the form center through the server, and when other servers of the subsequent client need to fill the form, the form is automatically filled only by selecting the prompt information, so that a complicated program for registering and logging is omitted, and the user experience is improved; according to the form information processing method and device, the form information of the user is stored in the form center, so that the safety of the form information is guaranteed, and the risk of information leakage is reduced; the form information of the form center is called through the server verification token instead of directly calling the form information, so that the safety of the information is ensured to a certain extent; the client only stores the token and the prompt information and does not have privacy-related sensitive information, and the privacy data of the user are effectively protected under the condition of improving the user experience.

Drawings

Fig. 1 is a schematic flowchart of a registration-free form filling method according to an embodiment of the present invention;

fig. 2 is a schematic structural diagram of a system to which a registration-free form filling method according to an embodiment of the present invention is applied.

Detailed Description

As shown in fig. 1, fig. 1 is a schematic flowchart of a method for filling a registration-free form according to an embodiment of the present invention.

Fig. 2 is a schematic structural diagram of a system to which a registration-free form filling method according to an embodiment of the present invention is applied. The embodiment of the invention provides a registration-free login form filling method, which is applied to a system comprising a client, a plurality of servers and a form center; the client can be a PC, intelligent equipment and the like;

the embodiment of the invention provides a registration-free login form filling method, which is applied to a system comprising a client, a server and a form center, and specifically comprises the following steps: a pre-storing step and a reading step;

the pre-storing step specifically comprises:

s101: the client acquires form information and sends the form information to the first server;

in the embodiment of the present invention, the obtaining of the form information may be obtaining the form information which is filled in by the user for the first time when the user uses the client. The form is stored in the form center through the server, and when other servers of the subsequent client need to fill in the form, the user only needs to automatically fill in the form by selecting the prompt information, so that a complicated program for registering and logging is omitted, and the user experience is improved. It should be noted that, if the user has already registered and logged in when using the client, the basic user information that is filled in during the registration and login process of the user may also be directly obtained to generate the form information.

S102: the first server receives the form information of the client, stores the form information and sends the form information to the form center;

s103: the form center stores form information and generates prompt information and a token; sending the prompt message and the token to a first server;

in the embodiment of the invention, a form center extracts form information of a user and then generates form abstract information, and the abstract information hides partial information and then forms prompt information; the prompt information is displayed at the client, and the user can select the required form information according to the prompt information. For example, the user identity card information or the mobile phone number information is hidden with a plurality of numbers in the middle, and the user name is hidden with a plurality of characters; the client only stores the token and the prompt information and does not have privacy-related sensitive information, and the privacy data of the user are effectively protected under the condition of improving the user experience.

S104: the first server receives the prompt message and the token and sends the prompt message and the token to the client;

s105: the client receives and stores the prompt message and the token.

In the embodiment of the invention, in the pre-storage step, the first server receives the form information of the client and submits the form information to the form center, and the server receives the prompt information and the token returned by the form center and sends the prompt information and the token to the client; it should be noted that, in the embodiment of the present invention, the first server does not store the token, and in the verification process, the token is verified in a stateless verification manner.

The reading step specifically includes:

s111: the client acquires prompt information selected by a user and sends request information to the second server; it should be noted that the request information includes a token;

s112: the second server verifies the token in the request information after receiving the request information, and calls and stores the form information of the form center after the verification is passed;

in the embodiment of the invention, the server does not directly store the token, so that the verification token is only used for verifying whether the token is the token sent by the form center; if so, the form center calls corresponding form information based on the token; if not, the call cannot be made.

S113: and the second server fills the form based on the form information and sends prompt information of the form filling result to the client.

It should be noted that, in the embodiment of the present invention, the second server stores the form information sent by the form center and fills in the form, and only returns the prompt information of the filling result to the client, and the client does not directly obtain the form information, thereby ensuring the information security; for example, after the second server acquires form information after the token is verified to pass and completes filling of the form, the prompt information of the filled form is fed back to the client; and when the second server verifies that the token does not pass, feeding back the prompt information of the failure filling of the form to the client.

According to the embodiment of the invention, the client acquires the form information which is filled in by the user for the first time by using the client, and then other servers of the client only need to automatically fill in the form by selecting the prompt information when the form needs to be filled in, so that a complicated program for registering and logging in is avoided, and the user experience is improved.

According to the embodiment of the invention, the form information of the user is stored in the form center, and the form information of the form center is called by the server after the token is verified, rather than directly calling the form information, so that the safety of the information is ensured to a certain extent, and the risk of information leakage is reduced.

In the embodiment of the invention, the first server and the second server mainly aim at distinguishing the pre-storage step and the reading step, and for a single server, the pre-storage step and the reading step can be realized; for example: when the first server acquires the form information filled for the first time and then stores the form information to the form center, and other servers need the form information, the other servers are the second servers; and when the form information required to be filled in by the first server is the form information acquired by the server before, the first server and the second server are the same server.

In the embodiment of the present invention, since the server stores the form information in both the pre-storing step and the reading step, for a single server, when the form information to be filled in by the client is the information stored in the server, the form information stored in the server can be directly acquired and filled in.

The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于区块链的证明材料隐私数据处理方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类