Two-dimensional code office system based on large model and method thereof
By adopting a large-model-based QR code office system in the office system, embedding the user ID into the QR code link and setting timeliness, the problems of data confusion and insufficient security in the existing technology are solved, and efficient office processes and data security guarantees are achieved.
Patent Information
- Application Number
- CN202411683022.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-03-14
AI Technical Summary
The QR code application in the existing office system has problems of data confusion and management difficulties, and the lack of effective security control measures, which makes it difficult to guarantee personal privacy or sensitive information during the collection process.
The QR code office system based on the big model is adopted, and the user login module, electronic form database, user form link generation module and QR code generation module are embedded in the user ID into the QR code link, and the timeliness of the QR code are set to ensure the security and timeliness of the data.
It improves office efficiency, ensures data security and privacy, enhances data management convenience, and improves user experience.
Smart Images

Figure CN119622694A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of office systems, and in particular to a large model-based two-dimensional code office system and a method thereof. Background Art
[0002] In today's digital office era, office efficiency and the convenience of information management have become the focus of enterprises and organizations. Traditional office methods often rely on paper documents and manual delivery, which is not only inefficient but also prone to information loss and errors.
[0003] With the continuous development of QR code technology, its application in the office field has gradually attracted attention. QR code has the advantages of large information capacity, wide coding range, strong fault tolerance, high decoding reliability, low cost, and easy production, which can bring many conveniences to the office system. For example, through QR code, functions such as file sharing, information collection and transmission can be quickly realized. However, there are still some shortcomings in the application of QR code in the existing office system. On the one hand, in the multi-person collaborative office scenario, electronic forms created by different users are difficult to effectively distinguish, which easily causes data confusion and management difficulties. On the other hand, in the process of collecting personal privacy or sensitive information, there is a lack of effective security control measures, and the security and timeliness of the data cannot be ensured. For example, when the QR code is used to collect employees' personal information or the company's confidential data, it is valid for a long time, which may lead to illegal acquisition or abuse of information. These problems limit the promotion and application of the QR code office system to a certain extent. Therefore, a more complete QR code office system and method are needed to solve the above problems. Summary of the invention
[0004] The present invention provides a large-model-based two-dimensional code office system and method thereof, aiming to solve the above-mentioned technical problems.
[0005] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is:
[0006] On the one hand, a two-dimensional code office system is characterized by comprising:
[0007] User login module, used for user ID login;
[0008] Electronic forms database, used to store electronic forms created by users;
[0009] A user form link generation module embeds the user ID of the creator of the electronic form into the link through the server-side scripting language where the electronic form database is located, thereby obtaining a form link;
[0010] The QR code generation module is used to generate a corresponding QR code image from the form link corresponding to the electronic form created by the user.
[0011] Furthermore, the electronic forms in the electronic form database set permissions - allowing anonymous users to access and fill in fields;
[0012] Furthermore, it also includes a form identification module, which is used to read the header name of the form and add the header name to the QR code image.
[0013] Furthermore, the QR code generated by the QR code generation module is time-sensitive.
[0014] On the other hand, a method for constructing a two-dimensional code office system is characterized by comprising the following steps:
[0015] S100, constructing a user login module for logging in with a user ID;
[0016] S200, constructing an electronic form database in a server, the electronic form database being used to store electronic forms created by users;
[0017] S300, embedding the user ID of the creator of the electronic form into the link through the server-side scripting language where the electronic form database is located, to obtain a form link;
[0018] S400: Generate a corresponding QR code image from a form link corresponding to the electronic form created by the user.
[0019] Furthermore, the e-forms in the e-form database set permissions - allowing anonymous users to access and fill in fields.
[0020] Furthermore, step S400 specifically includes the following step S410: adding the table header name to the QR code image; when the filler receives multiple QR code images, it is convenient for the filler to intuitively distinguish the contents to be filled in different QR codes.
[0021] Furthermore, the method also includes the following steps: S420, using Django to build a Web application on the server side to manage QR code related functions; when generating a QR code, in addition to storing the link information of the file in the database, the validity period information of the QR code, i.e., a timestamp field, is also stored.
[0022] Further, S430, for access requests to file sharing QR codes, they are intercepted and checked in Django's view function; when a user scans the QR code and triggers a file access request, the corresponding QR code validity period timestamp is obtained from the database; then, the current time is compared with the validity period timestamp; if the current time exceeds the validity period timestamp, a prompt message is returned, such as "the QR code has expired", and access to the file is prohibited; if it is within the validity period, normal access to the file is allowed.
[0023] The beneficial effects of the present invention are:
[0024] 1. Improve office efficiency: Use QR codes to quickly transmit and collect information, reduce manual intervention and paper document circulation, and greatly save time and energy. For example, in attendance, asset statistics and other scenarios, employees can quickly scan the code to fill in information, and managers can obtain and process it in a timely manner, significantly improving overall office efficiency.
[0025] 2. Ensure data security and privacy: Use user ID to embed links and set QR code timeliness to effectively prevent others from illegally accessing and abusing data. Especially when it comes to personal privacy or sensitive information collection, ensure that data is only accessed by specific personnel within the authorized time, greatly reducing the risk of information leakage.
[0026] 3. Enhance the convenience of data management: Electronic forms created by different users are independent of each other because the user ID is embedded in the link, which is easy to distinguish and manage and avoid data confusion. At the same time, the form permission setting allows anonymous users to access and fill in specific fields, which not only meets data collection needs but also ensures a certain degree of security.
[0027] 4. Improve user experience: The form identification module adds the header name to the QR code image, so that the filler can intuitively distinguish the contents of different QR codes, reduce operational errors, and can quickly and accurately select and fill in multiple QR codes even when faced with multiple QR codes, thereby improving the accuracy and convenience of information filling. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 A logic block diagram of the method of this application;
[0029] Figure 2 These are other steps included in step S400. DETAILED DESCRIPTION
[0030] The specific implementation of the present invention is further described below in conjunction with the accompanying drawings, wherein the same components are represented by the same reference numerals.
[0031] It should be noted that the words "front", "rear", "left", "right", "up" and "down" used in the following description refer to directions in the accompanying drawings, and the words "inside" and "outside" refer to directions toward or away from the geometric center of a specific component, respectively.
[0032] In order to make the contents of the present invention more clearly understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0033] A two-dimensional code office system comprises a user login module, an electronic form database, a user form link generation module and a two-dimensional code generation module.
[0034] User login module, used for user ID login;
[0035] Electronic form database, used to store electronic forms created by users; such as attendance forms, personal information forms, and asset statistics forms.
[0036] The user form link generation module embeds the user ID of the creator of the electronic form into the link through the server-side scripting language where the electronic form database is located to obtain the form link. In this way, even if the forms are all "asset statistics forms", since the link of the "asset statistics form" contains the creator's user ID, the electronic forms created by different users have a certain degree of separation.
[0037] The QR code generation module is used to generate a corresponding QR code image from the form link corresponding to the electronic form created by the user.
[0038] To summarize, since the link corresponding to the electronic form contains user ID information, the forms corresponding to the QR codes created by different users are independent of each other; the creator of the QR code can share the QR code with others and let them enter information on the form to achieve the purpose of information collection and aggregation.
[0039] Furthermore, the e-forms in the e-form database set permissions - allowing anonymous users to access and fill in fields.
[0040] Furthermore, the form identification module is used to read the header name of the form and add the header name to the QR code image; when the filler receives multiple QR code images, it is convenient for the filler to intuitively distinguish the content to be filled in different QR codes.
[0041] Furthermore, the QR code generated by the QR code generation module has a time limit; when the validity period of the QR code expires, the relevant data access rights will also terminate. This is particularly important for the collection of personal privacy data.
[0042] Specifically, Django is used to build a Web application on the server side to manage QR code related functions. When generating a QR code, in addition to storing the link information of the file in the database, the validity period information of the QR code - the timestamp field (indicating the expiration date) must also be stored.
[0043] For the access request of the file sharing QR code, it is intercepted and checked in the view function of Django. When the user scans the QR code and triggers the file access request, the corresponding QR code validity period timestamp is obtained from the database. Then, the current time is compared with the validity period timestamp. If the current time exceeds the validity period timestamp, a prompt message such as "The QR code has expired" is returned, and access to the file is prohibited; if it is within the validity period, normal access to the file is allowed.
[0044] A method for constructing a two-dimensional code office system comprises the following steps:
[0045] S100, constructing a user login module for logging in with a user ID;
[0046] S200. Construct an electronic form database in the server, where the electronic form database is used to store electronic forms created by users, such as attendance forms, personal information forms, and asset statistics forms.
[0047] S300, embed the user ID of the creator of the electronic form into the link through the server-side script language where the electronic form database is located, and obtain the form link. In this way, even if the forms are all "asset statistics form", since the link of the "asset statistics form" contains the creator's user ID, the electronic forms created by different users have a certain degree of separation.
[0048] S400: Generate a corresponding QR code image from a form link corresponding to the electronic form created by the user.
[0049] To summarize, since the link corresponding to the electronic form contains user ID information, the forms corresponding to the QR codes created by different users are independent of each other; the creator of the QR code can share the QR code with others and let them enter information on the form to achieve the purpose of information collection and aggregation.
[0050] Furthermore, the e-forms in the e-form database set permissions - allowing anonymous users to access and fill in fields.
[0051] Furthermore, step S400 specifically includes the following step S410: adding the table header name to the QR code image; when the filler receives multiple QR code images, it is convenient for the filler to intuitively distinguish the contents to be filled in different QR codes.
[0052] Further, step S400 also includes step: S420, using Django to build a Web application on the server side to manage QR code related functions. When generating a QR code, in addition to storing the link information of the file in the database, the validity period information of the QR code---a timestamp field (indicating the expiration date) is also stored.
[0053] S430. For the access request of the file sharing QR code, intercept and check it in the view function of Django. When the user scans the QR code and triggers the file access request, get the corresponding QR code validity period timestamp from the database. Then, compare the current time with the validity period timestamp. If the current time exceeds the validity period timestamp, return a prompt message such as "The QR code has expired" and prohibit access to the file; if it is within the validity period, allow normal access to the file.
[0054] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.
Claims
1. A two-dimensional code office system and method based on a large model, characterized in that: include: User login module, used for user ID login; Electronic forms database, used to store electronic forms created by users; A user form link generation module embeds the user ID of the creator of the electronic form into the link through the server-side scripting language where the electronic form database is located, thereby obtaining a form link; The QR code generation module is used to generate a corresponding QR code image from the form link corresponding to the electronic form created by the user.
2. The large model-based two-dimensional code office system and method according to claim 1, characterized in that: Set permissions on the e-forms in the e-form database - allowing anonymous users to access and fill in fields.
3. The large model-based two-dimensional code office system and method according to claim 1, characterized in that: It also includes a form identification module, which is used to read the header name of the form and add the header name to the QR code image.
4. The large model-based two-dimensional code office system and method according to claim 1, characterized in that: The QR code generated by the QR code generation module is time-sensitive.
5. A method for constructing a two-dimensional code office system based on a large model and a method thereof, characterized in that: The following steps are included: S100, constructing a user login module for logging in with a user ID; S200, constructing an electronic form database in a server, the electronic form database being used to store electronic forms created by users; S300, embedding the user ID of the creator of the electronic form into the link through the server-side scripting language where the electronic form database is located, to obtain a form link; S400: Generate a corresponding QR code image from a form link corresponding to the electronic form created by the user.
6. The method for constructing a two-dimensional code office system and method based on a large model according to claim 5, characterized in that: Set permissions on the e-forms in the e-form database - allowing anonymous users to access and fill in fields.
7. The method for constructing a two-dimensional code office system and method based on a large model according to claim 5, characterized in that: Step S400 specifically further includes the following step S410: adding the table header name to the QR code image; when the filler receives multiple QR code images, it is convenient for the filler to intuitively distinguish the contents to be filled in different QR codes.
8. The method for constructing a two-dimensional code office system and method based on a large model according to claim 7, characterized in that: The method also includes the following steps: S420, using Django to build a Web application on the server side to manage QR code related functions; when generating a QR code, in addition to storing the link information of the file in the database, the validity period information of the QR code, i.e., a timestamp field, is also stored.
9. The method for constructing a two-dimensional code office system and method based on a large model according to claim 8, characterized in that: S430. For access requests to the file sharing QR code, intercept and check them in Django's view function; when the user scans the QR code and triggers a file access request, obtain the corresponding QR code validity period timestamp from the database; then, compare the current time with the validity period timestamp; if the current time exceeds the validity period timestamp, return a prompt message such as "the QR code has expired" and prohibit access to the file; if it is within the validity period, allow normal access to the file.