CN113779528A - Multi-system front-end page integration method, device, equipment and medium - Google Patents
Multi-system front-end page integration method, device, equipment and medium Download PDFInfo
- Publication number
- CN113779528A CN113779528A CN202111088222.XA CN202111088222A CN113779528A CN 113779528 A CN113779528 A CN 113779528A CN 202111088222 A CN202111088222 A CN 202111088222A CN 113779528 A CN113779528 A CN 113779528A
- Authority
- CN
- China
- Prior art keywords
- page
- request
- user
- single sign
- integrated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000010354 integration Effects 0.000 title claims abstract description 42
- 238000005516 engineering process Methods 0.000 claims abstract description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 230000006978 adaptation Effects 0.000 claims description 5
- 230000004044 response Effects 0.000 claims description 4
- 238000012216 screening Methods 0.000 claims description 4
- 238000013461 design Methods 0.000 abstract description 2
- 238000007726 management method Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000012795 verification Methods 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000009191 jumping Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 208000017667 Chronic Disease Diseases 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000003607 modifier Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention relates to a UI design technology, is also suitable for the digital medical field at the same time, disclose a multi-system front end page integration method, comprising: the method comprises the steps of carrying out single-point login authentication on a user accessing a pre-constructed integrated system, obtaining user information of the user if the single-point login authentication is passed, displaying a corresponding integrated menu according to the user information, assembling a request for calling a corresponding subsystem page according to the instruction when an instruction for clicking any menu in the integrated menu by the user is received, sending the request for calling the corresponding subsystem page to a pre-constructed adapter, receiving page content data returned by the subsystem according to the request for calling the corresponding subsystem page converted by the adapter, embedding the page content data into a preset integrated page to obtain a nested page, displaying the nested page, and improving the expandability of the integrated system and user experience.
Description
Technical Field
The invention relates to the technical field of UI (user interface) design, in particular to a multi-system front-end page integration method and device, electronic equipment and a computer-readable storage medium.
Background
With the rapid development of society, a large number of huge network systems with complex services are developed, generally, such network systems are composed of a plurality of subsystems, users need to switch and log in among the subsystems to complete a certain service, and the operation is time-consuming and labor-consuming. For example, an internet hospital network system includes a plurality of subsystems such as an online inquiry subsystem, a medical mall subsystem, a chronic disease management subsystem, and medical archive management, and a common user needs to log in to different subsystems and operate on pages of different subsystems, so that a business process from registration to medicine purchase according to a prescription can be completed.
For the above situation, currently, pages of multiple subsystems are mainly integrated into an integrated system, and a user only needs to operate on the integrated system to process all services, but the integration method has the following disadvantages:
on one hand, in order to realize the adaptation between the integrated system and the integrated subsystems, each subsystem needs to be integrated, and a large amount of modification work needs to be performed on the integrated system and the subsystems, so that the integration mode has low expandability.
On the other hand, when the pages of the subsystems are integrated into the integrated system, the page content of the integrated system becomes very numerous and complex, for example, the integrated page has very many menus and relatively deep menu levels, which brings inconvenience to the user operation and does not improve the user experience.
Disclosure of Invention
The invention provides a multi-system front-end page integration method, a multi-system front-end page integration device and a computer readable storage medium, and mainly aims to improve the expandability of an integrated system and improve user experience.
In order to achieve the above object, the present invention provides a method for integrating multiple system front-end pages, comprising:
responding to a request of a user for logging in a pre-constructed integrated system, and performing single sign-on authentication on the user, wherein the integrated system integrates a plurality of pre-constructed subsystems;
if the single sign-on authentication is not passed, rejecting the request;
if the single sign-on authentication is passed, acquiring user information of the user, and displaying a corresponding integrated menu according to the user information;
when an instruction of a user for clicking any menu in the integrated menu is received, a request for calling a corresponding subsystem page is assembled according to the instruction, and the request for calling the corresponding subsystem page is sent to a pre-constructed adapter;
receiving page content data returned by the subsystem according to the request for calling the corresponding subsystem page converted by the adapter;
and embedding the page content data into a preset integrated page to obtain a nested page, and displaying the nested page.
Optionally, the performing single sign-on authentication on the user includes:
judging whether the request contains single sign-on credential information or not;
if the request does not contain the single sign-on certificate information, prompting the user to register the integrated system;
if the request contains single sign-on voucher information, judging whether a single sign-on voucher consistent with the single sign-on voucher information contained in the request exists in a preset single sign-on voucher library or not;
if the single sign-on voucher exists, which is consistent with the single sign-on voucher information contained in the request, the single sign-on voucher passes the authentication;
and if the single sign-on voucher which is contained in the request and has consistent single sign-on voucher information does not exist, the authentication of the single sign-on voucher is not passed.
Optionally, the displaying the corresponding integrated menu according to the user information includes:
acquiring user authority corresponding to the user information by using a preset authority control module;
and searching an integrated menu corresponding to the user authority in a preset integrated system menu library.
Optionally, the assembling, according to the instruction, a request for invoking a corresponding subsystem page includes:
analyzing the instruction to obtain a webpage address of a subsystem page corresponding to the menu;
and generating a request for calling the corresponding subsystem page by using the webpage address according to a preset page calling request format.
Optionally, before receiving the page content data returned by the subsystem according to the request for invoking the corresponding subsystem page after the conversion by the adapter, the method further includes:
receiving a customized parameter for calling the subsystem page, which is sent by the adapter in response to the request for calling the corresponding subsystem page;
and generating corresponding customized parameter values according to the customized parameters, and returning the customized parameter values to the adapter.
Optionally, the embedding the page content data into a preset integrated page to obtain a nested page, and displaying the nested page includes:
nesting the page content data into an integrated page preset by the integrated system by using a page nesting technology to obtain a nested page;
and adjusting a display window of the page content data in the nested page according to preset page nesting attributes, wherein the page nesting attributes comprise the height and the width of the display window and whether a scroll bar is displayed or not.
Optionally, before the responding to the request of the user to log in the pre-built integrated system, the method further includes:
uniformly intercepting the request of the user for logging in the pre-constructed integrated system by using a preset gateway;
and sending each intercepted request to a preset authentication server to perform single sign-on authentication on the user.
In order to solve the above problem, the present invention further provides a multi-system front-end page integration apparatus, including:
the system comprises a single sign-on control module, a pre-built subsystem and a single sign-on authentication module, wherein the single sign-on control module is used for responding to a request of a user for logging in the pre-built integrated system and authenticating the user through single sign-on, and the integrated system integrates a plurality of pre-built subsystems; if the single sign-on authentication is not passed, rejecting the request;
the integrated menu screening module is used for acquiring the user information of the user and displaying a corresponding integrated menu according to the user information if the single sign-on authentication is passed;
the integrated page adaptation module is used for assembling a request for calling a corresponding subsystem page according to an instruction when the instruction of clicking any menu in the integrated menu is received by a user, and sending the request for calling the corresponding subsystem page to a pre-constructed adapter; receiving page content data returned by the subsystem according to the request for calling the corresponding subsystem page converted by the adapter; and embedding the page content data into a preset integrated page to obtain a nested page, and displaying the nested page.
In order to solve the above problem, the present invention also provides an electronic device, including:
a memory storing at least one instruction; and
and the processor executes the instructions stored in the memory to realize the multi-system front-end page integration method.
In order to solve the above problem, the present invention further provides a computer-readable storage medium, which stores at least one instruction, where the at least one instruction is executed by a processor in an electronic device to implement the multi-system front-end page integration method described above.
According to the invention, a pre-constructed adapter is utilized to convert a request for calling a corresponding subsystem page sent by the integrated system into a request which can be identified by the subsystem, even if the development languages and the interface standards of the integrated system and the subsystem are different, the integrated system and the subsystem do not need to be modified, and the expansibility of the integrated system is improved. Meanwhile, after the user logs in once through single sign-on authentication, the operation of logging in the subsystem is not required to be executed when the subsystem is accessed, and the user login operation is simplified. The corresponding integrated menu is displayed according to the user information, the integrated menu is slimming, the user experience is improved, the page content data are embedded into the preset integrated page to obtain the nested page, the user only needs to operate the integrated system, the related task can be completed without jumping to the subsystem, and therefore the user experience is improved.
Drawings
FIG. 1 is a diagram of data interaction between an integrated system and subsystems according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for integrating multiple system front-end pages according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a detailed implementation of one step in the multi-system front-end page integration method shown in FIG. 2;
FIG. 4 is a functional block diagram of a multi-system front-end page integration apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device for implementing the multi-system front-end page integration method according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides a multi-system front-end page integration method. The execution subject of the multi-system front-end page integration method includes, but is not limited to, at least one of electronic devices such as a server and a terminal, which can be configured to execute the method provided by the embodiments of the present application. In other words, the multi-system front-end page integration method may be performed by software or hardware installed in the terminal device or the server device, and the software may be a blockchain platform. The server side can be an independent server, and can also be a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, Network service, cloud communication, middleware service, domain name service, security service, Content Delivery Network (CDN), big data and an artificial intelligence platform.
Referring to fig. 1, a data interaction diagram between an integrated system and a subsystem according to an embodiment of the present invention is shown, where the integrated system includes a request processor and an adapter, the request processor is configured to generate a first page call request, and the adapter is configured to convert the first page call request into a second page call request that can be recognized by the subsystem. In detail, the data interaction includes:
1. when it is monitored that a user clicks any menu in the integrated menu, a request processor generates a corresponding first page calling request and sends the first page calling request to an adapter;
2. the adapter analyzes the first page calling request to obtain corresponding subsystem information, and sends a request for obtaining subsystem page calling interface information to the corresponding subsystem;
3. the subsystem returns interface information to the adapter;
4. the adapter analyzes the interface information, identifies parameter information needing to be customized and sends the parameter information needing to be customized to the request processor;
5. the request processor generates a parameter value to be customized and returns the customized parameter value to the adapter;
6. the adapter uses the customized parameter value and the interface information to combine into a second page calling request and sends the second page calling request to the subsystem;
7. and the subsystem executes the second page calling request and returns an execution result to the request processor.
In the embodiment of the present invention, the integrated system includes a request processor and an adapter, and in practical applications, the adapter may be deployed in the integrated system or any subsystem.
Fig. 2 is a schematic flow chart of a multi-system front-end page integration method according to an embodiment of the present invention. In this embodiment, the method for integrating multiple system front-end pages includes:
s1, responding to a request of a user for logging in a pre-constructed integrated system, and performing single sign-on authentication on the user, wherein the integrated system integrates a plurality of pre-constructed subsystems;
in the embodiment of the invention, the integrated system is a system which integrates a plurality of subsystems according to the business logic relationship and uniformly provides front-end access service to the outside. For example, the internet hospital integrated system includes an online inquiry subsystem, a medical mall subsystem, a chronic disease management subsystem, a medical archive management subsystem, etc., and the user logs in the internet hospital integrated system through a front-end page provided by the internet hospital integrated system to complete related tasks.
In the embodiment of the invention, the integrated system adopts a Single Sign On authentication mechanism, and the Single Sign On (SSO) means that a user can access any subsystem in the integrated system without executing the operation of logging in the subsystem again after logging in the integrated system once and finishing the corresponding Single Sign On authentication. When a user needs to jump among different subsystems when processing a certain service, the operation that the user repeatedly logs in the subsystems can be reduced through the single sign-on authentication mechanism, and the user experience is improved.
In the embodiment of the present invention, before responding to a request of a user to log in a pre-built integrated system, the method further includes: uniformly intercepting the request of the user for logging in the pre-constructed integrated system by using a preset gateway; and sending each intercepted request to a preset authentication server to perform single sign-on authentication on the user. In the embodiment of the invention, the request of the user for logging in the pre-constructed integrated system can be intercepted uniformly through the gateway preset by the integrated system, and the verification, distribution and management of the single sign-on certificate of the user can be carried out through the preset authentication server.
In detail, referring to fig. 3, the S1 includes:
s11, judging whether the request contains single sign-on voucher information or not;
s12, if the request does not contain the single sign-on voucher information, prompting the user to register the integrated system;
s13, if the request contains single sign-on voucher information, judging whether a single sign-on voucher consistent with the single sign-on voucher information contained in the request exists in a preset single sign-on voucher library;
s14, if the single sign-on voucher exists, the authentication of the single sign-on voucher passes;
s15, if there is no single sign-on voucher with the same single sign-on voucher information included in the request, the authentication of the single sign-on voucher is not passed.
The single sign-on certificate refers to that the preset authentication server performs identity verification on a user, if the user identity passes the verification, an authentication certificate is returned to the user, when the user accesses the integrated system again, corresponding login information comprises the certificate information, the authentication server performs verification on the certificate and checks the legality of the certificate, and if the certificate is legal, the user can access any subsystem of the integrated system without logging in again.
S2, if the authentication of the single sign-on voucher does not pass, rejecting the request;
in the embodiment of the present invention, if the single sign-on credential carried in the request is not in the preset single sign-on credential library, the single sign-on credential is an invalid credential, and the authentication of the single sign-on credential does not pass.
S3, if the single sign-on certificate passes the authentication, acquiring the user information, and displaying a corresponding integrated menu according to the user information;
generally, if the integrated system integrates all the menus provided by all the subsystems, the integrated system has a huge number of integrated menus and a deep menu hierarchy, which is inconvenient for the user to operate.
In the embodiment of the invention, the integrated menu is screened according to the user information, so that the integrated menu is slimmed. The user information may be user authority information, that is, only a menu that a user has an operation authority is provided in the integrated system, the user information may be to-do information of the user, that is, only a menu corresponding to the to-do task of the user is provided in the integrated system, and the user information may be user history operation record information, that is, a menu that the user has historically operated is provided in the integrated system.
In an embodiment of the present invention, the displaying the corresponding integrated menu according to the user information includes: acquiring user authority corresponding to the user information by using a preset authority control module; and searching an integrated menu corresponding to the user authority in a preset integrated system menu library.
S4, when an instruction of clicking any menu in the integrated menu by a user is received, assembling a request for calling a corresponding subsystem page according to the instruction, and sending the request for calling the corresponding subsystem page to a pre-constructed adapter;
in the embodiment of the invention, the development languages adopted by the integrated system and each subsystem may be different, the interface standards provided for the outside are different, when the integrated system sends a request message to a certain subsystem, the subsystem as a message receiver may not recognize the request message, and under the condition, the integrated system or the subsystem can be modified to enable the communication of the two parties to be smooth, but a large amount of modification workload is introduced, so that the expansibility of the integrated system is reduced.
In order to improve the expansibility of the integrated system and reduce the modifiers of the integrated system and each subsystem, the invention introduces the concept of an adapter, wherein the adapter is used for identifying the request for calling the page of the corresponding subsystem, converting the request into the request which can be identified by the corresponding subsystem and sending the request which can be identified by the subsystem to the subsystem, and in the process, the integrated system and the subsystem do not need to be reformed.
The adapter may be deployed in the integrated system or in any of the subsystems.
In detail, the assembling a request for calling a corresponding subsystem page according to the instruction includes:
analyzing the instruction to obtain a webpage address of a subsystem page corresponding to the menu; and generating a request for calling the corresponding subsystem page by using the webpage address according to a preset page calling request format.
S5, receiving page content data returned by the subsystem according to the request for calling the corresponding subsystem page converted by the adapter;
in the embodiment of the invention, the adapter converts the request for calling the corresponding subsystem page into a request which can be identified by the subsystem, and sends the converted request to the subsystem, and the subsystem generates the content data of the related page according to the converted request and sends the content data of the related page to the integrated system.
In detail, before the receiving the page content data returned by the subsystem according to the request for invoking the corresponding subsystem page after the conversion by the adapter, the method further includes: receiving a customized parameter for calling the subsystem page, which is sent by the adapter in response to the request for calling the corresponding subsystem page; and generating corresponding customized parameter values according to the customized parameters, and returning the customized parameter values to the adapter.
In the embodiment of the present invention, the customized parameter refers to a parameter that is specified by the subsystem and requires explicit page access, and after receiving the request for invoking the page of the corresponding subsystem, the adapter acquires an interface provided externally by the subsystem, and acquires the customized parameter from the interface. And the adapter receives the customized parameter values returned by the integrated system, fills the customized parameter values into the interface, and informs the subsystem to provide content data of the related page.
S6, embedding the page content data into a preset integrated page to obtain a nested page, and displaying the nested page.
In the embodiment of the invention, page content data returned by the subsystem can be nested into an integrated page preset by the integrated system through a page nesting technology based on an embedded frame (iframe). Through the page nesting technology, a user can complete related tasks only by operating the nested page of the integrated system without jumping back and forth among a plurality of subsystems, and the user operation experience is improved.
In detail, the embedding the page content data into a preset integrated page to obtain a nested page, and displaying the nested page includes: nesting the page content data into an integrated page preset by the integrated system by using a page nesting technology to obtain a nested page; and adjusting a display window of the page content data in the nested page according to preset page nesting attributes, wherein the page nesting attributes comprise the height and the width of the display window and whether a scroll bar is displayed or not.
In this embodiment of the present invention, usually, one or more groups of page content data may be nested in the preset integration page, that is, a nested page may integrate multiple page content data with different sources, and the size and style of the display window of each group of page content data in the nested page may be adjusted by using a preset page nesting attribute, for example, the following page nesting attributes are used to adjust the size of the display window of the page content data in the nested page, including:
html (width ═ 42%, "height ═ 400px" scrolling ═ no ">, [ iframe > ]
The src represents address information of the nested page, the width and the height respectively represent a width and a height of the page content data display window, the width being "42%" represents that the width of the page content data display window occupies 42% of the nested page, the height being "400px" represents that the height of the page content data display window is 400 pixels, the 28 pixels are 1 cm, the scrolling represents whether the page content data display window needs to display a scroll bar, no represents that the scroll bar is not displayed, and yes represents that the scroll bar is displayed.
In another embodiment of the present invention, the method for providing object class in JAVA language may be used to adjust the size of the display window of the page content data in the nested page, including:
the object style is 0px, type, text/x-script, data, to-do task list, html, width, 100% height, 30px, object
The style defines a basic style of the nested page, and the basic style includes whether a frame and font type information are contained, the data represents address information of the nested page, and the width and the height respectively represent the width and the height of a page content data display window.
According to the invention, a pre-constructed adapter is utilized to convert a request for calling a corresponding subsystem page sent by the integrated system into a request which can be identified by the subsystem, even if the development languages and the interface standards of the integrated system and the subsystem are different, the integrated system and the subsystem do not need to be modified, and the expansibility of the integrated system is improved. Meanwhile, after the user logs in once through single sign-on authentication, the operation of logging in the subsystem is not required to be executed when the subsystem is accessed, and the user login operation is simplified. And the corresponding integrated menu is displayed according to the user information, so that the integrated menu is slimmed, and the user experience is promoted. The page content data are embedded into the preset integrated page, so that the nested page user can complete related tasks only by operating the integrated system and without jumping to the subsystem, and the user experience is improved.
Fig. 4 is a functional block diagram of a multi-system front-end page integration apparatus according to an embodiment of the present invention.
The multi-system front-end page integration apparatus 100 of the present invention may be installed in an electronic device. According to the implemented functions, the multi-system front-end page integration apparatus 100 may include a single sign-on control module 101, an integrated menu screening module 102, and an integrated page adaptation module 103. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the single sign-on control module 101 is configured to perform single sign-on authentication on a user in response to a request from the user to log in a pre-built integrated system, where the integrated system integrates a plurality of pre-built subsystems; if the single sign-on authentication is not passed, rejecting the request;
the integrated menu screening module 102 is configured to, if the single sign-on authentication passes, acquire user information of the user, and display a corresponding integrated menu according to the user information;
the integrated page adaptation module 103 is configured to, when receiving an instruction that a user clicks any one of the integrated menus, assemble a request for invoking a corresponding subsystem page according to the instruction, and send the request for invoking the corresponding subsystem page to a pre-built adapter; receiving page content data returned by the subsystem according to the request for calling the corresponding subsystem page converted by the adapter; and embedding the page content data into a preset integrated page to obtain a nested page, and displaying the nested page.
In detail, when the modules in the multi-system front-end page integration apparatus 100 according to the embodiment of the present invention are used, the same technical means as the multi-system front-end page integration method described in fig. 1 to fig. 3 are adopted, and the same technical effect can be produced, which is not described herein again.
Fig. 5 is a schematic structural diagram of an electronic device for implementing a multi-system front-end page integration method according to an embodiment of the present invention.
The electronic device 1 may comprise a processor 10, a memory 11 and a bus, and may further comprise a computer program, such as a multi-system front-end page integration program, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only to store application software installed in the electronic device 1 and various types of data, such as codes of a multi-system front-end page integration program, but also to temporarily store data that has been output or is to be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (e.g., a multi-system front-end page integration program, etc.) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 5 only shows an electronic device with components, and it will be understood by a person skilled in the art that the structure shown in fig. 5 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The multi-system front-end page integration program stored in the memory 11 of the electronic device 1 is a combination of a plurality of instructions, and when running in the processor 10, can realize:
responding to a request of a user for logging in a pre-constructed integrated system, and performing single sign-on authentication on the user, wherein the integrated system integrates a plurality of pre-constructed subsystems;
if the single sign-on authentication is not passed, rejecting the request;
if the single sign-on authentication is passed, acquiring user information of the user, and displaying a corresponding integrated menu according to the user information;
when an instruction of a user for clicking any menu in the integrated menu is received, a request for calling a corresponding subsystem page is assembled according to the instruction, and the request for calling the corresponding subsystem page is sent to a pre-constructed adapter;
receiving page content data returned by the subsystem according to the request for calling the corresponding subsystem page converted by the adapter;
and embedding the page content data into a preset integrated page to obtain a nested page, and displaying the nested page.
Specifically, the specific implementation method of the processor 10 for the instruction may refer to the description of the relevant steps in the embodiment corresponding to fig. 1, which is not described herein again.
Further, the integrated modules/units of the electronic device 1, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. The computer readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
The present invention also provides a computer-readable storage medium, storing a computer program which, when executed by a processor of an electronic device, may implement:
responding to a request of a user for logging in a pre-constructed integrated system, and performing single sign-on authentication on the user, wherein the integrated system integrates a plurality of pre-constructed subsystems;
if the single sign-on authentication is not passed, rejecting the request;
if the single sign-on authentication is passed, acquiring user information of the user, and displaying a corresponding integrated menu according to the user information;
when an instruction of a user for clicking any menu in the integrated menu is received, a request for calling a corresponding subsystem page is assembled according to the instruction, and the request for calling the corresponding subsystem page is sent to a pre-constructed adapter;
receiving page content data returned by the subsystem according to the request for calling the corresponding subsystem page converted by the adapter;
and embedding the page content data into a preset integrated page to obtain a nested page, and displaying the nested page.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims (10)
1. A method for multi-system front-end page integration, the method comprising:
responding to a request of a user for logging in a pre-constructed integrated system, and performing single sign-on authentication on the user, wherein the integrated system integrates a plurality of pre-constructed subsystems;
if the single sign-on authentication is not passed, rejecting the request;
if the single sign-on authentication is passed, acquiring user information of the user, and displaying a corresponding integrated menu according to the user information;
when an instruction of a user for clicking any menu in the integrated menu is received, a request for calling a corresponding subsystem page is assembled according to the instruction, and the request for calling the corresponding subsystem page is sent to a pre-constructed adapter;
receiving page content data returned by the subsystem according to the request for calling the corresponding subsystem page converted by the adapter;
and embedding the page content data into a preset integrated page to obtain a nested page, and displaying the nested page.
2. The multi-system front-end page integration method of claim 1, wherein said authenticating the user with a single sign-on comprises:
judging whether the request contains single sign-on credential information or not;
if the request does not contain the single sign-on certificate information, prompting the user to register the integrated system;
if the request contains single sign-on voucher information, judging whether a single sign-on voucher consistent with the single sign-on voucher information contained in the request exists in a preset single sign-on voucher library or not;
if the single sign-on voucher exists, which is consistent with the single sign-on voucher information contained in the request, the single sign-on voucher passes the authentication;
and if the single sign-on voucher which is contained in the request and has consistent single sign-on voucher information does not exist, the authentication of the single sign-on voucher is not passed.
3. The multi-system front-end page integration method of claim 1, wherein said displaying a corresponding integration menu according to said user information comprises:
acquiring user authority corresponding to the user information by using a preset authority control module;
and searching an integrated menu corresponding to the user authority in a preset integrated system menu library.
4. The method of multi-system front-end page integration according to claim 1, wherein said assembling a request to invoke a corresponding subsystem page according to said instructions comprises:
analyzing the instruction to obtain a webpage address of a subsystem page corresponding to the menu;
and generating a request for calling the corresponding subsystem page by using the webpage address according to a preset page calling request format.
5. The multi-system front-end page integration method of claim 1, wherein before receiving page content data returned by said subsystem in accordance with said adapter-translated request to invoke a corresponding subsystem page, said method further comprises:
receiving a customized parameter for calling the subsystem page, which is sent by the adapter in response to the request for calling the corresponding subsystem page;
and generating corresponding customized parameter values according to the customized parameters, and returning the customized parameter values to the adapter.
6. The multi-system front-end page integration method of claim 1, wherein said embedding the page content data into a preset integration page results in a nested page, comprising:
nesting the page content data into an integrated page preset by the integrated system by using a page nesting technology to obtain a nested page;
and adjusting a display window of the page content data in the nested page according to preset page nesting attributes, wherein the page nesting attributes comprise the height and the width of the display window and whether a scroll bar is displayed or not.
7. The multi-system front-end page integration method of any one of claims 1 to 6, wherein prior to responding to a request by a user to log into a pre-built integration system, the method further comprises:
uniformly intercepting the request of the user for logging in the pre-constructed integrated system by using a preset gateway;
and sending each intercepted request to a preset authentication server to perform single sign-on authentication on the user.
8. A multi-system front-end page integration apparatus, the apparatus comprising:
the system comprises a single sign-on control module, a pre-built subsystem and a single sign-on authentication module, wherein the single sign-on control module is used for responding to a request of a user for logging in the pre-built integrated system and authenticating the user through single sign-on, and the integrated system integrates a plurality of pre-built subsystems; if the single sign-on authentication is not passed, rejecting the request;
the integrated menu screening module is used for acquiring the user information of the user and displaying a corresponding integrated menu according to the user information if the single sign-on authentication is passed;
the integrated page adaptation module is used for assembling a request for calling a corresponding subsystem page according to an instruction when the instruction of clicking any menu in the integrated menu is received by a user, and sending the request for calling the corresponding subsystem page to a pre-constructed adapter; receiving page content data returned by the subsystem according to the request for calling the corresponding subsystem page converted by the adapter; and embedding the page content data into a preset integrated page to obtain a nested page, and displaying the nested page.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of multi-system front end page integration according to any one of claims 1 to 7.
10. A computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a processor, implements a multi-system front-end page integration method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111088222.XA CN113779528A (en) | 2021-09-16 | 2021-09-16 | Multi-system front-end page integration method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111088222.XA CN113779528A (en) | 2021-09-16 | 2021-09-16 | Multi-system front-end page integration method, device, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113779528A true CN113779528A (en) | 2021-12-10 |
Family
ID=78851628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111088222.XA Pending CN113779528A (en) | 2021-09-16 | 2021-09-16 | Multi-system front-end page integration method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113779528A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115033332A (en) * | 2022-06-29 | 2022-09-09 | 南京南瑞继保电气有限公司 | Equipment-centered multi-system integrated framework system and display method |
CN117667288A (en) * | 2023-12-08 | 2024-03-08 | 安徽大学 | EPICS-based front-end control method for large scientific device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719163A (en) * | 2009-12-22 | 2010-06-02 | 湖北电力信息通信中心 | Method for cutting and combing computer network pages with permission system |
US20150089580A1 (en) * | 2013-09-20 | 2015-03-26 | Oracle International Corporation | Web-based single sign-on logon manager |
CN105450637A (en) * | 2015-11-09 | 2016-03-30 | 歌尔声学股份有限公司 | Single sign-on method and device for multiple application systems |
CN107395614A (en) * | 2017-08-09 | 2017-11-24 | 深圳国泰安教育技术股份有限公司 | Single-point logging method and system |
CN108243183A (en) * | 2017-12-20 | 2018-07-03 | 北京车和家信息技术有限公司 | Integrated control method, system and the computer equipment of gate system |
CN108737398A (en) * | 2018-05-09 | 2018-11-02 | 平安信托有限责任公司 | Processing method, device, computer equipment and the storage medium of trust system |
CN111210194A (en) * | 2019-12-26 | 2020-05-29 | 大象慧云信息技术有限公司 | Business support system and method special for enterprise tax system |
-
2021
- 2021-09-16 CN CN202111088222.XA patent/CN113779528A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719163A (en) * | 2009-12-22 | 2010-06-02 | 湖北电力信息通信中心 | Method for cutting and combing computer network pages with permission system |
US20150089580A1 (en) * | 2013-09-20 | 2015-03-26 | Oracle International Corporation | Web-based single sign-on logon manager |
CN105450637A (en) * | 2015-11-09 | 2016-03-30 | 歌尔声学股份有限公司 | Single sign-on method and device for multiple application systems |
CN107395614A (en) * | 2017-08-09 | 2017-11-24 | 深圳国泰安教育技术股份有限公司 | Single-point logging method and system |
CN108243183A (en) * | 2017-12-20 | 2018-07-03 | 北京车和家信息技术有限公司 | Integrated control method, system and the computer equipment of gate system |
CN108737398A (en) * | 2018-05-09 | 2018-11-02 | 平安信托有限责任公司 | Processing method, device, computer equipment and the storage medium of trust system |
CN111210194A (en) * | 2019-12-26 | 2020-05-29 | 大象慧云信息技术有限公司 | Business support system and method special for enterprise tax system |
Non-Patent Citations (4)
Title |
---|
伍孟轩;李伟;易叔海;程蒙;刘川;: "跨域单点登录解决方案研究", 网络安全技术与应用, no. 02, pages 49 - 51 * |
刘小康: "药品监管信息集成平台的研究与建设息集成平台的研究与建设", 现代信息科技, vol. 4, no. 6, pages 133 - 135 * |
胡同花;: "基于智能的生猪养殖管理系统设计与研究", 农业网络信息, no. 12, pages 59 - 62 * |
赵卓君;路良刚;魏志军;张晓燕;吴靓兰;郭英宏;: "基于通用数据访问底层和门户集成的办公系统", 计算机与现代化, no. 11, pages 184 - 188 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115033332A (en) * | 2022-06-29 | 2022-09-09 | 南京南瑞继保电气有限公司 | Equipment-centered multi-system integrated framework system and display method |
CN117667288A (en) * | 2023-12-08 | 2024-03-08 | 安徽大学 | EPICS-based front-end control method for large scientific device |
CN117667288B (en) * | 2023-12-08 | 2024-10-01 | 安徽大学 | EPICS-based front-end control method for large scientific device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110602052B (en) | Micro-service processing method and server | |
US9948700B2 (en) | ADFDI support for custom attribute properties | |
US10592684B2 (en) | Automatic operation detection on protected field | |
US20170118268A1 (en) | Self describing configuration | |
US10496837B2 (en) | Support sharing the same table for protected and non-protected data columns | |
CN108604278B (en) | Self-describing configuration with support for shared data tables | |
US8838738B2 (en) | System and method for processing medical information through medical terminal | |
CN105765527A (en) | Method and apparatus for custom software development kit (SDK) generation | |
CN109428877B (en) | Method and device for accessing service system through user equipment | |
CN113779528A (en) | Multi-system front-end page integration method, device, equipment and medium | |
CN108292350B (en) | Automatic operation detection for protected fields in support of federated searches | |
CN112528307A (en) | Service request checking method and device, electronic equipment and storage medium | |
CN113704665A (en) | Dynamic service publishing method, device, electronic equipment and storage medium | |
CN112702228B (en) | Service flow limit response method, device, electronic equipment and readable storage medium | |
CN113382017A (en) | Permission control method and device based on white list, electronic equipment and storage medium | |
CN112463414A (en) | Multi-client data interaction method and device, electronic equipment and storage medium | |
CN111935107B (en) | Identity authentication method, device, system, electronic equipment and storage medium | |
CN113220273A (en) | Micro front-end application resource processing method, device, equipment and medium | |
CN111625465A (en) | Program generation method, device and system and electronic equipment | |
CN112637280B (en) | Data transmission method, device, electronic equipment and storage medium | |
CN114611477A (en) | Design recommendation method and device for data table, electronic equipment and medium | |
CN114064033A (en) | Front-end component development method and device, electronic equipment and readable storage medium | |
CN115080899A (en) | Interactive sub-web page starting method, device, equipment and storage medium | |
CN112051952A (en) | Picture dynamic browsing method and device, electronic equipment and readable storage medium | |
CN114139509B (en) | Report processing method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20211210 |