Page processing method
By using preset unit information when the page operator logs in, and judging the effectiveness of editing content in the cloud based on the operation identity and current status, the problems of inconvenient page permission management and slow loading speed in the existing technology are solved, and efficient permission management and fast loading are achieved.
Patent Information
- Application Number
- CN202411917335.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-15
AI Technical Summary
In the prior art, page permissions are either inconvenient to users or load slowly, and cannot effectively solve the permissions and loading speed problems of multiple page operators operating the same page.
When the page operator logs in, the page content is loaded based on its corresponding preset unit information, and each preset unit information corresponds to multiple page operators. After receiving the edited content in the cloud, the validity of the edited content is judged based on the page operator's operation identity and the current status of the editable content, and the preset unit information and the status of the editable content are updated on the cloud.
It realizes permission management for multiple page operators to operate the same page, reduces the R&D cost of page interaction design, improves page loading speed, improves user experience, and effectively avoids local malicious tampering attacks.
Smart Images

Figure CN119830247A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of the Internet, and in particular to a method for processing a page that is easy to operate and in which page operators have different permissions. Background Art
[0002] In the era of Internet development, a lot of communication is currently conducted through interactive pages. In order to achieve page permission management and control in the existing technology, there are usually two ways.
[0003] Let’s take the project question asking as an example.
[0004] The first is to display them separately. The questioner has a page that displays all the questions he can operate, such as a new question or a question that has been asked. After the questioner answers, the questioner needs to confirm the question. Similarly, the questioner also has a page that displays all the questions he needs to answer.
[0005] Although this method solves the permission problem, its disadvantage is that different pages need to be prepared for different people, and the early interactive page design needs to be designed separately, which increases the research and development cost of the page. In addition, when the question does not belong to the questioner, the questioner cannot see the content of the question, which makes the questioner unable to control the whole question, especially when the question has not been transferred to the question answerer, the question answerer is completely unaware of the problem, which delays the time to solve the problem and delays the progress of problem solving.
[0006] The second is that all questions are displayed together for all users, but according to the permissions of different users, corresponding controls in the page are hidden, set to an available or unavailable state for different users.
[0007] This method can also solve the problem of permissions for multiple users on one page. However, this method requires loading for each user separately when each user logs in. When there is a lot of content, the loading is slow and the user experience is poor. Especially when the user has personal data, it is necessary to further load the content, which further slows down the loading speed. In addition, this method cannot be applied to convenient page scenarios such as sharing Excel tables, because Excel tables are third-party software, and it is difficult to control the available or unavailable status of each space in the table. Overcoming this problem requires extremely high R&D costs, resulting in a relatively narrow scope of use.
[0008] Therefore, how to provide a page processing method that can improve loading speed while achieving permission management is a technical problem to be solved. Summary of the invention
[0009] In order to solve the technical problems in the prior art that page permissions are either inconvenient for users to use or are slow to load, a page processing method of the present invention is proposed.
[0010] The page processing method proposed by the present invention includes:
[0011] When the page operator logs in, each page loads the page content based on the preset unit information corresponding to the page operator; each preset unit information corresponds to multiple page operators;
[0012] The page operator edits and submits at least one set of editable content on the page;
[0013] After the cloud receives the edited content, it determines whether at least one set of editable content submitted by the page operator is a valid submission based on the operation identity of the page operator or based on the operation identity and the current status of the corresponding editable content. If it is a valid submission, the editable content corresponding to the preset unit information and the current status of the editable content are updated; otherwise, the editable content is skipped.
[0014] Furthermore, when the cloud updates the editable content corresponding to the preset unit information and the current state of the editable content, it includes:
[0015] Based on the process identity of the page operator and the unique identifier of each content input control of the editable content, it is determined whether each edit content submitted by the page operator is valid content. If so, the content corresponding to the corresponding content input control is updated, otherwise the edit content is skipped.
[0016] Furthermore, when the page operator creates a new set of editable content on the page, a judgment is made based on the operation identity of the page operator.
[0017] Furthermore, when a page operator edits a set of editable contents that already exist on the page, a judgment is made based on the operation identity of the page operator and the current state of the editable contents.
[0018] Furthermore, the current state of the editable content is updated according to the operation process of the editable content, and different operation processes correspond to different current states and operation identities.
[0019] Furthermore, the preset unit information is divided into any one of a project, a group, a class or a grade, and a parameter range.
[0020] Furthermore, when the page operator chooses to save the page temporarily after editing it, the edited content of the page operator is saved and bound to the preset unit information corresponding to the page. When the page operator logs in again, it is determined whether the corresponding page has bound edited content. If so, the page is loaded based on the preset unit information and the bound edited content.
[0021] Furthermore, when the editing content of the page operator is bound to the preset unit information corresponding to the page, the binding information includes the process identity of the page operator or a unique identifier corresponding to the process identity.
[0022] Further, when the page is a project question page, the process identities of the page operator include process technicians, quality control technicians, designers, and prototype production technicians. The operating identities of the process technicians, quality control technicians, and prototype production technicians are questioners, and the operating identity of the designer is respondent. The current status includes pending reply and pending confirmation.
[0023] The present invention not only solves the problem of the authority of multiple page operators to operate the same page, but also avoids the research and development cost of developing multiple sets of interactive pages for the same preset unit information. Further, the present invention can also realize the management of process flow. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The present invention is described in detail below with reference to the embodiments and accompanying drawings, wherein:
[0025] Figure 1 It is a page operation flow chart of an embodiment of the present invention.
[0026] Figure 2 It is a page schematic diagram of an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0028] Thus, a feature indicated in this specification will be used to illustrate one of the features of an embodiment of the present invention, rather than implying that each embodiment of the present invention must have the described feature. In addition, it should be noted that this specification describes many features. Although some features can be combined together to illustrate possible system designs, these features can also be used in other combinations that are not explicitly described. Thus, unless otherwise stated, the described combinations are not intended to be limiting.
[0029] When a page operator logs in, the page processing method of the present invention loads page content on each page based on preset unit information corresponding to the page operator, and each preset unit information corresponds to multiple page operators.
[0030] For example, the page operator is an employee of a project. A project usually has multiple employees, all of whom can serve as page operators. When each employee of the project logs in, all issues of the project will be listed on one page. Regardless of the employee's operating identity, the page displayed is the problem page of his project.
[0031] The page operator edits and submits at least one set of editable content on the page. The page has at least one set of editable content, for example, a row of content in a table can be used as a set of editable content. Alternatively, each question in the question page can correspond to a set of editable content, and each page operator can edit a set of editable content for each question.
[0032] After the cloud receives the edited content, it determines whether at least one set of editable content submitted by the page operator is a valid submission based on the operation identity of the page operator or based on the operation identity and the current status of the corresponding editable content. If it is a valid submission, the editable content corresponding to the preset unit information and the current status of the editable content are updated; otherwise, the editable content is skipped.
[0033] The present invention can provide completely identical pages or slightly different pages for users with the same preset unit information. There is no need to provide different pages for different users, which saves the research and development costs of page interaction design. At the same time, the present invention places the control of permissions on the cloud when judging the submitted content. This method allows the user's page to be loaded quickly, reducing resource loss during loading. The permission judgment is placed on the cloud. Since it occurs after the user has completed editing, the user's operation has been completed, so the time consumption of the cloud judgment has no effect on the user experience. In addition, the present invention groups the editable content. When judging in the cloud, the editable content can be judged in groups, so the speed of permission judgment is also relatively fast, and for the cloud, the resource consumption is also less.
[0034] Taking an application scenario as an example, in the prior art, many departments, classes or groups need to fill in Excel tables. In the prior art, there is a form of shared Excel tables, but in the existing shared Excel tables, the permissions that can access the Excel tables are unified, and everyone can operate every content of the table, so management is inconvenient. Assuming that the technical solution of the present invention is used, an Excel table that can be operated by everyone and a configuration file are provided, and it is defined that each row of data is responsible for a page operator. Then, when different page operators edit the corresponding rows of the Excel table, the Excel table can be successfully updated in the cloud. If some page operators violate the authority due to negligent operation and modify the editable content of others, it will not be saved.
[0035] Furthermore, the Excel table can also have a current status. Each page operator whose operating role is the initiator creates editable content in the corresponding row. After submission, the current status of the corresponding row can be changed to pending reply. The page operator whose operating role is the responder can edit the corresponding row. After submission, the current status of the corresponding row becomes pending confirmation. At this time, the page operator whose operating role is the initiator can confirm. After submission, the current status of the corresponding row becomes confirmed.
[0036] When the current status of the corresponding row is pending reply, the initiator cannot edit the corresponding row. When the current status of the corresponding row is pending confirmation, the responder cannot edit the corresponding row. When the current status of the corresponding row becomes confirmed, neither the initiator nor the responder can edit the corresponding row.
[0037] This embodiment not only realizes the authority of users to operate the same page, but also realizes the flow and control of the process through one page.
[0038] In addition, the application of the present invention has another advantage in that it avoids local malicious tampering attacks. Existing software is more troubled by malicious tampering attacks. If permissions are only distinguished by available or unavailable status during loading, they are more likely to be maliciously tampered, thus causing the permission setting to become invalid. The present invention places permission management at the time of submission, which can effectively avoid local malicious tampering attacks.
[0039] In a further embodiment, when the cloud updates the editable content corresponding to the preset unit information and the current status of the editable content, the following steps are included.
[0040] Based on the process identity of the page operator and the unique identifier of each content input control of the editable content, it is determined whether each edit content submitted by the page operator is valid content. If so, the content corresponding to the corresponding content input control is updated, otherwise the edit content is skipped.
[0041] This situation is applicable to more complex page application scenarios. Take the problem page of the project as an example. Each user of the project can act as a page operator to operate the editable content corresponding to each problem on the page. However, due to the relatively complex production process of the project, each problem has multiple content input controls that can be edited. For example, the page operator corresponding to link 1 can edit content input controls a and b, the page operator corresponding to link 2 can edit content input controls c and d, and the barbaric operator corresponding to link N can edit content input controls m and n, etc. At this time, it is no longer possible to meet the needs to perform permission judgment in groups, so it can be divided into two steps. The first step is to judge each group of editable content in groups according to the current state and the operation identity of the page operator. If the current page operator can operate the editable content, then the second step is to judge whether each edited content submitted by the page operator is valid content. For example, whether the edited content submitted by the page operator in link 2 is the content of editable content input controls c and d. If so, it is valid content, otherwise it is skipped, thereby improving the update efficiency and realizing permission management at the same time.
[0042] In one embodiment, when a page operator creates a new set of editable content on a page, it is determined whether the editable content submitted by the page operator is a valid submission based on the operation identity of the page operator.
[0043] This embodiment is applicable to the scenario where the pages corresponding to page operators with different operation identities are exactly the same, that is, a page operator without the permission to create a new page can also create a new page, but just does not submit it. In other embodiments, since the creation is usually performed by a button to generate a set of empty content input controls corresponding to editable content, when loading, if the page operator does not have the permission to create a new page, the new button can be hidden. This method does not require changing the page and has very little impact on the loading speed.
[0044] In one embodiment, when a page operator edits a set of editable contents that already exist on a page, a judgment is made based on the operation identity of the page operator and the current state of the editable contents.
[0045] For example, there are two types of operating identities for page operators, one is the questioner and the other is the answerer. All questioners have the same editing permissions for each set of editable content. The permissions for each set of editable content can be determined based on the operating identity and the current state. This technical solution enables this application scenario and similar application scenarios to quickly achieve permission differentiation without increasing the load or the burden on the cloud.
[0046] In one embodiment, the current state of the editable content is updated according to the operation process of the editable content, and different operation processes correspond to different current states and operation identities.
[0047] In some embodiments, for example, when the operating identities are questioner and answerer, the process can be divided into questioning, replying and confirming. After asking a question, the corresponding current state is waiting for reply, and after replying, the corresponding current state is waiting for confirmation. When waiting for reply, the answerer has the corresponding operation authority, and when asking a question and waiting for confirmation, the questioner has the corresponding operation authority.
[0048] In some more complex processes, there may be more current states and more operation roles to realize the flow of processes and permissions on the same page.
[0049] In the above embodiment, the preset unit information can be divided into any one of a project, a group, a class or a grade, and a parameter range. A parameter range can be an age group, a temperature range, a product series number, etc. The specific division can be adjusted by technicians in this field as needed to achieve flexibility in the page display range.
[0050] In one embodiment, some pages have more editable content, so when the page operator is editing the page, he / she hopes to save it so that he / she can continue editing it later, or after editing the page, he / she hopes to do a secondary check before submitting it. Therefore, the page operator can be provided with a temporary storage function. When the page operator selects temporary storage after editing the page, the cloud saves the edited content of the page operator and binds it with the preset unit information corresponding to the page. When the page operator logs in again, it is determined whether the corresponding page has bound edited content. If so, the page is loaded based on the preset unit information and the bound edited content.
[0051] When the page operator temporarily stores the page, the present invention does not determine the authority to reduce the consumption of cloud resources. The cloud only saves the content edited by the page operator, and directly fills in the corresponding content when he logs in next time. This is equivalent to the page operator re-editing the previous edited content when logging in again, but the re-editing is automatically completed during the loading process. Then, when the page operator completes the editing or checking and submits it, the cloud can still determine the authority, which not only realizes the temporary storage function, but also realizes the management of authority, which is convenient for the user's operation.
[0052] In one embodiment, when the edited content of the page operator is bound to the preset unit information corresponding to the page, the binding information includes the process identity of the page operator or a unique identifier corresponding to the process identity.
[0053] For example, the process identity corresponding to the page operator Xiaolin is a designer, and the unique identifier corresponding to the process identity is 0001. After the page operator Xiaolin edits the content, the cloud binds the designer, the edited content, and the corresponding preset unit information, or binds 0001, the edited content, and the corresponding preset unit information. When the page operator Xiaolin resigns or is on vacation, his colleague, the page operator Xiaojiang, as a member of the same design team, can continue to edit or submit the content edited by the page operator Xiaolin, avoiding the stagnation of the workflow operation caused by an individual. In the prior art, the content temporarily stored by a user is usually only visible to the user, and a process is only operable by the employee. When the corresponding employee cannot operate normally, other employees are required to operate with the corresponding account of their page operator, which causes confusion to management. For the production process, many links do not have more than one employee, and the single-person single-authority method cannot quickly advance the progress of the project. The solution of this embodiment can solve this problem and achieve rapid advancement of the project.
[0054] In a specific embodiment, when the page is a project question page, the process identities of the page operator include process technician, quality control technician, designer, and prototype production technician. The operating identities of the process technician, quality control technician, and prototype production technician are questioners, and the operating identity of the designer is respondent. The current status includes pending reply and pending confirmation.
[0055] The present invention realizes the permission management of the same page in a relatively simple way, and for the page interaction design, there is no need to prepare multiple different interactive pages, and the loading speed is also fast in terms of user experience. Moreover, for all editable contents of the same page, users can batch operate and submit without checking and other operations, and the cloud automatically identifies the validity of their submission.
[0056] Figure 1 The following is a flowchart showing an operation of a specific application embodiment of the present invention.
[0057] This specific application embodiment is explained by taking a project question page as an example. A project may be created first, and then corresponding operation roles may be assigned. The operation roles are divided into a question raiser and a question answerer.
[0058] The questioner can ask a question, and then submit and temporarily save the content of the page in batches. He can also suspend the question, that is, change the current status of the question to suspended, and close the question, that is, change the current status of the question to closed. The question answerer can submit and temporarily save the content of the page in batches.
[0059] When the questioner and the question answerer send data to the cloud, the cloud determines whether it is temporarily stored. If it is temporarily stored, no permission judgment is performed, and the edited content is simply bound to the preset unit information. If it is a newly created question, it determines whether the operating role is the questioner. If so, the corresponding preset unit information is updated and the current status is changed to pending reply. If it is an edit submission for the editable content of an existing question, the operating role and current status are determined, and then it is determined whether it is a valid submission. If so, the corresponding preset unit information and current status are updated.
[0060] Figure 2 It is a specific schematic diagram of the page. A group of editable contents are displayed on the page, including the serial number of the problem, the problem type, the problem description, the problem diagram, the problem inspection conclusion, the problem rectification measures, whether to close the problem, the confirmation status, the problem status and the operation.
[0061] The serial number of the question is automatically generated by the questioner when he creates a new question.
[0062] The problem type, problem description, diagram, inspection conclusion, whether to close, confirmation status, and operation are all editable controls by the person raising the problem.
[0063] The person who answers the question can only edit the controls corresponding to the corrective measures.
[0064] After the questioner creates a new question, he or she can also delete the question by clicking the Delete button in the operation bar.
[0065] If the person who answered the question deletes the corresponding question, when the person who answered the question submits the question in batches, the cloud will regard the submission of the deletion operation as an invalid submission, thereby achieving management of different permissions.
[0066] 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 should be included in the protection scope of the present invention.
Claims
1. A page processing method, characterized in that: include: When the page operator logs in, each page loads the page content based on the preset unit information corresponding to the page operator; Every One preset unit information corresponds to multiple page operators; The page operator edits and submits at least one set of editable content on the page; After the cloud receives the edited content, it determines whether at least one set of editable content submitted by the page operator is a valid submission based on the operation identity of the page operator or based on the operation identity and the current status of the corresponding editable content. If it is a valid submission, the editable content corresponding to the preset unit information and the current status of the editable content are updated; otherwise, the editable content is skipped.
2. The page processing method according to claim 1, characterized in that: When the cloud updates the editable content corresponding to the preset unit information and the current state of the editable content, it includes: Based on the process identity of the page operator and the unique identifier of each content input control of the editable content, it is determined whether each edit content submitted by the page operator is valid content. If so, the content corresponding to the corresponding content input control is updated, otherwise the edit content is skipped.
3. The page processing method according to claim 1, characterized in that: When a page operator creates a new set of editable content on a page, a judgment is made based on the operation identity of the page operator.
4. The page processing method according to claim 1, characterized in that: When a page operator edits a set of editable contents that already exist on the page, a judgment is made based on the operation identity of the page operator and the current state of the editable contents.
5. The page processing method according to claim 1, characterized in that: The current state of the editable content is updated according to the operation process of the editable content, and different operation processes correspond to different current states and operation identities.
6. The page processing method according to claim 1, characterized in that: The preset unit information is divided into any one of a project, a group, a class or a grade, and a parameter range.
7. The page processing method according to claim 1, characterized in that: When the page operator chooses to save the page temporarily after editing it, the edited content of the page operator is saved and bound to the preset unit information corresponding to the page. When the page operator logs in again, it is determined whether the corresponding page has bound edited content. If so, the page is loaded based on the preset unit information and the bound edited content.
8. The page processing method according to claim 7, characterized in that: When the editing content of the page operator is bound to the preset unit information corresponding to the page, the binding information includes the process identity of the page operator or a unique identifier corresponding to the process identity.
9. The page processing method according to any one of claims 2 to 8, characterized in that: When the page is a project question page, the process identities of the page operator include process technicians, quality control technicians, designers, and prototype production technicians. The operating identities of the process technicians, quality control technicians, and prototype production technicians are questioners, and the operating identity of the designer is respondent. The current status includes pending reply and pending confirmation.