CN110717117A - Method, device and equipment for synchronously updating permission of tab page and readable storage medium - Google Patents

Method, device and equipment for synchronously updating permission of tab page and readable storage medium Download PDF

Info

Publication number
CN110717117A
CN110717117A CN201910845693.7A CN201910845693A CN110717117A CN 110717117 A CN110717117 A CN 110717117A CN 201910845693 A CN201910845693 A CN 201910845693A CN 110717117 A CN110717117 A CN 110717117A
Authority
CN
China
Prior art keywords
permission
tab page
target
hidden
tab
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910845693.7A
Other languages
Chinese (zh)
Inventor
谢泳涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201910845693.7A priority Critical patent/CN110717117A/en
Priority to PCT/CN2019/117207 priority patent/WO2021042525A1/en
Publication of CN110717117A publication Critical patent/CN110717117A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention belongs to the technical field of function optimization, and provides a method for synchronously updating permission of a tab page, which comprises the following steps: when receiving an authority setting operation acting on a target tab page, acquiring an authority parameter corresponding to the authority setting operation as a target authority parameter corresponding to the target tab page; acquiring hidden permission parameters corresponding to a hidden tab page related to the target tab page, and comparing the hidden permission parameters with the target permission parameters; and if the hidden permission parameter is not consistent with the target permission parameter, adjusting the hidden permission parameter to be consistent with the target permission parameter. The invention also provides a device, equipment and a readable storage medium for synchronously updating the permission of the tab page. The method and the device can avoid the error report problem when the related hidden tab page is reloaded due to the permission change, and improve the user experience.

Description

Method, device and equipment for synchronously updating permission of tab page and readable storage medium
Technical Field
The invention relates to the technical field of function optimization, in particular to a method, a device, equipment and a readable storage medium for synchronously updating permission of a tab page.
Background
At present, when a user browses a webpage or a service system (such as an online system for processing services), a plurality of tab pages can be sequentially opened through tab labels provided by the webpage or the service system, but if the user performs authority updating operations such as role replacement on a certain tab page, and then the user opens a related tab page opened before again, the related tab page still retains the content allowed to be presented by the original authority and is not in accordance with the authority set by the user again, so that the problem of error reporting occurs when the related tab page is reloaded, and the user experience is poor.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a readable storage medium for synchronously updating the permission of a tab page, aiming at solving the technical problems that due to the change of the permission, the error report problem occurs when the related tab page opened by a user before is reloaded, and the user experience is influenced.
In order to achieve the above object, the present invention provides a method for synchronously updating tab page permissions, which comprises the following steps:
when receiving an authority setting operation acting on a target tab page, acquiring an authority parameter corresponding to the authority setting operation as a target authority parameter corresponding to the target tab page;
acquiring hidden permission parameters corresponding to a hidden tab page related to the target tab page, and comparing the hidden permission parameters with the target permission parameters;
and if the hidden permission parameter is not consistent with the target permission parameter, adjusting the hidden permission parameter to be consistent with the target permission parameter.
Optionally, before the step of acquiring the permission parameter corresponding to the permission setting operation as the target permission parameter corresponding to the target tab page when the permission setting operation acting on the target tab page is received, the method includes:
and when a selection instruction acting on the tab tag is received, loading a target tab page according to the selection instruction.
Optionally, the step of obtaining a hidden permission parameter corresponding to a hidden tab page related to the target tab page includes:
and determining a hidden tab page related to the target tab page, and reading hidden permission parameters corresponding to the hidden tab page from a preset database.
Optionally, the step of determining a hidden tab page related to the target tab page includes:
the visibility of other tab pages except the target tab page is obtained through a preset visibilitychange page state viewing event;
and determining the tab page which is not visible in the other tab pages as a hidden tab page related to the target tab page.
Optionally, the step of determining a hidden tab page related to the target tab page includes:
acquiring a main server address corresponding to the target tab page;
and determining the hidden tab page with the address containing the address of the main server as the hidden tab page related to the target tab page.
Optionally, after the step of acquiring the permission parameter corresponding to the permission setting operation when receiving the permission setting operation acting on the target tab page, and taking the permission parameter as the target permission parameter corresponding to the target tab page, the method further includes:
when a switching operation instruction acting on a tab label is detected, skipping to a new target tab page corresponding to the switching operation instruction, and adjusting the permission parameter of the new target tab page to be consistent with the target permission parameter.
Optionally, the tab page permission synchronous updating method further includes:
if a secondary permission setting operation acting on the target tab page is received, acquiring permission parameters corresponding to the secondary permission setting operation;
comparing the hidden permission parameter with a permission parameter corresponding to the secondary permission setting operation;
and if the hidden permission parameter is not consistent with the permission parameter corresponding to the secondary permission setting operation, adjusting the hidden permission parameter to be consistent with the permission parameter corresponding to the secondary permission setting operation.
In addition, to achieve the above object, the present invention further provides a tab page permission synchronous updating apparatus, including:
the acquisition module is used for acquiring the authority parameters corresponding to the authority setting operation when the authority setting operation acting on the target tab page is received and taking the acquired authority parameters as the target authority parameters corresponding to the target tab page;
the comparison module is used for acquiring hidden permission parameters corresponding to the hidden tab page related to the target tab page and comparing the hidden permission parameters with the target permission parameters;
and the adjusting module is used for adjusting the hidden permission parameter to be consistent with the target permission parameter if the hidden permission parameter is inconsistent with the target permission parameter.
In addition, in order to achieve the above object, the present invention further provides a tab page permission synchronous updating device, which includes a processor, a memory, and a tab page permission synchronous updating program stored on the memory and executable by the processor, wherein when the tab page permission synchronous updating program is executed by the processor, the steps of the tab page permission synchronous updating method as described above are implemented.
In addition, to achieve the above object, the present invention further provides a readable storage medium, which stores a tab page permission synchronous update program, wherein when the tab page permission synchronous update program is executed by a processor, the steps of the tab page permission synchronous update method are implemented.
The invention provides a method, a device, equipment and a readable storage medium for synchronously updating permission of a tab page, wherein when permission setting operation acting on a target tab page is received, permission parameters corresponding to the permission setting operation are obtained and serve as target permission parameters corresponding to the target tab page; then acquiring hidden permission parameters corresponding to a hidden tab page related to the target tab page, and comparing the hidden permission parameters with the target permission parameters of the target tab page; if the hidden permission parameter is not consistent with the target permission parameter, the hidden permission parameter is adjusted to be consistent with the target permission parameter, the newly set permission of the user on the target tab page is synchronized to the hidden tab page related to the target tab page, when the user triggers an instruction for opening the hidden tab page again, the hidden tab page can be refreshed based on the latest permission of the hidden tab page, normal loading of the hidden tab page is achieved, the problem of error reporting when the hidden tab page is reloaded due to permission change is avoided, and user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a tab page permission synchronous updating device according to embodiments of the present invention;
FIG. 2 is a flowchart illustrating a tab page permission synchronization update method according to a first embodiment of the present invention;
FIG. 3 is a functional block diagram of a tab page permission synchronization update apparatus according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The method for synchronously updating the permission of the tab page, which is related by the embodiment of the invention, is mainly applied to equipment for synchronously updating the permission of the tab page, and the equipment for synchronously updating the permission of the tab page can be equipment with display and processing functions, such as a PC (personal computer), a portable computer and the like.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a tab page permission synchronous updating device according to an embodiment of the present invention. In this embodiment of the present invention, the tab page permission synchronous updating device may include a processor 1001 (e.g., a Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory, or may be a non-volatile memory (e.g., a magnetic disk memory), and optionally, the memory 1005 may be a storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration depicted in FIG. 1 is not intended to be limiting of the present invention, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
With continued reference to fig. 1, the memory 1005 of fig. 1, which is a readable storage medium, may include an operating system, a network communication module, and a tab page permission synchronization update program. In fig. 1, the network communication module is mainly used for connecting to a server and performing data communication with the server; the processor 1001 may call the tab page permission synchronous update program stored in the memory 1005, and execute the tab page permission synchronous update method provided by the embodiment of the present invention.
The embodiment of the invention provides a method for synchronously updating the permission of a tab page.
Referring to fig. 2, fig. 2 is a flowchart illustrating a tab page permission synchronous updating method according to a first embodiment of the present invention.
In this embodiment, the method for synchronously updating the permission of the tab page is implemented by a device for synchronously updating the permission of the tab page, where the device for synchronously updating the permission of the tab page may be a terminal device such as a PC, a palmtop computer, a tablet computer, or the like, and may be selected as the device shown in fig. 1, and the method for synchronously updating the permission of the tab page includes the following steps:
step S10, when receiving the authority setting operation acted on the target tab page, acquiring the authority parameter corresponding to the authority setting operation as the target authority parameter corresponding to the target tab page;
in this embodiment, step S10 is preceded by a step of loading a target tab page, and specifically, step S10 is preceded by the steps of: and when a selection instruction acting on the tab tag is received, loading a target tab page according to the selection instruction.
Generally, a website homepage or a business system configures a plurality of tab labels, the tab labels are usually circular controls, a user only needs to select tab label options by clicking, hovering, double-clicking and the like, the website or the business system can load or jump to a corresponding tab page, and a mapping relation (one-to-one) between each page link and the corresponding tab label can be preset, so that a link list is preset based on the mapping relation between each page link and the corresponding tab label. Therefore, when a selection instruction acted on the tab tag by a user is received, the link list is inquired, the link corresponding to the tab tag corresponding to the selection instruction is determined according to the mapping relation between the page link and the tab tag in the link list, and the page corresponding to the link (defined as a target tab page) can be loaded.
After the user opens the target tab page, the permission setting operation including login, authorization, role selection and the like can be performed on the target tab page, for example, after the user opens the target tab page, the user can log in a login entry provided by the target tab page, and after the login is successful, the operation permission corresponding to the login identity can be obtained. The permission parameters are related to permission setting operations, for example, for login operations, the permission parameters include a user name, a password, a user identity, and a permission corresponding to the user identity. And storing the permission parameters into a preset database, wherein the preset database can be a cache, a local disk and a cloud platform storage space. For example, if the user opens the tab page step by step through the Tab Web and then needs to collect and purchase the related goods, a login operation is needed, and after the login, the identity of the visitor before the login becomes the Tab user, so the corresponding login authority parameter also becomes the user name of the user, and the corresponding identity (buyer/seller) of the user name and the corresponding level may further include the location information of the user.
Step S20, acquiring hidden permission parameters corresponding to the hidden tab page related to the target tab page, and comparing the hidden permission parameters with the target permission parameters;
the step of obtaining hidden permission parameters corresponding to the hidden tab page related to the target tab page includes: and determining a hidden tab page related to the target tab page, and reading hidden permission parameters corresponding to the hidden tab page from a preset database.
It can be understood that, since a user may open a plurality of tab pages in sequence, the tab pages opened previously are all in a hidden state, the tab pages opened previously are defined as hidden tab pages, and it is necessary to determine the hidden tab pages (corresponding to the same main page) related to the target tab page first, it can be understood that the number of the hidden tab pages related to the target tab page may be 0 or more than 1, and if the number of the related hidden tab pages is not 0, the permission parameters (defined as hidden permission parameters) corresponding to the related hidden tab pages are read from the preset database, and then the hidden permission parameters corresponding to the related hidden tab pages are compared with the target permission parameters of the target tab page.
Step S30, if the hidden permission parameter is not consistent with the target permission parameter, adjusting the hidden permission parameter to be consistent with the target permission parameter.
After the hidden permission parameters corresponding to the relevant hidden Tab pages are compared with the target permission parameters of the target Tab pages, if the hidden permission parameters corresponding to the relevant hidden Tab pages are not consistent with the target permission parameters of the target Tab pages, the hidden permission parameters corresponding to the relevant hidden Tab pages are adjusted to be consistent with the target permission parameters of the target Tab pages, so that all the hidden Tab pages relevant to the target Tab pages can obtain the latest set permission of a user, when the user selects Tab labels corresponding to the relevant hidden Tab pages and triggers an instruction for opening the relevant hidden Tab pages again, when the relevant hidden Tab pages are reloaded, the hidden Tab pages can be refreshed based on the latest permission of the relevant hidden Tab pages, and the normal loading of the relevant hidden Tab pages is realized.
Further, after the step of acquiring the permission parameter corresponding to the permission setting operation as the target permission parameter corresponding to the target tab page when the permission setting operation acting on the target tab page is received, the method further includes:
when a switching operation instruction acting on a tab label is detected, skipping to a new target tab page corresponding to the switching operation instruction, and setting the permission parameter of the new target tab page to be consistent with the target permission parameter.
That is, if it is detected that the user operates the tab tag corresponding to the related tab page that has not been opened by the user to trigger the tab page switching instruction after the user performs the permission setting operation on the target tab page is detected, so as to switch from the target tab page to another related tab page that has not been opened (defined as a new target tab page), the new target tab page is skipped to, and the permission parameter of the new target tab page is set to be consistent with the target permission parameter of the target tab page, so that the new target tab page continues the permission of the target tab page, and thus, the latest permission set by the user is given to all the related tab pages that are opened for the first time.
The embodiment provides a synchronous updating method of a tab page permission, which is characterized in that when a permission setting operation acting on a target tab page is received, a permission parameter corresponding to the permission setting operation is obtained and is used as a target permission parameter corresponding to the target tab page; then acquiring hidden permission parameters corresponding to a hidden tab page related to the target tab page, and comparing the hidden permission parameters with the target permission parameters of the target tab page; if the hidden permission parameter is not consistent with the target permission parameter, the hidden permission parameter is adjusted to be consistent with the target permission parameter, the newly set permission of the user on the target tab page is synchronized to the hidden tab page related to the target tab page, when the user triggers an instruction for opening the hidden tab page again, the hidden tab page can be refreshed based on the latest permission of the hidden tab page, normal loading of the hidden tab page is achieved, the problem of error reporting when the hidden tab page is reloaded due to permission change is avoided, and user experience is improved.
Further, based on the first embodiment, a second embodiment of the tab page permission synchronous updating method of the present invention is proposed, which is different from the foregoing embodiments in that the step of determining the hidden tab page includes:
the visibility of other tab pages except the target tab page is obtained through a preset visibilitychange page state viewing event;
and determining the tab page which is not visible in the other tab pages as a hidden tab page related to the target tab page.
The embodiment is suitable for a scene of accessing the business system through the browser. The plurality of tab pages of the service system are only related to the service system, and then the hidden tab pages are screened from the plurality of tab pages of the service system only through a visibiliychange event. Specifically, the visibilitychange event is an api newly provided by HTML5, and is used for recording the activation state of the current tab page in the browser. In the method, the tabs are used when the PC side browses the pages at ordinary times, and any given page can possibly be in the background and cannot be seen by the user when browsed by the method. The page visibility api provides events that a developer can observe to see when a page is visible or hidden, as well as the ability to view the current visibility state of a page. The visibilichange event is a webpage state viewing event which can be added in a browser, and is triggered when a certain tab of the browser is switched to a background or from the background to a foreground, and the browsers which are mainstream at present support visibilichange events, such as Chrome, Firefox, IE10 and the like.
Generally, a listener can be added to the browser to display a state change in the tab page, specifically, a listener can be added by simple code:
document.Add Event Listener(visibility Change,function(){
document.title=document[state];
generally, if the current tab page is an active page, the webpage state is visible (indicating that the page is the browser currently activated tab and the window is not in a minimized state), otherwise, if the current tab page is in a background running state, the webpage state is hidden (the page is not the currently activated tab page or the window is minimized).
Further, based on the first embodiment, a third embodiment of the tab page permission synchronous updating method of the present invention is proposed, which is different from the foregoing embodiments in that the step of determining the hidden tab page includes:
acquiring a main server address corresponding to the target tab page;
and determining the hidden tab page with the address containing the address of the main server as the hidden tab page related to the target tab page.
The embodiment is applicable to a scenario of browsing a web page through a browser, and considering that a user has opened web pages of a plurality of websites in the browser, and some opened web pages are not related to a target tab page, after it is detected that the user has performed an authority setting operation on the target tab page, a main web page of the target tab page may be obtained, and according to related information of the main web page, for example, a main server address, a tab page related to the target tab page is screened from hidden tab pages according to the main server address of the target tab page, and taking the target tab page as a web page of a treasure washing net as an example, a hidden tab page including tab.
Further, based on the first embodiment, a fourth embodiment of the tab page permission synchronous updating method of the present invention is proposed, which is different from the foregoing embodiments in that the method further includes:
if a secondary permission setting operation acting on the target tab page is received, acquiring permission parameters corresponding to the secondary permission setting operation;
comparing the hidden permission parameter with a permission parameter corresponding to the secondary permission setting operation;
and if the hidden permission parameter is not consistent with the permission parameter corresponding to the secondary permission setting operation, adjusting the hidden permission parameter to be consistent with the permission parameter corresponding to the secondary permission setting operation.
That is, if the user performs the secondary permission setting operation on the target tab page, the hidden tab page related to the target tab page is given the permission corresponding to the secondary permission setting operation, specifically, the permission parameter corresponding to the secondary permission setting operation is acquired, then the hidden permission parameter of the related hidden tab page is compared with the permission parameter corresponding to the secondary permission setting operation, and if the hidden permission parameter of the related hidden tab page is not consistent with the permission parameter corresponding to the secondary permission setting operation, the hidden permission parameter of the related hidden tab page is adjusted to be consistent with the permission parameter corresponding to the secondary permission setting operation, so that the related hidden tab page always obtains the latest permission. Taking the login operation as an example, the user performs a second login operation on the target tab page, for example, if a second username is logged in the target tab page, the user automatically logs out of the previously logged first username on the relevant hidden tab page, and meanwhile, the permission parameters of the relevant hidden tab page are updated, so that all the permissions corresponding to the first username are updated to the permissions corresponding to the second username.
In addition, the embodiment of the invention also provides a device for synchronously updating the permission of the tab page.
Referring to fig. 3, fig. 3 is a functional module diagram of a tab page permission synchronous updating apparatus according to a first embodiment of the present invention.
In this embodiment, the tab page permission synchronous updating apparatus includes:
the acquisition module 10 is configured to, when receiving an authority setting operation acting on a target tab page, acquire an authority parameter corresponding to the authority setting operation, as a target authority parameter corresponding to the target tab page;
a comparison module 20, configured to obtain a hidden permission parameter corresponding to a hidden tab page related to the target tab page, and compare the hidden permission parameter with the target permission parameter;
an adjusting module 30, configured to adjust the hidden permission parameter to be consistent with the target permission parameter if the hidden permission parameter is inconsistent with the target permission parameter.
Each virtual function module of the tab page permission synchronous updating device is stored in the memory 1005 of the tab page permission synchronous updating device shown in fig. 1, and is used for realizing all functions of a tab page permission synchronous updating program; when the modules are executed by the processor 1001, the newly set authority of the user on the target tab page is synchronized to the hidden tab page related to the target tab page, so that when the user triggers an instruction for opening the hidden tab page again, the hidden tab page can be refreshed based on the newly set authority of the hidden tab page, normal loading of the hidden tab page is realized, the problem of error reporting when the hidden tab page is reloaded due to authority change is avoided, and user experience is improved.
Further, the tab page permission synchronous updating device further comprises:
and the loading module loads the target tab page according to the selection instruction when receiving the selection instruction acting on the tab tag.
Further, the first obtaining module 10 includes:
and the reading unit is used for determining a hidden tab page related to the target tab page and reading a hidden permission parameter corresponding to the hidden tab page from a preset database.
Further, the reading unit includes:
the first acquiring subunit is used for acquiring the visibility of other tab pages except the target tab page through a preset visibilisation page state viewing event;
and the first screening subunit is used for determining the tab pages which are not visible in the other tab pages as hidden tab pages related to the target tab page.
Further, the reading unit includes:
the second acquiring subunit is used for acquiring the address of the main server corresponding to the target tab page;
and the second screening subunit is used for determining the hidden tab page with the address containing the address of the main server as the hidden tab page related to the target tab page.
Further, the tab page permission synchronous updating device further comprises:
and the skipping module is used for skipping to a new target tab page corresponding to the switching operation instruction when the switching operation instruction acting on the tab label is detected, and adjusting the authority parameter of the new target tab page to be consistent with the target authority parameter.
Further, the obtaining module is further configured to obtain an authority parameter corresponding to a secondary authority setting operation if the secondary authority setting operation acting on the target tab page is received;
the comparison module is further used for comparing the hidden permission parameter with a permission parameter corresponding to the secondary permission setting operation;
the adjusting module is further configured to adjust the hidden permission parameter to be consistent with the permission parameter corresponding to the secondary permission setting operation if the hidden permission parameter is inconsistent with the permission parameter corresponding to the secondary permission setting operation.
The function implementation of each module in the tab page permission synchronous updating device corresponds to each step in the tab page permission synchronous updating method embodiment, and the function and implementation process are not described in detail herein.
In addition, the embodiment of the invention also provides a readable storage medium.
The readable storage medium of the present invention stores a tab page permission synchronous updating program, wherein when the tab page permission synchronous updating program is executed by a processor, the steps of the tab page permission synchronous updating method are implemented.
The method implemented when the tab page permission synchronous updating program is executed may refer to each embodiment of the tab page permission synchronous updating method of the present invention, and details are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for synchronously updating permission of tab page, comprising the following steps:
when receiving an authority setting operation acting on a target tab page, acquiring an authority parameter corresponding to the authority setting operation as a target authority parameter corresponding to the target tab page;
acquiring hidden permission parameters corresponding to a hidden tab page related to the target tab page, and comparing the hidden permission parameters with the target permission parameters;
and if the hidden permission parameter is not consistent with the target permission parameter, adjusting the hidden permission parameter to be consistent with the target permission parameter.
2. The method for synchronously updating the permission of the tab page as claimed in claim 1, wherein the step of obtaining the permission parameter corresponding to the permission setting operation as the target permission parameter corresponding to the target tab page when the permission setting operation acting on the target tab page is received comprises:
and when a selection instruction acting on the tab tag is received, loading a target tab page according to the selection instruction.
3. The tab page permission synchronous updating method as claimed in claim 1, wherein the step of obtaining the hidden permission parameter corresponding to the hidden tab page related to the target tab page comprises:
and determining a hidden tab page related to the target tab page, and reading hidden permission parameters corresponding to the hidden tab page from a preset database.
4. The tab page permission synchronous updating method as claimed in claim 3, wherein the step of determining the hidden tab page related to the target tab page comprises:
the visibility of other tab pages except the target tab page is obtained through a preset visibilitychange page state viewing event;
and determining the tab page which is not visible in the other tab pages as a hidden tab page related to the target tab page.
5. The tab page permission synchronous updating method as claimed in claim 3, wherein the step of determining the hidden tab page related to the target tab page comprises:
acquiring a main server address corresponding to the target tab page;
and determining the hidden tab page with the address containing the address of the main server as the hidden tab page related to the target tab page.
6. The method for synchronously updating the permission of the tab page as claimed in claim 1, wherein after the step of obtaining the permission parameter corresponding to the permission setting operation as the target permission parameter corresponding to the target tab page when the permission setting operation acting on the target tab page is received, the method further comprises:
when a switching operation instruction acting on a tab label is detected, skipping to a new target tab page corresponding to the switching operation instruction, and adjusting the permission parameter of the new target tab page to be consistent with the target permission parameter.
7. The tab page permission synchronous updating method as claimed in claim 1, wherein the tab page permission synchronous updating method further comprises:
if a secondary permission setting operation acting on the target tab page is received, acquiring permission parameters corresponding to the secondary permission setting operation;
comparing the hidden permission parameter with a permission parameter corresponding to the secondary permission setting operation;
and if the hidden permission parameter is not consistent with the permission parameter corresponding to the secondary permission setting operation, adjusting the hidden permission parameter to be consistent with the permission parameter corresponding to the secondary permission setting operation.
8. A tab page permission synchronous updating device, characterized in that the tab page permission synchronous updating device comprises:
the acquisition module is used for acquiring the authority parameters corresponding to the authority setting operation when the authority setting operation acting on the target tab page is received and taking the acquired authority parameters as the target authority parameters corresponding to the target tab page;
the comparison module is used for acquiring hidden permission parameters corresponding to the hidden tab page related to the target tab page and comparing the hidden permission parameters with the target permission parameters;
and the adjusting module is used for adjusting the hidden permission parameter to be consistent with the target permission parameter if the hidden permission parameter is inconsistent with the target permission parameter.
9. A tab page permission synchronous update device, characterized in that the tab page permission synchronous update device comprises a processor, a memory, and a tab page permission synchronous update program stored on the memory and executable by the processor, wherein the tab page permission synchronous update program, when executed by the processor, implements the steps of the tab page permission synchronous update method according to any one of claims 1 to 7.
10. A readable storage medium, wherein a tab page permission synchronous update program is stored on the readable storage medium, and when the tab page permission synchronous update program is executed by a processor, the steps of the tab page permission synchronous update method according to any one of claims 1 to 7 are implemented.
CN201910845693.7A 2019-09-06 2019-09-06 Method, device and equipment for synchronously updating permission of tab page and readable storage medium Pending CN110717117A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910845693.7A CN110717117A (en) 2019-09-06 2019-09-06 Method, device and equipment for synchronously updating permission of tab page and readable storage medium
PCT/CN2019/117207 WO2021042525A1 (en) 2019-09-06 2019-12-02 Tab page permission synchronous updating method, apparatus and device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910845693.7A CN110717117A (en) 2019-09-06 2019-09-06 Method, device and equipment for synchronously updating permission of tab page and readable storage medium

Publications (1)

Publication Number Publication Date
CN110717117A true CN110717117A (en) 2020-01-21

Family

ID=69209718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910845693.7A Pending CN110717117A (en) 2019-09-06 2019-09-06 Method, device and equipment for synchronously updating permission of tab page and readable storage medium

Country Status (2)

Country Link
CN (1) CN110717117A (en)
WO (1) WO2021042525A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485388A (en) * 2015-09-01 2017-03-08 北京奇虎科技有限公司 The right management method of business approval system and device
CN106817355A (en) * 2015-12-01 2017-06-09 北京国双科技有限公司 The control method and device of webpage authority
CN107566356A (en) * 2017-08-24 2018-01-09 郑州云海信息技术有限公司 A kind of cloud platform browser URL authority filter methods
CN109657427A (en) * 2017-10-12 2019-04-19 北京国双科技有限公司 The method and device of permission control

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9639619B2 (en) * 2009-10-28 2017-05-02 Verizon Patent And Licensing Inc. Network architecture and method for reducing the number of resource requests
CN106886570B (en) * 2017-01-16 2020-11-13 网宿科技股份有限公司 Page processing method and device
CN107862204A (en) * 2017-07-26 2018-03-30 平安普惠企业管理有限公司 Method for page jump, mobile terminal and readable storage medium storing program for executing
CN110069730A (en) * 2019-03-15 2019-07-30 平安城市建设科技(深圳)有限公司 Front end page display control method, device, equipment and readable storage medium storing program for executing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485388A (en) * 2015-09-01 2017-03-08 北京奇虎科技有限公司 The right management method of business approval system and device
CN106817355A (en) * 2015-12-01 2017-06-09 北京国双科技有限公司 The control method and device of webpage authority
CN107566356A (en) * 2017-08-24 2018-01-09 郑州云海信息技术有限公司 A kind of cloud platform browser URL authority filter methods
CN109657427A (en) * 2017-10-12 2019-04-19 北京国双科技有限公司 The method and device of permission control

Also Published As

Publication number Publication date
WO2021042525A1 (en) 2021-03-11

Similar Documents

Publication Publication Date Title
US10929266B1 (en) Real-time visual playback with synchronous textual analysis log display and event/time indexing
US9294606B2 (en) Method for realizing downloading of mobile terminal application program and mobile terminal
US11763076B2 (en) Document applet generation
US9727354B2 (en) System and methods for loading an application and its modules in a client device
US20210337015A1 (en) Method and system of application development for multiple device client platforms
US11553035B2 (en) Cross-platform module for loading across a plurality of device types
CN105956136B (en) Method and device for acquiring login information
US11262883B2 (en) Associating browser with application
KR20050012881A (en) System for realtime rss/atom reader on web browser and method thereof
CN101383842A (en) System and method for displaying network information by computer background screen
CN109190067B (en) Browser input box display method and device, computer equipment and storage medium
CN104486421B (en) Method for realizing service policy management of cloud platform of wireless service system
CN112956157B (en) System and method for tracking client device events
CN111694550B (en) Page display control method, device and system
CN106528136A (en) Widget-based display method and apparatus, and terminal device
CN110674435A (en) Page access method, server, terminal, electronic equipment and readable storage medium
CN110362305B (en) Form component state switching method and device
CN105824606B (en) Rolling input method and terminal
CN111158998A (en) Display method and device of buried point data
CN110717117A (en) Method, device and equipment for synchronously updating permission of tab page and readable storage medium
CN115964591A (en) Page multi-screen display method, device, equipment and storage medium
CN105338091A (en) High-transmission-efficiency personalized information interface display method and apparatus
CN111459580B (en) Page display method and device
CN113934954A (en) Webpage first screen rendering method and device in application program
CN110377813A (en) A kind of selenium supports method, electronic equipment and the medium of customized request header

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination