Multi-system front-end page integration method, device, equipment and medium

文档序号:1953048 发布日期:2021-12-10 浏览:18次 中文

阅读说明:本技术 多系统前端页面集成方法、装置、设备及介质 (Multi-system front-end page integration method, device, equipment and medium ) 是由 陈飞民 刘妍 陈刚 张彦芳 于 2021-09-16 设计创作,主要内容包括:本发明涉及UI设计技术,同时还适用于数字医疗领域,揭露一种多系统前端页面集成方法,包括:对访问预构建的集成系统的用户进行单点登录认证,若所述单点登录认证通过,则获取所述用户的用户信息,根据所述用户信息显示对应的集成菜单,接收到用户点击所述集成菜单中任一菜单的指令时,根据所述指令组装调取相应子系统页面的请求,并将所述调取相应子系统页面的请求发送给预构建的适配器,接收所述子系统根据所述适配器转换后的所述调取相应子系统页面的请求返回的页面内容数据,将所述页面内容数据嵌入到预设的集成页面中得到嵌套页面,并展示所述嵌套页面,可以提高集成系统的可扩展性及提升用户体验。(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.)

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 content of the first and second substances,

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.

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.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于调度机构级别的跨系统访问权限控制系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类