CN110764727A - Split screen display method and device, computer equipment and storage medium - Google Patents

Split screen display method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110764727A
CN110764727A CN201910998738.4A CN201910998738A CN110764727A CN 110764727 A CN110764727 A CN 110764727A CN 201910998738 A CN201910998738 A CN 201910998738A CN 110764727 A CN110764727 A CN 110764727A
Authority
CN
China
Prior art keywords
screen
parameter
parameters
attribute
browser
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
CN201910998738.4A
Other languages
Chinese (zh)
Other versions
CN110764727B (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.)
Wuhan United Imaging Healthcare Co Ltd
Original Assignee
Wuhan United Imaging Healthcare Co Ltd
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 Wuhan United Imaging Healthcare Co Ltd filed Critical Wuhan United Imaging Healthcare Co Ltd
Priority to CN201910998738.4A priority Critical patent/CN110764727B/en
Publication of CN110764727A publication Critical patent/CN110764727A/en
Application granted granted Critical
Publication of CN110764727B publication Critical patent/CN110764727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H30/00ICT specially adapted for the handling or processing of medical images

Abstract

The application relates to a split screen display method, a split screen display device, computer equipment and a storage medium. The method comprises the following steps: receiving configuration parameters transmitted by a main screen and acquiring attribute parameters; the attribute parameters comprise a main attribute parameter of the main screen and a secondary attribute parameter of at least one secondary screen; converting the configuration parameters and the attribute parameters to obtain command parameters; the format of the command parameter is a parameter format which can be identified by a browser, and the command parameter comprises at least one of a full screen parameter, an auxiliary screen debugging port parameter, a cache path parameter and auxiliary screen position information; acquiring a process under a browser path, transmitting the command parameters into the process under the browser path, and changing the setting information of the process to obtain a changed process; and restarting the changed process, and opening the at least one auxiliary screen to realize split screen display. The method can improve the inspection efficiency.

Description

Split screen display method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of medical software technologies, and in particular, to a split-screen display method and apparatus, a computer device, and a storage medium.
Background
With the continuous development of medical imaging software technology, the related architecture of medical imaging software has been gradually changed from the traditional C/S architecture (Client/Server) to the B/S architecture (Browser/Server), and the medical imaging software of the B/S architecture can be used to easily implement related services for hierarchical diagnosis and remote diagnosis of diseases of patients.
In a medical image observation room using B/S-based medical image software for observing medical images of a patient, a browser is usually used to open a medical image browsing window on a designated screen for a doctor to read, when the doctor needs to write a report according to the observed medical image, the medical image browsing window needs to be closed, then the browser is used to open a report writing window on the screen for the doctor to write the report, and then the report is given to the patient, so that the patient can be examined.
However, the above-mentioned techniques cannot simultaneously read and write a report, and thus there is a problem that the examination efficiency is low when the patient is examined.
Disclosure of Invention
In view of the above, it is necessary to provide a split-screen display method, an apparatus, a computer device, and a storage medium capable of improving detection efficiency.
A split-screen display method, the method comprising:
receiving configuration parameters transmitted by a main screen and acquiring attribute parameters; the attribute parameters comprise a main attribute parameter of the main screen and a secondary attribute parameter of at least one secondary screen;
converting the configuration parameters and the attribute parameters to obtain command parameters; the format of the command parameter is a parameter format which can be identified by a browser, and the command parameter comprises at least one of a full screen parameter, an auxiliary screen debugging port parameter, a cache path parameter and auxiliary screen position information;
acquiring a process under a browser path, transmitting the command parameters into the process under the browser path, and changing the setting information of the process to obtain a changed process;
and restarting the changed process, and opening the at least one auxiliary screen to realize split screen display.
In one embodiment, the method further comprises:
receiving a first operation instruction transmitted by the main screen, wherein the first operation instruction comprises an identifier of a target auxiliary screen;
and sending the first operation instruction to the target secondary screen through the browser so as to enable the target secondary screen to execute the first operation instruction.
In one embodiment, the method further comprises:
receiving a response message transmitted by the at least one auxiliary screen, wherein the response message is a message returned when the at least one auxiliary screen executes a second operation instruction; the second operation command is a command generated when an external operation is performed on the at least one sub-screen;
and sending the identification of the at least one auxiliary screen and the corresponding response message to the main screen through the browser.
In one embodiment, the method further comprises:
acquiring an IP address and a communication port number of a local host; the local host is a host where the main screen and the at least one auxiliary screen are located;
and establishing communication connection between the main screen and the at least one auxiliary screen through the IP address and the communication port number.
In one embodiment, after receiving the configuration parameters transmitted by the home screen and acquiring the attribute parameters, the method further includes:
carrying out format conversion processing on the configuration parameters to obtain a parameter object in a target format;
analyzing the configuration parameters to obtain the position information of the target auxiliary screen; the target sub-screen is a sub-screen of the at least one sub-screen;
and constructing a parameter model according to the parameter object in the target format, the position information of the target auxiliary screen and the attribute parameters.
In one embodiment, the converting the configuration parameter and the attribute parameter to obtain the command parameter includes:
and converting the parameter model to obtain command parameters.
In one embodiment, the default open mode of the at least one secondary screen is full screen.
A split screen display apparatus, the apparatus comprising:
the receiving module is used for receiving configuration parameters transmitted by a main screen and acquiring attribute parameters; the attribute parameters comprise a main attribute parameter of the main screen and a secondary attribute parameter of at least one secondary screen;
the conversion processing module is used for carrying out conversion processing on the configuration parameters and the attribute parameters to obtain command parameters; the format of the command parameter is a parameter format which can be identified by a browser, and the command parameter comprises at least one of a full screen parameter, an auxiliary screen debugging port parameter, a cache path parameter and auxiliary screen position information;
the changing module is used for acquiring a process under a browser path, transmitting the command parameters into the process under the browser path, and changing the setting information of the process to obtain a changed process;
and the starting module is used for restarting the changed process and opening the at least one auxiliary screen so as to realize split screen display.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving configuration parameters transmitted by a main screen and acquiring attribute parameters; the attribute parameters comprise a main attribute parameter of the main screen and a secondary attribute parameter of at least one secondary screen;
converting the configuration parameters and the attribute parameters to obtain command parameters; the format of the command parameter is a parameter format which can be identified by a browser, and the command parameter comprises at least one of a full screen parameter, an auxiliary screen debugging port parameter, a cache path parameter and auxiliary screen position information;
acquiring a process under a browser path, transmitting the command parameters into the process under the browser path, and changing the setting information of the process to obtain a changed process;
and restarting the changed process, and opening the at least one auxiliary screen to realize split screen display.
A readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
receiving configuration parameters transmitted by a main screen and acquiring attribute parameters; the attribute parameters comprise a main attribute parameter of the main screen and a secondary attribute parameter of at least one secondary screen;
converting the configuration parameters and the attribute parameters to obtain command parameters; the format of the command parameter is a parameter format which can be identified by a browser, and the command parameter comprises at least one of a full screen parameter, an auxiliary screen debugging port parameter, a cache path parameter and auxiliary screen position information;
acquiring a process under a browser path, transmitting the command parameters into the process under the browser path, and changing the setting information of the process to obtain a changed process;
and restarting the changed process, and opening the at least one auxiliary screen to realize split screen display.
According to the split-screen display method, the split-screen display device, the computer equipment and the storage medium, the configuration parameters transmitted by the main screen are received, the attribute parameters of the main screen and the auxiliary screen are obtained, the configuration parameters and the attribute parameters are converted to obtain the command parameters, the command parameters are transmitted to the process under the path of the browser, the setting information of the process is changed to obtain the changed process, the changed process is restarted, at least one auxiliary screen is opened, and split-screen display is achieved. In the method, because the split-screen display can be realized by utilizing the browser interaction, namely, the synchronous operation of reading the film and writing the report by the doctor and even other functions can be realized, when the doctor examines the patient, the report can be written while the film is read, so that the problem of time waste caused by the sequential operation of the film reading and the report writing is avoided, a part of time can be saved, and the examination efficiency is improved.
Drawings
FIG. 1 is a diagram illustrating an internal structure of a computer device according to an embodiment;
FIG. 2 is a flow chart illustrating a split-screen display method according to an embodiment;
FIG. 3 is a flowchart illustrating a split-screen display method according to another embodiment;
FIG. 4 is a flowchart illustrating a split-screen display method according to another embodiment;
FIG. 5 is a flowchart illustrating a split-screen display method according to another embodiment;
FIG. 6 is a flowchart illustrating a split-screen display method according to another embodiment;
fig. 7 is a block diagram of a split-screen display device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The split-screen display method provided by the embodiment of the application can be applied to computer equipment, the computer equipment can be a control terminal, such as a personal computer, a notebook computer, a desktop computer, an industrial computer and the like, and the internal structure diagram of the computer equipment can be as shown in fig. 1. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a split screen display method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The execution subject of the embodiments of the present application may be a split-screen display device or a computer device, and the following embodiments describe the computer device as the execution subject.
In one embodiment, a split screen display method is provided, and the embodiment relates to a specific process of changing a process under a browser path through configuration parameters and attribute parameters of a primary screen and a secondary screen so as to open at least one secondary screen through the changed process. As shown in fig. 2, the method comprises the following steps:
s202, receiving configuration parameters transmitted by a main screen and acquiring attribute parameters; the attribute parameters include a primary attribute parameter of the primary screen and a secondary attribute parameter of the at least one secondary screen.
It should be noted that, when the following embodiments are implemented, a component may be created, and the essence of the component may be implemented by a computer device, and communication is performed between the component and the main screen and the sub screen to implement split screen display of the main screen and the sub screen.
The main screen herein generally refers to a screen displaying functions related to a business system (or referred to as an information system), the general business system is displayed on only one screen, the business system herein refers to a system capable of providing online report writing functions, generally only 1, the sub-screens herein may have multiple functions, online film reading and other functions may be displayed on the sub-screens, and the main screen and the sub-screens herein generally refer to multiple screens connected through one host. The configuration parameters passed in by the primary screen may include some configuration parameters of the primary screen to the secondary screen, such as a parameter of whether the secondary screen is displayed full screen, a uniform resource locator of the secondary screen, a storage location of the secondary screen, debugging information of the secondary screen, location information of the secondary screen, and so on. The primary attribute parameters of the primary screen refer to resolution, window position, window background and/or color, number, identifier, and the like of the primary screen, each secondary screen may correspond to a set of secondary attribute parameters, and the secondary attribute parameters may be resolution, window position, window background and/or color, number, identifier, and the like of the secondary screen, although the primary attribute parameters and the secondary attribute parameters may also be other parameters, which is not specifically limited in this embodiment.
Specifically, the computer device may access the configuration parameters transmitted from the main Screen in a WCF (Windows communication development platform) form, then deserialize the transmitted configuration parameters into parameter objects through JSON, and read and obtain the main attribute parameters of the main Screen and the sub attribute parameters of at least one sub Screen through a system Screen function, an API function, and the like.
S204, converting the configuration parameters and the attribute parameters to obtain command parameters; the format of the command parameter is a parameter format recognizable by the browser, and the command parameter comprises at least one of a full screen parameter, an auxiliary screen debugging port parameter, a cache path parameter and auxiliary screen position information.
Most hospitals have systems for assisting doctors in reading films, writing reports and other functions, the systems can be opened on browsers, the browsers here are google browsers, WebKit browsers, Gecko browsers, Trident browsers and the like, and certainly can be other browsers. The conversion process here may include an initialization process, a format conversion process, a calculation process, and the like, each browser has a parameter format that can be recognized, and the parameter format that can be recognized by each browser can be used to facilitate the processing of the parameter, and here, the parameter may be generally converted into a format that can be recognized by google browser. When the configuration parameters and the attribute parameters are converted, the configuration parameters and the attribute parameters may be integrated and converted together, or the configuration parameters and the attribute parameters may be processed separately, which is not specifically limited in this embodiment.
In addition, the full-screen parameter in the command parameter refers to an opening mode of at least one sub-screen, namely whether the sub-screen displayed in a split-screen mode needs to be displayed in a full-screen mode or not, optionally, the default opening mode of at least one sub-screen is the full-screen mode, and if the sub-screen needs to be displayed in a non-full-screen mode, corresponding setting can be performed in the configuration parameter; the auxiliary screen debugging port parameter refers to some parameters of how to debug the auxiliary screen after the main screen is opened, generally, if the opening mode of the auxiliary screen is a full screen, the auxiliary screen needs to be debugged on the main screen during debugging, and if the opening mode of the auxiliary screen is a non-full screen, the auxiliary screen can be debugged on the main screen during debugging, and certainly, the auxiliary screen can be debugged directly; the cache path parameter here means that before split screen, the main screen can indicate which storage space on the disk is stored for the secondary screen; the position information of the sub-screen may be one sub-screen, or may be a plurality of sub-screens, and the position information of each sub-screen may be one or more coordinate values or the like.
Specifically, after obtaining the configuration parameters and the attribute parameters, the computer device may perform conversion processing on the configuration parameters and the attribute parameters, and convert the configuration parameters and the attribute parameters into command parameters/command lines that can be recognized by the browser, where the command parameters may include full screen parameters (Kiosk), a sub-screen debug Port (Remote-debug-Port), a cache path (User-Data-Dir), and sub-screen Position information (Window-Position).
S206, acquiring the process under the browser path, transmitting the command parameters into the process under the browser path, and changing the setting information of the process to obtain the changed process.
The setting information of the process may include information that the shell program executes UseShellExecute, information that the window CreateNoWindow is created immediately, and the like, and may also include other setting information, and the like.
Specifically, the computer device may perform traversal search under a hard disk of the host client, find a browser path, obtain a process under the browser path from a related file under the path, transmit the obtained command parameter or command line into the process through rules, and modify UseShellExecute information executed by a shell program in the starting process and create window CreateNoWindow information immediately, so as to obtain a modified process.
And S208, restarting the changed process, and opening at least one auxiliary screen to realize split screen display.
Specifically, the modified process includes information such as the position of the secondary screen and full-screen parameters, so that the computer device can restart the modified process, and open the specified secondary screen according to the requirement according to the information in the modified process, for example, the secondary screen can be normally opened, and other systems on the secondary screen can be shielded, thereby realizing full-screen display of the secondary screen. When the split-screen display is realized between the main screen and the auxiliary screen, a WebSocket full duplex communication mode can be adopted optionally.
In the split-screen display method, the configuration parameters transmitted by the main screen are received, the attribute parameters of the main screen and the auxiliary screen are acquired, the configuration parameters and the attribute parameters are converted to obtain command parameters, the command parameters are transmitted to the process under the path of the browser, the setting information of the process is changed to obtain the changed process, the changed process is restarted, at least one auxiliary screen is opened, and split-screen display is achieved. In the method, because the split-screen display can be realized by utilizing the browser interaction, namely, the synchronous operation of reading the film and writing the report by the doctor and even other functions can be realized, when the doctor examines the patient, the report can be written while the film is read, so that the problem of time waste caused by the sequential operation of the film reading and the report writing is avoided, a part of time can be saved, and the examination efficiency is improved.
In another embodiment, another split-screen display method is provided, and the embodiment relates to a specific process of how to realize communication between the main screen and the auxiliary screen. On the basis of the above embodiment, as shown in fig. 3, the communication process between the main screen and the sub-screen may include the following steps:
s302, receiving a first operation instruction transmitted by the main screen, wherein the first operation instruction comprises an identifier of a target auxiliary screen.
In this embodiment, before communication between the main screen and the sub-screen, a communication connection may be established between the main screen and the sub-screen, and optionally, the manner of establishing a communication connection between the main screen and the sub-screen may be referred to as the following steps a and B:
step A, obtaining an IP address and a communication port number of a local host; the local host is the host where the main screen and the at least one auxiliary screen are located.
And step B, establishing a communication connection between the main screen and at least one auxiliary screen through the IP address and the communication port number.
In steps a and B, the local host is generally 1 host, and can connect to multiple screens, the local host generally has one IP address, and can also configure a communication port number for the local host, the computer device or component can read the IP address and the port number from the host, then respectively log in the IP address and the port number on the primary screen and the secondary screen, and after the login authentication is successful, the primary screen and the secondary screen can communicate with each other through the computer device or component.
When the main screen and the sub-screen communicate, corresponding operations are generally executed according to the operation instructions to complete the communication, or the main screen and the sub-screen do not directly communicate according to the operation instructions; when communication is performed according to the operation instruction, an operation instruction may be input on the main screen, which is denoted as a first operation instruction, the first operation instruction may be an instruction obtained after a user performs an operation on the main screen, for example, the operation may be a voice operation, a click operation, a touch operation, and the like, the first operation instruction is used to indicate a target secondary screen of the main screen that needs to communicate, the first operation instruction may include an identifier of the target secondary screen that needs to communicate, a position of the target secondary screen, specific content of the operation, and the like, and may of course include other information, after a user performs an operation on the main screen, the main screen may obtain the operation instruction, and then the main screen may transmit the operation instruction to the computer device, and the computer device may obtain the first operation instruction.
S304, sending the first operation instruction to the target secondary screen through the browser, so that the target secondary screen executes the first operation instruction.
In this step, the primary and secondary screens may communicate through the Web browser on the primary and secondary screens when communicating, that is, the computer device may obtain the first operation instruction through the Web browser on the primary screen when obtaining the first operation instruction, and then the computer device may send the first operation instruction to the target secondary screen through the Web browser according to the identifier, the location information, and the like of the target secondary screen, and after receiving the first operation instruction, the target secondary screen may execute a corresponding operation according to the first operation instruction. For example, if an instruction to switch the examination slices is input on the main screen, the switching instruction may be transmitted to the computer device or component, and then sent by the component to the designated sub-screen, and the designated sub-screen may switch the current examination slice after receiving the switching instruction.
It should be noted that, in this embodiment, full duplex communication is performed between the main screen and the sub screen, and both of them are performed through browser, that is, bidirectional WebSocket full duplex communication is performed, and since the communication method completes communication between the main screen and the sub screen through communication between local webs, communication is not required through the internet, that is, only local communication is performed at the client, so that the communication method does not consume bandwidth, thereby reducing the problem of high latency in the communication process and realizing low latency in communication.
In the split-screen display method provided by this embodiment, a first operation instruction transmitted from the main screen is received, where the first operation instruction includes an identifier of the target secondary screen, and the first operation instruction is sent to the target secondary screen through the browser, so that the target secondary screen executes the first operation instruction. In this embodiment, because communication is not required through the internet, and only Web communication is performed locally at the client, the communication method does not consume bandwidth, so that the problem of high delay in the communication process can be reduced, low delay in communication is realized, and the communication requirements among multiple browsers, multiple processes and multiple screens are further realized.
In another embodiment, another split-screen display method is provided, and the embodiment relates to a specific process of how communication between the secondary screen and the primary screen is realized. On the basis of the above-described embodiment, as shown in fig. 4, the communication process between the sub screen and the main screen may include the steps of:
s402, receiving a response message transmitted by at least one auxiliary screen, wherein the response message is a message returned when the at least one auxiliary screen executes a second operation instruction; the second operation instruction is an instruction generated when an operation is externally performed on the at least one sub-screen.
S404, the identification of at least one auxiliary screen and the corresponding response message are sent to the main screen through the browser.
The second operation instruction may be an instruction generated when the user operates on the sub-screen, and if the user operates on multiple sub-screens, the generated instruction may be referred to as the second operation instruction, the operation performed by the user on the sub-screen may be realized by voice, clicking, touching, and the like, and the second operation instruction may indicate an operation that the user needs to perform, such as an image printing operation, an image slice searching operation, and the like.
Specifically, after receiving a second operation instruction of the user, the secondary screen may execute the second operation instruction, for example, print an image, and after the execution is completed, the secondary screen may obtain a response message when executing the second operation instruction, send the response message to the component, and send the response message to the main screen by the component, so that the main screen may receive a response of the secondary screen to execute the operation, and the response message may include an identifier of the secondary screen, an operation instruction executed by the secondary screen, execution information of the instruction, and the like, so that the main screen may know which secondary screen executes what operation instruction, a result of the execution instruction, and the like, which facilitates the main screen to debug and manage the secondary screen.
It should be noted that, in the present embodiment, full duplex communication is also performed between the sub-screen and the main screen, and both of them are performed through browser, that is, bidirectional WebSocket full duplex communication, as the communication method completes communication between the main and sub-screens through communication between local webs, and communication is not required through the internet, that is, only local communication is performed at the client, so that the communication method does not consume bandwidth, and thus the problem of high latency in the communication process can be reduced, and low latency in communication can be realized.
In the split-screen display method of the embodiment, the response message transmitted by the at least one secondary screen is received, and the identifier of the at least one secondary screen and the corresponding response message are transmitted to the main screen through the browser. In this embodiment, since the communication is performed locally at the client without the need of performing internet communication, the communication method does not consume bandwidth, so that the problem of high latency in the communication process can be reduced, the low latency in communication can be realized, and the fast communication between the sub-screen and the main screen can be realized.
In another embodiment, another split-screen display method is provided, and this embodiment relates to a specific process of processing the configuration parameters and the attribute parameters and building a parameter model after receiving the configuration parameters transmitted by the main screen and acquiring the attribute parameters. On the basis of the above embodiment, as shown in fig. 5, the method may further include the steps of:
and S502, carrying out format conversion processing on the configuration parameters to obtain a parameter object in a target format.
In this step, the target format refers to a format that can be recognized by the browsers of the main and sub screens, and may be, for example, a parameter format corresponding to the google browser. When the conversion processing is performed here, JSON reverse sequence processing may be used, and other conversion methods may be used. The parameter object refers to data obtained after the configuration parameter is converted.
S504, analyzing the configuration parameters to obtain the position information of the target auxiliary screen; the target sub-screen is a sub-screen of the at least one sub-screen.
The configuration parameters may include configuration parameters related to one target sub-screen, or configuration parameters related to multiple target sub-screens, and during parsing, only the position information of the target sub-screen in the configuration information may be parsed, or all information of the target sub-screen in the configuration information may be parsed, which is not limited in this embodiment.
S506, a parameter model is constructed according to the parameter object in the target format, the position information and the attribute parameters of the target auxiliary screen.
Specifically, after obtaining the position information of the target format parameter object and the target secondary screen, the computer device may combine the two parameters with the primary attribute parameter of the primary screen and the secondary attribute parameters corresponding to the secondary screens to construct a parameter model, which may approximate a data packet or the like that combines all information together. After the parametric model is constructed, optionally, the computer device may perform a conversion process on the parametric model to obtain the command parameter, where the conversion process may be the same as the conversion process in S204 described above.
According to the split-screen display method provided by the embodiment, the format conversion processing is performed on the configuration parameters to obtain the parameter object in the target format, the analysis processing is performed on the configuration parameters to obtain the position information of the target secondary screen, and the parameter model is constructed according to the parameter object in the target format, the position information of the target secondary screen and the attribute parameters. In this embodiment, the configuration parameters may be converted, and the parameter model may be constructed by using the converted configuration parameters and attribute parameters, so that subsequent data may be conveniently transferred.
In order to better explain the technical solution of the present application, a detailed process of the split-screen display is described below with a specific embodiment, as shown in fig. 6, the split-screen display process is as follows: the main screen MainScreen transmits parameters to a component Clientproxy, the component builds a Parameter Model, the Parameter Model comprises a conversion Parameter Convert Parameter and a calculation coordinate, etc., and the component converts the transmitted parameters into a Command Line Command Line, which comprises the following steps: full Screen parameter Kiosk, auxiliary Screen Debugging Port Remote-debug-Port, cache Path User-Data-Dir, auxiliary Screen Position information Window-Position, a component transmits a command line to a Process through arrows, the Process is a Process under a Google browser Path Chrome Path, a shell program in a starting Process is changed to execute UsSellExecute information and create Window CreateNoWindow information immediately, so as to open at least one auxiliary Screen, such as Screen1, Screen2, Screen3 and the like, and meanwhile, the auxiliary Screen, the component and the main Screen are communicated through WebSocket full duplex.
It should be understood that although the various steps in the flow charts of fig. 2-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 7, there is provided a split screen display apparatus, which may include: a receiving module 10, a conversion processing module 11, a changing module 12 and an opening module 13, wherein:
a receiving module 10, configured to receive configuration parameters transmitted by a main screen, and acquire attribute parameters; the attribute parameters comprise a main attribute parameter of the main screen and a secondary attribute parameter of at least one secondary screen;
a conversion processing module 11, configured to perform conversion processing on the configuration parameters and the attribute parameters to obtain command parameters; the format of the command parameter is a parameter format which can be identified by a browser, and the command parameter comprises at least one of a full screen parameter, an auxiliary screen debugging port parameter, a cache path parameter and auxiliary screen position information;
the changing module 12 is configured to acquire a process under a browser path, transmit the command parameter to the process under the browser path, and change setting information of the process to obtain a changed process;
and the starting module 13 is configured to restart the changed process, and open the at least one secondary screen to implement split-screen display.
For specific limitations of the split-screen display device, reference may be made to the above limitations of the split-screen display method, which are not described herein again.
In another embodiment, another split-screen display apparatus is provided, and on the basis of the above embodiment, the apparatus may further include: a first receiving module and a first sending module, wherein:
the first receiving module is used for receiving a first operating instruction transmitted by the main screen, and the first operating instruction comprises an identifier of a target auxiliary screen;
and the first sending module is used for sending the first operating instruction to the target secondary screen through the browser so as to enable the target secondary screen to execute the first operating instruction.
In another embodiment, another split-screen display apparatus is provided, and on the basis of the above embodiment, the apparatus may further include: a second receiving module and a second sending module, wherein:
the second receiving module is used for receiving a response message transmitted by the at least one auxiliary screen, wherein the response message is a message returned when the at least one auxiliary screen executes a second operation instruction; the second operation instruction is an instruction generated when an operation is performed on the at least one sub-screen from the outside;
and the second sending module is used for sending the identification of the at least one auxiliary screen and the corresponding response message to the main screen through the browser.
In another embodiment, another split-screen display apparatus is provided, and on the basis of the above embodiment, the apparatus may further include: an acquisition module and a connection module, wherein:
the acquisition module is used for acquiring the IP address and the communication port number of the local host; the local host is a host where the main screen and the at least one auxiliary screen are located;
a connection module for establishing a communication connection between the primary screen and the at least one secondary screen through the IP address and a communication port number.
In another embodiment, another split-screen display apparatus is provided, and after the receiving module 10 receives the configuration parameters transmitted by the main screen and acquires the attribute parameters, the apparatus may further include: conversion module, analysis module and construction module, wherein:
the conversion module is used for carrying out format conversion processing on the configuration parameters to obtain parameter objects in a target format;
the analysis module is used for analyzing the configuration parameters to obtain the position information of the target auxiliary screen; the target sub-screen is a sub-screen of the at least one sub-screen;
and the construction module is used for constructing a parameter model according to the parameter object in the target format, the position information of the target auxiliary screen and the attribute parameters.
Optionally, the conversion processing module 11 is further configured to perform conversion processing on the parameter model to obtain a command parameter.
In another embodiment, the default open mode of the at least one secondary screen is full screen.
For specific limitations of the split-screen display device, reference may be made to the above limitations of the split-screen display method, which are not described herein again.
The modules in the split-screen display device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving configuration parameters transmitted by a main screen and acquiring attribute parameters; the attribute parameters comprise a main attribute parameter of the main screen and a secondary attribute parameter of at least one secondary screen;
converting the configuration parameters and the attribute parameters to obtain command parameters; the format of the command parameter is a parameter format which can be identified by a browser, and the command parameter comprises at least one of a full screen parameter, an auxiliary screen debugging port parameter, a cache path parameter and auxiliary screen position information;
acquiring a process under a browser path, transmitting the command parameters into the process under the browser path, and changing the setting information of the process to obtain a changed process;
and restarting the changed process, and opening the at least one auxiliary screen to realize split screen display.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving a first operation instruction transmitted by the main screen, wherein the first operation instruction comprises an identifier of a target auxiliary screen;
and sending the first operation instruction to the target secondary screen through the browser so as to enable the target secondary screen to execute the first operation instruction.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving a response message transmitted by the at least one auxiliary screen, wherein the response message is a message returned when the at least one auxiliary screen executes a second operation instruction; the second operation instruction is an instruction generated when an operation is performed on the at least one sub-screen from the outside;
and sending the identification of the at least one auxiliary screen and the corresponding response message to the main screen through the browser.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring an IP address and a communication port number of a local host; the local host is a host where the main screen and the at least one auxiliary screen are located;
establishing a communication connection between the primary screen and the at least one secondary screen through the IP address and communication port number.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
carrying out format conversion processing on the configuration parameters to obtain a parameter object in a target format;
analyzing the configuration parameters to obtain the position information of the target auxiliary screen; the target sub-screen is a sub-screen of the at least one sub-screen;
and constructing a parameter model according to the parameter object in the target format, the position information of the target auxiliary screen and the attribute parameters.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and converting the parameter model to obtain command parameters.
In one embodiment, the default open mode of the at least one secondary screen is full screen.
In one embodiment, a readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, performs the steps of:
receiving configuration parameters transmitted by a main screen and acquiring attribute parameters; the attribute parameters comprise a main attribute parameter of the main screen and a secondary attribute parameter of at least one secondary screen;
converting the configuration parameters and the attribute parameters to obtain command parameters; the format of the command parameter is a parameter format which can be identified by a browser, and the command parameter comprises at least one of a full screen parameter, an auxiliary screen debugging port parameter, a cache path parameter and auxiliary screen position information;
acquiring a process under a browser path, transmitting the command parameters into the process under the browser path, and changing the setting information of the process to obtain a changed process;
and restarting the changed process, and opening the at least one auxiliary screen to realize split screen display.
In one embodiment, the computer program when executed by the processor further performs the steps of:
receiving a first operation instruction transmitted by the main screen, wherein the first operation instruction comprises an identifier of a target auxiliary screen;
and sending the first operation instruction to the target secondary screen through the browser so as to enable the target secondary screen to execute the first operation instruction.
In one embodiment, the computer program when executed by the processor further performs the steps of:
receiving a response message transmitted by the at least one auxiliary screen, wherein the response message is a message returned when the at least one auxiliary screen executes a second operation instruction; the second operation instruction is an instruction generated when an operation is performed on the at least one sub-screen from the outside;
and sending the identification of the at least one auxiliary screen and the corresponding response message to the main screen through the browser.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring an IP address and a communication port number of a local host; the local host is a host where the main screen and the at least one auxiliary screen are located;
establishing a communication connection between the primary screen and the at least one secondary screen through the IP address and communication port number.
In one embodiment, the computer program when executed by the processor further performs the steps of:
carrying out format conversion processing on the configuration parameters to obtain a parameter object in a target format;
analyzing the configuration parameters to obtain the position information of the target auxiliary screen; the target sub-screen is a sub-screen of the at least one sub-screen;
and constructing a parameter model according to the parameter object in the target format, the position information of the target auxiliary screen and the attribute parameters.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and converting the parameter model to obtain command parameters.
In one embodiment, the default open mode of the at least one secondary screen is full screen.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A split-screen display method, the method comprising:
receiving configuration parameters transmitted by a main screen and acquiring attribute parameters; the attribute parameters comprise a main attribute parameter of the main screen and a secondary attribute parameter of at least one secondary screen;
converting the configuration parameters and the attribute parameters to obtain command parameters; the format of the command parameter is a parameter format which can be identified by a browser, and the command parameter comprises at least one of a full screen parameter, an auxiliary screen debugging port parameter, a cache path parameter and auxiliary screen position information;
acquiring a process under a browser path, transmitting the command parameters into the process under the browser path, and changing the setting information of the process to obtain a changed process;
and restarting the changed process, and opening the at least one auxiliary screen to realize split screen display.
2. The method of claim 1, further comprising:
receiving a first operation instruction transmitted by the main screen, wherein the first operation instruction comprises an identifier of a target auxiliary screen;
and sending the first operation instruction to the target secondary screen through the browser so as to enable the target secondary screen to execute the first operation instruction.
3. The method of claim 2, further comprising:
receiving a response message transmitted by the at least one auxiliary screen, wherein the response message is a message returned when the at least one auxiliary screen executes a second operation instruction; the second operation instruction is an instruction generated when an operation is performed on the at least one sub-screen from the outside;
and sending the identification of the at least one auxiliary screen and the corresponding response message to the main screen through the browser.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
acquiring an IP address and a communication port number of a local host; the local host is a host where the main screen and the at least one auxiliary screen are located;
establishing a communication connection between the primary screen and the at least one secondary screen through the IP address and communication port number.
5. The method of claim 1, wherein after receiving the incoming configuration parameters for the home screen and obtaining the attribute parameters, the method further comprises:
carrying out format conversion processing on the configuration parameters to obtain a parameter object in a target format;
analyzing the configuration parameters to obtain the position information of the target auxiliary screen; the target sub-screen is a sub-screen of the at least one sub-screen;
and constructing a parameter model according to the parameter object in the target format, the position information of the target auxiliary screen and the attribute parameters.
6. The method according to claim 5, wherein said converting the configuration parameters and the attribute parameters to obtain command parameters comprises:
and converting the parameter model to obtain command parameters.
7. The method of claim 1, wherein the default open mode of the at least one secondary screen is full screen.
8. A split screen display apparatus, the apparatus comprising:
the receiving module is used for receiving configuration parameters transmitted by a main screen and acquiring attribute parameters; the attribute parameters comprise a main attribute parameter of the main screen and a secondary attribute parameter of at least one secondary screen;
the conversion processing module is used for carrying out conversion processing on the configuration parameters and the attribute parameters to obtain command parameters; the format of the command parameter is a parameter format which can be identified by a browser, and the command parameter comprises at least one of a full screen parameter, an auxiliary screen debugging port parameter, a cache path parameter and auxiliary screen position information;
the changing module is used for acquiring a process under a browser path, transmitting the command parameters into the process under the browser path, and changing the setting information of the process to obtain a changed process;
and the starting module is used for restarting the changed process and opening the at least one auxiliary screen so as to realize split screen display.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201910998738.4A 2019-10-21 2019-10-21 Split screen display method and device, computer equipment and storage medium Active CN110764727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910998738.4A CN110764727B (en) 2019-10-21 2019-10-21 Split screen display method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910998738.4A CN110764727B (en) 2019-10-21 2019-10-21 Split screen display method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110764727A true CN110764727A (en) 2020-02-07
CN110764727B CN110764727B (en) 2022-05-20

Family

ID=69332329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910998738.4A Active CN110764727B (en) 2019-10-21 2019-10-21 Split screen display method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110764727B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296809A (en) * 2021-12-24 2022-04-08 深圳航天科技创新研究院 Object model construction method based on operating system and system calling interface thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110154219A1 (en) * 2009-12-18 2011-06-23 Livelook, Inc. Co-browsing Systems and Methods
US8914813B1 (en) * 2010-04-09 2014-12-16 Google Inc. Interfaces to enable cross-browser extensions and applications thereof
CN105049483A (en) * 2015-06-03 2015-11-11 中国银行股份有限公司 Browser based data uploading method and device
US20170018258A1 (en) * 2014-08-15 2017-01-19 Wai Hong Yeung Double-face Double-screen Smart Mobile Terminal
CN108055366A (en) * 2017-11-30 2018-05-18 努比亚技术有限公司 Terminal call interface processing method, mobile terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110154219A1 (en) * 2009-12-18 2011-06-23 Livelook, Inc. Co-browsing Systems and Methods
US8914813B1 (en) * 2010-04-09 2014-12-16 Google Inc. Interfaces to enable cross-browser extensions and applications thereof
US20170018258A1 (en) * 2014-08-15 2017-01-19 Wai Hong Yeung Double-face Double-screen Smart Mobile Terminal
CN105049483A (en) * 2015-06-03 2015-11-11 中国银行股份有限公司 Browser based data uploading method and device
CN108055366A (en) * 2017-11-30 2018-05-18 努比亚技术有限公司 Terminal call interface processing method, mobile terminal and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DYLLOVE98: "B/S结构一机多屏实现", 《ITEYE技术论坛》 *
WEIXIN_33738578: "如何解决双显示器显示B/S架构软件的问题", 《CSDN》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296809A (en) * 2021-12-24 2022-04-08 深圳航天科技创新研究院 Object model construction method based on operating system and system calling interface thereof
CN114296809B (en) * 2021-12-24 2023-05-05 深圳航天科技创新研究院 Object model construction method based on operating system and system call interface thereof

Also Published As

Publication number Publication date
CN110764727B (en) 2022-05-20

Similar Documents

Publication Publication Date Title
US9021367B2 (en) Metadata capture for screen sharing
RU2754720C1 (en) Method and device for displaying interface
US20110287750A1 (en) Link server and program thereof, website browsing system, website browsing method, and website browsing program
CN109542366B (en) Printing method, device, equipment and storage medium based on browser
US10198593B2 (en) Information processing apparatus, information processing method and program
CN112925570A (en) Application operation method and device based on dual systems, electronic equipment and storage medium
CN110764727B (en) Split screen display method and device, computer equipment and storage medium
EP3605327B1 (en) Method and apparatus for capturing screenshots of guest operating system in computer device
CN109976683B (en) Data printing method, device, equipment and storage medium
CN110473621B (en) Diagnostic data display method, computer device, and storage medium
CN107295035B (en) Method and device for sharing content of mobile terminal
CN112306591B (en) Remote debugging method and device based on page
CN112732513A (en) Memory monitoring method and device, computer readable storage medium and computer equipment
CN113726536B (en) Data processing method and device and remote medical consultation system
CN116737016A (en) Control method and device for touch data scanning, computer equipment and storage medium
US10466954B2 (en) Display control method and display control device
US20050235049A1 (en) System and method for monitoring startup processes of remote computers by a local server
JP2008146584A (en) Application sharing screen controller, application sharing screen control program, and communication terminal device
CN114242255A (en) Medical data processing method and device, storage medium and electronic equipment
US20120054313A1 (en) Interpreting web application content
CN109902257B (en) Resource access method, device, computer equipment and storage medium
CN113742506A (en) Image display method and computer equipment
JP4374013B2 (en) Relay device and relay method
CN110808882B (en) Test system and method
CN116954809B (en) Remote control method, device and system based on android device and electronic device

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