CN115079885B - System control method and device for double window display, electronic equipment and storage medium - Google Patents

System control method and device for double window display, electronic equipment and storage medium Download PDF

Info

Publication number
CN115079885B
CN115079885B CN202210768804.0A CN202210768804A CN115079885B CN 115079885 B CN115079885 B CN 115079885B CN 202210768804 A CN202210768804 A CN 202210768804A CN 115079885 B CN115079885 B CN 115079885B
Authority
CN
China
Prior art keywords
operating system
interface
information source
window
input instruction
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.)
Active
Application number
CN202210768804.0A
Other languages
Chinese (zh)
Other versions
CN115079885A (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.)
Shenzhen KTC Commercial Technology Co Ltd
Original Assignee
Shenzhen KTC Commercial Technology 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 Shenzhen KTC Commercial Technology Co Ltd filed Critical Shenzhen KTC Commercial Technology Co Ltd
Priority to CN202210768804.0A priority Critical patent/CN115079885B/en
Publication of CN115079885A publication Critical patent/CN115079885A/en
Application granted granted Critical
Publication of CN115079885B publication Critical patent/CN115079885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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

Abstract

The application relates to a system control method, a device, electronic equipment and a storage medium for double window display, wherein the method comprises the steps that a first operating system responds to a double window instruction of a user to display a double window interface; the first operating system responds to the information source selection instruction, determines a target information source and gates the OTG interface as the target information source, wherein the target information source is loaded with a second operating system, and the second operating system is displayed on a second window interface; the first operating system acquires an input instruction of a user on the second window interface, and confirms external equipment selected by the user based on the input instruction; the first operating system sends data corresponding to the input instruction to the second operating system through the OTG interface, so that the second operating system is in communication connection with the external equipment. According to the method and the device, the situation that the first control system loses operation on the external equipment when the second operation system controls the external equipment is avoided, so that the system operability of double-window display is improved, and the user experience is improved.

Description

System control method and device for double window display, electronic equipment and storage medium
Technical Field
The present application relates to the field of dual systems, and in particular, to a system control method and apparatus for dual window display, an electronic device, and a storage medium.
Background
In interactive flat panel display products such as education integrated machines and conference integrated machines, an android system is usually provided with a plurality of input information sources (the information source equipment is usually a computer of a windows/IOS system and the like), the android system is used as a main control system, the system can be started up for use, and after other input information sources are connected with the information source equipment, one information source can be selected by an android operation interface to be used as a second system. The whole machine is arranged outside the main control board and is provided with a plurality of peripheral devices such as a camera, an array microphone, a touch frame and other USB devices or interfaces, and the peripheral devices can be used by an android system and other input information sources of the machine. Because of the versatility of the USB protocol, cameras, array microphones, touch boxes, etc. in machines typically use the USB protocol to implement control of instructions and transmission of data. Such display products, because two systems can be used simultaneously, require dual window display functions such as picture-in-picture, picture-outside-picture, split screen display, etc. for many scenarios at the user terminal. The double window display is that one window displays an android system, and the other window displays windows or ios system pictures of other input source devices. On the other hand, when the application software is run in both systems, the application software may need to use external devices such as cameras, array microphones, touch boxes of the machine.
In the existing system control method for double window display, because the external devices are all on one USB path, the user cannot freely select or select which system to use the peripheral according to the scene. For example, when conference software is opened in an android system displayed in a large window of a picture-in-picture, a microphone and a camera are called, and at this time, if the windows system in a small window is opened and a touch icon is clicked to control the windows system through touch, the conference software in the android system will lose the camera and the microphone, so that the operability of the system for displaying the double windows is poor. There is a need for a system that can improve the operability of a dual window display.
Disclosure of Invention
The embodiment of the application aims to provide a system control method, a device, electronic equipment and a storage medium for double-window display, so as to improve the system control performance of double-window display.
In order to solve the above technical problems, an embodiment of the present application provides a system control method for dual window display, which is applied to an electronic device, where the electronic device includes a system chip loaded with a first operating system, the system chip is connected with a plurality of external devices through a USB hub and is connected with a plurality of information sources through an OTG interface, and the method includes:
The method comprises the steps that a first operating system responds to a double-window instruction of a user and displays a double-window interface, wherein the double-window interface comprises a first window interface and a second window interface;
The first operating system responds to an information source selection instruction, determines an information source to be accessed as a target information source according to the information source selection instruction, and gates the OTG interface as the target information source, wherein the target information source is loaded with a second operating system, and the second operating system is displayed on the second window interface;
the first operating system acquires an input instruction of the user on the second window interface, and confirms external equipment selected by the user based on the input instruction;
and the first operating system sends the data corresponding to the input instruction to the second operating system through the OTG interface so that the second operating system is in communication connection with the external equipment.
In order to solve the above technical problem, an embodiment of the present application provides another system control method for dual window display, which is applied to an electronic device, where the electronic device includes a system chip loaded with a first operating system, the system chip is connected with a plurality of external devices through a USB hub and is connected with a plurality of information sources through an OTG interface, and the method includes:
when a first operating system opens a double-window interface, responds to an information source selection instruction, determines an information source to be accessed as a target information source according to the information source selection instruction, and gates an OTG interface as the target information source, a second operating system is displayed on a second window interface;
And after the first operating system confirms the external equipment selected by the user, the second operating system receives data corresponding to the input instruction through the OTG interface and is in communication connection with the external equipment through the data corresponding to the input instruction.
In order to solve the above technical problems, an embodiment of the present application provides a system control device for dual window display, which is applied to an electronic device, where the electronic device includes a system chip loaded with a first operating system, the system chip is connected with a plurality of external devices through a USB hub, and is connected with a plurality of information sources through an OTG interface, and the device includes:
The double window interface display module is used for responding to a double window instruction of a user and displaying a double window interface, wherein the double window interface comprises a first window interface and a second window interface;
The information source selection instruction response module is used for responding to an information source selection instruction, determining an information source to be accessed as a target information source according to the information source selection instruction, and gating the OTG interface as the target information source, wherein the target information source is loaded with a second operating system, and the second operating system is displayed on the second window interface;
The external equipment confirming module is used for acquiring an input instruction of the user on the second window interface and confirming the external equipment selected by the user based on the input instruction;
and the external equipment operation module is used for sending the data corresponding to the input instruction to the second operation system through the OTG interface so as to enable the second operation system to be in communication connection with the external equipment.
In order to solve the technical problems, the invention adopts a technical scheme that: an electronic device is provided that includes one or more processors; and the memory is used for storing one or more programs, so that the one or more processors can realize the system control method for the double window display.
In order to solve the technical problems, the invention adopts a technical scheme that: a computer readable storage medium having a computer program stored thereon, the computer program when executed by a processor implementing a system manipulation method for dual window display of any one of the above.
The embodiment of the invention provides a system control method and device for double window display, electronic equipment and a storage medium. The method comprises the following steps: the first operating system responds to a double-window instruction of a user and displays a double-window interface, wherein the double-window interface comprises a first window interface and a second window interface; the first operating system responds to the information source selection instruction, determines an information source to be accessed as a target information source according to the information source selection instruction, and gates the OTG interface as a target information source, wherein the target information source is loaded with a second operating system, and the second operating system is displayed on a second window interface; the first operating system acquires an input instruction of a user on the second window interface, and confirms external equipment selected by the user based on the input instruction; the first operating system sends data corresponding to the input instruction to the second operating system through the OTG interface, so that the second operating system is in communication connection with the external equipment. According to the embodiment of the invention, the double window interface is displayed through an operating system in response to the double window instruction of the user, so that the system of the second interface is controlled; then the first operating system responds to the information source selection instruction, determines the information source to be accessed as a target information source, and gates the OTG interface as the target information source, so that the second operating system is accessed to the information source, and the second operating system is conveniently connected with external equipment in a communication way; and then the first operating system confirms the external equipment selected by the user, and sends the data corresponding to the input instruction to the second operating system through the OTG interface, so that the second operating system is in communication connection with the external equipment, the first operating system is prevented from losing the operation on the external equipment when the second operating system operates the external equipment, the system operability of double-window display is improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the solution of the present application, a brief description will be given below of the drawings required for the description of the embodiments of the present application, it being apparent that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained from these drawings without the exercise of inventive effort for a person of ordinary skill in the art.
FIG. 1 is a flowchart of a system operation method for dual window display according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface of an electronic device according to an embodiment of the present application;
Fig. 3 is a schematic device connection diagram of an electronic device according to an embodiment of the present application;
FIG. 4 is a flowchart of a sub-process implementation of a system operation method for dual window display according to an embodiment of the present application;
FIG. 5 is a flowchart of another implementation of a sub-process of the system manipulation method for dual window display provided by the embodiment of the present application;
FIG. 6 is a flowchart of another implementation of a sub-process of the system manipulation method for dual window display provided by the embodiment of the present application;
FIG. 7 is a flowchart of another implementation of a sub-process of the system manipulation method for dual window display provided by an embodiment of the present application;
FIG. 8 is a flowchart of another implementation of a system manipulation method for dual window display according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a system control device for dual window display according to an embodiment of the present application;
Fig. 10 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description of the application and the claims and the description of the drawings above are intended to cover a non-exclusive inclusion. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In order to make the person skilled in the art better understand the solution of the present application, the technical solution of the embodiment of the present application will be clearly and completely described below with reference to the accompanying drawings.
The present invention will be described in detail with reference to the drawings and embodiments.
It should be noted that, the system control method for dual window display provided by the embodiment of the present application is generally executed by an electronic device.
The electronic equipment provided by the embodiment of the application comprises interactive flat panel display equipment such as an education integrated machine, a conference integrated machine and the like. The electronic equipment comprises two hardware systems: the system comprises an android development board and a target information source which is connected to the android development board and is used for carrying a Windows system (or an IOS system), wherein the target information source can be an open pluggable standard (OPS, open pluggable specification) microcomputer, and the OPS is a standardized digital signage interface standard commonly formulated by Intel and display manufacturers. The OPS is a mini personal computer with X86 architecture, which adopts Intel Rui processor and is equipped with memory, hard disk, various input/output interfaces and Windows operation interface. The electronic device can display the pictures of the two systems on the same screen under the support of the two hardware systems.
Referring to fig. 1 to 3, fig. 1 illustrates a specific implementation manner of a system operation method for dual window display, and fig. 2 is a schematic diagram of an electronic device interface according to an embodiment of the present application; fig. 3 is a schematic device connection diagram of an electronic device according to an embodiment of the present application.
It should be noted that, if there are substantially the same results, the method of the present invention is not limited to the flow sequence shown in fig. 1, and the method includes the following steps:
S11: the first operating system responds to a double-window instruction of a user and displays a double-window interface, wherein the double-window interface comprises a first window interface and a second window interface.
Specifically, when a system requiring double window display is controlled by a user, clicking split screen software of the electronic device to generate a double window instruction of the user, and controlling the device by the electronic device through a first operating system (android system) at this time, so that after the first operating system receives the double window instruction of the user, responding to the double window instruction of the user, and displaying a double window interface on a display interface of the electronic device, wherein the double window interface comprises a first window interface and a second window interface, and specifically, the double window interface can be realized in modes of picture-in-picture, picture-out-picture, split screen display and the like. Referring to fig. 2, a display interface of the electronic device is shown in fig. 2 by taking a picture-in-picture example, where the display interface includes two operating systems, a first operating system is an android system, and a second operating system is a Windows system or an iOS system. The display interface comprises a first window interface and a second window interface, which respectively display a first operating system and a second operating system. In this embodiment, the second window interface includes: source, touch, MIC, camera, device, etc.
S12: the first operating system responds to the information source selection instruction, determines an information source to be accessed as a target information source according to the information source selection instruction, and gates the OTG interface as a target information source, wherein the target information source is loaded with a second operating system, and the second operating system is displayed on a second window interface.
Specifically, the embodiment of the application is applied to electronic equipment, which comprises a system chip loaded with a first operating system, wherein the system chip is connected with a plurality of external equipment through a USB hub and is connected with a plurality of information sources through an OTG interface. Referring to fig. 2, the user clicks "Source" in fig. 2 to select an open pluggable specification OPS Source, thereby generating a Source selection instruction. The first operating system receives the information source selection instruction, responds to the information source selection instruction, determines an information source to be accessed as a target information source according to the information source selection instruction, and gates the OTG interface as the target information source. In this embodiment, the target source is an open pluggable standard OPS source, and the Host is selected as the open pluggable standard OPS source. Because the open pluggable standard OPS information source is transferred with the second operating system, the second system is accessed into the electronic equipment through the open pluggable standard OPS information source, the electronic equipment comprises the first operating system and the second operating system, the first operating system is displayed on the first window interface, and the second operating system is displayed on the second window interface.
S13: the first operating system acquires an input instruction of a user on the second window interface, and confirms the external device selected by the user based on the input instruction.
Specifically, when the user needs to control the external device, clicking Touch, MIC, camera, device any button on the display interface of the electronic device will generate an input instruction. The first operating system acquires an input instruction of a user on the second window interface and judges the external equipment pointed by the input instruction. The external devices Touch, MIC, camera, device respectively correspond to the touch frame, the microphone, the camera and the devices (such as a USB disk) connected with the USB interfaces of the touch frame, the microphone, the camera.
Referring to fig. 4, fig. 4 shows a specific implementation manner of step S13, and this embodiment includes:
s131: the first operating system acquires an input instruction of a user on the second window interface, and analyzes the input instruction to acquire identification information corresponding to the input instruction.
S132: if the identification information is the supplier ID and the product identification code PID, the first operating system judges whether the supplier ID and the product identification code PID are preset identifications, and if yes, the external equipment is confirmed based on the preset identifications.
S133: if the identification information is the port identification, the first operating system judges whether the port corresponding to the port identification exists or not, and if not, the first operating system waits for the external device to be inserted into the port so as to confirm the external device.
Specifically, the first operating system analyzes the input instruction, so as to obtain identification information corresponding to the input instruction, wherein the identification information comprises identification information including a provider ID, a product identification code PID and a port identification. If the identification information is a provider ID and a product identification code PID, the first operating system acquires a plurality of preset identifications from a local database, and respectively identifies the preset identifications with the provider ID and the product identification code PID, if the provider ID and the product identification code PID can be matched with one preset identification, the external equipment is confirmed based on the preset identifications, and if the provider ID and the product identification code PID cannot be matched with one preset identification, the first operating system outputs false alarm information. The preset identifier is a identifier corresponding to Touch, MIC, camera, device, and the corresponding identifier is a provider ID and a product identification code PID of the corresponding device. If the identification information is the port identification, the first operating system judges whether the port corresponding to the port identification exists or not, if the port does not exist, the port is not inserted into the corresponding external device, so that the first operating system waits for the external device to be inserted into the port to confirm the external device, and if the external device exists, the first operating system confirms the external device. The port identification is information such as node number of HUB (HUB) downstream port (computer port).
Referring to fig. 5, fig. 5 shows a specific implementation manner of step S132, and this embodiment includes:
S1321: if the identification information is the supplier ID and the product identification code PID, the first operating system acquires a plurality of preset identifications.
S1322: the first operating system obtains the character string corresponding to the identification information, namely the provider ID and the product identification code PID, as a target character string.
S1323: and the first operating system sequentially performs character string matching processing on the target character string and a plurality of preset identifiers, if the preset identifiers matched with the target character string exist, the first operating system judges that the preset identifiers exist on the provider ID and the product identification code PID, and takes the preset identifiers matched with the target character string as the target identifiers.
S1324: the first operating system takes the target identifier corresponding device as an external device.
Specifically, the provider ID and the product identification code PID corresponding to the external device are stored in advance, that is, a plurality of preset identifiers are stored in a local database. When the obtained identification information is the supplier ID and the product identification code PID, the first operating system obtains a plurality of preset identifications, and obtains the character strings corresponding to the identification information is the supplier ID and the product identification code PID as target character strings. And then carrying out character string matching processing on the target character string and a plurality of preset identifiers in sequence, if the preset identifiers matched with the target character string exist, judging that the preset identifiers exist in the provider ID and the product identification code PID, taking the preset identifiers matched with the target character string as target identifiers, and taking equipment corresponding to the target identifiers as external equipment. If the preset identifier matched with the target character string does not exist, judging that the preset identifier does not exist between the supplier ID and the product identification code PID, and outputting alarm information with errors.
Referring to fig. 6, fig. 6 shows a specific implementation of step S133, and this embodiment includes:
s1331: if the identification information is the port identification, the first operating system identifies the port identification to confirm the port corresponding to the port identification as the target port.
S1332: the first operating system identifies whether device information data exists for the target port.
S1333: if the device information data exist, the first operating system judges that the external device exists in the target port and confirms the external device.
S1334: if the device information data does not exist, the first operating system judges that the external device does not exist in the target port, and the first operating system waits for the external device to be inserted into the port so as to confirm the external device.
Specifically, if the identification information is a port identification, the first operating system needs to identify whether the port corresponding to the port identification has been inserted into the external device. The first operating system recognizes the port identification to confirm the port corresponding to the port identification as the target port, and then recognizes whether the target port is device information data, that is, whether the target port has data transmission. If the equipment information data exist, the first operating system judges that the external equipment exists in the target port and confirms the external equipment; if the device information data does not exist, the first operating system judges that the external device does not exist in the target port, and the first operating system waits for the external device to be inserted into the port so as to confirm the external device. Further, a waiting time may be set, and if the waiting time is exceeded, the external device is not plugged into the port, and alarm information is output.
S14: the first operating system sends data corresponding to the input instruction to the second operating system through the OTG interface, so that the second operating system is in communication connection with the external equipment.
Specifically, referring to fig. 3, fig. 3 is a schematic device connection diagram of an electronic device according to an embodiment of the present application. Because the external devices of the electronic device are all on the same USB path, the user cannot freely select or select which system to use the peripheral according to the scene, so that the system operability of the double-window display is lower, and the user experience is affected. In the embodiment of the application, the external equipment of the electronic equipment is hung on the downlink port of the USB HUB, the uplink port of the USB HUB is connected with the android system chip, wherein the connection of the touch1 is determined according to the number of USB interfaces of the android chip, if the system has a plurality of USB interfaces, the touch1 is arranged on the android system, if the system has no redundant USB interfaces, the external equipment is connected on the downlink of the USB HUB as shown by a broken line in fig. 3 (if the downlink interface of the USB HUB is insufficient, a plurality of USB HUBs can be cascaded), so that the touch1 is fixedly connected with the android system and data communication is realized, and the touch of control icons of the double window interfaces from the path is completed after the touch is performed under the android system. The USB OTG interface of the android system chip is connected with a USB Host, and the Host comprises android, windows and the like. Therefore, the first operating system sends the data corresponding to the input instruction to the second operating system through the OTG interface, so that the second operating system is in communication connection with the external equipment.
Referring to fig. 7, fig. 7 shows a specific implementation manner of step S14, and this embodiment includes:
S141: the first operating system converts data corresponding to the input instruction into transmission data.
S142: the first operating system transmits the transmission data to the second operating system through the OTG interface.
S143: when the transmission of the transmission data is completed, the first operating system enables the second operating system to be in communication connection with the external device.
Specifically, the first operating system converts data corresponding to the input instruction into transmission data, starts data transmission, transmits the transmission data to the second operating system through the OTG interface, and when the transmission of the transmission data is completed, the second operating system can be in communication connection with external equipment.
In this embodiment, a first operating system responds to a double window instruction of a user, and displays a double window interface, where the double window interface includes a first window interface and a second window interface; the first operating system responds to the information source selection instruction, determines an information source to be accessed as a target information source according to the information source selection instruction, and gates the OTG interface as a target information source, wherein the target information source is loaded with a second operating system, and the second operating system is displayed on a second window interface; the first operating system acquires an input instruction of a user on the second window interface, and confirms external equipment selected by the user based on the input instruction; the first operating system sends data corresponding to the input instruction to the second operating system through the OTG interface, so that the second operating system is in communication connection with the external equipment. According to the embodiment of the invention, the double window interface is displayed through an operating system in response to the double window instruction of the user, so that the system of the second interface is controlled; then the first operating system responds to the information source selection instruction, determines the information source to be accessed as a target information source, and gates the OTG interface as the target information source, so that the second operating system is accessed to the information source, and the second operating system is convenient to be in communication connection with external equipment; and then the first operating system confirms the external equipment selected by the user, and sends the data corresponding to the input instruction to the second operating system through the OTG interface, so that the second operating system is in communication connection with the external equipment, the first operating system is prevented from losing the operation on the external equipment when the second operating system operates the external equipment, the system operability of double-window display is improved, and the user experience is improved.
Referring to fig. 8, fig. 8 illustrates an embodiment of a system manipulation method for dual window display:
s21: when the first operating system opens the double-window interface, responds to the information source selection instruction, determines an information source to be accessed as a target information source according to the information source selection instruction, and gates the OTG interface as the target information source, the second operating system is displayed on the second window interface.
S22: when the first operating system confirms the external equipment selected by the user, the second operating system receives the data corresponding to the input instruction through the OTG interface and is in communication connection with the external equipment through the data corresponding to the input instruction.
Specifically, after a first operating system opens a double window interface of the electronic device through a double window instruction, responds to an information source selection instruction, determines an information source to be accessed as a target information source according to the information source selection instruction, gates an OTG interface as the target information source, and a second operating system accesses the target information source through the OTG interface and displays the target information source on the second window interface. In this embodiment, the first operating system is accessed through the open pluggable standard OPS source, and the open pluggable standard OPS source is used as the access source, so as to implement the access of the second operating system to the electronic device. And then receiving the data transmitted by the first operating system through the OTG interface, and carrying out communication connection with external equipment by the second operating system according to the data.
Further, step S22 includes:
When the first operating system confirms the external equipment selected by the user and completes the transmission of the data corresponding to the input instruction through the OTG interface, the second operating system receives the data corresponding to the input instruction through the OTG interface;
And the second operating system analyzes the data corresponding to the input instruction so as to enable the second operating system to be in communication connection with the external equipment.
Specifically, when the first operating system confirms the external device selected by the user and transmits the data corresponding to the input instruction through the OTG interface, the second operating system also receives the data corresponding to the input instruction through the OTG interface, after the data transmission is completed, the second operating system receives the data corresponding to the complete input instruction, and then the second operating system analyzes the data corresponding to the input instruction, so that the second operating system is in communication connection with the external device.
Referring to fig. 9, as an implementation of the method shown in fig. 1, the present application provides an embodiment of a system control device for dual window display, where the embodiment of the device corresponds to the embodiment of the method shown in fig. 1, and the device may be specifically configured in various electronic devices.
As shown in fig. 9, the system control device for dual window display of the present embodiment is applied to an electronic device, where the electronic device includes a system chip loaded with a first operating system, the system chip is connected to a plurality of external devices through a USB hub, and is connected to a plurality of information sources through an OTG interface, and the device includes: the system comprises a double window interface display module 31, a source selection instruction response module 32, an external device confirmation module 33 and an external device operation module 34, wherein:
The dual window interface display module 31 is configured to respond to a dual window instruction of a user, and display a dual window interface, where the dual window interface includes a first window interface and a second window interface;
The source selection instruction response module 32 is configured to respond to the source selection instruction, determine, according to the source selection instruction, a source to be accessed as a target source, and gate the OTG interface as the target source, where the target source is loaded with a second operating system, and the second operating system is displayed on the second window interface;
the external device confirmation module 33 is configured to obtain an input instruction of the user on the second window interface, and confirm the external device selected by the user based on the input instruction;
the external device operation module 34 is configured to send data corresponding to the input instruction to the second operating system through the OTG interface, so that the second operating system is in communication connection with the external device.
Further, the external device confirmation module 33 includes:
The identification information unit is used for acquiring an input instruction of a user on the second window interface and analyzing the input instruction to acquire identification information corresponding to the input instruction;
The first identification unit is used for judging whether the supplier ID and the product identification code PID are preset identifications or not by the first operating system if the identification information is the supplier ID and the product identification code PID, and if so, confirming the external equipment based on the preset identifications;
The second identification unit is used for judging whether the external equipment exists in the port corresponding to the port identification by the first operating system if the identification information is the port identification, and if not, the first operating system waits for the external equipment to be inserted into the port so as to confirm the external equipment.
Further, the first identification unit includes:
a preset identifier obtaining subunit, configured to obtain, if the identifier information is a vendor ID and a product identifier PID, a plurality of preset identifiers by using the first operating system;
a target character string generation subunit, configured to obtain, as a target character string, a character string corresponding to the identification information as the provider ID and the product identification code PID;
the target identifier generating subunit is used for carrying out character string matching processing on the target character string and a plurality of preset identifiers in sequence, judging that the preset identifiers exist between the provider ID and the product identification code PID if the preset identifiers matched with the target character string exist, and taking the preset identifiers matched with the target character string as target identifiers;
And the external device identification subunit is used for taking the device corresponding to the target identifier as the external device.
Further, the second identification unit includes:
The target port identification subunit is configured to identify, if the identification information is a port identification, the port identification by the first operating system, so as to confirm a port corresponding to the port identification as a target port;
a device information data identification subunit, configured to identify whether the device information data exists in the target port;
The first judging subunit is used for judging that the external equipment exists in the target port if the equipment information data exists, and confirming the external equipment;
And the second judging subunit is used for judging that the external device does not exist in the target port by the first operating system if the device information data does not exist, and the first operating system waits for the external device to be inserted into the port so as to confirm the external device.
Further, the external device operation module 34 includes:
The transmission data conversion unit is used for converting the data corresponding to the input instruction into transmission data;
The data transmission unit is used for transmitting the transmission data to the second operating system through the OTG interface;
and the data transmission completion unit is used for enabling the second operating system to be in communication connection with the external equipment by the first operating system when the transmission of the transmission data is completed.
Further, the system control device for dual window display further includes:
The source access module 41 is configured to, when the first operating system opens the dual-window interface and responds to a source selection instruction, determine a source to be accessed as a target source according to the source selection instruction, and gate the OTG interface as the target source, display a second operating system on the second window interface;
The instruction response module 42 is configured to, after the first operating system confirms the external device selected by the user, receive data corresponding to the input instruction through the OTG interface, and perform communication connection with the external device through the data corresponding to the input instruction.
Further, the instruction response module includes:
the data receiving unit is used for receiving data corresponding to the input instruction through the OTG interface when the first operating system confirms the external equipment selected by the user and completes the transmission of the data corresponding to the input instruction through the OTG interface;
and the data analysis unit is used for analyzing the data corresponding to the input instruction so as to enable the second operating system to be in communication connection with the external equipment.
In order to solve the technical problems, the embodiment of the application also provides electronic equipment. Referring specifically to fig. 10, fig. 10 is a basic structural block diagram of an electronic device according to the present embodiment.
In this embodiment, the electronic device 5 is an integrated machine, and the integrated machine includes a motherboard configured with an android system and an OPS computer configured with a Windows system, that is, the electronic device includes two sets of memories and a processor, the memories and the processor are connected in a communication manner through a system bus, a computer program is stored in the memories, and the processor implements the system control method of dual window display when executing the computer program.
It is noted that the figure only shows an electronic device 5 with three components, including a memory 51, a processor 52, a network interface 53, but it should be understood that not all shown components are required to be implemented, and that more or fewer components may be implemented instead. It will be understood by those skilled in the art that the electronic device herein is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and its hardware includes, but is not limited to, a microprocessor, an Application SPECIFIC INTEGRATED Circuit (ASIC), a Programmable gate array (Field-Programmable GATE ARRAY, FPGA), a Digital processor (Digital SignalProcessor, DSP), an embedded device, and the like.
The memory 51 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 51 may be an internal storage unit of the electronic device 5, such as a hard disk or a memory of the electronic device 5. In other embodiments, the memory 51 may also be an external storage device of the electronic device 5, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the electronic device 5. Of course, the memory 51 may also include both the internal memory unit of the electronic device 5 and its external memory device. In this embodiment, the memory 51 is generally used to store an operating system installed in the electronic device 5 and various application software, such as program codes of a system control method for dual window display. Further, the memory 51 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 52 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 52 is typically used to control the overall operation of the electronic device 5. In this embodiment, the processor 52 is configured to execute the program code stored in the memory 51 or process data, for example, execute the program code of the system manipulation method for dual window display described above, so as to implement various embodiments of the system manipulation method for dual window display.
The network interface 53 may comprise a wireless network interface or a wired network interface, which network interface 53 is typically used to establish a communication connection between the electronic device 5 and other electronic devices.
The present application also provides another embodiment, namely, a computer readable storage medium, where a computer program is stored, where the computer program is executable by at least one processor, so that the at least one processor performs the steps of a system manipulation method for dual window display as described above.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment.
It is apparent that the above-described embodiments are only some embodiments of the present application, but not all embodiments, and the preferred embodiments of the present application are shown in the drawings, which do not limit the scope of the patent claims. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a thorough and complete understanding of the present disclosure. Although the application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing description, or equivalents may be substituted for elements thereof. All equivalent structures made by the content of the specification and the drawings of the application are directly or indirectly applied to other related technical fields, and are also within the scope of the application.

Claims (8)

1. The system control method for double window display is applied to electronic equipment, and is characterized in that the electronic equipment comprises a system chip loaded with a first operating system, the system chip is connected with a plurality of external equipment through a USB hub and is connected with a plurality of information sources through an OTG interface, and the method comprises the following steps:
The method comprises the steps that a first operating system responds to a double-window instruction of a user and displays a double-window interface, wherein the double-window interface comprises a first window interface and a second window interface;
The first operating system responds to an information source selection instruction, determines an information source to be accessed as a target information source according to the information source selection instruction, and gates the OTG interface as the target information source, wherein the target information source is loaded with a second operating system, and the second operating system is displayed on the second window interface;
the first operating system acquires an input instruction of the user on the second window interface, and confirms external equipment selected by the user based on the input instruction;
the first operating system sends data corresponding to the input instruction to the second operating system through the OTG interface so that the second operating system is in communication connection with the external equipment;
The first operating system sends data corresponding to the input instruction to the second operating system through the OTG interface, so that the second operating system is in communication connection with the external device, and the method includes:
the first operating system converts data corresponding to the input instruction into transmission data;
The first operating system transmits the transmission data to the second operating system through the OTG interface;
and when the transmission of the transmission data is completed, the first operating system enables the second operating system to be in communication connection with the external equipment.
2. The system manipulation method for dual window display according to claim 1, wherein the first operating system obtains an input instruction of the user at the second window interface, and confirms the external device selected by the user based on the input instruction, comprising:
The first operating system acquires an input instruction of the user on the second window interface, and analyzes the input instruction to acquire identification information corresponding to the input instruction;
if the identification information is a provider ID and a product identification code PID, the first operating system judges whether the provider ID and the product identification code PID are preset identifications, and if so, the first operating system confirms the external equipment based on the preset identifications;
if the identification information is a port identification, the first operating system judges whether the port corresponding to the port identification exists or not, and if not, the first operating system waits for the external device to be inserted into the port so as to confirm the external device.
3. The system operation method according to claim 2, wherein if the identification information is a vendor ID and a product identification code PID, the first operating system determines whether the vendor ID and the product identification code PID are preset identifications, and if yes, confirms the external device based on the preset identifications, including:
if the identification information is a provider ID and a product identification code PID, the first operating system acquires a plurality of preset identifications;
The first operating system obtains the identification information as a character string corresponding to the provider ID and the product identification code PID, and takes the character string as a target character string;
The first operating system carries out character string matching processing on the target character string and a plurality of preset identifiers in sequence, if the preset identifiers matched with the target character string exist, the first operating system judges that the preset identifiers exist in the provider ID and the product identification code PID, and takes the preset identifiers matched with the target character string as target identifiers;
and the first operating system takes the target identification corresponding device as the external device.
4. The system manipulation method for dual window display according to claim 2, wherein if the identification information is a port identification, the first operating system determines whether the external device exists in a port corresponding to the port identification, and if not, the first operating system waits for the external device to be inserted into the port to confirm the external device, including:
If the identification information is a port identification, the first operating system identifies the port identification to confirm a port corresponding to the port identification as a target port; the first operating system identifies whether equipment information data exists in a target port;
If the device information data exist, the first operating system judges that the external device exists in the target port and confirms the external device;
If the device information data does not exist, the first operating system judges that the external device does not exist in the target port, and the first operating system waits for the external device to be inserted into the port so as to confirm the external device.
5. The system control method for double window display is applied to electronic equipment, and is characterized in that the electronic equipment comprises a system chip loaded with a first operating system, the system chip is connected with a plurality of external equipment through a USB hub and is connected with a plurality of information sources through an OTG interface, and the method comprises the following steps:
When the first operating system opens a double-window interface, responds to an information source selection instruction, determines an information source to be accessed as a target information source according to the information source selection instruction, and gates an OTG interface as the target information source, a second operating system is displayed on a second window interface;
When the first operating system confirms the external equipment selected by the user, the second operating system receives data corresponding to an input instruction through the OTG interface and is in communication connection with the external equipment through the data corresponding to the input instruction;
After the first operating system confirms the external device selected by the user, the second operating system receives data corresponding to an input instruction through the OTG interface, and performs communication connection with the external device through the data corresponding to the input instruction, including:
When the first operating system confirms that the external equipment selected by the user is finished and the data corresponding to the input instruction is transmitted through the OTG interface, the second operating system receives the data corresponding to the input instruction through the OTG interface;
and the second operating system analyzes the data corresponding to the input instruction so as to enable the second operating system to be in communication connection with the external equipment.
6. The utility model provides a system control device of double window display, is applied to electronic equipment, its characterized in that, electronic equipment includes the system chip that loads first operating system, the system chip is connected with a plurality of external equipment through the USB concentrator, and is connected with a plurality of sources through OTG interface connection, the device includes:
The double window interface display module is used for responding to a double window instruction of a user and displaying a double window interface, wherein the double window interface comprises a first window interface and a second window interface;
The information source selection instruction response module is used for responding to an information source selection instruction, determining an information source to be accessed as a target information source according to the information source selection instruction, and gating the OTG interface as the target information source, wherein the target information source is loaded with a second operating system, and the second operating system is displayed on the second window interface;
The external equipment confirming module is used for acquiring an input instruction of the user on the second window interface and confirming the external equipment selected by the user based on the input instruction;
The external equipment operation module is used for sending data corresponding to the input instruction to the second operation system through the OTG interface so that the second operation system is in communication connection with the external equipment;
wherein the external device operation module includes:
The transmission data conversion unit is used for converting the data corresponding to the input instruction into transmission data;
The data transmission unit is used for transmitting the transmission data to the second operating system through the OTG interface;
And the data transmission completion unit is used for enabling the second operating system to be in communication connection with the external equipment by the first operating system when the transmission of the transmission data is completed.
7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the system manipulation method for dual window display according to any one of claims 1 to 4 or 5 when the computer program is executed.
8. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, which when executed by a processor, implements the system manipulation method for dual window display according to any one of claims 1 to 4 or 5.
CN202210768804.0A 2022-06-30 2022-06-30 System control method and device for double window display, electronic equipment and storage medium Active CN115079885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210768804.0A CN115079885B (en) 2022-06-30 2022-06-30 System control method and device for double window display, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210768804.0A CN115079885B (en) 2022-06-30 2022-06-30 System control method and device for double window display, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115079885A CN115079885A (en) 2022-09-20
CN115079885B true CN115079885B (en) 2024-05-03

Family

ID=83258277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210768804.0A Active CN115079885B (en) 2022-06-30 2022-06-30 System control method and device for double window display, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115079885B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819500A (en) * 2012-07-20 2012-12-12 腾讯科技(深圳)有限公司 Method and device for creating control interface of external equipment
CN110134321A (en) * 2013-10-23 2019-08-16 三星电子株式会社 Method and apparatus for sending data, and the method and apparatus for receiving data
WO2020238425A1 (en) * 2019-05-30 2020-12-03 杭州海康威视数字技术股份有限公司 Application starting method and apparatus
CN112925570A (en) * 2021-02-24 2021-06-08 深圳市皓丽智能科技有限公司 Application operation method and device based on dual systems, electronic equipment and storage medium
CN113590072A (en) * 2021-08-11 2021-11-02 深圳市皓丽智能科技有限公司 Split screen display method and device
CN114281439A (en) * 2020-09-18 2022-04-05 华为技术有限公司 Screen splitting method and device and electronic equipment
WO2022109837A1 (en) * 2020-11-25 2022-06-02 华为技术有限公司 Electronic device, charging base and charging method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012068551A1 (en) * 2010-11-18 2012-05-24 Google Inc. Surfacing off-screen visible objects
US10839309B2 (en) * 2015-06-04 2020-11-17 Accusonus, Inc. Data training in multi-sensor setups

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819500A (en) * 2012-07-20 2012-12-12 腾讯科技(深圳)有限公司 Method and device for creating control interface of external equipment
CN110134321A (en) * 2013-10-23 2019-08-16 三星电子株式会社 Method and apparatus for sending data, and the method and apparatus for receiving data
WO2020238425A1 (en) * 2019-05-30 2020-12-03 杭州海康威视数字技术股份有限公司 Application starting method and apparatus
CN114281439A (en) * 2020-09-18 2022-04-05 华为技术有限公司 Screen splitting method and device and electronic equipment
WO2022109837A1 (en) * 2020-11-25 2022-06-02 华为技术有限公司 Electronic device, charging base and charging method
CN112925570A (en) * 2021-02-24 2021-06-08 深圳市皓丽智能科技有限公司 Application operation method and device based on dual systems, electronic equipment and storage medium
CN113590072A (en) * 2021-08-11 2021-11-02 深圳市皓丽智能科技有限公司 Split screen display method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种基于指纹识别的Windows系统登录方法设计与实现;林晓锋;房牧;李强;马存庆;;信息网络安全(第09期);138-141 *
基于USB Type-C的液晶显示系统研发;吴建钟;;福建电脑(第09期);140-141 *

Also Published As

Publication number Publication date
CN115079885A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
EP2975870B1 (en) Loading sim profile
EP3011442B1 (en) Method and apparatus for customized software development kit (sdk) generation
US8171406B1 (en) Automating user interface navigation
EP3575975B1 (en) Method and apparatus for operating smart network interface card
US11792865B2 (en) Device binding method and apparatus, and electronic device
CN112925570A (en) Application operation method and device based on dual systems, electronic equipment and storage medium
WO2019196449A1 (en) Indoor unit and wire controller pairing method apparatus and system
CN105809163A (en) Method and device for connecting to WIFI
CN112015654A (en) Method and apparatus for testing
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN106952426B (en) Data processing method and device
CN110968367A (en) E-commerce commodity field configuration method, device, server and storage medium
CN107894935A (en) OPS computer module detection process method, apparatus and electronic equipment
CN108874697A (en) The processing method and its system of USB device
CN115079885B (en) System control method and device for double window display, electronic equipment and storage medium
CN112910741A (en) Interface testing method and device, computer equipment and storage medium
CN105471998A (en) Method and device for synchronizing application data in multiple terminals
CN110442806B (en) Method and apparatus for recognizing image
US10095209B2 (en) Programming system for device control
CN116661936A (en) Page data processing method and device, computer equipment and storage medium
CN115237481A (en) Method, device and equipment for driving external equipment and storage medium
US11792269B2 (en) Method for generating application for controlling external electronic device and electronic apparatus for supporting the same
CN115174526A (en) Network adaptation method and device between devices, storage medium and electronic device
CN110825370A (en) Mobile terminal application development method, device and system
CN111708568B (en) Modularized development decoupling method and terminal

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