CN113741947A - Method and system for solving island problem - Google Patents

Method and system for solving island problem Download PDF

Info

Publication number
CN113741947A
CN113741947A CN202110993234.0A CN202110993234A CN113741947A CN 113741947 A CN113741947 A CN 113741947A CN 202110993234 A CN202110993234 A CN 202110993234A CN 113741947 A CN113741947 A CN 113741947A
Authority
CN
China
Prior art keywords
service system
old
browser
new
data
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.)
Granted
Application number
CN202110993234.0A
Other languages
Chinese (zh)
Other versions
CN113741947B (en
Inventor
章元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Huaxia University
Original Assignee
Xiamen Huaxia University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Huaxia University filed Critical Xiamen Huaxia University
Priority to CN202110993234.0A priority Critical patent/CN113741947B/en
Publication of CN113741947A publication Critical patent/CN113741947A/en
Application granted granted Critical
Publication of CN113741947B publication Critical patent/CN113741947B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Abstract

The invention discloses a method and a system for solving an island problem, wherein the method comprises the following steps: the new business system starts a browser through a browser driving unit under a selenium frame; the browser driving unit is integrated in the new service system; the new business system has the right to operate the browser; the new business system performs information interaction with the old business system through the browser under the selenium frame so as to read data of the old business system; and an information interaction channel for the browser to perform information interaction with the old service system is the information interaction link. The data interaction problem can be solved by using a framework of the type of selenium as a channel between the new service system and the old service system, and the method is efficient and practical. The traditional method of modifying data in the database in the old system is abandoned, so that manpower, material resources and financial resources can be saved for enterprises.

Description

Method and system for solving island problem
Technical Field
The invention relates to the technical field of computers, in particular to a method and a system for solving an island problem.
Background
At present, if a software system used in an enterprise cannot be continuously maintained by a developer, interaction with an external system cannot be realized, the software system gradually falls into an island, after the software system forms the island, the software system is difficult to interact with the external system, or data synchronization is carried out manually, or only a system database table is cracked by a method of interacting with the external system, and data is extracted from the system database table for interaction, but the method is time-consuming and unreliable. These methods cannot solve the problem of data interaction between systems well.
Disclosure of Invention
The present invention provides a method and a system for solving the islanding problem, so as to solve the above problems in the prior art.
In a first aspect, an embodiment of the present invention provides a method for solving an islanding problem, where the method is applied to a system for solving an islanding problem, where the system for solving an islanding problem includes a new service system and an old service system, and the new service system is integrated in a second server; the old service system is integrated in a first server; the first server includes a first port number; the second server includes a second port number; the method comprises the following steps:
the new service system obtains a first port number and a second port number, and the first port number and the second port number are bound under a selenium frame to form an information interaction link;
the new business system starts a browser through a browser driving unit under a selenium frame; the browser driving unit is integrated in the new service system; the new business system has the right to operate the browser;
the new business system performs information interaction with the old business system through the browser under the selenium framework so as to read data of the old business system or write data into the old business system; and an information interaction channel for the browser to perform information interaction with the old service system is the information interaction link.
Optionally, if the old service system does not have a login module, the new service system performs information interaction with the old service system through the browser in the selenium frame to read data of the old service system or write data into the old service system, including:
under the selenium frame, the new service system sends a home page request to the old service system through the browser and the information interaction link;
after receiving the home page request, the old service system sends a home page of the old service system to the new service system through the information interaction link;
under the selenium frame, the new business system sends the old business system home page to the browser;the above-mentionedAnd the browser displays the home page of the old service system and provides an operation authority for the new service system, and the new service system reads the data of the old service system or writes the data into the old service system through the browser.
Optionally, if the old service system has a login module, the new service system performs information interaction with the old service system through the browser in the selenium frame to read data of the old service system or write data into the old service system, and the method further includes:
under the selenium frame, the new service system sends a home page request to the old service system through the browser and the information interaction link;
after receiving the home page request, the old service system returns a login page of the old service system to the browser;
under the selenium frame, the new service system sends login information to a login module of the old service system through the browser and the information interaction link;
if the old service system receives the login information, returning a home page of the old service system to the new service system to the browser; and the browser displays the home page of the old service system and provides an operation authority for the new service system, and the new service system reads the data of the old service system or writes the data into the old service system through the browser.
Optionally, after obtaining the home page of the old service system, the new service system performs information interaction with the old service system through the browser in the selenium frame to read data of the old service system or write data into the old service system, and the method further includes:
under the selenium frame, the new business system sends a target page request to the old business system through the browser and the information interaction link;
after receiving the target page request, the old service system returns a target page corresponding to the target page request to the new service system;
under the selenium frame, the new business system sends the target page to the browser; the browser displays the target page and provides operation authority for the new service system; and the new service system reads data in the target page through the browser driving unit or writes the data in the target page through the browser driving unit.
Optionally, the method further includes:
the new business system analyzes the data of the target page read by the browser driving unit under the selenium frame and outputs an analysis result; and the new business system preprocesses the data of the target page based on the analysis result to generate standard data meeting the user requirements.
Optionally, the preprocessing includes data cleaning, data integration, transformation, and specification.
In a second aspect, an embodiment of the present invention further provides a system for solving an islanding problem, where the system for solving an islanding problem includes a new service system and an old service system, and the new service system is integrated in a second server; the old service system is integrated in a first server; the first server includes a first port number; the second server includes a second port number;
the new service system is used for obtaining a first port number and a second port number, and binding the first port number and the second port number under a selenium frame to form an information interaction link;
the new business system is used for starting a browser through a browser driving unit under a selenium frame; the browser driving unit is integrated in the new service system; the new business system has the right to operate the browser;
the new business system is also used for performing information interaction with the old business system through the browser under the selenium framework so as to read data of the old business system or write data into the old business system; and an information interaction channel for the browser to perform information interaction with the old service system is the information interaction link.
Optionally, if the old service system does not have a login module:
the new service system is also used for sending a home page request to the old service system through the browser and the information interaction link under the selenium frame;
the old service system is also used for sending a home page of the old service system to the new service system through the information interaction link after receiving the home page request;
the new business system is also used for sending the home page of the old business system to the browser under the selenium framework;the above-mentionedAnd the browser displays the home page of the old service system and provides an operation authority for the new service system, and the new service system reads the data of the old service system or writes the data into the old service system through the browser.
Optionally, if the old service system has a login module, the new service system performs information interaction with the old service system through the browser in the selenium frame to read data of the old service system or write data into the old service system, and the method further includes:
the new service system is also used for sending a home page request to the old service system through the browser and the information interaction link under the selenium frame;
the old service system is also used for returning a login page of the old service system to the browser after receiving the home page request;
the new business system is also used for sending login information to a login module of the old business system through the browser and the information interaction link under the selenium frame;
the old service system is also used for returning a home page of the old service system to the new service system to the browser if the old service system receives the login information; and the browser displays the home page of the old service system and provides an operation authority for the new service system, and the new service system reads the data of the old service system or writes the data into the old service system through the browser.
Optionally, the new service system is further configured to send, in the selenium frame, a target page request to the old service system through the browser and through the information interaction link;
the old service system is also used for returning a target page corresponding to the target page request to the new service system after receiving the target page request;
the new business system is also used for sending the target page to the browser under the selenium frame; the browser displays the target page and provides operation authority for the new service system; and the new service system reads data in the target page through the browser driving unit or writes the data in the target page through the browser driving unit.
Compared with the prior art, the embodiment of the invention achieves the following beneficial effects:
the embodiment of the invention provides a method and a system for solving an island problem, wherein the method comprises the following steps:
the new service system obtains a first port number and a second port number, and the first port number and the second port number are bound under a selenium frame to form an information interaction link; the new business system starts a browser through a browser driving unit under a selenium frame; the browser driving unit and the browser are integrated in the new service system; the new business system has the right to operate the browser; the new business system performs information interaction with the old business system through the browser under the selenium framework so as to read data of the old business system or write data into the old business system; and an information interaction channel for the browser to perform information interaction with the old service system is the information interaction link.
The method provided by the embodiment of the invention can directly operate the old business system through the new business system under the selenium framework which can support various development environments, so that the effective data butt joint between the new business system and the old business system is realized, enterprises can develop new business without replacing the system again by using the technology, and a good solution is provided under the condition and scene that the old system cannot be replaced and modified. The data interaction problem can be solved by using a framework of the type of selenium as a channel between the new business system and the old business system, and the method is efficient and practical. The traditional method of modifying data in a database in an old system is abandoned, so that manpower, material resources and financial resources can be saved for an enterprise. And meanwhile, since the selenium is an open-source automatic testing framework, additional charges are not required, and a large amount of charges are saved.
Drawings
Fig. 1 is a flowchart of a method for solving an islanding problem according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of information interaction in a system for solving an islanding problem according to another method for solving an islanding problem provided by an embodiment of the present invention.
Fig. 3 is a schematic block structure diagram of an electronic device according to an embodiment of the present invention.
The labels in the figure are: a bus 500; a receiver 501; a processor 502; a transmitter 503; a memory 504; a bus interface 505.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings.
Examples
The embodiment of the invention provides a method for solving the island problem, which is applied to a system for solving the island problem, wherein the system for solving the island problem comprises a new service system and an old service system, and the new service system is integrated in a second server; the old service system is integrated in a first server; the first server includes a first port number; the second server includes a second port number; as shown in fig. 1, the method includes:
s101: and the new service system acquires the first port number and the second port number, and binds the first port number and the second port number under a selenium frame to form an information interaction link.
S102: the new business system starts a browser through a browser driving unit under a selenium frame; the browser driving unit is integrated in the new service system; the new business system has the right to operate the browser.
S103: the new business system performs information interaction with the old business system through a browser under the selenium framework so as to read data of the old business system or write data into the old business system; and an information interaction channel for the browser to perform information interaction with the old service system is the information interaction link.
By adopting the scheme, the old business system can be operated directly through the new business system under a selenium framework capable of supporting various development environments, effective data butt joint between the new business system and the old business system is realized, an enterprise can develop new business without replacing the system again by using the technology, and a good solution is provided under the condition and scene that the old system cannot be replaced and modified. The data interaction problem can be solved by using a framework of the type of selenium as a channel between the new business system and the old business system, and the method is efficient and practical. The traditional method of modifying data in a database in an old system is abandoned, so that manpower, material resources and financial resources can be saved for an enterprise. And meanwhile, since the selenium is an open-source automatic testing framework, additional charges are not required, and a large amount of charges are saved.
Optionally, if the old service system does not have a login module, the new service system performs information interaction with the old service system through the browser in the selenium frame to read data of the old service system or write data into the old service system, including:
under the selenium frame, the new service system sends a home page request to the old service system through the browser and the information interaction link;
after receiving the home page request, the old service system sends a home page of the old service system to the new service system through the information interaction link;
under the selenium frame, the new business system sends the old business system home page to the browser;the above-mentionedAnd the browser displays the home page of the old service system and provides an operation authority for the new service system, and the new service system reads the data of the old service system or writes the data into the old service system through the browser.
Optionally, if the old service system has a login module, the new service system performs information interaction with the old service system through the browser in the selenium frame to read data of the old service system or write data into the old service system, and the method further includes:
under the selenium frame, the new service system sends a home page request to the old service system through the browser and the information interaction link;
after receiving the home page request, the old service system returns a login page of the old service system to the browser;
under the selenium frame, the new service system sends login information to a login module of the old service system through the browser and the information interaction link;
if the old service system receives the login information, returning a home page of the old service system to the new service system to the browser; and the browser displays the home page of the old service system and provides an operation authority for the new service system, and the new service system reads the data of the old service system or writes the data into the old service system through the browser.
Optionally, after obtaining the home page of the old service system, the new service system performs information interaction with the old service system through the browser in the selenium frame to read data of the old service system or write data into the old service system, and the method further includes:
under the selenium frame, the new business system sends a target page request to the old business system through the browser and the information interaction link;
after receiving the target page request, the old service system returns a target page corresponding to the target page request to the new service system;
under the selenium frame, the new business system sends the target page to the browser; the browser displays the target page and provides operation authority for the new service system; and the new service system reads data in the target page through the browser driving unit or writes the data in the target page through the browser driving unit.
Optionally, the method further includes:
the new business system analyzes the data of the target page read by the browser driving unit under the selenium frame and outputs an analysis result; and the new business system preprocesses the data of the target page based on the analysis result to generate standard data meeting the user requirements.
Optionally, the preprocessing includes data cleaning, data integration, transformation, and specification.
Optionally, the new service system starts a browser through a browser driving unit under the selenium framework. Wherein the browser driving unit and the browser are integrated in the new business system, and the new business system has a right to operate the browser. The new service system starts a browser through a browser driver integrated by a selenium frame, the browser driver (Remote Server) binds a port A, the new service system sends a request to the port A bound with the browser driver (Remote Server), and performs information interaction of a page through a browser page to acquire data in an old service system and perform read-write operation on the data. And integrating the new service system in a second server, and integrating the old service system in a first server. The first server includes a first port number and the second server includes a second port number. And the new service system acquires the first port number and the second port number, and binds the first port number and the second port number under a selenium frame to form an information interaction link.
And if the old service system does not have a login module, the new service system directly performs information interaction with the old service system through the browser under the selenium frame so as to read the data of the old service system.
Optionally, the new service system directly performs information interaction with the old service system through the browser in the selenium frame to read data of the old service system, and the specific steps are as follows:
and the new service system sends a request to the port A through a browser started by a browser driver (Remote Server) and the port A bound with the browser driver (Remote Server) under the condition of complaint of the automatic test tool selenium frame. And sending a home page request to the old service system through the information interaction link.
The port A bound by the browser driver (Remote Server) receives the request, and operates the browser to locate the specific page. And after receiving the home page request, the old service system sends and acquires a home page of the old service system to the new service system through the information interaction link.
And under the selenium frame, the new service system sends the home page of the old service system to the browser, and the browser displays the acquired home page of the old service system and provides an operation right for the new service system.
Optionally, if the old service system has a login module, the new service system firstly returns a login page to log in under the selenium frame, and then performs information interaction with the old service system through the browser to read data of the old service system, specifically including:
and the new service system sends a request to the port A through a browser started by a browser driver (Remote Server) and the port A bound with the browser driver (Remote Server) under the condition of complaint of the automatic test tool selenium frame. And sending a home page request to the old service system through the information interaction link.
The port A bound by the browser driver (Remote Server) receives the request, and operates the browser to locate the specific page. And after receiving the home page request, the old service system returns a login page of the old service system to the browser.
And under the selenium framework, the new service system sends login information to a login module of the old service system through the browser and the information interaction link.
And if the old service system receives the login information, returning a home page of the old service system to the new service system to the browser, and displaying the home page of the old service system and providing the operation authority for the new service system by the browser.
And after the home page of the old service system is obtained, the new service system performs information interaction with the old service system through the browser under the selenium frame so as to read and write the data of the old service system.
Optionally, the new service system performs information interaction with the old service system through the browser in the selenium frame to read data of the old service system, read the data in the old service system to display the data in the specific page located in the above step, and returns a data result to the new service system from the browser through a browser driver (Remote Server).
And the information interaction channel for the browser to perform information interaction with the old service system is the information interaction link.
Under the selenium framework, the new service system sends a target page request to the old service system through the information interaction link by the browser started by a browser driver (Remote Server) in the browser.
And the old service system reads data in the old service system after receiving the target page request obtained from the new service system by a browser driver (Remote Server).
And under the selenium framework, the data required by the new business system and the target page are sent to the browser from the old business system, the browser displays the target page and provides operation authority for the new business system, and the new business system reads the data in the target page through the browser driving unit.
Optionally, the new service system performs information interaction with the old service system through the browser in the selenium frame, and the browser performs write operation on the old service system, so as to write the data to be written in the new service system into the old service system from the specific page of the old service system located in the above step. And the data result is written into the success identifier from the browser through a browser driver (Remote Server) and is returned to the new service system.
And the information interaction channel for the browser to perform information interaction with the old service system is the information interaction link.
Under the selenium framework, the new business system sends a target page request to the old business system through the browser started by a browser driver (Remote Server) through the information interaction link.
And after receiving the target page request obtained by a browser driver (Remote Server) from the new service system, the old service system reads data in the old service system and returns a target page corresponding to the target page request to the new service system of the browser. And provides the new service system with operation authority,
and under the selenium frame, the new business system sends the target page to the browser, displays the target page through the browser and provides an operation authority for the new business system, and the new business system writes data into the target page in the target page through the browser driving unit and transmits the data from the new business system to the old business system through the browser.
The new business system may be a system of newly developed business by the user. Old business systems may be systems that have been previously developed by users but are not used for a variety of reasons or otherwise (e.g., are not maintained often while still in use) cause information to be islanded. Port a refers to a port in the TCP/IP protocol of the browser driver (Remote Server), and has a unique port number ranging from 0 to 65535.
For the new service system and the old service system, for example, the old service system may be a service system made by a developer a (a developer company) for a user, but after the user finishes the cooperation with a developer Z, the developer a does not serve the user any more, and does not maintain and develop a new service for the old service system any more, so that the user can only find a new developer B (B developer company) to develop a new service system (new service system) to support the new service of the user at this time. However, a prerequisite for a new service system to be able to support a user's new service is that the relevant data before the user is taken, typically stored in the old service system. To get the related data, a developer a developing the old business system needs to provide the operating authority of the old business system, and must perform read-write operation and development completely in the environment of the old business system. Once a developer a developing an old service system does not cooperate with providing the operating right of the old service system, or as the technology is updated, the read-write operation and development in the environment of the old service system cannot meet the development of the required functions of the new service, then the new service system needs to be developed in the new environment.
The method provided by the embodiment of the invention can directly operate the old business system through the new business system under the selenium framework which can support various development environments, so that the effective data butt joint between the new business system and the old business system is realized, enterprises can develop new business without replacing the system again by using the technology, and a good solution is provided under the condition and scene that the old system cannot be replaced and modified. The data interaction problem can be solved by using a framework of the type of selenium as a channel between the new service system and the old service system, and the method is efficient and practical. The traditional method of modifying data in a database in an old system is abandoned, so that manpower, material resources and financial resources can be saved for an enterprise. And meanwhile, since the selenium is an open-source automatic testing framework, additional charges are not required, and a large amount of charges are saved.
According to the scheme, by means of related technologies such as selenium, a database table does not need to be cracked, a channel is established between an old business system and a new business (other) system, a browser driver (Remote Server) is connected through selenium, a port A is bound by the browser driver (Remote Server), the new business system sends a request to the port A bound with the browser driver (Remote Server), information interaction of a page is carried out through a browser page, data in the old business system is obtained, and preprocessing operation including data cleaning, data integration, transformation and stipulation is carried out on the data. The requirement of reading and writing data between the old service system and the new service (other) system can be met, so that the island problem of the old service system is solved, and the enterprise can complete the data interaction between the new service (other) system and the old service system without replacing the system, thereby reducing the cost for the enterprise. The new business system performs information interaction with the old business system through the browser under the selenium frame so as to read data of the old business system to obtain an old system target page; the information interaction channel for the browser to perform information interaction with the old service system is the information interaction link, and the new service system can be directly written into and operate a target page of the old service system through the browser. Therefore, data interaction between a new business system and an old business system is realized, the island problem between different systems existing in the prior art is solved, an enterprise can conveniently use the technology to develop new business without replacing the system again, the data interaction problem can be solved between the new business system and the old business system through a framework of the type of selenium as a channel, the efficiency is high, the practicability is realized, the manpower, the material resources and the financial resources can be saved for the enterprise, and a large amount of expenses are saved.
To more clearly state the technical approach of the present application, please refer to fig. 2 as an example, the method includes:
the invention establishes a channel between the old service system and the new service (other) system by means of related technologies such as selenium without cracking a database table, connects a browser driver (Remote Server) through the selenium, binds a port A by the browser driver (Remote Server), and obtains the data in the old service system and preprocesses the data by sending a request to the port A bound with the browser driver (Remote Server) through a browser page, wherein the information interaction of the page is carried out through the browser page, and the preprocessing operation of the data comprises data cleaning, data integration, transformation and stipulation. The requirement of reading and writing data between the old service system and the new service (other) system can be met, so that the island problem of the old service system is solved, and the enterprise can complete the data interaction between the new service (other) system and the old service system without replacing the system, thereby reducing the cost for the enterprise. The new service system of the invention uses a selenium and a browser driver (Remote Server) to simulate the daily operation of a user in the old service system and read data operation for the old service system. The new service system can use the selenium to simulate a user to operate a browser to a specific page of the old service system by binding a Remote Server port and then write data in the specific page, analyze a data structure on the page, read the data structure, and then perform data preprocessing operations such as data cleaning, data integration, transformation, specification and the like, and finally generate standard data meeting the user requirements; for the write operation of the old service system, after the user operation is simulated to a specific page by using a selenium, a page data structure is analyzed, and meanwhile, external data is loaded and written into a page element corresponding to the old service system, so that the write operation of the old service system is completed.
Read operation
And the new service (other) system drives the Remote Server to start the browser through the selenium browser, binds the port A, and returns to the home page of the old service system after the browser is started. If the old service system has a login step, the new service (other) system sends login information such as a user name and a password to the port A to a specific page element of the old service system, click login is simulated, after the new service (other) system enters the old service system, the new service (other) system interacts with the page element of the old system back and forth through a Remote Server according to a target page to be read, and finally the target page of the old system is positioned. And the new service (other) system reads the data of the target page of the old system through the Remote Server, analyzes and reads the data, performs data preprocessing operations such as data cleaning, data integration, transformation, specification and the like, and finally generates standard data meeting the user requirements.
Write operation
And the new service (other) system drives the Remote Server to start the browser through the selenium browser, binds the port A, and returns to the home page of the old service system after the browser is started. If the old service system has a login step, the new service (other) system sends login information such as a user name and a password to the port A to a specific page element of the old service system, click login is simulated, after the new service (other) system enters the old service system, the new service (other) system interacts with the page element of the old system back and forth through a Remote Server according to a target page to be read, and finally the target page of the old system is positioned. The new service (other) system locates the specific element of the target page of the old service system through the Remote Server, loads external data, writes the related page element of the old service system, quits after the write is successful, and completes the write operation of the old service system, and the process simulates the user to operate the old service system.
The selenium can support a variety of languages such as Python, C #, Java, Ruby, Perl, PHP, etc. Besides the selenium, other frameworks such as Pypeteeer can be used to solve the interaction between systems.
In an embodiment of the present invention, a method for solving the islanding problem may be specifically stored in a memory in the form of a software functional module and may be processed and executed by a processor. As an embodiment, the new service system performs information interaction with the old service system through a browser under the selenium framework to read data of the old service system. And the new service system sends a request to the port A through a browser started by a browser driver (Remote Server) and the port A bound with the browser driver (Remote Server) under the condition of telling the automatic test tool (license) framework. The port A bound by the browser driver (Remote Server) receives the request, and operates the browser to locate the specific page. And reading the page data of the old service system by the browser, reading the data in the old service system to display the data in the specific page positioned in the step, and returning the data result to the new service system from the browser by a browser driver (Remote Server). And the browser performs writing operation on the old service system, and writes the data to be written in the new service system into the old service system from the specific page positioned in the step.
Based on the above method for solving the islanding problem, an embodiment of the present invention further provides a system for solving the islanding problem, where the system includes a new service system and an old service system. The new service system is integrated in a second server and the old service system is integrated in a first server. The first server includes a first port number and the second server includes a second port number.
In a second aspect, an embodiment of the present invention further provides a system for solving an islanding problem, where the system for solving an islanding problem includes a new service system and an old service system, and the new service system is integrated in a second server; the old service system is integrated in a first server; the first server includes a first port number; the second server includes a second port number;
the new service system is used for obtaining a first port number and a second port number, and binding the first port number and the second port number under a selenium frame to form an information interaction link;
the new business system is used for starting a browser through a browser driving unit under a selenium frame; the browser driving unit is integrated in the new service system; the new business system has the right to operate the browser;
the new business system is also used for performing information interaction with the old business system through the browser under the selenium framework so as to read data of the old business system or write data into the old business system; and an information interaction channel for the browser to perform information interaction with the old service system is the information interaction link.
Optionally, if the old service system does not have a login module:
the new service system is also used for sending a home page request to the old service system through the browser and the information interaction link under the selenium frame;
the old service system is also used for sending a home page of the old service system to the new service system through the information interaction link after receiving the home page request;
the new business system is also used for sending the home page of the old business system to the browser under the selenium framework;the above-mentionedAnd the browser displays the home page of the old service system and provides an operation authority for the new service system, and the new service system reads the data of the old service system or writes the data into the old service system through the browser.
Optionally, if the old service system has a login module, the new service system performs information interaction with the old service system through the browser in the selenium frame to read data of the old service system or write data into the old service system, and the method further includes:
the new service system is also used for sending a home page request to the old service system through the browser and the information interaction link under the selenium frame;
the old service system is also used for returning a login page of the old service system to the browser after receiving the home page request;
the new business system is also used for sending login information to a login module of the old business system through the browser and the information interaction link under the selenium frame;
the old service system is also used for returning a home page of the old service system to the new service system to the browser if the old service system receives the login information; and the browser displays the home page of the old service system and provides an operation authority for the new service system, and the new service system reads the data of the old service system or writes the data into the old service system through the browser.
Optionally, the new service system is further configured to send, in the selenium frame, a target page request to the old service system through the browser and through the information interaction link;
the old service system is also used for returning a target page corresponding to the target page request to the new service system after receiving the target page request;
the new business system is also used for sending the target page to the browser under the selenium frame; the browser displays the target page and provides operation authority for the new service system; and the new service system reads data in the target page through the browser driving unit or writes the data in the target page through the browser driving unit. Optionally, the new service system is further configured to send, in the selenium frame, a home page request to the old service system through the browser and through the information interaction link;
the old service system is used for sending a home page of the old service system to the new service system through the information interaction link after receiving the home page request;
the new business system is also used for sending the obtained old business system home page to the browser under the selenium frame; and the browser displays the home page of the old service system and provides operation authority for the new service system.
Optionally, the new service system is further configured to send, in the selenium frame, a home page request to the old service system through the browser and through the information interaction link;
the old service system is also used for returning a login page of the old service system to the browser after receiving the home page request;
the new business system is also used for sending login information to a login module of the old business system through the browser and the information interaction link under the selenium frame;
the old service system is also used for returning a home page of the old service system to the new service system to the browser if the login information is received; and the browser displays the home page of the old service system and provides operation authority for the new service system.
Optionally, the new service system is further configured to send, in the selenium frame, a target page request to the old service system through the browser and through the information interaction link;
the old service system is also used for returning a target page corresponding to the target page request to the new service system after receiving the target page request;
the new business system is also used for sending the target page to the user under the selenium frameworkThe above-mentionedIn a browser;the above-mentionedThe browser displays the target page and provides operation authority for the new service system; and the new service system reads data in the target page through the browser driving unit.
The specific manner in which the respective modules perform operations has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
An embodiment of the present invention further provides an electronic device, as shown in fig. 3, including a memory 504, a processor 502, and a computer program stored on the memory 504 and executable on the processor 502, where the processor 502 executes the program to implement the steps of any one of the methods of the system for solving an islanding problem of the method for solving an islanding problem described above.
Where in fig. 3 a bus architecture (represented by bus 500) is shown, bus 500 may include any number of interconnected buses and bridges, and bus 500 links together various circuits including one or more processors, represented by processor 502, and memory, represented by memory 504. The bus 500 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 505 provides an interface between the bus 500 and the receiver 501 and transmitter 503. The receiver 501 and the transmitter 503 may be the same element, i.e. a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 502 is responsible for managing the bus 500 and general processing, and the memory 504 may be used for storing data used by the processor 502 in performing operations.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of any one of the above-mentioned systems for solving an islanding problem of the method for solving an islanding problem, and the above-mentioned historical chat log and chat log.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in an apparatus according to an embodiment of the invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (10)

1. A method for solving the island problem is applied to a system for solving the island problem, wherein the system for solving the island problem comprises a new service system and an old service system, and the new service system is integrated in a second server; the old service system is integrated in a first server; the first server includes a first port number; the second server includes a second port number; the method comprises the following steps:
the new service system obtains a first port number and a second port number, and the first port number and the second port number are bound under a selenium frame to form an information interaction link;
the new business system starts a browser through a browser driving unit under a selenium frame; the browser driving unit is integrated in the new service system; the new business system has the right to operate the browser;
the new business system performs information interaction with the old business system through the browser under the selenium framework so as to read data of the old business system or write data into the old business system; and an information interaction channel for the browser to perform information interaction with the old service system is the information interaction link.
2. The method of claim 1, wherein if the old business system does not have a login module, the new business system performs information interaction with the old business system through the browser in the selenium framework to read data of the old business system or write data into the old business system, comprising:
under the selenium frame, the new service system sends a home page request to the old service system through the browser and the information interaction link;
after receiving the home page request, the old service system sends a home page of the old service system to the new service system through the information interaction link;
under the selenium frame, the new business system sends the old business system home page to the browser;the above-mentionedAnd the browser displays the home page of the old service system and provides an operation authority for the new service system, and the new service system reads the data of the old service system or writes the data into the old service system through the browser.
3. The method of claim 2, wherein if the old business system has a login module, the new business system performs information interaction with the old business system through the browser in the selenium framework to read data of the old business system or write data into the old business system, further comprising:
under the selenium frame, the new service system sends a home page request to the old service system through the browser and the information interaction link;
after receiving the home page request, the old service system returns a login page of the old service system to the browser;
under the selenium frame, the new service system sends login information to a login module of the old service system through the browser and the information interaction link;
if the old service system receives the login information, returning a home page of the old service system to the new service system to the browser; and the browser displays the home page of the old service system and provides an operation authority for the new service system, and the new service system reads the data of the old service system or writes the data into the old service system through the browser.
4. The method of claim 3, wherein after obtaining the home page of the old business system, the new business system performs information interaction with the old business system through the browser in the selenium framework to read data of the old business system or write data into the old business system, further comprising:
under the selenium frame, the new business system sends a target page request to the old business system through the browser and the information interaction link;
after receiving the target page request, the old service system returns a target page corresponding to the target page request to the new service system;
under the selenium frame, the new business system sends the target page to the browser; the browser displays the target page and provides operation authority for the new service system; and the new service system reads data in the target page through the browser driving unit or writes the data in the target page through the browser driving unit.
5. The method of claim 4, further comprising:
the new business system analyzes the data of the target page read by the browser driving unit under the selenium frame and outputs an analysis result; and the new business system preprocesses the data of the target page based on the analysis result to generate standard data meeting the user requirements.
6. The method of claim 5, wherein the pre-processing comprises data cleansing, data integration, transformation, and specification.
7. A system for solving the island problem is characterized in that the system for solving the island problem comprises a new service system and an old service system, and the new service system is integrated in a second server; the old service system is integrated in a first server; the first server includes a first port number; the second server includes a second port number;
the new service system is used for obtaining a first port number and a second port number, and binding the first port number and the second port number under a selenium frame to form an information interaction link;
the new business system is used for starting a browser through a browser driving unit under a selenium frame; the browser driving unit and the browser are integrated in the new service system; the new business system has the right to operate the browser;
the new business system is also used for performing information interaction with the old business system through the browser under the selenium framework so as to read data of the old business system or write data into the old business system; and an information interaction channel for the browser to perform information interaction with the old service system is the information interaction link.
8. The system of claim 7, wherein if the old service system does not have a log-in module:
the new service system is also used for sending a home page request to the old service system through the browser and the information interaction link under the selenium frame;
the old service system is also used for sending a home page of the old service system to the new service system through the information interaction link after receiving the home page request;
the new business system is also used for sending the home page of the old business system to the browser under the selenium frameworkPerforming the following steps;the above-mentionedAnd the browser displays the home page of the old service system and provides an operation authority for the new service system, and the new service system reads the data of the old service system or writes the data into the old service system through the browser.
9. The system according to claim 8, wherein if the old service system has a login module, the new service system performs information interaction with the old service system through the browser in the selenium framework to read data of the old service system or write data into the old service system, further comprising:
the new service system is also used for sending a home page request to the old service system through the browser and the information interaction link under the selenium frame;
the old service system is also used for returning a login page of the old service system to the browser after receiving the home page request;
the new business system is also used for sending login information to a login module of the old business system through the browser and the information interaction link under the selenium frame;
the old service system is also used for returning a home page of the old service system to the new service system to the browser if the old service system receives the login information; and the browser displays the home page of the old service system and provides an operation authority for the new service system, and the new service system reads the data of the old service system or writes the data into the old service system through the browser.
10. The system of claim 9,
the new business system is also used for sending a target page request to the old business system through the browser and the information interaction link under the selenium frame;
the old service system is also used for returning a target page corresponding to the target page request to the new service system after receiving the target page request;
the new business system is also used for sending the target page to the browser under the selenium frame; the browser displays the target page and provides operation authority for the new service system; and the new service system reads data in the target page through the browser driving unit or writes the data in the target page through the browser driving unit.
CN202110993234.0A 2021-08-27 2021-08-27 Method and system for solving island problem Active CN113741947B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110993234.0A CN113741947B (en) 2021-08-27 2021-08-27 Method and system for solving island problem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110993234.0A CN113741947B (en) 2021-08-27 2021-08-27 Method and system for solving island problem

Publications (2)

Publication Number Publication Date
CN113741947A true CN113741947A (en) 2021-12-03
CN113741947B CN113741947B (en) 2023-11-14

Family

ID=78733306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110993234.0A Active CN113741947B (en) 2021-08-27 2021-08-27 Method and system for solving island problem

Country Status (1)

Country Link
CN (1) CN113741947B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615267A (en) * 2022-03-15 2022-06-10 中国银行股份有限公司 System and method for accessing bank system to private cloud

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040199541A1 (en) * 2003-04-04 2004-10-07 Goldberg Evan M. Concise communication of real-time business information in an enterprise network
CN106331042A (en) * 2015-07-01 2017-01-11 阿里巴巴集团控股有限公司 Single sign-on method and device for heterogeneous user system
CN109428877A (en) * 2017-09-01 2019-03-05 百度在线网络技术(北京)有限公司 A kind of method and apparatus for by user equipment access operation system
CN112860231A (en) * 2021-03-11 2021-05-28 中国银行股份有限公司 Front-end framework conversion method and device
CN113253986A (en) * 2021-05-31 2021-08-13 猫岐智能科技(上海)有限公司 Mixed design method and system for new and old service system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040199541A1 (en) * 2003-04-04 2004-10-07 Goldberg Evan M. Concise communication of real-time business information in an enterprise network
CN106331042A (en) * 2015-07-01 2017-01-11 阿里巴巴集团控股有限公司 Single sign-on method and device for heterogeneous user system
CN109428877A (en) * 2017-09-01 2019-03-05 百度在线网络技术(北京)有限公司 A kind of method and apparatus for by user equipment access operation system
CN112860231A (en) * 2021-03-11 2021-05-28 中国银行股份有限公司 Front-end framework conversion method and device
CN113253986A (en) * 2021-05-31 2021-08-13 猫岐智能科技(上海)有限公司 Mixed design method and system for new and old service system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615267A (en) * 2022-03-15 2022-06-10 中国银行股份有限公司 System and method for accessing bank system to private cloud

Also Published As

Publication number Publication date
CN113741947B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
US20220374330A1 (en) Providing debug information on production containers using debug containers
US20230401142A1 (en) End User Remote Enterprise Application Software Testing
US20150378722A1 (en) Enhanced compliance verification system
AU2017261597B2 (en) Portal for automatic software installation and configuration
US20180315024A1 (en) Systems and Methods Enabling Secure Transactions from Terminal Window
CN110619555A (en) Unified management method and device for order information, terminal equipment and medium
CN107404418B (en) Internet product testing method, device, equipment and storage medium
CN111966426A (en) API (application program interface) docking method, system, equipment and storage medium
CN107203343A (en) A kind of date storage method, system and equipment
CN111612509B (en) Method and device for pushing information product through active task and electronic equipment
CN112417122A (en) Multi-turn question and answer method and device, computer readable storage medium and electronic equipment
CN113741947B (en) Method and system for solving island problem
CN111698294A (en) Automatic equipment binding method and building management system
JP2013030036A (en) Process control system, process control method, program, and process control device
US20130311220A1 (en) Evaluating deployment readiness in delivery centers through collaborative requirements gathering
CN111026945B (en) Multi-platform crawler scheduling method, device and storage medium
CN110851688A (en) Page request method, device and equipment
CN109815106B (en) Interactive function testing method and device of information delivery platform
CN114169924A (en) Advertisement full-link automatic verification method and device and computing equipment
Rose Risk management of COTS based systems development
CN113392002A (en) Test system construction method, device, equipment and storage medium
CN113656301A (en) Interface testing method, device, equipment and storage medium
CN112988588A (en) Client software debugging method and device, storage medium and electronic equipment
US20230062596A1 (en) Method and apparatus for providing services in virtual desktop environment
KR102639168B1 (en) A method and apparatus for providing services in a virtual desktop environment

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
GR01 Patent grant
GR01 Patent grant