Software integration system under Kylin operating system
By developing a software integration system on the domestic Galaxy Kirin operating system, using Dameng database and Qt tools, the integrated management of C/S architecture and B/S architecture software is achieved, and the existing system cannot integrate C/S architecture. The problem with client software improves the integration and security of the system.
Patent Information
- Application Number
- CN202411137287.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2025-01-03
AI Technical Summary
The existing domestic Galaxy Kirin operating system cannot realize the integrated management of C/S architecture client software. The existing software integration system is mainly aimed at web page software with B/S architecture, and cannot effectively integrate and manage customers with C/S architecture. end software.
A software integration system under the Galaxy Kirin operating system was designed, including authentication login module, software opening module and interface switching module. The domestic Dameng database and cross-platform graphical user interface development tool Qt are used to realize the C/S architecture. It also manages B/S architecture software, and integrates functions such as window interface, automatic login, status monitoring and message reminder.
It realizes integrated management of multiple architecture software, improves the integration, security and convenience of the system, and can manage software that simultaneously C/S architecture and B/S architecture, enhancing the efficiency and security of the system.
Smart Images

Figure CN119248335A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a software integration technology on a domestic computer operating system, which integrates application software of different architectures in the operating system and displays and uses them on a unified portal interface. Background Art
[0002] In a certain demonstration system, there are multiple application software with different functions, including web page software with B / S architecture and client software with C / S architecture. Portal software is system integration software that manages these software belonging to the same system in a unified manner. Most of the existing portal software is B / S architecture, which uses web page login jump to manage multiple web page software. However, for C / S architecture client software developed on the domestically produced Kylin operating system, it is impossible to use web page login jump to manage client software. Summary of the invention
[0003] The technical problem solved by the present invention is: to provide a software integration system under the Kylin operating system, which integrates software of C / S architecture and B / S architecture on the domestically produced Kylin operating system.
[0004] The technical solution of the present invention is: a software integration system under the Kylin operating system, wherein the Kylin operating system is installed with client software and web software, and the software integration system includes an authentication login module, a software startup module, and an interface switching module;
[0005] The authentication login module manages all users entering the Kylin operating system and manages the access rights of all software installed under the Kylin operating system; the account and password of the software to be accessed by the currently logged-in user are sent to the software activation module;
[0006] The software opening module provides a window interface, completes the integration of the software to be accessed and the window interface, and realizes the automatic login of the software to be accessed;
[0007] The interface switching module manages all software under the access rights of the current user. If the software to be switched is a logged-in software, the software will be directly displayed at the top level of the window interface; if the software to be switched is a non-logged-in software, the authentication login module will be triggered to obtain the account and password of the software.
[0008] Preferably, the authentication login module includes:
[0009] Design a software user password table and a software account password table in the domestic database, wherein the software user password table stores all user names, passwords and their corresponding access rights; the software account password table is used to store all software names, accounts and passwords installed under the Kylin operating system;
[0010] Provide a login interface to receive external input user name and password;
[0011] Provide a floating window. After clicking login, query the software user password table in the database for the password corresponding to the entered user name according to the received user name, and compare it with the entered password. If it is correct, obtain the access rights of the currently logged in user, and display the software icons / buttons within the permission range in the floating window;
[0012] Click the corresponding software icon / button according to the usage requirements to obtain the clicked software name, and query the corresponding account and password from the software account and password table and send them to the software startup module.
[0013] Preferably, the software opening module provides a window interface. If the software to be accessed is client software, the handle of the interface window of the client software is obtained, and the interface window of the client software is set as a subwindow of the window interface; if the software to be accessed is web software, a browser component in a cross-platform graphical user interface development tool is called, and the component is embedded in the window interface, and the URL of the web software is opened in the browser component;
[0014] The received account and password are sent to the software to be accessed through the TCP / IP communication interface reserved by the software to achieve automatic login.
[0015] Preferably, a close button is provided on the window interface, and when the close button is triggered, a logout instruction is issued through the TCP / IP communication interface reserved for the software to be accessed, thereby logging out.
[0016] Preferably, the interface switching module includes:
[0017] Select the software icon / button to be switched from the software icons / buttons within the permission range displayed in the floating window; match the software name to be switched from the window interface, if the match is successful, switch the sub-window of the software integrated in the window interface to the top layer; otherwise, send the software name to the authentication login module; the authentication login module queries the corresponding account and its password from the software account password table and sends them to the software start module; after waiting for the software to log in automatically, switch the sub-window of the software to the top layer from the window interface.
[0018] Preferably, the system further comprises a status monitoring module for monitoring the online and offline status of all software with access rights under the current user and displaying the status in a floating window.
[0019] Preferably, for the client software, the status monitoring module periodically queries whether there is a process with the software name in the operating system process. If so, it means that the software is currently online. If not, it means that the software is currently offline. The online / offline status of the software is updated by setting the color of the corresponding software icon / button in the floating window;
[0020] For web software, the status monitoring module calls the browser component in the cross-platform graphical user interface development tool to determine whether there is an open URL matching the software name in the browser component. If so, it means that the software is currently online. If not, it means that the software is currently offline. The online / offline status of the software is updated by setting the color of the corresponding software icon / button in the floating window.
[0021] Preferably, the system also includes a message reminder module, which is connected to the TCP / IP communication interface reserved for all software under the permissions of the currently logged-in user, and is used to receive message reminders of the logged-in software, and display the number of reminder messages on the corresponding software icon / button in the floating window. Clicking the displayed number of reminder messages triggers the interface switching module.
[0022] Preferably, the cross-platform graphical user interface development tool is Qt software.
[0023] A computer software product comprises a computer program / instructions which, when executed by a processor, implement the functions of the system.
[0024] The beneficial effects of the present invention compared with the prior art are:
[0025] (1) Most existing software integration systems exist in the form of web pages, which can only integrate web page software with B / S architecture, but cannot integrate client software with C / S architecture. QT software is used to develop portal software on the domestically produced Kylin operating system. By reserving interfaces, the portal software can implement functions such as interface embedding, opening and closing, status monitoring, software interface switching, and alarm message reminders for other software. It can manage both web page software with B / S architecture and client software with C / S architecture, thereby increasing the degree of integration of system software and improving the efficiency of system software use.
[0026] (2) Most existing software integration systems can only manage the account passwords of the integrated software, but cannot perform authorization management. This system uses the domestically produced DAMO database to manage the account passwords and access authorizations of portal software and other software, thereby improving the security of portal software while facilitating login.
[0027] The features of this solution are as follows:
[0028] (1) The system has a high degree of integration and can simultaneously integrate multiple C / S and B / S architecture software;
[0029] (2) The system has strong security and can manage the user's software access rights. After logging into the portal software, different available software will be displayed according to different authorizations;
[0030] (3) The system is highly convenient and can monitor the online / offline status of multiple software and receive message reminders from multiple software.
[0031] There is no mature software integration solution for the domestically produced Kylin operating system in China. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a structural diagram of the present invention;
[0033] Figure 2 This is a data structure diagram of the DAMO database in an embodiment of the present invention;
[0034] Figure 3 This is the authentication login flow chart of the present invention;
[0035] Figure 4 Open the functional flow chart for the present invention;
[0036] Figure 5 This is a flow chart of the state monitoring function of the present invention;
[0037] Figure 6 This is a flow chart of the interface switching function of the present invention;
[0038] Figure 7 This is a flow chart of the message reminder function of the present invention. DETAILED DESCRIPTION
[0039] The present invention will be further described below in conjunction with the embodiments.
[0040] On the domestically produced Kylin operating system, the portal software (the software integration system of the present invention) is developed using Qt software. By means of reserved interfaces, the functions of embedding interfaces, opening and closing, status monitoring, software interface switching, message reminders, etc. of other software (including client software and web software) are realized in the portal software, thereby increasing the integration degree of the system software and improving the efficiency of the system software. The domestically produced DAMO database is used to authorize and manage the accounts and passwords of the portal software and other software, thereby improving the security of the portal software on the basis of convenient login. See the schematic diagram for details. Figure 1 The software integration system of the present invention includes an authentication login module, a software startup module, and an interface switching module; according to usage requirements, it may also include a status monitoring module and a message reminder module; wherein,
[0041] The authentication login module manages all users entering the Kylin operating system and manages the access rights of all software installed under the Kylin operating system; the account and password of the software to be accessed by the currently logged-in user are sent to the software activation module;
[0042] The software opening module provides a window interface, completes the integration of the software to be accessed and the window interface, and realizes the automatic login of the software to be accessed;
[0043] The interface switching module manages all software under the access rights of the current user. If the software to be switched is a logged-in software, the software will be directly displayed at the top level of the window interface; if the software to be switched is a non-logged-in software, the authentication login module will be triggered to obtain the account and password of the software.
[0044] The status monitoring module monitors the online and offline status of all software with access permissions under the current user and displays it in a floating window.
[0045] The message reminder module is connected to the TCP / IP communication interface reserved for all software under the permissions of the currently logged-in user. It is used to receive message reminders from the logged-in software and display the number of reminder messages on the corresponding software icon / button in the floating window. Clicking the number of displayed reminder messages will trigger the interface switching module.
[0046] The functions of each module are introduced in detail below.
[0047] 1. Authentication and login module
[0048] like Figure 3 As shown, first in the DAMO database ( Figure 2As shown in the figure, design the corresponding tables according to Table 1 and Table 2, and fill in the corresponding data, then design the login interface of the portal software in the Qt software. In the login interface, enter the user name and password in the account input box and the password input box respectively. After clicking the login button, use the QSqlDatabase class in Qt to execute the SQL statement, query the password (password) corresponding to the user name (username) entered in the "Portal Software Account and Password Table" in the database according to the entered user name, and compare it with the password entered in the input box to see if it is correct. If correct, obtain the access rights (authority) of the current login account, and display the App / Web page buttons within the authority range through buttons.
[0049] Table 1 User password table
[0050] id username password authority 1 user1 123456 App1,App2 2 user2 123456 App2, App3 3 user3 123456 App1,App3
[0051] Table 2 Software Account Password Table
[0052] id appname appuser apppassword 1 App1 user 123456 2 App2 user 123456 3 Web1 user 123456 4 Web2 user 123456
[0053] This login mode can not only use the DAMO database to verify the correctness of the portal software's account password, but also manage the portal software's access rights to other App / Web pages and realize automatic login, which increases convenience while ensuring security.
[0054] 2. Software start module
[0055] like Figure 4As shown, when you click the button to open the App / Web page, if the software opened is a C / S architecture client software, in Qt, the start function of the QProcess class is used to run the executable file with the suffix ".exe" to open the C / S architecture client software, and the winID function of the QWidget class is used to obtain the handle of the interface window of the App, and then the setParent function of the QWidget class is used to set the interface window of the App as a child window of the portal software window, so that the window of the App is integrated into the portal software. If the software opened is a B / S architecture web software, the QWebEngine component is called in Qt, and the component is embedded in the window interface of the portal software, and the URL of the B / S architecture web software is opened in the QWebEngine component. Use the QSqlDatabase class in Qt to execute SQL statements to query the account and password of the App / Web page, and send the password of the App / Web page to the App / Web page through the TCP / IP communication interface reserved between the portal software and the App / Web page, and you can enter the login page of the corresponding App / Web page and log in automatically. When closing the App / Web page, you can log out by sending a logout command through the TCP / IP communication interface reserved between the portal software and the App / Web page.
[0056] This integration model can integrate different types of C / S architecture client software and B / S architecture web software into the portal software at the same time, realizing the integration of multi-architecture type software.
[0057] 3. Condition monitoring module
[0058] like Figure 5 As shown, after opening the portal software and logging in successfully, you can view the running status of the App / Web page in the main interface of the portal software. For C / S architecture client software, in Qt, the start function of the QProcess class is used to periodically run "ps-ef|grep App" to query whether there is a process with the App name in the system process. If it exists, it means that the App is currently online. If not, it means that the App is currently offline. Then, the online / offline status of the App is updated by setting the color of the button. For B / S architecture web software, query whether there is an open URL matching the software name in the QWebEngine component. If it exists, it means that the software is currently online. If not, it means that the software is currently offline. Then, the online / offline status of the Web page is updated by setting the color of the button.
[0059] In this status monitoring mode, regardless of whether the App is opened and closed through the portal software, or the App / Web page is opened and closed externally, the portal software can monitor the online / offline status of the App / Web page, and when the portal software is opened, it can take over the management of the opened App / Web page interface.
[0060] 4. Interface switching module
[0061] like Figure 6 As shown, after opening the portal software and successfully logging in, a button for viewing the App / Web page is displayed in the main interface of the portal software. If multiple App / Web pages are opened at the same time, the most recently opened App / Web page is displayed at the top level of the portal software. When different App / Web page buttons are clicked, if the App / Web page is open, the clicked App / Web page interface is switched to the top level of the portal software through the raise function of QWidget. If it is not open, open the App / Web page first, and then embed the App / Web page interface and switch it to the top level of the portal software.
[0062] This switching mode can manage multiple App / Web page interfaces at the same time, and switch to display multiple App / Web page interfaces in a unified location in the portal software, which increases operational convenience and improves software integration.
[0063] 5. Message reminder module
[0064] like Figure 7 As shown, after the portal software is turned on and successfully logged in, a button for viewing the App / Web page is displayed in the main interface of the portal software. The portal software is used as a server to monitor the messages of each App / Web page. When there is a message reminder in the App / Web page that needs to be informed to the user, the message summary is sent to the portal software server through the TCP / IP communication interface reserved between the portal software and the App / Web page. After the portal software receives the message, the number of messages is displayed on the App / Web page button in the software interface. Click the number of messages to switch to the corresponding App / Web page interface at the top level of the portal software and display detailed message information.
[0065] This message reminder function can manage message reminders of multiple App / Web page interfaces on one page at the same time, which increases the comprehensiveness of message reminders, improves the efficiency of message processing, and reduces the risk of missing important messages.
[0066] Although the present invention has been disclosed as above in the form of a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art may make possible changes and modifications to the technical solution of the present invention by using the methods and technical contents disclosed above without departing from the spirit and scope of the present invention. Therefore, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the protection scope of the technical solution of the present invention.
Claims
1. A software integration system under the Kylin operating system, wherein the Kylin operating system is installed with client software and webpage software, characterized in that: The software integration system includes an authentication and login module, a software startup module, and an interface switching module; The authentication login module manages all users entering the Kylin operating system and manages the access rights of all software installed under the Kylin operating system; the account and password of the software to be accessed by the currently logged-in user are sent to the software activation module; The software opening module provides a window interface, completes the integration of the software to be accessed and the window interface, and realizes the automatic login of the software to be accessed; The interface switching module manages all software under the access rights of the current user. If the software to be switched is a logged-in software, the software will be directly displayed at the top level of the window interface; if the software to be switched is a non-logged-in software, the authentication login module will be triggered to obtain the account and password of the software.
2. The system according to claim 1, characterized in that: The authentication login module includes: Design a software user password table and a software account password table in the domestic database, wherein the software user password table stores all user names, passwords and their corresponding access rights; the software account password table is used to store all software names, accounts and passwords installed under the Kylin operating system; Provide a login interface to receive external input user name and password; Provide a floating window. After clicking login, query the software user password table in the database for the password corresponding to the entered user name according to the received user name, and compare it with the entered password. If it is correct, obtain the access rights of the currently logged-in user, and display the software icons / buttons within the permission range in the floating window; Click the corresponding software icon / button according to the usage requirements to obtain the clicked software name, and query the corresponding account and password from the software account and password table and send them to the software startup module.
3. The system according to claim 1, characterized in that: The software opening module provides a window interface. If the software to be accessed is client software, the handle of the interface window of the client software is obtained, and the interface window of the client software is set as a subwindow of the window interface; If the software to be accessed is a web software, a browser component in a cross-platform graphical user interface development tool is called, and the component is embedded into the window interface, and the URL of the web software is opened in the browser component; The received account and password are sent to the software to be accessed through the TCP / IP communication interface reserved by the software to achieve automatic login.
4. The system according to claim 3, characterized in that: A close button is set on the window interface, and when the close button is triggered, a logout instruction is issued through the TCP / IP communication interface reserved by the software to be accessed, and the user logs out.
5. The system according to claim 2, characterized in that: The interface switching module includes: Select the software icon / button to be switched from the software icons / buttons within the permission range displayed in the floating window; match the software name to be switched from the window interface, if the match is successful, switch the sub-window of the software integrated in the window interface to the top layer; otherwise, send the software name to the authentication login module; the authentication login module queries the corresponding account and its password from the software account password table and sends them to the software start module; after waiting for the software to log in automatically, switch the sub-window of the software to the top layer from the window interface.
6. The system according to claim 2, characterized in that: It also includes a status monitoring module, which monitors the online and offline status of all software with access permissions under the current user and displays it in a floating window.
7. The system according to claim 6, characterized in that: For client software, the status monitoring module periodically queries whether there is a process with the software name in the operating system process. If so, it means that the software is currently online. If not, it means that the software is currently offline. The online / offline status of the software is updated by setting the color of the corresponding software icon / button in the floating window; For web software, the status monitoring module calls the browser component in the cross-platform graphical user interface development tool to determine whether there is an open URL matching the software name in the browser component. If so, it means that the software is currently online. If not, it means that the software is currently offline. The online / offline status of the software is updated by setting the color of the corresponding software icon / button in the floating window.
8. The system according to claim 5, characterized in that: It also includes a message reminder module, which is connected to the TCP / IP communication interface reserved for all software under the current logged-in user's permissions, and is used to receive message reminders from the logged-in software, and display the number of reminder messages on the corresponding software icon / button in the floating window. Clicking the displayed number of reminder messages will trigger the interface switching module.
9. The system according to claim 3 or 6, characterized in that: The cross-platform graphical user interface development tool is Qt software.
10. A computer software product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the functions of the system according to claim 1 are realized.
