WO2021036652A1 - Multi-role page jump method, apparatus, computer device, and readable storage medium - Google Patents

Multi-role page jump method, apparatus, computer device, and readable storage medium Download PDF

Info

Publication number
WO2021036652A1
WO2021036652A1 PCT/CN2020/105345 CN2020105345W WO2021036652A1 WO 2021036652 A1 WO2021036652 A1 WO 2021036652A1 CN 2020105345 W CN2020105345 W CN 2020105345W WO 2021036652 A1 WO2021036652 A1 WO 2021036652A1
Authority
WO
WIPO (PCT)
Prior art keywords
role
case
page
status code
jump
Prior art date
Application number
PCT/CN2020/105345
Other languages
French (fr)
Chinese (zh)
Inventor
余秀婷
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2021036652A1 publication Critical patent/WO2021036652A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • This application relates to the field of smart law in smart cities, and specifically relates to a method, device, computer equipment, and readable storage medium for multi-role page jumps.
  • the main purpose of this application is to provide a multi-role page jump method, which reduces the workload of page jump in multi-role, multi-process scene management.
  • this application provides a multi-role page jump method, including:
  • the redirect request When receiving a redirect request from the user to enter the case details page of a specific case, the user’s login account and the case code of the specific case are verified according to the redirect request; the redirect request includes the user’s login account information and the specific case Case code information;
  • the login account and the case code After the information is verified, according to the login account and the case code, look up the corresponding role status code in the preset role mapping table, and record the mapping relationship between the user and the case code and the role status code in the preset role mapping table ; And according to the case code, read the latest process status code in the storage records of the system background through the case details interface;
  • the role status code represents the role content in the case details of the specific case
  • the process status code represents the process content in the case details of the specific case
  • the corresponding mapping specific case detail page is found in the preset mapping table;
  • the default mapping table records the mapping between the role status code and process status code and the specific case detail page Relationship, the specific case details page includes two parts: role content and process content;
  • this application also proposes a multi-role page jump device, including:
  • the acquisition module is used to verify the user's login account and the case code of the specific case based on the redirect request when the user enters the request to jump to the case details page of a specific case; where the jump request includes the user's login Account information and case code information of a specific case;
  • the first search module is used to find the corresponding role status code in the preset role mapping table according to the login account and case code after the information verification is passed, and record both the user and the case code and the role in the preset role mapping table The mapping relationship between status codes; and according to the case code, read the latest process status code in the storage record of the system background through the case details interface;
  • the role status code represents the role content in the case details of the specific case
  • the process status code represents the process content in the case details of the specific case
  • the second search module is used to find the specific case detail page corresponding to the mapping in the preset mapping table according to the role status code and the process status code; the preset mapping table records both the role status code and the process status code and the specific
  • the mapping relationship between the case details page, the specific case details page includes two parts: role content and process content;
  • the jump module is used to jump from the current front-end display page to the specific case details page according to preset routing jump rules.
  • this application also proposes a computer device, including a memory and a processor, the memory stores a computer program, and the processor implements a multi-role page jump method when the processor executes the computer program, wherein the multi-role page jump
  • the steps of the method include:
  • the jump request includes The login account information of the user and the case code information of the specific case;
  • the corresponding role status code is searched in the preset role mapping table, and the user and all the roles are recorded in the preset role mapping table.
  • the mapping relationship between the case code and the role status code; and according to the case code, the latest process status code is read in the storage record of the system background through the case details interface; wherein, the role The status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case;
  • the corresponding mapped specific case details page is found in the preset mapping table; the role status code and the process status code two are recorded in the preset mapping table
  • this application also proposes a readable storage medium on which a computer program is stored.
  • a computer program is stored.
  • a method for jumping to a multi-role page is implemented. The steps include:
  • the jump request includes The login account information of the user and the case code information of the specific case;
  • the corresponding role status code is searched in the preset role mapping table, and the user and all the roles are recorded in the preset role mapping table.
  • the mapping relationship between the case code and the role status code; and according to the case code, the latest process status code is read in the storage record of the system background through the case details interface; wherein, the role The status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case;
  • the corresponding mapped specific case details page is found in the preset mapping table; the role status code and the process status code two are recorded in the preset mapping table
  • this application has the beneficial effect that: this application proposes a multi-role page jump method, including: when receiving a jump request from the user to enter the case details page of a specific case, the user will be notified according to the jump request.
  • the login account and the case code of a specific case are verified for information; among them, the jump request includes the user’s login account information and the case code information of the specific case; after the information is verified, the role mapping is preset based on the login account and case code Look up the corresponding role status code in the table, record the mapping relationship between the user and the case code and the role status code in the preset role mapping table; and according to the case code, use the case details interface in the storage record of the system background Read the latest process status code; among them, the role status code represents the role content in the case details of a specific case, and the process status code represents the process content in the case details of a specific case; according to the role status code and the process status code, in advance Suppose the mapping table finds the corresponding mapping specific case detail page; the default mapping table records the mapping relationship between the role status code and the process status code and the specific case detail page.
  • the specific case detail page includes role content and The content of the process has two parts; according to the preset routing rules, jump from the current front-end display page to the specific case details page.
  • each jump request can be jumped to the correct case details page, and it reduces the need for multi-role, multi-process scene management ,
  • the workload of changing and maintaining the page jump, the page jump system later is more flexible, easy to manage and expand.
  • FIG. 1 is a schematic diagram of the steps of an embodiment of a method for jumping to a multi-role page according to this application;
  • FIG. 2 is a schematic diagram of modules of an embodiment of a multi-role page jumping device according to the present application
  • FIG. 3 is a schematic block diagram of modules of an embodiment of a computer device according to this application.
  • FIG. 4 is a schematic block diagram of modules of an embodiment of a readable storage medium of this application.
  • this application proposes a multi-role page jump method, which involves the smart legal field in a smart city, and mainly includes the following steps:
  • the role status code represents the role content in the case details of the specific case
  • the process status code represents the process content in the case details of the specific case
  • mapping relationship of the specific case details page includes two parts: role content and process content;
  • each case has a certain case cycle.
  • each case will involve multiple different parties and a variety of different case states or case processes, such as involving Applicant, respondent, secretary, linesman, chief arbitrator or sole, arbitration director and other different participants, each participant represents or plays a role in the case; the case is under review, not accepted, pending Different case statuses such as payment, payment verification, waiting for court formation, waiting for court opening, in court hearing, end of court hearing, closed case, etc.
  • the corresponding progress or process of the case is different, and the participants may also be different , So the corresponding case details will be different, that is, the specific display content on the case details page will be different.
  • the system backend When the system backend receives a redirect request from the user to enter the case details page of a specific case, it will first verify the user’s login account and the case code of the specific case.
  • the redirect request includes the user’s login account information and the specific case code.
  • the matter code information of the matter The login account is used by the system to identify the user's identity, and the case code is used by the system to identify the specific case corresponding to the jump request.
  • Each case has a different case code, and the unique corresponding specific case code can be found according to the case code.
  • the information verification mainly verifies two aspects: one is to verify that the user's login account and the case code of a specific case are correct, that is, whether it exists in the system records; the second is to verify whether the login account has the authority to view the requested specific case .
  • the role status code and the process status code are both character strings, stored in the system backend, which respectively represent part of the specific information content in a specific case; among them, the role status code corresponds to the role the user plays in the specific case, and represents It is the role content, including the role of the user in a specific case. Different roles correspond to different role status codes. According to the role status code, you can know the role of the login account in the case. In a specific embodiment, for example, 03 represents the secretary role, and there are a total of six roles corresponding to the role status code 01-06 , Which are the claimant, respondent, secretary, linesman, chief arbitrator or sole, arbitration director.
  • the process status code represents the content of the process, including case status information and case flow status, corresponding to the current case process status of a specific case, and different case process statuses correspond to different process status codes, representing the case status information of a specific case.
  • the process status code is a five-digit number, including the case status code and the flow status code.
  • the case status code is a two-digit number, and there are nine different case status codes from 01-09.
  • the circulation status code is a three-digit number, representing a specific For the case circulation status of the case, take 400 as an example, where 4 represents the adjudication module, 00 represents the starting process of the module to be entered into a collegial opinion, in addition, 1 represents the case circulation status as an open case, and 2 represents the case circulation status as the court Previously, the case circulation status of the 3 representatives was court trial.
  • the role status code and process status code are initially set by the administrator, that is, when the administrator enters the case into the management system, an initial process status code is set for the case in advance, so that the case details have an initial process , And update accordingly according to the subsequent input change operation, so that the process status code can change with the change of the case process, and reflect the current process status information of the specific case in time.
  • the system backend receives a user's jump request to enter the case details page of a specific case, the case details interface obtains the latest updated and saved process status code of the specific case in the system background, thereby obtaining the process status of the specific case corresponding to the jump request Code to ensure that the case details page jumped to is under the latest case flow status.
  • Case details page After obtaining the role status code and process status code corresponding to the jump request, find the corresponding specific case detail page in the preset mapping table, and jump from the current front-end display page to the specific case according to the preset routing rules Case details page.
  • different role status codes and process status codes correspond to different specific case detail pages.
  • the default mapping table records the mapping relationship between the role status codes and process status codes and the specific case detail pages.
  • the content of the case details page of the same case viewed by users of different roles is not completely consistent.
  • the content of the case details page is not completely consistent, and the user can be able to do so throughout the entire case cycle.
  • This application proposes a multi-role page jump method, including: S1: When receiving a jump request from a user to enter the case details page of a specific case, information about the user’s login account and the case code of the specific case according to the jump request Verification; Among them, the jump request includes the user's login account information and the case code information of the specific case; S2: After the information is verified, according to the login account and case code, look up the corresponding role status code in the preset role mapping table, The mapping relationship between the user and the case code and the role status code is recorded in the preset role mapping table; and according to the case code, the latest process status code is read in the storage record of the system background through the case details interface; , The role status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case; S3: According to the role status code and the process status code, the corresponding is found in the preset mapping table The mapped specific case details page; the default mapping table records the
  • the specific case details page includes two parts: role content and process content; S4 : According to the preset routing jump rules, jump from the current front-end display page to the specific case details page.
  • S4 According to the preset routing jump rules, jump from the current front-end display page to the specific case details page.
  • each jump request can be jumped to the correct case details page, and it reduces the need for multi-role, multi-process scene management ,
  • the workload of changing and maintaining the page jump, the page jump system later is more flexible, easy to manage and expand.
  • the specific case details page includes a basic display frame and multiple different display components; according to the role status code and the process status code, the step of searching the corresponding mapped specific case detail page in the preset mapping table S3, including:
  • the case details page mainly includes two parts of display content, one is the basic display frame, and the basic display frame is the common display part in all specific case details pages, and the display content remains the same, that is, in different cases.
  • the basic display frame in the case details page is the same, which is a public standard, which is preset in the system in advance.
  • the other part of the display content is a number of different display components, which vary according to the user's role information, case status information of a specific case, and circulation status information.
  • the system backend When executing a jump request for a specific case, the system backend preloads a preset basic display frame in advance to make the jump faster and smoother.
  • the role status code look up the role information corresponding to the user in the preset mapping table Display components, and according to the process status code, find the case status display component and case flow status display component corresponding to a specific case in the preset mapping table.
  • the role information display component corresponds to the role content
  • the case status display component and the case flow status display component correspond to the process content.
  • the display content on the detail pages of different cases is not completely consistent, and the display parts that are not completely consistent are configured with different display components.
  • the system backend finds the corresponding mapped display component in the preset mapping table, it loads the role information display component, case status display component, and case flow status display component into the corresponding positions of the basic display frame, and generates the corresponding jump request Specific case details page.
  • the case details page When executing a jump request, the case details page is divided into two parts, the basic display frame and the display component, and loaded step by step.
  • the basic display frame requires pre-loading to make the jump faster and smoother, and at the same time for different case details
  • the page only needs to configure the corresponding display components in the basic display frame. There is no need to redesign and load the entire page, which further improves the smoothness of the jump, so that each jump request can jump to the correct case details page It improves the efficiency of case circulation; at the same time, there is no need to design a separate case details page for each process step, and the required case details page is generated by the combination of display components, which further reduces the workload of system page jumps.
  • step S4 of jumping from the current front-end display page to the specific case details page according to the preset routing jumping rule includes:
  • routing information includes routing address information and routing jump type
  • the system backend searches the specific case details page according to the role status code and process status code, and obtains the routing information corresponding to the specific case details page.
  • the routing information includes routing address information and routing jump type; the routing address information refers to The specific routing address that needs to be redirected.
  • the type of routing redirection can include: Actvity, Fragment, Service (that is, the service control provided by the software toolkit, the service control is mainly used to perform related tasks in the background when the APP or browser exits For example, when you exit a listening app, the song still plays normally), BroadCast (that is, the broadcast control provided by the software toolkit, the broadcast control is mainly used to receive system or custom broadcast messages, for example, receive SMS notifications Or other notifications), ContentProvider (that is, the content providing control provided by the software toolkit, the content providing control is mainly used for information sharing between multiple APPs or browsers, for example, a certain APP calls the address book of the system), Or IProvider (that is, the control provided by the software toolkit to execute other commands).
  • Actvity that is, the service control provided by the software toolkit, the service control is mainly used to perform related tasks in the background when the APP or browser exits For example, when you exit a listening app, the song still plays normally
  • the route jump type determine the corresponding route jump rule, and jump to the specific case details page according to the route address information and the route jump rule.
  • Different route jump types have different route jump rules. If the route jump type is an interface jump type, the route jump rule is to call the application program interface of the system or obtain the class instance object based on the reflection technology of the programming language; If the route jump type is the instance acquisition type, the route jump rule is based on the reflection technology of the programming language to acquire the class instance object; if the route jump type is the calling interface type, the route jump rule is the interface exposed through the routing framework.
  • the specific explanation is as follows: First, obtain the route jump type of the jump request according to the routing information.
  • the jump type can include Actvity, Fragment, Service, BroadCast, ContentProvider or IProvider; then, call according to the obtained route jump type.
  • Different processing methods can include Actvity, Fragment, Service, BroadCast, ContentProvider or IProvider; then, call according to the obtained
  • route jump type is Activity
  • application program interface originally provided by the system (for example, Android system) (for example, ActivityCompat API) for interface jump
  • data transfer can be performed through Bundle (that is, a class of the Android system used to transfer data between activities).
  • Bundle that is, a class of the Android system used to transfer data between activities. The method to call this class is:
  • the class instance object is obtained based on the reflection technology of the programming language, where the programming language can be Java;
  • the routing information also includes routing interception information; before jumping from the current front-end display page to the step S33 in the specific case details page according to the routing address information and preset routing redirection rules, it also includes :
  • the routing information may also include: route interception information; according to the obtained route interception information, the interception processing is performed on the display page jump according to the preset priority rules, where the route interception information refers to before jumping to the target interface, Operation information that needs to be performed; priority rules refer to the need to intercept multiple times before jumping to the target interface, and then set the priority level for each interception; the preset priority rules can be ordered naturally, that is, from the highest priority The interception is performed in the order of lower priority, of course, it may also be in other ordering methods, which is not limited in this application.
  • the interception process is executed according to the preset priority rules, and if the interception process fails, the redirect request is rejected.
  • step S4 of jumping from the current front-end display page to the specific case details page according to the preset routing jumping rule the method further includes:
  • S5 Extract specific content in the display component, the specific content includes role information, case status information, and case circulation status;
  • S6 Determine the corresponding first role status code and the first process status code according to the specific content, and verify whether the first role status code is consistent with the role status code, and whether the first process status code is consistent with the process status code;
  • the content of the jumped specific case details page will also be verified to further confirm that the jump to the correct case details page.
  • the first role status code and the first process status code corresponding to the current case details page are determined by extracting specific content in the corresponding display component, where the specific content includes the role information corresponding to the user, and the specific case Corresponding case status information and case circulation status information; specifically, for example, by extracting the current login role information of the role information display component in the current case details page to determine the first role status code, by extracting the case status display component and the case circulation status
  • the case status information and case flow status information of the display component are used to determine the first process status code. Then check whether the first role status code is consistent with the role status code, and whether the first process status code is consistent with the process status code.
  • the role status code is 03
  • the first role status code is 04 according to the role information display component, and the two are inconsistent
  • the case details page corresponding to the secretary role jumps to the case details page corresponding to the sideman role.
  • the display of the specific case details page is stopped, and a display error reminder is issued to ensure that the user is viewing the correct case details page.
  • the first process status code and the process status code is inconsistent
  • the specific case details page will remain displayed; if they are inconsistent, the specific case details page will be stopped and the page will be displayed on the current front end A display error reminder is issued to inform the system and the user that there is an error in the page jump.
  • the security and confidentiality in the case management process are further enhanced, and each is effectively protected. Information security of the parties and the case itself.
  • step S4 of jumping from the current front-end display page to the specific case details page according to the preset routing jumping rule the method further includes:
  • S8 Receive the operation request entered in the specific case details page, and change and save the content in the specific case details page according to the operation request to obtain the changed first case details page;
  • the system receives the operation request entered in the specific case details page, and changes and saves the content in the specific case details page according to the operation request.
  • extract the role content and process content in the first case details page to determine the corresponding second role status code and the second process status code specifically, by extracting the role content of the role information display component in the current case details page
  • the changed second process status code is determined by extracting the process content in the case status display component and the case flow status display component.
  • the role status code and process status code of the system background are updated to the second role status code and the second process status code and saved, so that the next time the user sends a jump request to a specific case, he can use the case details interface to get from the system Get the latest process status code in the background, jump to the latest case details page corresponding to the case, and keep abreast of the current progress and circulation status of the case, which improves the circulation efficiency of the case.
  • the system background determines that the user's operation in the specific case details page has been completed, and updates the role status code and process status code to the second role status Code and the second process status code and save.
  • the system background after detecting that the specific case details page is closed, the system background automatically updates the role status code and the process status code to the second role status code and the second process status code and saves them. Because in many case processes, the case details page is set unchanged, but it needs to be jumped and displayed in a certain process sequence. The user only needs to click on the case details page, so the system background is also You only need to update the process status code, instead of updating the case details page, so that when the user sends a jump request for the specific case, he can get the latest case process according to the process status code and jump to the corresponding Case details page.
  • the method further includes:
  • the system backend will determine whether to update the corresponding case details page in the preset mapping table when updating the role status code and the process status code. Specifically, the system background detects whether there is new text input content and/or newly uploaded attachment content added in the changed first case details page. If it is added, it means that there is additional new content in the case details page, and it needs to be added. Update the corresponding case details page in the preset mapping table so that the user can obtain the latest process status corresponding to the case when the user sends a jump request next time.
  • the system detects that there are new text input content and/or newly uploaded attachment content added in the first case details page, it will look up the corresponding second in the default mapping table according to the second role status code and the second process status code.
  • Case details page and then replace the second case details page with the first case details page to save the new text input content and/or newly uploaded attachment content added by the user in the first case details page.
  • the case details page includes three different display components: a role information display component, a case status display component, and a case flow status display component
  • the system Detect whether there are newly added text input content and/or newly uploaded attachment content in each display component, and if so, replace and update the corresponding display component in the preset mapping table.
  • the corresponding display component needs to be updated, without replacing the entire case details page, which further reduces the workload of the page jump system.
  • This application also proposes a multi-role page jump device, including:
  • the obtaining module 10 is used to verify the information of the user's login account and the case code of the specific case when receiving a jump request from the user to enter the case details page of a specific case;
  • the first search module 20 is used to search for the corresponding role status code in the preset role mapping table according to the login account and the case code after the information verification is passed, and record both the user and the case code in the preset role mapping table.
  • the role status code represents the role content in the case details of the specific case
  • the process status code represents the process content in the case details of the specific case
  • the second search module 30 is used to search for the specific case detail page corresponding to the mapping in the preset mapping table according to the role status code and the process status code; the preset mapping table records both the role status code and the process status code and The mapping relationship between the specific case details page, the specific case details page includes two parts: role content and process content;
  • the jump module 40 is used to jump from the current front-end display page to the specific case details page according to preset routing jump rules.
  • the aforementioned modules 10-40 correspondingly include sub-modules, units or sub-units for performing the subdivision steps of the aforementioned method for preventing domain name hijacking, I will not repeat them here.
  • This application also proposes a computer device including a memory 1003 and a processor 1002.
  • the memory 1003 stores a computer program 1004.
  • the processor 1002 implements a multi-role page jump method when the computer program 1004 is executed, wherein the multi-role page
  • the steps of the jump method include: when receiving a jump request from the user to enter the case details page of a specific case, verify the user’s login account and the case code of the specific case according to the jump request; wherein the jump request includes the user The login account information and the case code information of a specific case; after the information is verified, the corresponding role status code is searched in the preset role mapping table according to the login account and case code, and the user and case are recorded in the preset role mapping table The mapping relationship between the two codes and the role status code; and according to the case code, read the latest process status code in the storage record of the system background through the case details interface; among them, the role status code represents the case details in a specific case The role content, the process status code represents the process
  • This application also proposes a readable storage medium 2001, wherein the readable storage medium 2001 may be non-volatile or volatile, and a computer program 2002 is stored thereon, and the computer program 2002 is used by the processor
  • a multi-role page jump method is implemented during execution, wherein the steps of the multi-role page jump method include: upon receiving a jump request from the user to enter the case details page of a specific case, according to the jump request to the user's login account And the case code of a specific case for information verification; among them, the jump request includes the user’s login account information and the case code information of the specific case; after the information verification is passed, according to the login account and case code, search in the preset role mapping table Corresponding role status code, the mapping relationship between the user and the case code and the role status code is recorded in the preset role mapping table; and according to the case code, read the latest in the storage record of the system background through the case details interface The status code of the process; where the role status code represents the role content in the case details of a

Abstract

The present application relates to the field of smart law in smart cities, and provides a multi-role page jump method, apparatus, computer device, and readable storage medium; when a page jump request is received, a role status code of a user and a page process status code are first obtained; then, according to the role status code and process status code, a corresponding mapped jump page is found in a preset mapping table; finally, according to a preset routing jump rule, a jump is made from the current front-end display page to a specific jump page. The preset mapping table and the status code are such that each jump request can jump to the correct jump page; furthermore, in multi-role and multi-process scenario management, the workload of changing and maintaining page jumps is reduced, and the page jump system is subsequently more flexible and easy to manage and expand.

Description

多角色页面跳转方法、装置、计算机设备及可读存储介质Multi-role page jump method, device, computer equipment and readable storage medium
本申请要求于2019年8月30日提交中国专利局、申请号为201910816248.8,发明名称为“多角色页面跳转方法、装置、计算机设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of a Chinese patent application filed with the Chinese Patent Office on August 30, 2019, the application number is 201910816248.8, and the invention title is "Multi-role page jump method, device, computer equipment and readable storage medium". The entire content is incorporated into this application by reference.
技术领域Technical field
本申请涉及到智慧城市中的智慧法律领域,具体是涉及到一种多角色页面跳转方法、装置、计算机设备及可读存储介质。This application relates to the field of smart law in smart cities, and specifically relates to a method, device, computer equipment, and readable storage medium for multi-role page jumps.
背景技术Background technique
在现有的多角色、多流程的场景管理中,在进行场景页面的切换时,一般是根据步骤和角色设定,为每一个步骤和每一个角色都设定了代码层面的编写,当流转流程中需要新增流程或删减流程的时候,需要找到每个跳转页面以及每个角色涉及到的位置进行代码层面的更改,但发明人意识到,如果变更过多,后期开发测试都要投入大量人力进行开发或者做大量的回归测试,方案工作量大,不利于后期的扩展与管理。In the existing multi-role, multi-process scene management, when the scene page is switched, it is generally based on the steps and role settings, and the code level writing is set for each step and each role. When you need to add a new process or delete a process in the process, you need to find each jump page and the location involved in each role to make code-level changes, but the inventor realized that if there are too many changes, later development and testing will be required. Investing a lot of manpower for development or doing a lot of regression testing, the project workload is large, which is not conducive to later expansion and management.
技术问题technical problem
本申请的主要目的为提供一种多角色页面跳转方法,减少在多角色、多流程的场景管理中,进行页面跳转的工作量。The main purpose of this application is to provide a multi-role page jump method, which reduces the workload of page jump in multi-role, multi-process scene management.
技术解决方案Technical solutions
第一方面,本申请提供一种多角色页面跳转方法,包括:In the first aspect, this application provides a multi-role page jump method, including:
接收到用户进入特定案件的案件详情页的跳转请求时,根据跳转请求对用户的登录账户以及特定案件的案件代码进行信息验证;其中,跳转请求中包括用户的登录账户信息以及特定案件的案件代码信息;When receiving a redirect request from the user to enter the case details page of a specific case, the user’s login account and the case code of the specific case are verified according to the redirect request; the redirect request includes the user’s login account information and the specific case Case code information;
信息验证通过后,根据登录账户以及案件代码,在预设角色映射表中查找对应的角色状态码,在预设角色映射表中记录了用户以及案件代码二者与角色状态码之间的映射关系;以及根据案件代码,通过案件详情接口在系统后台的存储记录中读取最新的流程状态码;After the information is verified, according to the login account and the case code, look up the corresponding role status code in the preset role mapping table, and record the mapping relationship between the user and the case code and the role status code in the preset role mapping table ; And according to the case code, read the latest process status code in the storage records of the system background through the case details interface;
其中,角色状态码代表特定案件中的案件详情中的角色内容,流程状态码代表特定案件的案件详情中的流程内容;Among them, the role status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case;
根据角色状态码以及流程状态码,在预设映射表中查找到对应映射的特定案件详情页;预设映射表中记录了角色状态码以及流程状态码二者与特定案件详情页之间的映射关系,特定案件详情页中包括角色内容和流程内容两部分内容;According to the role status code and process status code, the corresponding mapping specific case detail page is found in the preset mapping table; the default mapping table records the mapping between the role status code and process status code and the specific case detail page Relationship, the specific case details page includes two parts: role content and process content;
根据预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中。According to the preset routing jump rules, jump from the current front-end display page to the specific case details page.
第二方面,本申请还提出了一种多角色页面跳转装置,包括:In the second aspect, this application also proposes a multi-role page jump device, including:
获取模块,用于接收到用户进入特定案件的案件详情页的跳转请求时,根据跳转请求对用户的登录账户以及特定案件的案件代码进行信息验证;其中,跳转请求中包括用户的登录账户信息以及特定案件的案件代码信息;The acquisition module is used to verify the user's login account and the case code of the specific case based on the redirect request when the user enters the request to jump to the case details page of a specific case; where the jump request includes the user's login Account information and case code information of a specific case;
第一查找模块,用于信息验证通过后,根据登录账户以及案件代码,在预设角色映射表中查找对应的角色状态码,在预设角色映射表中记录了用户以及案件代码二者与角色状态码之间的映射关系;以及根据案件代码,通过案件详情接口在系统后台的存储记录中读取最新的流程状态码;The first search module is used to find the corresponding role status code in the preset role mapping table according to the login account and case code after the information verification is passed, and record both the user and the case code and the role in the preset role mapping table The mapping relationship between status codes; and according to the case code, read the latest process status code in the storage record of the system background through the case details interface;
其中,角色状态码代表特定案件中的案件详情中的角色内容,流程状态码代表特定案件的案件详情中的流程内容;Among them, the role status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case;
第二查找模块,用于根据角色状态码以及流程状态码,在预设映射表中查找到对应映射的特定案件详情页;预设映射表中记录了角色状态码以及流程状态码二者与特定案件详情页之间的映射关系,特定案件详情页中包括角色内容和流程内容两部分内容;The second search module is used to find the specific case detail page corresponding to the mapping in the preset mapping table according to the role status code and the process status code; the preset mapping table records both the role status code and the process status code and the specific The mapping relationship between the case details page, the specific case details page includes two parts: role content and process content;
跳转模块,用于根据预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中。The jump module is used to jump from the current front-end display page to the specific case details page according to preset routing jump rules.
第三方面,本申请还提出了一种计算机设备,包括存储器和处理器,存储器存储有计算机程序,处理器执行计算机程序时实现一种多角色页面跳转方法,其中所述多角色页面跳转方法的步骤包括:In the third aspect, this application also proposes a computer device, including a memory and a processor, the memory stores a computer program, and the processor implements a multi-role page jump method when the processor executes the computer program, wherein the multi-role page jump The steps of the method include:
接收到用户进入特定案件的案件详情页的跳转请求时,根据所述跳转请求对所述用户的登录账户以及所述特定案件的案件代码进行信息验证;其中,所述跳转请求中包括所述用户的登录账户信息以及所述特定案件的案件代码信息;When receiving a jump request from a user to enter the case details page of a specific case, information verification is performed on the user's login account and the case code of the specific case according to the jump request; wherein, the jump request includes The login account information of the user and the case code information of the specific case;
所述信息验证通过后,根据所述登录账户以及所述案件代码,在预设角色映射表中查找对应的所述角色状态码,在所述预设角色映射表中记录了所述用户以及所述案件代码二者与所述角色状态码之间的映射关系;以及根据所述案件代码,通过案件详情接口在系统后台的存储记录中读取最新的所述流程状态码;其中,所述角色状态码代表所述特定案件中的案件详情中的角色内容,所述流程状态码代表所述特定案件的案件详情中的流程内容;After the information verification is passed, according to the login account and the case code, the corresponding role status code is searched in the preset role mapping table, and the user and all the roles are recorded in the preset role mapping table. The mapping relationship between the case code and the role status code; and according to the case code, the latest process status code is read in the storage record of the system background through the case details interface; wherein, the role The status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case;
根据所述角色状态码以及所述流程状态码,在预设映射表中查找到对应映射的特定案件详情页;所述预设映射表中记录了所述角色状态码以及所述流程状态码二者与所述特定案件详情页之间的映射关系,所述特定案件详情页中包括所述角色内容和所述流程内容两部分内容;According to the role status code and the process status code, the corresponding mapped specific case details page is found in the preset mapping table; the role status code and the process status code two are recorded in the preset mapping table The mapping relationship between the person and the specific case details page, where the specific case details page includes two parts: the role content and the process content;
根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中。According to the preset routing jump rules, jump from the current front-end display page to the specific case details page.
第四方面,本申请还提出了一种可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现一种多角色页面跳转方法,其中所述多角色页面跳转方法的步骤包括:In a fourth aspect, this application also proposes a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, a method for jumping to a multi-role page is implemented. The steps include:
接收到用户进入特定案件的案件详情页的跳转请求时,根据所述跳转请求对所述用户的登录账户以及所述特定案件的案件代码进行信息验证;其中,所述跳转请求中包括所述用户的登录账户信息以及所述特定案件的案件代码信息;When receiving a jump request from a user to enter the case details page of a specific case, information verification is performed on the user's login account and the case code of the specific case according to the jump request; wherein, the jump request includes The login account information of the user and the case code information of the specific case;
所述信息验证通过后,根据所述登录账户以及所述案件代码,在预设角色映射表中查找对应的所述角色状态码,在所述预设角色映射表中记录了所述用户以及所述案件代码二者与所述角色状态码之间的映射关系;以及根据所述案件代码,通过案件详情接口在系统后台的存储记录中读取最新的所述流程状态码;其中,所述角色状态码代表所述特定案件中的案件详情中的角色内容,所述流程状态码代表所述特定案件的案件详情中的流程内容;After the information verification is passed, according to the login account and the case code, the corresponding role status code is searched in the preset role mapping table, and the user and all the roles are recorded in the preset role mapping table. The mapping relationship between the case code and the role status code; and according to the case code, the latest process status code is read in the storage record of the system background through the case details interface; wherein, the role The status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case;
根据所述角色状态码以及所述流程状态码,在预设映射表中查找到对应映射的特定案件详情页;所述预设映射表中记录了所述角色状态码以及所述流程状态码二者与所述特定案件详情页之间的映射关系,所述特定案件详情页中包括所述角色内容和所述流程内容两部分内容;According to the role status code and the process status code, the corresponding mapped specific case details page is found in the preset mapping table; the role status code and the process status code two are recorded in the preset mapping table The mapping relationship between the person and the specific case details page, where the specific case details page includes two parts: the role content and the process content;
根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中。According to the preset routing jump rules, jump from the current front-end display page to the specific case details page.
有益效果Beneficial effect
本申请与现有技术相比,有益效果是:本申请提出了一种多角色页面跳转方法,包括:接收到用户进入特定案件的案件详情页的跳转请求时,根据跳转请求对用户的登录账户以及特定案件的案件代码进行信息验证;其中,跳转请求中包括用户的登录账户信息以及特定案件的案件代码信息;信息验证通过后,根据登录账户以及案件代码,在预设角色映射表中查找对应的角色状态码,在预设角色映射表中记录了用户以及案件代码二者与角色状态码之间的映射关系;以及根据案件代码,通过案件详情接口在系统后台的存储记录中读取最新的流程状态码;其中,角色状态码代表特定案件中的案件详情中的角色内容,流程状态码代表特定案件的案件详情中的流程内容;根据角色状态码以及流程状态码,在预设映射表中查找到对应映射的特定案件详情页;预设映射表中记录了角色状态码以及流程状态码二者与特定案件详情页之间的映射关系,特定案件详情页中包括角色内容和流程内容两部分内容;根据预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中。通过获取角色状态码和流程状态码与案件详情页之间的映射关系,使得每个跳转请求都能够跳转到正确的案件详情页中,并且减少了在多角色、多流程的场景管理中,对页面跳转进行更改和维护的工作量,页面跳转系统后期更加灵活,易于管理和扩展。Compared with the prior art, this application has the beneficial effect that: this application proposes a multi-role page jump method, including: when receiving a jump request from the user to enter the case details page of a specific case, the user will be notified according to the jump request. The login account and the case code of a specific case are verified for information; among them, the jump request includes the user’s login account information and the case code information of the specific case; after the information is verified, the role mapping is preset based on the login account and case code Look up the corresponding role status code in the table, record the mapping relationship between the user and the case code and the role status code in the preset role mapping table; and according to the case code, use the case details interface in the storage record of the system background Read the latest process status code; among them, the role status code represents the role content in the case details of a specific case, and the process status code represents the process content in the case details of a specific case; according to the role status code and the process status code, in advance Suppose the mapping table finds the corresponding mapping specific case detail page; the default mapping table records the mapping relationship between the role status code and the process status code and the specific case detail page. The specific case detail page includes role content and The content of the process has two parts; according to the preset routing rules, jump from the current front-end display page to the specific case details page. By obtaining the mapping relationship between the role status code and the process status code and the case details page, each jump request can be jumped to the correct case details page, and it reduces the need for multi-role, multi-process scene management , The workload of changing and maintaining the page jump, the page jump system later is more flexible, easy to manage and expand.
附图说明Description of the drawings
图1为本申请多角色页面跳转方法一实施例的步骤示意图;FIG. 1 is a schematic diagram of the steps of an embodiment of a method for jumping to a multi-role page according to this application;
图2为本申请多角色页面跳转装置一实施例的模块示意图;2 is a schematic diagram of modules of an embodiment of a multi-role page jumping device according to the present application;
图3为本申请计算机设备一实施例的模块示意框图;FIG. 3 is a schematic block diagram of modules of an embodiment of a computer device according to this application;
图4为本申请可读存储介质一实施例的模块示意框图。4 is a schematic block diagram of modules of an embodiment of a readable storage medium of this application.
本发明的最佳实施方式The best mode of the present invention
参照图1,本申请提出了一种多角色页面跳转方法,涉及到智慧城市中的智慧法律领域,主要包括以下步骤:Referring to Figure 1, this application proposes a multi-role page jump method, which involves the smart legal field in a smart city, and mainly includes the following steps:
S1:接收到用户进入特定案件的案件详情页的跳转请求时,根据跳转请求对用户的登录账户以及特定案件的案件代码进行信息验证;其中,跳转请求中包括用户的登录账户信息以及特定案件的案件代码信息;S1: When receiving a jump request from the user to enter the case details page of a specific case, verify the user's login account and the case code of the specific case according to the jump request; where the jump request includes the user's login account information and Case code information of a specific case;
S2:信息验证通过后,根据登录账户以及案件代码,在预设角色映射表中查找对应的角色状态码,在预设角色映射表中记录了用户以及案件代码二者与角色状态码之间的映射关系;以及根据案件代码,通过案件详情接口在系统后台的存储记录中读取最新的流程状态码;S2: After the information is verified, according to the login account and case code, look up the corresponding role status code in the preset role mapping table, and record the relationship between the user and the case code and the role status code in the preset role mapping table. Mapping relationship; and according to the case code, read the latest process status code in the storage record of the system background through the case details interface;
其中,角色状态码代表特定案件中的案件详情中的角色内容,流程状态码代表特定案件的案件详情中的流程内容;Among them, the role status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case;
S3:根据角色状态码以及流程状态码,在预设映射表中查找到对应映射的特定案件详情页;预设映射表中记录了角色状态码以及流程状态码二者与特定案件详情页之间的映射关系,特定案件详情页中包括角色内容和流程内容两部分内容;S3: According to the role status code and the process status code, the corresponding mapping specific case detail page is found in the preset mapping table; the default mapping table records the role status code and process status code between the two and the specific case detail page The mapping relationship of the specific case details page includes two parts: role content and process content;
S4:根据预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中。S4: Jump from the current front-end display page to the specific case details page according to the preset routing jump rules.
在上述步骤实施时,每一个案件都具有一定的案件周期,在一个完整的案件周期中,每一个案件都会涉及到多个不同的参与方以及多种不同的案件状态或者案件流程,例如涉及到申请人、被申请人、秘书、边裁、首席仲裁员或独任、仲裁主任等不同的参与方,每个参与方在案件中代表或担任一种角色;立案审核中、不予受理、待缴费、缴费核查中、待组庭、待开庭、庭审中、庭审结束、已结案等不同的案件状态,其中在不同的案件状态下,案件对应的进度或者流程不同,参与方也可能有所不同,因此其对应的案件详情就会有所不同,即案件详情页中的具体显示内容会有所不同。When the above steps are implemented, each case has a certain case cycle. In a complete case cycle, each case will involve multiple different parties and a variety of different case states or case processes, such as involving Applicant, respondent, secretary, linesman, chief arbitrator or sole, arbitration director and other different participants, each participant represents or plays a role in the case; the case is under review, not accepted, pending Different case statuses such as payment, payment verification, waiting for court formation, waiting for court opening, in court hearing, end of court hearing, closed case, etc. Among them, in different case status, the corresponding progress or process of the case is different, and the participants may also be different , So the corresponding case details will be different, that is, the specific display content on the case details page will be different.
系统后台在接收到用户进入特定案件的案件详情页的跳转请求时,首先会对用户的登录账户以及特定案件的案件代码进行信息验证,跳转请求中就包括了用户的登录账户信息以及特定案件的案件代码信息。其中,登录账户用于系统识别用户的身份,案件代码用于系统对跳转请求对应的特定案件进行识别,每个案件都具有一个不同的案件代码,根据案件代码即可查找到唯一对应的特定案件,该信息验证主要验证两方面内容:一是验证用户的登录账户以及特定案件的案件代码是都正确,即是否存在于系统记录中;二是验证该登录账户是否有权限查看请求的特定案件。When the system backend receives a redirect request from the user to enter the case details page of a specific case, it will first verify the user’s login account and the case code of the specific case. The redirect request includes the user’s login account information and the specific case code. The matter code information of the matter. Among them, the login account is used by the system to identify the user's identity, and the case code is used by the system to identify the specific case corresponding to the jump request. Each case has a different case code, and the unique corresponding specific case code can be found according to the case code. For cases, the information verification mainly verifies two aspects: one is to verify that the user's login account and the case code of a specific case are correct, that is, whether it exists in the system records; the second is to verify whether the login account has the authority to view the requested specific case .
然后信息验证通过后,根据用户的当前登录账户以及案件代码,在预设角色映射表中查找对应的角色状态码,获得用户在特定案件中的担任角色信息在预设角色映射表中记录了用户以及案件代码二者与角色状态码之间的映射关系;以及根据案件代码,通过案件详情接口在系统后台的存储记录中读取最新的流程状态码,获得特定案件的案件状态信息以及案件流转状态。Then after the information verification is passed, according to the user's current login account and case code, look up the corresponding role status code in the preset role mapping table to obtain the role information of the user in a specific case. The user is recorded in the preset role mapping table. And the mapping relationship between the case code and the role status code; and according to the case code, read the latest process status code in the storage record of the system background through the case details interface to obtain the case status information and case circulation status of a specific case .
角色状态码与流程状态码均为字符串,存储于系统后台中,分别代表的是特定案件中一部分特定信息内容;其中,角色状态码与用户在特定案件中所担任的角色相对应,代表的是角色内容,包括用户在特定案件中的角色担任信息,不同的角色对应不同的角色状态码,根据角色状态码即可获知登录账户在案件中的角色担任信息。在一个具体的实施例中,例如03代表秘书角色,总共有六种角色分别对应角色状态码01-06 ,分别是申请人、被申请人、秘书、边裁、首席仲裁员或独任、仲裁主任。由于同一个用户在不同的案件中担任的角色可能不同,因此在每一次接收到用户进入特定案件的案件详情页的跳转请求时,即使登录账户相同,也要根据案件代码重新获取角色状态码。The role status code and the process status code are both character strings, stored in the system backend, which respectively represent part of the specific information content in a specific case; among them, the role status code corresponds to the role the user plays in the specific case, and represents It is the role content, including the role of the user in a specific case. Different roles correspond to different role status codes. According to the role status code, you can know the role of the login account in the case. In a specific embodiment, for example, 03 represents the secretary role, and there are a total of six roles corresponding to the role status code 01-06 , Which are the claimant, respondent, secretary, linesman, chief arbitrator or sole, arbitration director. Since the same user may have different roles in different cases, every time a user receives a request to jump to the case details page of a specific case, even if the login account is the same, the role status code must be re-obtained according to the case code .
流程状态码代表的是流程内容,包括案件状态信息以及案件流转状态,与特定案件的当前案件流程状态相对应,不同的案件流程状态对应着不同的流程状态码,代表特定案件的案件状态信息。在一个具体的实施例中,流程状态码为一个五位数,包括案件状态码以及流转状态码两部分,其中案件状态码为两位数字,总共有01-09九种不同的案件状态码,分别代表立案审核中、不予受理、待缴费、缴费核查中、待组庭、待开庭、庭审中、庭审结束、已结案九种不同的案件状态信息;流转状态码为三位数字,代表特定案件的案件流转状态,以400为例,其中4代表裁决模块,00代表模块的开始流程待边裁录入合议意见,另外还有1代表的案件流转状态为立案,2代表的案件流转状态为庭前,3代表的案件流转状态为庭审。The process status code represents the content of the process, including case status information and case flow status, corresponding to the current case process status of a specific case, and different case process statuses correspond to different process status codes, representing the case status information of a specific case. In a specific embodiment, the process status code is a five-digit number, including the case status code and the flow status code. The case status code is a two-digit number, and there are nine different case status codes from 01-09. Respectively represent nine different case status information including case filed for review, not accepted, pending payment, payment verification, pending court formation, pending court hearing, court hearing, court hearing completed, and closed case status information; the circulation status code is a three-digit number, representing a specific For the case circulation status of the case, take 400 as an example, where 4 represents the adjudication module, 00 represents the starting process of the module to be entered into a collegial opinion, in addition, 1 represents the case circulation status as an open case, and 2 represents the case circulation status as the court Previously, the case circulation status of the 3 representatives was court trial.
角色状态码以及流程状态码在最初由管理员进行预先设定,即管理员在将案件进行录入管理系统中时,预先给该案件设定了一个初始流程状态码,使案件详情具有一个初始流程,并根据后续输入的更改操作进行相应更新,使流程状态码能够随着案件流程的变化而变化,及时反映特定案件的当前流程状态信息。系统后台在接收用户到进入特定案件的案件详情页的跳转请求时,案件详情接口获取该特定案件在系统后台最新更新保存的流程状态码,从而获取到跳转请求对应该特定案件的流程状态码,保证跳转到的案件详情页处于最新的案件流程状态之下。The role status code and process status code are initially set by the administrator, that is, when the administrator enters the case into the management system, an initial process status code is set for the case in advance, so that the case details have an initial process , And update accordingly according to the subsequent input change operation, so that the process status code can change with the change of the case process, and reflect the current process status information of the specific case in time. When the system backend receives a user's jump request to enter the case details page of a specific case, the case details interface obtains the latest updated and saved process status code of the specific case in the system background, thereby obtaining the process status of the specific case corresponding to the jump request Code to ensure that the case details page jumped to is under the latest case flow status.
获取到跳转请求对应的角色状态码以及流程状态码后,在预设映射表中查找到对应映射的特定案件详情页,并根据预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中。其中,不同的角色状态码以及流程状态码对应映射不同的特定案件详情页,预设映射表中记录了角色状态码以及流程状态码二者与特定案件详情页之间的映射关系,在案件涉及多角色、多流程的管理过程中,接收到针对特定案件的跳转请求时,通过获取该跳转请求对应的角色状态码以及流程状态码,并在预设的映射表中查找对应映射的特定案件详情页,使得每个跳转请求都能够跳转到正确的案件详情页中。由此使得不同的角色用户看到的同一案件的案件详情页内容不完全一致,同一案件处于不同的案件流程下时,其案件详情页内容也不完全一致,并且让用户在整个案件周期中能够清晰的得知自己的担任角色,以及当前案件的进展与流转状态,提高了案件流转效率;且在后期,通过更改角色状态码以及流程状态码和案件详情页的映射关系,以及增减案件详情页即可根据项目的变化进行灵活扩展。在后期维护中仅需维护预设映射表,然后有新增需求或者中间流程时,直接在预设映射表中新增一个地址或者案件详情页然后进行跳转,删减的话同理,减少了开发的工作量并且提高了后期扩展的灵活性。After obtaining the role status code and process status code corresponding to the jump request, find the corresponding specific case detail page in the preset mapping table, and jump from the current front-end display page to the specific case according to the preset routing rules Case details page. Among them, different role status codes and process status codes correspond to different specific case detail pages. The default mapping table records the mapping relationship between the role status codes and process status codes and the specific case detail pages. In the multi-role and multi-process management process, when a jump request for a specific case is received, the role status code and process status code corresponding to the jump request are obtained, and the corresponding mapping specific is found in the preset mapping table. Case details page, so that each jump request can jump to the correct case details page. As a result, the content of the case details page of the same case viewed by users of different roles is not completely consistent. When the same case is under different case procedures, the content of the case details page is not completely consistent, and the user can be able to do so throughout the entire case cycle. Clearly know your role as well as the current case progress and circulation status, which improves the efficiency of case circulation; and in the later stage, by changing the role status code and the mapping relationship between the process status code and the case details page, as well as adding or subtracting case details Pages can be flexibly expanded according to project changes. In the post-maintenance, only the default mapping table needs to be maintained, and then when there is a new requirement or intermediate process, directly add an address or case details page in the default mapping table and then jump, and the deletion is the same, reducing The workload of development has also improved the flexibility of later expansion.
本申请提出了一种多角色页面跳转方法,包括:S1:接收到用户进入特定案件的案件详情页的跳转请求时,根据跳转请求对用户的登录账户以及特定案件的案件代码进行信息验证;其中,跳转请求中包括用户的登录账户信息以及特定案件的案件代码信息;S2:信息验证通过后,根据登录账户以及案件代码,在预设角色映射表中查找对应的角色状态码,在预设角色映射表中记录了用户以及案件代码二者与角色状态码之间的映射关系;以及根据案件代码,通过案件详情接口在系统后台的存储记录中读取最新的流程状态码;其中,角色状态码代表特定案件中的案件详情中的角色内容,流程状态码代表特定案件的案件详情中的流程内容;S3:根据角色状态码以及流程状态码,在预设映射表中查找到对应映射的特定案件详情页;预设映射表中记录了角色状态码以及流程状态码二者与特定案件详情页之间的映射关系,特定案件详情页中包括角色内容和流程内容两部分内容;S4:根据预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中。通过获取角色状态码和流程状态码与案件详情页之间的映射关系,使得每个跳转请求都能够跳转到正确的案件详情页中,并且减少了在多角色、多流程的场景管理中,对页面跳转进行更改和维护的工作量,页面跳转系统后期更加灵活,易于管理和扩展。This application proposes a multi-role page jump method, including: S1: When receiving a jump request from a user to enter the case details page of a specific case, information about the user’s login account and the case code of the specific case according to the jump request Verification; Among them, the jump request includes the user's login account information and the case code information of the specific case; S2: After the information is verified, according to the login account and case code, look up the corresponding role status code in the preset role mapping table, The mapping relationship between the user and the case code and the role status code is recorded in the preset role mapping table; and according to the case code, the latest process status code is read in the storage record of the system background through the case details interface; , The role status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case; S3: According to the role status code and the process status code, the corresponding is found in the preset mapping table The mapped specific case details page; the default mapping table records the mapping relationship between the role status code and the process status code and the specific case details page. The specific case details page includes two parts: role content and process content; S4 : According to the preset routing jump rules, jump from the current front-end display page to the specific case details page. By obtaining the mapping relationship between the role status code and the process status code and the case details page, each jump request can be jumped to the correct case details page, and it reduces the need for multi-role, multi-process scene management , The workload of changing and maintaining the page jump, the page jump system later is more flexible, easy to manage and expand.
在一个较优的实施例中,特定案件详情页包括基础显示框架和多个不同的显示组件;根据角色状态码以及流程状态码,在预设映射表中查找对应映射的特定案件详情页的步骤S3,包括:In a preferred embodiment, the specific case details page includes a basic display frame and multiple different display components; according to the role status code and the process status code, the step of searching the corresponding mapped specific case detail page in the preset mapping table S3, including:
S31:获取预设的基础显示框架,并根据角色状态码,在预设映射表中查找与用户对应的角色信息显示组件,以及根据流程状态码,在预设映射表中查找与特定案件对应的案件状态显示组件以及案件流转状态显示组件;角色信息显示组件对应的即是角色内容,案件状态显示组件以及案件流转状态显示组件对应的即是流程内容;S31: Obtain the preset basic display framework, and according to the role status code, search for the role information display component corresponding to the user in the preset mapping table, and according to the process status code, search for the specific case corresponding to the specific case in the preset mapping table Case status display component and case flow status display component; role information display component corresponds to role content, case status display component and case flow status display component corresponds to process content;
S32:将角色信息显示组件、案件状态显示组件以及案件流转状态显示组件分别加载到基础显示框架的对应位置中,生成特定案件详情页。S32: Load the role information display component, the case status display component, and the case flow status display component into corresponding positions of the basic display frame, respectively, to generate a specific case details page.
在上述步骤实施时,在案件详情页中主要包括两部分显示内容,一部分为基础显示框架,其中基础显示框架在所有特定案件详情页中为公共显示部分,显示内容均保持一致,即在不同的案件详情页中基础显示框架都是一样的,为公共标准,在系统中事先进行预设。另一部分显示内容则为多个不同的显示组件,根据用户的担任角色信息、特定案件的案件状态信息以及流转状态信息的不同而有所不同。When the above steps are implemented, the case details page mainly includes two parts of display content, one is the basic display frame, and the basic display frame is the common display part in all specific case details pages, and the display content remains the same, that is, in different cases. The basic display frame in the case details page is the same, which is a public standard, which is preset in the system in advance. The other part of the display content is a number of different display components, which vary according to the user's role information, case status information of a specific case, and circulation status information.
在执行特定案件的跳转请求时,系统后台事先预加载了预设的基础显示框架,使得跳转速度更加快速流畅,同时根据角色状态码,在预设映射表中查找与用户对应的角色信息显示组件,以及根据流程状态码,在预设映射表中查找与特定案件对应的案件状态显示组件以及案件流转状态显示组件。角色信息显示组件对应的即是角色内容,案件状态显示组件以及案件流转状态显示组件对应的即是流程内容。不同的案件详情页中的显示内容不完全一致,该不完全一致的显示部分即用不同的显示组件进行配置。系统后台在预设映射表中查找到对应映射的显示组件后,将角色信息显示组件、案件状态显示组件以及案件流转状态显示组件分别加载到基础显示框架的对应位置中,生成跳转请求对应的特定案件详情页。When executing a jump request for a specific case, the system backend preloads a preset basic display frame in advance to make the jump faster and smoother. At the same time, according to the role status code, look up the role information corresponding to the user in the preset mapping table Display components, and according to the process status code, find the case status display component and case flow status display component corresponding to a specific case in the preset mapping table. The role information display component corresponds to the role content, and the case status display component and the case flow status display component correspond to the process content. The display content on the detail pages of different cases is not completely consistent, and the display parts that are not completely consistent are configured with different display components. After the system backend finds the corresponding mapped display component in the preset mapping table, it loads the role information display component, case status display component, and case flow status display component into the corresponding positions of the basic display frame, and generates the corresponding jump request Specific case details page.
在执行跳转请求时,将案件详情页分为基础显示框架与显示组件两部分内容,并且进行分步加载,基础显示框架的要求预加载使得跳转速度更加快速流畅,同时针对不同的案件详情页只需在基础显示框架中配置相应的显示组件即可,无需对整个页面进行重新设计加载,进一步提高了跳转的流畅度,使得每个跳转请求都能够跳转到正确的案件详情页中,提高了案件流转效率;同时无需针对每个流程步骤都设计一个单独的案件详情页,采用显示组件的搭配组装生成所需的案件详情页,进一步减少了系统页面跳转的工作量。When executing a jump request, the case details page is divided into two parts, the basic display frame and the display component, and loaded step by step. The basic display frame requires pre-loading to make the jump faster and smoother, and at the same time for different case details The page only needs to configure the corresponding display components in the basic display frame. There is no need to redesign and load the entire page, which further improves the smoothness of the jump, so that each jump request can jump to the correct case details page It improves the efficiency of case circulation; at the same time, there is no need to design a separate case details page for each process step, and the required case details page is generated by the combination of display components, which further reduces the workload of system page jumps.
在一个较优的实施例中,根据预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中的步骤S4,包括:In a preferred embodiment, step S4 of jumping from the current front-end display page to the specific case details page according to the preset routing jumping rule includes:
S41:从系统后台获取特定案件详情页对应的路由信息,路由信息包括路由地址信息和路由跳转类型;S41: Obtain routing information corresponding to a specific case detail page from the system background, the routing information includes routing address information and routing jump type;
S42:根据路由跳转类型,确定对应的预设路由跳转规则;S42: Determine the corresponding preset route jump rule according to the route jump type;
S43:根据路由地址信息和预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中。S43: Jump from the current front-end display page to the specific case details page according to the routing address information and preset routing jump rules.
在实施时,系统后台根据角色状态码以及流程状态码查找特定案件详情页,并获取到特定案件详情页对应的路由信息,路由信息包括路由地址信息和路由跳转类型;其中路由地址信息是指具体需要跳转的路由地址,路由跳转类型可以包括:Actvity、Fragment、Service(即,软件工具包提供的服务控件,该服务控件主要用于当APP或者浏览器退出时,在后台执行相关任务,例如,当退出某听歌APP时,歌曲仍正常播放)、BroadCast(即,软件工具包提供的广播控件,该广播控件主要用于接收系统或自定义的广播消息,例如,收到短信通知或者其他消息通知)、ContentProvider(即,软件工具包提供的内容提供控件,该内容提供控件主要用于多个APP或者浏览器之间的信息共享,例如,某个APP调用系统的通讯录),或IProvider(即,软件工具包提供的执行其他命令的控件)。During implementation, the system backend searches the specific case details page according to the role status code and process status code, and obtains the routing information corresponding to the specific case details page. The routing information includes routing address information and routing jump type; the routing address information refers to The specific routing address that needs to be redirected. The type of routing redirection can include: Actvity, Fragment, Service (that is, the service control provided by the software toolkit, the service control is mainly used to perform related tasks in the background when the APP or browser exits For example, when you exit a listening app, the song still plays normally), BroadCast (that is, the broadcast control provided by the software toolkit, the broadcast control is mainly used to receive system or custom broadcast messages, for example, receive SMS notifications Or other notifications), ContentProvider (that is, the content providing control provided by the software toolkit, the content providing control is mainly used for information sharing between multiple APPs or browsers, for example, a certain APP calls the address book of the system), Or IProvider (that is, the control provided by the software toolkit to execute other commands).
根据路由跳转类型,确定对应的路由跳转规则,并根据路由地址信息和路由跳转规则,跳转到特定案件详情页。不同的路由跳转类型具有不同的路由跳转规则,若路由跳转类型是界面跳转类型,则路由跳转规则是调用系统的应用程序接口或者是基于编程语言的反射技术获取类实例对象;若路由跳转类型是实例获取类型,则路由跳转规则是基于编程语言的反射技术获取类实例对象;若路由跳转类型是调用接口类型,则路由跳转规则是通过路由框架暴露的接口。具体解释为:首先,根据路由信息获取到此次跳转请求的路由跳转类型,跳转类型可以包括Actvity、Fragment、Service、BroadCast、ContentProvider或IProvider;然后,根据获取的路由跳转类型分别调用不同的处理方式:According to the route jump type, determine the corresponding route jump rule, and jump to the specific case details page according to the route address information and the route jump rule. Different route jump types have different route jump rules. If the route jump type is an interface jump type, the route jump rule is to call the application program interface of the system or obtain the class instance object based on the reflection technology of the programming language; If the route jump type is the instance acquisition type, the route jump rule is based on the reflection technology of the programming language to acquire the class instance object; if the route jump type is the calling interface type, the route jump rule is the interface exposed through the routing framework. The specific explanation is as follows: First, obtain the route jump type of the jump request according to the routing information. The jump type can include Actvity, Fragment, Service, BroadCast, ContentProvider or IProvider; then, call according to the obtained route jump type. Different processing methods:
(1)若路由跳转类型是Activity,则调用系统(比如,安卓系统)原始提供的应用程序接口(比如,ActivityCompat API)进行界面跳转,并可通过Bundle(即,安卓系统的类,用于Activity之间传输数据)进行数据传递。调用此类的方法为:(1) If the route jump type is Activity, call the application program interface originally provided by the system (for example, Android system) (for example, ActivityCompat API) for interface jump, and data transfer can be performed through Bundle (that is, a class of the Android system used to transfer data between activities). The method to call this class is:
ActivityCompat.startActivity()ActivityCompat.startActivity()
ActivityCompat.startActivityForResult();ActivityCompat.startActivityForResult();
(2)若跳转类型是Fragment、Service、BroadCast或ContentProvider,则基于编程语言的反射技术获取类实例对象,其中编程语言可以是Java;(2) If the jump type is Fragment, Service, BroadCast, or ContentProvider, the class instance object is obtained based on the reflection technology of the programming language, where the programming language can be Java;
(3)若跳转类型是IProvide,则直接通过路由跳转框架暴露的接口进行界面跳转。(3) If the jump type is IProvide, the interface jumps directly through the interface exposed by the routing jump framework.
在一个较优的实施例中,路由信息还包括路由拦截信息;在根据路由地址信息和预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中的步骤S33之前,还包括:In a preferred embodiment, the routing information also includes routing interception information; before jumping from the current front-end display page to the step S33 in the specific case details page according to the routing address information and preset routing redirection rules, it also includes :
S44:根据获取的路由拦截信息,按照预设的优先级规则对页面跳转执行拦截处理,并判断拦截处理是否通过;S44: According to the obtained route interception information, perform interception processing on page jumps according to preset priority rules, and judge whether the interception processing is passed;
S45:若拦截处理通过,则进入从当前前端显示页面跳转到特定案件详情页中的步骤 S43,其中拦截处理包括登录信息验证以及加密信息验证。S45: If the interception process is passed, proceed to the step of jumping from the current front-end display page to the specific case details page S43, where the interception processing includes login information verification and encrypted information verification.
在实施时,路由信息还可以包括:路由拦截信息;根据获取的路由拦截信息,按照预设的优先级规则对显示页面跳转执行拦截处理,其中路由拦截信息是指跳转到目标界面之前,需要执行的操作信息;优先级规则是指跳转至目标界面之前,需要多次拦截,则对每次拦截设置优先级等级;预设的优先级规则可以是按照自然排序,即从优先级高到优先级低的顺序进行拦截,当然也可以是按照其他排序方式,本申请对此不做限定。按照预设的优先级规则执行拦截处理,若拦截处理不通过,则拒绝跳转请求。例如,在跳转至案件详情页之前,判断是否需要登陆,即登录信息验证,若不需要登陆,则跳转至案件详情页,若需要登陆,则跳转至登陆界面,而拦截处理不通过是指登陆信息错误,则会拒绝此次跳转请求。再例如在跳转至案件详情页之前,判断是否需要进行输入密码,有些案件需要一定的权限才能够进行查看,因此需要输入密码进行加密信息验证,若不需要加密信息验证,则跳转至案件详情页,若需要加密信息验证,则跳转至密码输入界面,而拦截处理不通过是指加密信息验证错误,则会拒绝此次跳转请求。通过路由拦截,增强了案件管理过程中的安全性和保密性,有效的保护了各个参与方以及案件本身的信息安全。During implementation, the routing information may also include: route interception information; according to the obtained route interception information, the interception processing is performed on the display page jump according to the preset priority rules, where the route interception information refers to before jumping to the target interface, Operation information that needs to be performed; priority rules refer to the need to intercept multiple times before jumping to the target interface, and then set the priority level for each interception; the preset priority rules can be ordered naturally, that is, from the highest priority The interception is performed in the order of lower priority, of course, it may also be in other ordering methods, which is not limited in this application. The interception process is executed according to the preset priority rules, and if the interception process fails, the redirect request is rejected. For example, before jumping to the case details page, determine whether you need to log in, that is, log in information verification, if you do not need to log in, then jump to the case details page, if you need to log in, then jump to the login interface, and the interception process fails. If the login information is wrong, the redirect request will be rejected. For another example, before jumping to the case details page, determine whether you need to enter a password. Some cases require certain permissions to be able to view, so you need to enter a password for encrypted information verification. If you don’t need encrypted information verification, skip to the case In the details page, if encrypted information verification is required, it will jump to the password input interface. If the interception process fails, it means that the encrypted information is verified incorrectly, and the jump request will be rejected. Through route interception, the security and confidentiality in the case management process are enhanced, and the information security of each participant and the case itself is effectively protected.
在一个较优的实施例中,在根据预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中的步骤S4之后,还包括:In a preferred embodiment, after step S4 of jumping from the current front-end display page to the specific case details page according to the preset routing jumping rule, the method further includes:
S5:提取显示组件中的特定内容,特定内容包括担任角色信息、案件状态信息以及案件流转状态;S5: Extract specific content in the display component, the specific content includes role information, case status information, and case circulation status;
S6:根据特定内容确定对应的第一角色状态码以及第一流程状态码,并校验第一角色状态码是否与角色状态码一致,以及第一流程状态码是否与流程状态码一致;S6: Determine the corresponding first role status code and the first process status code according to the specific content, and verify whether the first role status code is consistent with the role status code, and whether the first process status code is consistent with the process status code;
S7:若均一致,则保持显示特定案件详情页;若不一致,则停止显示特定案件详情页,并在当前前端显示页面中发出显示错误提醒。S7: If they are consistent, the specific case details page will remain displayed; if they are inconsistent, the specific case details page will be stopped, and a display error reminder will be issued on the current front-end display page.
在实施时,在将前端显示页面跳转到特定案件详情页的之后,还会对跳转的该特定案件详情页进行内容验证,以进一步确定跳转到了正确的案件详情页中。During implementation, after the front-end display page is jumped to the specific case details page, the content of the jumped specific case details page will also be verified to further confirm that the jump to the correct case details page.
在一个具体的实施例中,通过提取对应显示组件中的特定内容来确定当前案件详情页对应的第一角色状态码以及第一流程状态码,其中特定内容包括用户对应的担任角色信息,特定案件对应的案件状态信息以及案件的流转状态信息;具体地,例如通过提取当前案件详情页中角色信息显示组件的当前登录角色信息来确定第一角色状态码,通过提取案件状态显示组件以及案件流转状态显示组件的案件状态信息以及案件流转状态信息来确定第一流程状态码。然后校验第一角色状态码是否与角色状态码一致,以及第一流程状态码是否与流程状态码一致。例如若获取到角色状态码为03,而根据角色信息显示组件提取到第一角色状态码为04,二者不一致,则说明系统后台在执行跳转请求时页面跳转错误,本应跳转到对应秘书角色的案件详情页,却跳转到了对应边裁角色的案件详情页,此时停止显示该特定案件详情页,并发出显示错误提醒,以确保用户浏览的是正确的案件详情页。对于第一流程状态码与流程状态码也是同理。若第一角色状态码与角色状态码一致,以及第一流程状态码与流程状态码均一致,则保持显示特定案件详情页;若不一致,则停止显示特定案件详情页,并在当前前端显示页面中发出显示错误提醒,以告知系统和用户页面跳转出现错误。In a specific embodiment, the first role status code and the first process status code corresponding to the current case details page are determined by extracting specific content in the corresponding display component, where the specific content includes the role information corresponding to the user, and the specific case Corresponding case status information and case circulation status information; specifically, for example, by extracting the current login role information of the role information display component in the current case details page to determine the first role status code, by extracting the case status display component and the case circulation status The case status information and case flow status information of the display component are used to determine the first process status code. Then check whether the first role status code is consistent with the role status code, and whether the first process status code is consistent with the process status code. For example, if the role status code is 03, and the first role status code is 04 according to the role information display component, and the two are inconsistent, it means that the page jump error when the system backend is executing the jump request, and it should be jumped to The case details page corresponding to the secretary role jumps to the case details page corresponding to the sideman role. At this time, the display of the specific case details page is stopped, and a display error reminder is issued to ensure that the user is viewing the correct case details page. The same is true for the first process status code and the process status code. If the first role status code is consistent with the role status code, and the first process status code is consistent with the process status code, the specific case details page will remain displayed; if they are inconsistent, the specific case details page will be stopped and the page will be displayed on the current front end A display error reminder is issued to inform the system and the user that there is an error in the page jump.
通过将当前案件详情页对应的第一角色状态码以及第一流程状态码与角色状态码以及流程状态码进行校验,进一步增强了案件管理过程中的安全性和保密性,有效的保护了各个参与方以及案件本身的信息安全。By verifying the first role status code and the first process status code corresponding to the current case details page with the role status code and process status code, the security and confidentiality in the case management process are further enhanced, and each is effectively protected. Information security of the parties and the case itself.
在一个较优的实施例中,在根据预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中的步骤S4之后,还包括:In a preferred embodiment, after step S4 of jumping from the current front-end display page to the specific case details page according to the preset routing jumping rule, the method further includes:
S8:接收在特定案件详情页中输入的操作请求,并根据操作请求相应更改并保存特定案件详情页中的内容,获得更改后的第一案件详情页;S8: Receive the operation request entered in the specific case details page, and change and save the content in the specific case details page according to the operation request to obtain the changed first case details page;
S9:提取第一案件详情页中的角色内容以及流程内容,以分别确定其对应的第二角色状态码以及第二流程状态码;S9: Extract the role content and process content in the details page of the first case to determine the corresponding second role status code and the second process status code respectively;
S10:将系统后台的角色状态码与流程状态码更新为第二角色状态码以及第二流程状态码并保存。S10: Update the role status code and the process status code of the system background to the second role status code and the second process status code and save.
在上述步骤实施时,在从当前前端显示页面跳转到特定案件详情页中后,系统接收在特定案件详情页中输入的操作请求,并根据操作请求相应更改并保存特定案件详情页中的内容,获得更改后的第一案件详情页。然后提取第一案件详情页中的角色内容以及流程内容,以分别确定其对应的第二角色状态码以及第二流程状态码,具体地,通过提取当前案件详情页中角色信息显示组件的角色内容来确定更改后的第二角色状态码,通过提取案件状态显示组件以及案件流转状态显示组件中的流程内容来确定更改后的第二流程状态码。最后将系统后台的角色状态码与流程状态码更新为第二角色状态码以及第二流程状态码并保存,从而使得下次用户在对特定案件发出跳转请求时,能够通过案件详情接口从系统后台中获取到最新的流程状态码,跳转到对应该案件的最新案件详情页中,及时了解案件的当前进展与流转状态,提高了案件的流转效率。在一个具体的实施例中,系统后台在接收到用户发出的提交请求或保存请求之后,判断用户在特定案件详情页中的操作已完成,将角色状态码与流程状态码更新为第二角色状态码以及第二流程状态码并保存。在另一个具体的实施例中,系统后台在检测到特定案件详情页被关闭之后,就会自动将角色状态码与流程状态码更新为第二角色状态码以及第二流程状态码并保存。由于在很多案件流程之中,案件详情页都是设定不变的,只是需要按照一定的流程顺序进行跳转和展示,用户只需在案件详情页中执行点击操作即可,因此系统后台也只需对流程状态码进行更新即可,而无需对案件详情页进行更新,使得用户在针对该特定案件发出跳转请求时,能够根据流程状态码获取到最新的案件流程,并跳转到对应的案件详情页。In the implementation of the above steps, after jumping from the current front-end display page to the specific case details page, the system receives the operation request entered in the specific case details page, and changes and saves the content in the specific case details page according to the operation request. To get the details page of the first case after the change. Then extract the role content and process content in the first case details page to determine the corresponding second role status code and the second process status code, specifically, by extracting the role content of the role information display component in the current case details page To determine the changed second role status code, the changed second process status code is determined by extracting the process content in the case status display component and the case flow status display component. Finally, the role status code and process status code of the system background are updated to the second role status code and the second process status code and saved, so that the next time the user sends a jump request to a specific case, he can use the case details interface to get from the system Get the latest process status code in the background, jump to the latest case details page corresponding to the case, and keep abreast of the current progress and circulation status of the case, which improves the circulation efficiency of the case. In a specific embodiment, after receiving the submission request or save request from the user, the system background determines that the user's operation in the specific case details page has been completed, and updates the role status code and process status code to the second role status Code and the second process status code and save. In another specific embodiment, after detecting that the specific case details page is closed, the system background automatically updates the role status code and the process status code to the second role status code and the second process status code and saves them. Because in many case processes, the case details page is set unchanged, but it needs to be jumped and displayed in a certain process sequence. The user only needs to click on the case details page, so the system background is also You only need to update the process status code, instead of updating the case details page, so that when the user sends a jump request for the specific case, he can get the latest case process according to the process status code and jump to the corresponding Case details page.
在一个较优的实施例中,在提取第一案件详情页中的角色内容以及流程内容,以分别确定其对应的第二角色状态码以及第二流程状态码的步骤S9之后,还包括:In a preferred embodiment, after extracting the role content and process content in the first case details page to determine the corresponding second role status code and the second process status code in step S9, the method further includes:
S11:判断在第一案件详情页中是否有新文字输入内容和/或新上传附件内容添加;S11: Determine whether there is new text input content and/or newly uploaded attachment content added in the first case details page;
S12:若有,则根据第二角色状态码以及第二流程状态码,在预设映射表中查找对应的第二案件详情页,并将第二案件详情页替换为第一案件详情页。S12: If yes, look up the corresponding second case detail page in the preset mapping table according to the second role status code and the second process status code, and replace the second case detail page with the first case detail page.
在上述步骤实施时,系统后台在更新角色状态码以及流程状态码时,同时判断是否要对预设映射表中对应的案件详情页进行更新。具体地,系统后台检测在更改后的第一案件详情页中是否有新文字输入内容和/或新上传附件内容添加,若有添加,则说明在案件详情页中有额外的新增内容,需要对预设映射表中对应的案件详情页进行更新,以使用户在下次发出跳转请求时,能够获取案件对应的最新流程状态。When the above steps are implemented, the system backend will determine whether to update the corresponding case details page in the preset mapping table when updating the role status code and the process status code. Specifically, the system background detects whether there is new text input content and/or newly uploaded attachment content added in the changed first case details page. If it is added, it means that there is additional new content in the case details page, and it needs to be added. Update the corresponding case details page in the preset mapping table so that the user can obtain the latest process status corresponding to the case when the user sends a jump request next time.
系统若检测到在第一案件详情页中有新文字输入内容和/或新上传附件内容添加,则根据第二角色状态码以及第二流程状态码,在预设映射表中查找对应的第二案件详情页,然后将第二案件详情页替换为第一案件详情页,以保存用户在第一案件详情页中新增的新文字输入内容和/或新上传附件内容。具体地,由于案件详情页包括角色信息显示组件、案件状态显示组件以及案件流转状态显示组件三个不同的显示组件,因此在将第二案件详情页替换为第一案件详情页时,系统在多个显示组件中检测是否有新增的新文字输入内容和/或新上传附件内容,若有,则对预设映射表中对应的显示组件进行替换更新。当检测到有内容输入时,只需更新对应的显示组件即可,而无需对整个案件详情页进行替换,进一步减少了页面跳转系统的工作量。If the system detects that there are new text input content and/or newly uploaded attachment content added in the first case details page, it will look up the corresponding second in the default mapping table according to the second role status code and the second process status code. Case details page, and then replace the second case details page with the first case details page to save the new text input content and/or newly uploaded attachment content added by the user in the first case details page. Specifically, since the case details page includes three different display components: a role information display component, a case status display component, and a case flow status display component, when replacing the second case details page with the first case details page, the system Detect whether there are newly added text input content and/or newly uploaded attachment content in each display component, and if so, replace and update the corresponding display component in the preset mapping table. When it is detected that there is content input, only the corresponding display component needs to be updated, without replacing the entire case details page, which further reduces the workload of the page jump system.
本申请还提出了一种多角色页面跳转装置,包括:This application also proposes a multi-role page jump device, including:
获取模块10,用于接收到用户进入特定案件的案件详情页的跳转请求时,根据跳转请求对用户的登录账户以及特定案件的案件代码进行信息验证;The obtaining module 10 is used to verify the information of the user's login account and the case code of the specific case when receiving a jump request from the user to enter the case details page of a specific case;
第一查找模块20,用于信息验证通过后,根据登录账户以及案件代码,在预设角色映射表中查找对应的角色状态码,在预设角色映射表中记录了用户以及案件代码二者与角色状态码之间的映射关系;以及根据案件代码,通过案件详情接口在系统后台的存储记录中读取最新的流程状态码;The first search module 20 is used to search for the corresponding role status code in the preset role mapping table according to the login account and the case code after the information verification is passed, and record both the user and the case code in the preset role mapping table. The mapping relationship between role status codes; and according to the case code, read the latest process status code in the storage record of the system background through the case details interface;
其中,角色状态码代表特定案件中的案件详情中的角色内容,流程状态码代表特定案件的案件详情中的流程内容;Among them, the role status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case;
第二查找模块30,用于根据角色状态码以及流程状态码,在预设映射表中查找到对应映射的特定案件详情页;预设映射表中记录了角色状态码以及流程状态码二者与特定案件详情页之间的映射关系,特定案件详情页包括角色内容和流程内容两部分内容;The second search module 30 is used to search for the specific case detail page corresponding to the mapping in the preset mapping table according to the role status code and the process status code; the preset mapping table records both the role status code and the process status code and The mapping relationship between the specific case details page, the specific case details page includes two parts: role content and process content;
跳转模块40,用于根据预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中。The jump module 40 is used to jump from the current front-end display page to the specific case details page according to preset routing jump rules.
其中上述模块10-40分别用于执行的操作与前述实施方式的多角色页面跳转方法的步骤一一对应,在此不再赘述。The operations performed by the aforementioned modules 10-40 respectively correspond to the steps of the multi-role page jump method of the foregoing embodiment, and will not be repeated here.
进一步地,对应前述实施方式的多角色页面跳转方法的细分步骤,上述模块10-40相应的包含了子模块、单元或子单元,用于执行前述防止域名劫持的方法的细分步骤,在此也不再赘述。Further, corresponding to the subdivision steps of the multi-role page jump method in the foregoing embodiment, the aforementioned modules 10-40 correspondingly include sub-modules, units or sub-units for performing the subdivision steps of the aforementioned method for preventing domain name hijacking, I will not repeat them here.
本申请还提出了一种计算机设备,包括存储器1003和处理器1002,存储器1003存储有计算机程序1004,处理器1002执行计算机程序1004时实现一种多角色页面跳转方法,其中所述多角色页面跳转方法的步骤包括:接收到用户进入特定案件的案件详情页的跳转请求时,根据跳转请求对用户的登录账户以及特定案件的案件代码进行信息验证;其中,跳转请求中包括用户的登录账户信息以及特定案件的案件代码信息;信息验证通过后,根据登录账户以及案件代码,在预设角色映射表中查找对应的角色状态码,在预设角色映射表中记录了用户以及案件代码二者与角色状态码之间的映射关系;以及根据案件代码,通过案件详情接口在系统后台的存储记录中读取最新的流程状态码;其中,角色状态码代表特定案件中的案件详情中的角色内容,流程状态码代表特定案件的案件详情中的流程内容;根据角色状态码以及流程状态码,在预设映射表中查找到对应映射的特定案件详情页;预设映射表中记录了角色状态码以及流程状态码二者与特定案件详情页之间的映射关系,特定案件详情页中包括角色内容和流程内容两部分内容;根据预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中。This application also proposes a computer device including a memory 1003 and a processor 1002. The memory 1003 stores a computer program 1004. The processor 1002 implements a multi-role page jump method when the computer program 1004 is executed, wherein the multi-role page The steps of the jump method include: when receiving a jump request from the user to enter the case details page of a specific case, verify the user’s login account and the case code of the specific case according to the jump request; wherein the jump request includes the user The login account information and the case code information of a specific case; after the information is verified, the corresponding role status code is searched in the preset role mapping table according to the login account and case code, and the user and case are recorded in the preset role mapping table The mapping relationship between the two codes and the role status code; and according to the case code, read the latest process status code in the storage record of the system background through the case details interface; among them, the role status code represents the case details in a specific case The role content, the process status code represents the process content in the case details of a specific case; according to the role status code and process status code, the corresponding mapping specific case details page is found in the preset mapping table; the preset mapping table records The mapping relationship between the role status code and the process status code and the specific case details page. The specific case details page includes two parts of the role content and the process content; according to the preset routing rules, the current front-end display page jumps Go to the specific case details page.
本申请还提出了一种可读存储介质2001,其中,所述可读存储介质2001可以是非易失性,也可以是易失性的,其上存储有计算机程序2002,计算机程序2002被处理器执行时实现一种多角色页面跳转方法,其中所述多角色页面跳转方法的步骤包括:接收到用户进入特定案件的案件详情页的跳转请求时,根据跳转请求对用户的登录账户以及特定案件的案件代码进行信息验证;其中,跳转请求中包括用户的登录账户信息以及特定案件的案件代码信息;信息验证通过后,根据登录账户以及案件代码,在预设角色映射表中查找对应的角色状态码,在预设角色映射表中记录了用户以及案件代码二者与角色状态码之间的映射关系;以及根据案件代码,通过案件详情接口在系统后台的存储记录中读取最新的流程状态码;其中,角色状态码代表特定案件中的案件详情中的角色内容,流程状态码代表特定案件的案件详情中的流程内容;根据角色状态码以及流程状态码,在预设映射表中查找到对应映射的特定案件详情页;预设映射表中记录了角色状态码以及流程状态码二者与特定案件详情页之间的映射关系,特定案件详情页中包括角色内容和流程内容两部分内容;根据预设路由跳转规则,从当前前端显示页面跳转到特定案件详情页中。This application also proposes a readable storage medium 2001, wherein the readable storage medium 2001 may be non-volatile or volatile, and a computer program 2002 is stored thereon, and the computer program 2002 is used by the processor A multi-role page jump method is implemented during execution, wherein the steps of the multi-role page jump method include: upon receiving a jump request from the user to enter the case details page of a specific case, according to the jump request to the user's login account And the case code of a specific case for information verification; among them, the jump request includes the user’s login account information and the case code information of the specific case; after the information verification is passed, according to the login account and case code, search in the preset role mapping table Corresponding role status code, the mapping relationship between the user and the case code and the role status code is recorded in the preset role mapping table; and according to the case code, read the latest in the storage record of the system background through the case details interface The status code of the process; where the role status code represents the role content in the case details of a specific case, and the process status code represents the process content in the case details of the specific case; according to the role status code and the process status code, in the preset mapping table Find the corresponding specific case detail page in the corresponding mapping; the default mapping table records the mapping relationship between the role status code and the process status code and the specific case detail page. The specific case detail page includes the role content and the process content. Part of the content; according to the preset routing rules, jump from the current front-end display page to the specific case details page.
以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of this application, and do not limit the scope of this application. Any equivalent structure or equivalent process transformation made using the content of the specification and drawings of this application, or directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of this application.

Claims (20)

  1. 一种多角色页面跳转方法,其中,包括:A multi-role page jump method, which includes:
    接收到用户进入特定案件的案件详情页的跳转请求时,根据所述跳转请求对所述用户的登录账户以及所述特定案件的案件代码进行信息验证;其中,所述跳转请求中包括所述用户的登录账户信息以及所述特定案件的案件代码信息;When receiving a jump request from a user to enter the case details page of a specific case, information verification is performed on the user's login account and the case code of the specific case according to the jump request; wherein, the jump request includes The login account information of the user and the case code information of the specific case;
    所述信息验证通过后,根据所述登录账户以及所述案件代码,在预设角色映射表中查找对应的所述角色状态码,在所述预设角色映射表中记录了所述用户以及所述案件代码二者与所述角色状态码之间的映射关系;以及根据所述案件代码,通过案件详情接口在系统后台的存储记录中读取最新的所述流程状态码;其中,所述角色状态码代表所述特定案件中的案件详情中的角色内容,所述流程状态码代表所述特定案件的案件详情中的流程内容;After the information verification is passed, according to the login account and the case code, the corresponding role status code is searched in the preset role mapping table, and the user and all the roles are recorded in the preset role mapping table. The mapping relationship between the case code and the role status code; and according to the case code, the latest process status code is read in the storage record of the system background through the case details interface; wherein, the role The status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case;
    根据所述角色状态码以及所述流程状态码,在预设映射表中查找到对应映射的特定案件详情页;所述预设映射表中记录了所述角色状态码以及所述流程状态码二者与所述特定案件详情页之间的映射关系,所述特定案件详情页中包括所述角色内容和所述流程内容两部分内容;According to the role status code and the process status code, the corresponding mapped specific case details page is found in the preset mapping table; the role status code and the process status code two are recorded in the preset mapping table The mapping relationship between the person and the specific case details page, where the specific case details page includes two parts: the role content and the process content;
    根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中。According to the preset routing jump rules, jump from the current front-end display page to the specific case details page.
  2. 根据权利要求1所述的多角色页面跳转方法,其中,所述特定案件详情页包括基础显示框架和多个不同的显示组件;所述根据所述角色状态码以及所述流程状态码,在预设映射表中查找对应映射的特定案件详情页的步骤,包括:The multi-role page jump method according to claim 1, wherein the specific case details page includes a basic display frame and a plurality of different display components; according to the role status code and the process status code, The steps to find the corresponding mapped specific case detail page in the preset mapping table include:
    获取预设的所述基础显示框架,并根据所述角色状态码,在所述预设映射表中查找与所述用户对应的角色信息显示组件,以及根据所述流程状态码,在所述预设映射表中查找与所述特定案件对应的案件状态显示组件以及案件流转状态显示组件;所述角色信息显示组件对应的即是所述角色内容,所述案件状态显示组件以及所述案件流转状态显示组件对应的即是所述流程内容;Obtain the preset basic display framework, search for the role information display component corresponding to the user in the preset mapping table according to the role status code, and according to the process status code, in the preview Suppose that the case status display component and the case circulation status display component corresponding to the specific case are searched in the mapping table; the role information display component corresponds to the role content, the case status display component and the case circulation status The display component corresponds to the process content;
    将所述角色信息显示组件、所述案件状态显示组件以及所述案件流转状态显示组件分别加载到所述基础显示框架的对应位置中,生成所述特定案件详情页。The role information display component, the case status display component, and the case flow status display component are respectively loaded into corresponding positions of the basic display frame to generate the specific case details page.
  3. 根据权利要求1所述的多角色页面跳转方法,其中,所述根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中的步骤,包括:The multi-role page jump method according to claim 1, wherein the step of jumping from the current front-end display page to the specific case details page according to a preset routing jump rule comprises:
    从系统后台获取所述特定案件详情页对应的路由信息,所述路由信息包括路由地址信息和路由跳转类型;Obtain routing information corresponding to the specific case details page from the system background, where the routing information includes routing address information and routing jump types;
    根据所述路由跳转类型,确定对应的所述预设路由跳转规则;Determine the corresponding preset route jump rule according to the route jump type;
    根据所述路由地址信息和所述预设路由跳转规则,从所述当前前端显示页面跳转到所述特定案件详情页中。According to the routing address information and the preset routing jump rule, jump from the current front-end display page to the specific case details page.
  4. 根据权利要求3所述的多角色页面跳转方法,其中,所述路由信息还包括路由拦截信息;在所述根据所述路由地址信息和所述预设路由跳转规则,从所述当前前端显示页面跳转到所述特定案件详情页中的步骤之前,还包括:The multi-role page jump method according to claim 3, wherein the routing information further includes route interception information; in the step according to the routing address information and the preset routing redirection rules, from the current front end Before the display page jumps to the steps in the specific case details page, it also includes:
    根据获取的路由拦截信息,按照预设的优先级规则对所述页面跳转执行拦截处理,并判断所述拦截处理是否通过;According to the obtained route interception information, perform interception processing on the page jump according to a preset priority rule, and determine whether the interception processing is passed;
    若所述拦截处理通过,则进入所述从所述当前前端显示页面跳转到所述特定案件详情页中的步骤,其中所述拦截处理包括登录信息验证以及加密信息验证。If the interception processing is passed, the step of jumping from the current front-end display page to the specific case details page is entered, wherein the interception processing includes login information verification and encrypted information verification.
  5. 根据权利要求1所述的多角色页面跳转方法,其中,在所述根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中的步骤之后,还包括:The multi-role page jump method according to claim 1, wherein after the step of jumping from the current front-end display page to the specific case details page according to a preset routing jump rule, the method further comprises:
    提取所述显示组件中的特定内容,所述特定内容包括所述担任角色信息、所述案件状态信息以及所述案件流转状态;Extracting specific content in the display component, the specific content including the role information, the case status information, and the case circulation status;
    根据所述特定内容确定对应的第一角色状态码以及第一流程状态码,并校验所述第一角色状态码是否与所述角色状态码一致,以及所述第一流程状态码是否与所述流程状态码一致;Determine the corresponding first role status code and the first process status code according to the specific content, and verify whether the first role status code is consistent with the role status code, and whether the first process status code is consistent with the first process status code. The process status code is consistent;
    若均一致,则保持显示所述特定案件详情页;若不一致,则停止显示所述特定案件详情页,并在所述当前前端显示页面中发出显示错误提醒。If they are consistent, keep displaying the specific case details page; if they are inconsistent, stop displaying the specific case details page, and issue a display error reminder in the current front-end display page.
  6. 根据权利要求1所述的多角色页面跳转方法,其中,在所述根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中的步骤之后,还包括:The multi-role page jump method according to claim 1, wherein after the step of jumping from the current front-end display page to the specific case details page according to a preset routing jump rule, the method further comprises:
    接收在所述特定案件详情页中输入的操作请求,并根据所述操作请求相应更改并保存所述特定案件详情页中的内容,获得更改后的第一案件详情页;Receiving the operation request entered in the specific case details page, and correspondingly change and save the content in the specific case details page according to the operation request, and obtain the changed first case details page;
    提取所述第一案件详情页中的所述角色内容以及所述流程内容,以分别确定其对应的第二角色状态码以及第二流程状态码;Extracting the role content and the process content in the first case details page to respectively determine the corresponding second role status code and the second process status code;
    将系统后台的所述角色状态码与所述流程状态码更新为所述第二角色状态码以及第二流程状态码并保存。The role status code and the process status code in the system background are updated to the second role status code and the second process status code and saved.
  7. 根据权利要求6所述的多角色页面跳转方法,其中,在所述提取所述第一案件详情页中的所述角色内容以及所述流程内容,以分别确定其对应的第二角色状态码以及第二流程状态码的步骤之后,还包括:The method for jumping to a multi-role page according to claim 6, wherein in said extracting said role content and said process content in said first case details page, the corresponding second role status codes are respectively determined And after the step of the second process status code, it also includes:
    判断在所述第一案件详情页中是否有新文字输入内容和/或新上传附件内容添加;Determine whether there is new text input content and/or newly uploaded attachment content added in the first case details page;
    若有,则根据所述第二角色状态码以及所述第二流程状态码,在所述预设映射表中查找对应的第二案件详情页,并将所述第二案件详情页替换为所述第一案件详情页。If yes, according to the second role status code and the second process status code, search for the corresponding second case detail page in the preset mapping table, and replace the second case detail page with all Describe the details page of the first case.
  8. 一种多角色页面跳转装置,其中,包括:A multi-role page jump device, which includes:
    获取模块,用于接收到用户进入特定案件的案件详情页的跳转请求时,根据所述跳转请求对所述用户的登录账户以及所述特定案件的案件代码进行信息验证;其中,所述跳转请求中包括所述用户的登录账户信息以及所述特定案件的案件代码信息;The obtaining module is used to verify the information of the user’s login account and the case code of the specific case according to the redirect request when the user enters the case details page of the specific case; wherein, the The jump request includes the login account information of the user and the case code information of the specific case;
    第一查找模块,用于所述信息验证通过后,根据所述登录账户以及所述案件代码,在预设角色映射表中查找对应的所述角色状态码,在所述预设角色映射表中记录了所述用户以及所述案件代码二者与所述角色状态码之间的映射关系;以及根据所述案件代码,通过案件详情接口在系统后台的存储记录中读取最新的所述流程状态码;The first search module is used to search for the corresponding role status code in the preset role mapping table according to the login account and the case code after the information verification is passed, in the preset role mapping table The mapping relationship between the user and the case code and the role status code is recorded; and according to the case code, the latest process status is read in the storage record of the system background through the case details interface code;
    其中,所述角色状态码代表所述特定案件中的案件详情中的角色内容,所述流程状态码代表所述特定案件的案件详情中的流程内容;Wherein, the role status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case;
    第二查找模块,用于根据所述角色状态码以及所述流程状态码,在预设映射表中查找到对应映射的特定案件详情页;所述预设映射表中记录了所述角色状态码以及所述流程状态码二者与所述特定案件详情页之间的映射关系,所述特定案件详情页中包括所述角色内容和所述流程内容两部分内容;The second searching module is configured to find the corresponding mapped specific case detail page in the preset mapping table according to the role status code and the process status code; the role status code is recorded in the preset mapping table And the mapping relationship between the process status code and the specific case details page, where the specific case details page includes two parts: the role content and the process content;
    跳转模块,用于根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中。The jump module is used to jump from the current front-end display page to the specific case details page according to preset routing jump rules.
  9. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其中,所述处理器执行所述计算机程序时实现一种多角色页面跳转方法,其中所述多角色页面跳转方法的步骤包括:A computer device includes a memory and a processor, the memory stores a computer program, wherein the processor implements a multi-role page jump method when the computer program is executed, wherein the multi-role page jump method The steps include:
    接收到用户进入特定案件的案件详情页的跳转请求时,根据所述跳转请求对所述用户的登录账户以及所述特定案件的案件代码进行信息验证;其中,所述跳转请求中包括所述用户的登录账户信息以及所述特定案件的案件代码信息;When receiving a jump request from a user to enter the case details page of a specific case, information verification is performed on the user's login account and the case code of the specific case according to the jump request; wherein, the jump request includes The login account information of the user and the case code information of the specific case;
    所述信息验证通过后,根据所述登录账户以及所述案件代码,在预设角色映射表中查找对应的所述角色状态码,在所述预设角色映射表中记录了所述用户以及所述案件代码二者与所述角色状态码之间的映射关系;以及根据所述案件代码,通过案件详情接口在系统后台的存储记录中读取最新的所述流程状态码;其中,所述角色状态码代表所述特定案件中的案件详情中的角色内容,所述流程状态码代表所述特定案件的案件详情中的流程内容;After the information verification is passed, according to the login account and the case code, the corresponding role status code is searched in the preset role mapping table, and the user and all the roles are recorded in the preset role mapping table. The mapping relationship between the case code and the role status code; and according to the case code, the latest process status code is read in the storage record of the system background through the case details interface; wherein, the role The status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case;
    根据所述角色状态码以及所述流程状态码,在预设映射表中查找到对应映射的特定案件详情页;所述预设映射表中记录了所述角色状态码以及所述流程状态码二者与所述特定案件详情页之间的映射关系,所述特定案件详情页中包括所述角色内容和所述流程内容两部分内容;According to the role status code and the process status code, the corresponding mapped specific case details page is found in the preset mapping table; the role status code and the process status code two are recorded in the preset mapping table The mapping relationship between the person and the specific case details page, where the specific case details page includes two parts: the role content and the process content;
    根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中。According to the preset routing jump rules, jump from the current front-end display page to the specific case details page.
  10. 根据权利要求9所述的计算机设备,其中,所述特定案件详情页包括基础显示框架和多个不同的显示组件;所述根据所述角色状态码以及所述流程状态码,在预设映射表中查找对应映射的特定案件详情页的步骤,包括:8. The computer device according to claim 9, wherein the specific case details page includes a basic display frame and a plurality of different display components; and according to the role status code and the process status code, in a preset mapping table The steps to find the details page of a specific case corresponding to the mapping include:
    获取预设的所述基础显示框架,并根据所述角色状态码,在所述预设映射表中查找与所述用户对应的角色信息显示组件,以及根据所述流程状态码,在所述预设映射表中查找与所述特定案件对应的案件状态显示组件以及案件流转状态显示组件;所述角色信息显示组件对应的即是所述角色内容,所述案件状态显示组件以及所述案件流转状态显示组件对应的即是所述流程内容;Obtain the preset basic display framework, search for the role information display component corresponding to the user in the preset mapping table according to the role status code, and according to the process status code, in the preview Suppose that the case status display component and the case circulation status display component corresponding to the specific case are searched in the mapping table; the role information display component corresponds to the role content, the case status display component and the case circulation status The display component corresponds to the process content;
    将所述角色信息显示组件、所述案件状态显示组件以及所述案件流转状态显示组件分别加载到所述基础显示框架的对应位置中,生成所述特定案件详情页。The role information display component, the case status display component, and the case flow status display component are respectively loaded into corresponding positions of the basic display frame to generate the specific case details page.
  11. 根据权利要求9所述的计算机设备,其中,所述根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中的步骤,包括:The computer device according to claim 9, wherein the step of jumping from the current front-end display page to the specific case details page according to a preset routing jumping rule comprises:
    从系统后台获取所述特定案件详情页对应的路由信息,所述路由信息包括路由地址信息和路由跳转类型;Obtain routing information corresponding to the specific case details page from the system background, where the routing information includes routing address information and routing jump types;
    根据所述路由跳转类型,确定对应的所述预设路由跳转规则;Determine the corresponding preset route jump rule according to the route jump type;
    根据所述路由地址信息和所述预设路由跳转规则,从所述当前前端显示页面跳转到所述特定案件详情页中。According to the routing address information and the preset routing jump rule, jump from the current front-end display page to the specific case details page.
  12. 根据权利要求11所述的计算机设备,其中,所述路由信息还包括路由拦截信息;在所述根据所述路由地址信息和所述预设路由跳转规则,从所述当前前端显示页面跳转到所述特定案件详情页中的步骤之前,还包括:11. The computer device according to claim 11, wherein the routing information further includes routing interception information; in the step of displaying a page jump from the current front end according to the routing address information and the preset routing jump rule Before going to the steps in the specific case details page, it also includes:
    根据获取的路由拦截信息,按照预设的优先级规则对所述页面跳转执行拦截处理,并判断所述拦截处理是否通过;According to the obtained route interception information, perform interception processing on the page jump according to a preset priority rule, and determine whether the interception processing is passed;
    若所述拦截处理通过,则进入所述从所述当前前端显示页面跳转到所述特定案件详情页中的步骤,其中所述拦截处理包括登录信息验证以及加密信息验证。If the interception processing is passed, the step of jumping from the current front-end display page to the specific case details page is entered, wherein the interception processing includes login information verification and encrypted information verification.
  13. 根据权利要求9所述的计算机设备,其中,在所述根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中的步骤之后,还包括:9. The computer device according to claim 9, wherein after the step of jumping from the current front-end display page to the specific case details page according to a preset routing jumping rule, the method further comprises:
    提取所述显示组件中的特定内容,所述特定内容包括所述担任角色信息、所述案件状态信息以及所述案件流转状态;Extracting specific content in the display component, the specific content including the role information, the case status information, and the case circulation status;
    根据所述特定内容确定对应的第一角色状态码以及第一流程状态码,并校验所述第一角色状态码是否与所述角色状态码一致,以及所述第一流程状态码是否与所述流程状态码一致;Determine the corresponding first role status code and the first process status code according to the specific content, and verify whether the first role status code is consistent with the role status code, and whether the first process status code is consistent with the first process status code. The process status code is consistent;
    若均一致,则保持显示所述特定案件详情页;若不一致,则停止显示所述特定案件详情页,并在所述当前前端显示页面中发出显示错误提醒。If they are consistent, keep displaying the specific case details page; if they are inconsistent, stop displaying the specific case details page, and issue a display error reminder in the current front-end display page.
  14. 根据权利要求9所述的计算机设备,其中,在所述根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中的步骤之后,还包括:9. The computer device according to claim 9, wherein after the step of jumping from the current front-end display page to the specific case details page according to a preset routing jumping rule, the method further comprises:
    接收在所述特定案件详情页中输入的操作请求,并根据所述操作请求相应更改并保存所述特定案件详情页中的内容,获得更改后的第一案件详情页;Receiving the operation request entered in the specific case details page, and correspondingly change and save the content in the specific case details page according to the operation request, and obtain the changed first case details page;
    提取所述第一案件详情页中的所述角色内容以及所述流程内容,以分别确定其对应的第二角色状态码以及第二流程状态码;Extracting the role content and the process content in the first case details page to respectively determine the corresponding second role status code and the second process status code;
    将系统后台的所述角色状态码与所述流程状态码更新为所述第二角色状态码以及第二流程状态码并保存。The role status code and the process status code in the system background are updated to the second role status code and the second process status code and saved.
  15. 一种可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现一种多角色页面跳转方法,其中所述多角色页面跳转方法的步骤包括:A readable storage medium having a computer program stored thereon, wherein the computer program implements a multi-role page jump method when the computer program is executed by a processor, wherein the steps of the multi-role page jump method include:
    接收到用户进入特定案件的案件详情页的跳转请求时,根据所述跳转请求对所述用户的登录账户以及所述特定案件的案件代码进行信息验证;其中,所述跳转请求中包括所述用户的登录账户信息以及所述特定案件的案件代码信息;When receiving a jump request from a user to enter the case details page of a specific case, information verification is performed on the user's login account and the case code of the specific case according to the jump request; wherein, the jump request includes The login account information of the user and the case code information of the specific case;
    所述信息验证通过后,根据所述登录账户以及所述案件代码,在预设角色映射表中查找对应的所述角色状态码,在所述预设角色映射表中记录了所述用户以及所述案件代码二者与所述角色状态码之间的映射关系;以及根据所述案件代码,通过案件详情接口在系统后台的存储记录中读取最新的所述流程状态码;其中,所述角色状态码代表所述特定案件中的案件详情中的角色内容,所述流程状态码代表所述特定案件的案件详情中的流程内容;After the information verification is passed, according to the login account and the case code, the corresponding role status code is searched in the preset role mapping table, and the user and all the roles are recorded in the preset role mapping table. The mapping relationship between the case code and the role status code; and according to the case code, the latest process status code is read in the storage record of the system background through the case details interface; wherein, the role The status code represents the role content in the case details of the specific case, and the process status code represents the process content in the case details of the specific case;
    根据所述角色状态码以及所述流程状态码,在预设映射表中查找到对应映射的特定案件详情页;所述预设映射表中记录了所述角色状态码以及所述流程状态码二者与所述特定案件详情页之间的映射关系,所述特定案件详情页中包括所述角色内容和所述流程内容两部分内容;According to the role status code and the process status code, the corresponding mapped specific case details page is found in the preset mapping table; the role status code and the process status code two are recorded in the preset mapping table The mapping relationship between the person and the specific case details page, where the specific case details page includes two parts: the role content and the process content;
    根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中。According to the preset routing jump rules, jump from the current front-end display page to the specific case details page.
  16. 根据权利要求15所述的可读存储介质,其中,所述特定案件详情页包括基础显示框架和多个不同的显示组件;所述根据所述角色状态码以及所述流程状态码,在预设映射表中查找对应映射的特定案件详情页的步骤,包括:The readable storage medium according to claim 15, wherein the specific case details page includes a basic display frame and a plurality of different display components; according to the role status code and the process status code, in a preset The steps to find the specific case details page corresponding to the mapping in the mapping table include:
    获取预设的所述基础显示框架,并根据所述角色状态码,在所述预设映射表中查找与所述用户对应的角色信息显示组件,以及根据所述流程状态码,在所述预设映射表中查找与所述特定案件对应的案件状态显示组件以及案件流转状态显示组件;所述角色信息显示组件对应的即是所述角色内容,所述案件状态显示组件以及所述案件流转状态显示组件对应的即是所述流程内容;Obtain the preset basic display framework, search for the role information display component corresponding to the user in the preset mapping table according to the role status code, and according to the process status code, in the preview Suppose that the case status display component and the case circulation status display component corresponding to the specific case are searched in the mapping table; the role information display component corresponds to the role content, the case status display component and the case circulation status The display component corresponds to the process content;
    将所述角色信息显示组件、所述案件状态显示组件以及所述案件流转状态显示组件分别加载到所述基础显示框架的对应位置中,生成所述特定案件详情页。The role information display component, the case status display component, and the case flow status display component are respectively loaded into corresponding positions of the basic display frame to generate the specific case details page.
  17. 根据权利要求15所述的可读存储介质,其中,所述根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中的步骤,包括:The readable storage medium according to claim 15, wherein the step of jumping from the current front-end display page to the specific case details page according to a preset routing jumping rule comprises:
    从系统后台获取所述特定案件详情页对应的路由信息,所述路由信息包括路由地址信息和路由跳转类型;Obtain routing information corresponding to the specific case details page from the system background, where the routing information includes routing address information and routing jump types;
    根据所述路由跳转类型,确定对应的所述预设路由跳转规则;Determine the corresponding preset route jump rule according to the route jump type;
    根据所述路由地址信息和所述预设路由跳转规则,从所述当前前端显示页面跳转到所述特定案件详情页中。According to the routing address information and the preset routing jump rule, jump from the current front-end display page to the specific case details page.
  18. 根据权利要求17所述的可读存储介质,其中,所述路由信息还包括路由拦截信息;在所述根据所述路由地址信息和所述预设路由跳转规则,从所述当前前端显示页面跳转到所述特定案件详情页中的步骤之前,还包括:The readable storage medium according to claim 17, wherein the routing information further includes route interception information; in the step of displaying a page from the current front end according to the routing address information and the preset routing redirection rule Before jumping to the steps in the specific case details page, it also includes:
    根据获取的路由拦截信息,按照预设的优先级规则对所述页面跳转执行拦截处理,并判断所述拦截处理是否通过;According to the obtained route interception information, perform interception processing on the page jump according to a preset priority rule, and determine whether the interception processing is passed;
    若所述拦截处理通过,则进入所述从所述当前前端显示页面跳转到所述特定案件详情页中的步骤,其中所述拦截处理包括登录信息验证以及加密信息验证。If the interception processing is passed, the step of jumping from the current front-end display page to the specific case details page is entered, wherein the interception processing includes login information verification and encrypted information verification.
  19. 根据权利要求15所述的可读存储介质,其中,在所述根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中的步骤之后,还包括:The readable storage medium according to claim 15, wherein after the step of jumping from the current front-end display page to the specific case details page according to a preset routing jumping rule, the method further comprises:
    提取所述显示组件中的特定内容,所述特定内容包括所述担任角色信息、所述案件状态信息以及所述案件流转状态;Extracting specific content in the display component, the specific content including the role information, the case status information, and the case circulation status;
    根据所述特定内容确定对应的第一角色状态码以及第一流程状态码,并校验所述第一角色状态码是否与所述角色状态码一致,以及所述第一流程状态码是否与所述流程状态码一致;Determine the corresponding first role status code and the first process status code according to the specific content, and verify whether the first role status code is consistent with the role status code, and whether the first process status code is consistent with the first process status code. The process status code is consistent;
    若均一致,则保持显示所述特定案件详情页;若不一致,则停止显示所述特定案件详情页,并在所述当前前端显示页面中发出显示错误提醒。If they are consistent, keep displaying the specific case details page; if they are inconsistent, stop displaying the specific case details page, and issue a display error reminder in the current front-end display page.
  20. 根据权利要求15所述的可读存储介质,其中,在所述根据预设路由跳转规则,从当前前端显示页面跳转到所述特定案件详情页中的步骤之后,还包括:The readable storage medium according to claim 15, wherein after the step of jumping from the current front-end display page to the specific case details page according to a preset routing jumping rule, the method further comprises:
    接收在所述特定案件详情页中输入的操作请求,并根据所述操作请求相应更改并保存所述特定案件详情页中的内容,获得更改后的第一案件详情页;Receiving the operation request entered in the specific case details page, and correspondingly change and save the content in the specific case details page according to the operation request, and obtain the changed first case details page;
    提取所述第一案件详情页中的所述角色内容以及所述流程内容,以分别确定其对应的第二角色状态码以及第二流程状态码;Extracting the role content and the process content in the first case details page to respectively determine the corresponding second role status code and the second process status code;
    将系统后台的所述角色状态码与所述流程状态码更新为所述第二角色状态码以及第二流程状态码并保存。The role status code and the process status code in the system background are updated to the second role status code and the second process status code and saved.
PCT/CN2020/105345 2019-08-30 2020-07-29 Multi-role page jump method, apparatus, computer device, and readable storage medium WO2021036652A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910816248.8 2019-08-30
CN201910816248.8A CN110673907B (en) 2019-08-30 2019-08-30 Multi-role page jumping method and device, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
WO2021036652A1 true WO2021036652A1 (en) 2021-03-04

Family

ID=69075831

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/105345 WO2021036652A1 (en) 2019-08-30 2020-07-29 Multi-role page jump method, apparatus, computer device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN110673907B (en)
WO (1) WO2021036652A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535132A (en) * 2021-07-26 2021-10-22 中移(杭州)信息技术有限公司 Device access method, device, terminal device and storage medium
CN115166186A (en) * 2022-08-08 2022-10-11 广东长天思源环保科技股份有限公司 Online automatic monitoring system for water quality of water inlet of sewage treatment enterprise

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110673907B (en) * 2019-08-30 2022-04-15 深圳壹账通智能科技有限公司 Multi-role page jumping method and device, computer equipment and readable storage medium
CN113452613B (en) * 2020-06-30 2023-06-06 北京新氧科技有限公司 Method, device, electronic equipment and storage medium for acquiring page routing address
CN113434122A (en) * 2021-06-29 2021-09-24 平安普惠企业管理有限公司 Multi-role page creation method and device, server and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100257283A1 (en) * 2009-04-06 2010-10-07 Brocade Communications Systems, Inc. Secure Stacking Setup
US20140019880A1 (en) * 2012-07-11 2014-01-16 Salesforce.Com, Inc. Community switching
CN104636643A (en) * 2013-11-07 2015-05-20 华为技术有限公司 System interface content presentation control method and device
CN109977338A (en) * 2019-03-19 2019-07-05 浙江数链科技有限公司 A kind of page display method, device, electronic equipment and storage medium
CN110673907A (en) * 2019-08-30 2020-01-10 深圳壹账通智能科技有限公司 Multi-role page jumping method and device, computer equipment and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7100195B1 (en) * 1999-07-30 2006-08-29 Accenture Llp Managing user information on an e-commerce system
JP2002342382A (en) * 2001-05-01 2002-11-29 K-Plex Inc Method and device for automatically retrieving hypertext structure
CN102053973A (en) * 2009-10-30 2011-05-11 国际商业机器公司 Device and method for providing page navigation in multi-character supporting network application
CN106202096A (en) * 2015-05-05 2016-12-07 阿里巴巴集团控股有限公司 Customer terminal webpage rendering intent and device
CN109491733B (en) * 2018-09-26 2023-12-08 深圳平安医疗健康科技服务有限公司 Interface display method based on visualization and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100257283A1 (en) * 2009-04-06 2010-10-07 Brocade Communications Systems, Inc. Secure Stacking Setup
US20140019880A1 (en) * 2012-07-11 2014-01-16 Salesforce.Com, Inc. Community switching
CN104636643A (en) * 2013-11-07 2015-05-20 华为技术有限公司 System interface content presentation control method and device
CN109977338A (en) * 2019-03-19 2019-07-05 浙江数链科技有限公司 A kind of page display method, device, electronic equipment and storage medium
CN110673907A (en) * 2019-08-30 2020-01-10 深圳壹账通智能科技有限公司 Multi-role page jumping method and device, computer equipment and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535132A (en) * 2021-07-26 2021-10-22 中移(杭州)信息技术有限公司 Device access method, device, terminal device and storage medium
CN115166186A (en) * 2022-08-08 2022-10-11 广东长天思源环保科技股份有限公司 Online automatic monitoring system for water quality of water inlet of sewage treatment enterprise

Also Published As

Publication number Publication date
CN110673907B (en) 2022-04-15
CN110673907A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
WO2021036652A1 (en) Multi-role page jump method, apparatus, computer device, and readable storage medium
US9811655B2 (en) Method, apparatus, and system for managing user accounts
US8566648B2 (en) Automated testing on devices
CN109951547B (en) Transaction request parallel processing method, device, equipment and medium
CN111695156A (en) Service platform access method, device, equipment and storage medium
US9934310B2 (en) Determining repeat website users via browser uniqueness tracking
CN109308285A (en) Database script management method, device, computer equipment and storage medium
CN105827683A (en) Data synchronization method, server and electronic device
CN111984239B (en) Page configuration method, page configuration device, server and storage medium
JP2008250914A (en) Program correcting device, method and program
CN109583199A (en) A kind of access auditing method, system, equipment and the medium of storage management system
US11841972B2 (en) System and method to safeguarding sensitive information in cobrowsing session
TW201423472A (en) Management system for access authority and management method
US11526340B2 (en) Providing context-based application suggestions
US8713533B2 (en) Module-code verification layer to automatically validate user input
GB2508641A (en) Testing program code created in a development system
CN110719590B (en) One-key login method, device, equipment and storage medium based on mobile phone number
CN112433935A (en) Test method, test device, electronic equipment and storage medium
CN112651716A (en) Data processing method, device and storage medium
CN114443039A (en) Input parameter verification method and device, electronic equipment and storage medium
CN116661936A (en) Page data processing method and device, computer equipment and storage medium
US20190297144A1 (en) Method and system for improved distributed data storage amongst multiple computing nodes
WO2023275782A1 (en) Systems and methods for locating devices
CN112181485B (en) Script execution method and device, electronic equipment and storage medium
CN110008741B (en) Message pushing method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20859311

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 040722)

122 Ep: pct application non-entry in european phase

Ref document number: 20859311

Country of ref document: EP

Kind code of ref document: A1