CN114968057A - Dual-information-source system switching method, method and device for creating information source interface, all-in-one machine and computer storage medium - Google Patents
Dual-information-source system switching method, method and device for creating information source interface, all-in-one machine and computer storage medium Download PDFInfo
- Publication number
- CN114968057A CN114968057A CN202210730419.7A CN202210730419A CN114968057A CN 114968057 A CN114968057 A CN 114968057A CN 202210730419 A CN202210730419 A CN 202210730419A CN 114968057 A CN114968057 A CN 114968057A
- Authority
- CN
- China
- Prior art keywords
- interface
- information source
- switching
- source system
- machine
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000009471 action Effects 0.000 claims abstract description 59
- 238000004590 computer program Methods 0.000 claims description 18
- 238000009877 rendering Methods 0.000 claims description 15
- 230000004044 response Effects 0.000 claims description 8
- 230000009977 dual effect Effects 0.000 claims description 7
- 238000012790 confirmation Methods 0.000 claims description 5
- 238000012163 sequencing technique Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 8
- 230000002452 interceptive effect Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a dual-source system switching method, a device, an all-in-one machine and a computer storage medium for creating an information source interface, wherein the dual-source system switching method comprises the following steps: responding to a first instruction for switching the display interface, taking a touch action captured on a main interface displayed on a display window of the all-in-one machine as a switching action, and confirming a first switching direction according to the switching action; moving the main interface along a first switching direction to move the information source interface positioned in the direction opposite to the first switching direction to the display window; responding to a return instruction returned to the main interface, taking the touch action captured on the information source interface as a switching action, and confirming a second switching direction according to the switching action; and moving the source interface along the second switching direction to move the main interface located in the direction opposite to the second switching direction to the display window. The invention can rapidly switch between two information source systems.
Description
Technical Field
The invention relates to the technical field of all-in-one machines, in particular to a method for switching a dual-source system, a method for creating a source interface, a device, an all-in-one machine and a computer storage medium.
Background
The interactive all-in-one machine is a novel multimedia interactive terminal, generally takes a high-definition liquid crystal screen as a display and operation platform, integrates a plurality of technologies such as high-definition display, man-machine interaction, multimedia information processing, network transmission and the like, and is an optimal solution for office work, teaching and image-text interactive demonstration in the information era. One of the important functions of the interactive all-in-one machine is to access various information source systems, such as HDMI, VGA, TYPEC, DP, OPS, and the like, so as to facilitate displaying and operating an operating system corresponding to the accessed information source system through the interactive all-in-one machine. When a user uses the interactive all-in-one machine for office demonstration and teaching, the user can access a plurality of information source systems simultaneously, when the user needs to switch the information source systems, the user generally needs to switch through a switching button arranged in an operation system, and under most conditions, the user often only needs to switch between two different information source systems, but still needs to switch through the switching button, so that the whole demonstration and teaching process is not smooth, and the use experience of the user is reduced.
Disclosure of Invention
The embodiment of the invention provides a double-source system switching method, a method and a device for creating a source interface, an all-in-one machine and a computer storage medium, which can enable a user to quickly switch between two source systems and improve the use experience of the user.
In a first aspect, an embodiment of the present invention provides a method for switching a dual-source system, where the method includes:
responding to a first instruction for switching a display interface, taking a touch action captured on a main interface displayed on a display window of the all-in-one machine as a switching action, and confirming a first switching direction according to the switching action, wherein the main interface is a first information source system;
moving the main interface along the first switching direction to move the information source interface in the direction opposite to the first switching direction to the display window, wherein the interface displayed by the display screen of the all-in-one machine is the interface in the display window, and the information source interface is a second information source system;
responding to a return instruction for returning to the main interface, taking the captured touch control action on the information source interface as a switching action, and confirming a second switching direction according to the switching action;
and moving the source interface along the second switching direction to move the main interface located in the direction opposite to the second switching direction to the display window.
In a second aspect, an embodiment of the present invention provides a method for creating a source interface, where the method includes:
responding to a fourth instruction for creating an interface, and newly creating a display interface on one side of the main interface of the all-in-one machine;
adding a preset control to the display interface, and taking the selected information source system in the plurality of information source systems as a target information source system according to the fourth instruction;
and connecting the channel corresponding to the target information source system with the preset control, and rendering the display interface through the preset control so as to render the display interface into the information source interface.
In a third aspect, an embodiment of the present invention further provides a device for switching a dual-source system, where the device includes:
the first switching direction confirming unit is used for responding to a second instruction for switching a display interface, taking a touch action captured on a main interface displayed on a display window of the all-in-one machine as a switching action, and confirming a first switching direction according to the switching action, wherein the main interface is a first information source system;
the information source interface moving unit is used for moving the main interface along the first switching direction so as to move an information source interface located in the direction opposite to the first switching direction to the display window, wherein the interface displayed by the display screen of the all-in-one machine is an interface located in the display window, and the information source interface is a second information source system;
a second switching direction confirmation unit, configured to, in response to a return instruction to return to the main interface, take the captured touch action on the information source interface as a switching action, and confirm a second switching direction according to the switching action;
and the main interface moving unit is used for moving the source interface along the second switching direction so as to move the main interface positioned in the direction opposite to the second switching direction to the display window.
In a fourth aspect, an embodiment of the present invention further provides an apparatus for creating a source interface, where the apparatus includes:
the display interface creating unit is used for responding to a first instruction for creating an interface and newly creating a display interface on one side of a main interface of the all-in-one machine;
the target information source system confirming unit is used for adding a preset control to the display interface and taking the selected information source system in the plurality of information source systems as a target information source system according to the first instruction;
and the information source interface rendering unit is used for connecting the channel corresponding to the target information source system with the preset control and rendering the display interface through the preset control so as to render the display interface into the information source interface.
In a fifth aspect, an embodiment of the present invention further provides an all-in-one machine, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the method when executing the computer program.
In a sixth aspect, the present invention further provides a computer-readable storage medium, where the storage medium stores a computer program, and the computer program, when executed by a processor, can implement the above method.
The embodiment of the invention provides a dual-source system switching method, a method and a device for creating a source interface, an all-in-one machine and a computer storage medium. The method for switching the dual-source system comprises the following steps: responding to a first instruction for switching a display interface, taking a touch action captured on a main interface displayed on a display window of the all-in-one machine as a switching action, and confirming a first switching direction according to the switching action, wherein the main interface is a first information source system; moving the main interface along the first switching direction to move the information source interface in the direction opposite to the first switching direction to the display window, wherein the interface displayed by the display screen of the all-in-one machine is the interface in the display window, and the information source interface is a second information source system; responding to a return instruction for returning to the main interface, taking the captured touch control action on the information source interface as a switching action, and confirming a second switching direction according to the switching action; and moving the source interface along the second switching direction to move the main interface located in the direction opposite to the second switching direction to the display window. According to the embodiment of the invention, the information source interface is arranged, and a user can rapidly switch between the information source interface and the main interface through sliding when using, so that switching between the first information source system and the second information source system is realized, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a handover method for a dual-source system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for creating a source interface according to an embodiment of the present invention;
fig. 3 to fig. 5 are display diagrams of display interfaces of a dual-source system switching method according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of a dual-source system switching apparatus provided in an embodiment of the present invention;
FIG. 7 is a schematic block diagram of an apparatus for creating a source interface according to an embodiment of the present invention;
FIG. 8 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a schematic flow chart of a dual-source system switching method according to an embodiment of the present invention, where the dual-source system switching method according to the embodiment of the present invention can be applied to an all-in-one machine. As shown in fig. 1, the method includes steps S110 to S140.
S110, responding to a first instruction for switching a display interface, taking a touch action captured on a main interface displayed on a display window of the all-in-one machine as a switching action, and confirming a first switching direction according to the switching action, wherein the main interface is a first information source system.
In the embodiment of the invention, when the all-in-one machine is started, a system is displayed by default, the system is a first information source system, the first information source system is an all-in-one machine default operating system which can be an android system, the android system can manage a display interface through a launcher (desktop launcher), and the display interface can be added or deleted through the launcher. Taking the android system as an example, three display interfaces, namely a main interface, an application program interface and an information source interface, may be provided, the main interface is located in the middle, the information source interface is located on one side of the main interface, for example, the left side, and the application program interface is located on the other side of the main interface, for example, the right side, so that a user may slide along the left side or the right side to realize switching between different display interfaces. Specifically, the touch action of the user for switching the display interface may be three-finger sliding, and when the user completes the touch action, the first instruction is triggered, the touch action is used as the switching action, and the first switching direction is determined according to the switching action. Since there are only three display interfaces, the user will generally know in advance which direction the source interface is located, so that when the user needs to switch the source system, the user can slide in the direction opposite to the direction in which the source interface is located, for example, to the right. When the user slides towards the left side, the application program interface is switched into the display window, and the user can operate and control the application program in the first information source system. As shown in fig. 2 to 4, fig. 2 is a main interface displayed by a display window, fig. 3 is an application interface, and fig. 4 is a source interface.
And S120, moving the main interface along the first switching direction to move the information source interface in the direction opposite to the first switching direction to the display window, wherein the interface displayed by the display screen of the all-in-one machine is the interface in the display window, and the information source interface is a second information source system.
In the embodiment of the invention, the information source interface is connected with one of a plurality of information source systems connected with the all-in-one machine, the information source system is a second information source system, and a user can rapidly switch between the first information source system and the second information source system through sliding. After the information source interface is switched into the display window, the content displayed by the display screen of the all-in-one machine is the content displayed by the information source interface, the content displayed by the information source interface is the content in the corresponding information source system, and a user can control the information source interface through a touch device on the all-in-one machine so as to control the corresponding information source system. When the user does not need to control the information source system in the information source interface, the main interface can be switched into the display window through reverse sliding, so that the first information source system is controlled, and the user can quickly switch between two different information source systems.
In some embodiments, for example, in this embodiment, the step S120 may include the following steps: responding to a second instruction for switching the information source system, and taking the information source system selected in the information source preview menu as the information source system to be switched; and connecting a preset control with the channel of the information source system to be switched so that the preset control renders the information source interface again.
In the embodiment of the invention, when the information source interface is positioned in the display window, a user can preview other information source systems connected with the all-in-one machine through the information source preview menu in the information source display interface. And the information source system selected by the user is used as the information source system to be switched, and the preset control is connected with the channel of the information source system to be switched. For the android system, the preset control can be TvView, a channel of the information source system to be switched is connected with the TvView, the information source interface is rendered through the TvView, the information source interface can display the content in the information source system to be switched, and then a user can control the information source system to be switched through the all-in-one machine. By the method, the user can switch the information source system connected with the preset control, so that the information source system displayed by the information source interface is switched.
S130, responding to a return instruction for returning to the main interface, taking the captured touch control action on the information source interface as a switching action, and confirming a second switching direction according to the switching action.
And S140, moving the source interface along the second switching direction to move the main interface located in the direction opposite to the second switching direction to the display window.
In the embodiment of the invention, the first switching direction and the second switching direction are opposite directions, a user moves the information source interface to the display window through the first switching direction and moves the main interface to the display window through the second switching direction, so that switching back and forth between two different information source systems of the first information source system and the second information source system is realized.
In some embodiments, for example, in this embodiment, the dual source system switching method may further include the following steps: responding to a third instruction for reading a preset recording array, and taking the information source system positioned at the forefront or the last in the preset recording array as the information source system to be updated; and connecting the preset control with the information source system to be updated so that the preset control renders the information source interface again.
In the embodiment of the present invention, the third instruction may be that after the user restarts the all-in-one machine, or refreshes the main interface, all the information source systems in the preset recording array are read, the information source systems in the preset recording array may be sorted in advance according to a certain sequence, for example, according to the sequence of the browsing time of the user, and the information source system located at the forefront or the last in the preset recording array is used as the information source system to be updated, that is, the information source system browsed by the user most recently may be used as the information source system to be updated, so that the preset control renders the information source interface again. By the method, the information source system used by the user last time can be used as the information source system displayed by the information source interface, and the user can switch from the first information source system to the information source interface through sliding. In addition, if the user is powered off and the display interface is the information source interface, the information source interface is preferentially opened by default when the user is powered on next time, and the user can enter the main interface through sliding.
In some embodiments, for example, in this embodiment, the step of taking the source system located at the top or the last in the preset record array as the source system to be updated in response to the third instruction for reading the preset record array may further include the following steps: traversing the information source systems connected with the all-in-one machine, and creating the preset record array, wherein the preset record array comprises all the information source systems connected with the all-in-one machine; and adding a timer to each information source system in the preset record array, wherein the timer is used for recording the time of the information source system in the display window.
In the embodiment of the present invention, if the source system connected to the all-in-one machine includes ANDROID, OPS, DP, VGA, HDMI2, HDMI1, HDMI, and TYPE-C, the preset record array may be { ANDROID, OPS, DP, VGA, HDMI2, HDMI1, HDMI, TYPE-C }, a timer may be added to the source system in each preset record array, when the user switches the source interface to the display window, the timer of the source system displayed on the source interface starts to time, for example, the source system displayed on the source interface is OPS, the timer of the OPS starts to time, if the recorded duration is greater than the preset time, for example, ten seconds, the valid duration is counted, and if less than ten seconds, the invalid duration is counted, so as to prevent the user from being mistakenly switched to the source interface. It should be noted that a timer may be added to each source system separately to record the time length, or the time length of each source system may be recorded by the timers of the systems separately.
In some embodiments, for example, in this embodiment, the step of adding a timer to each source system in the preset recording array may further include the following steps: if the time length recorded by the timer is longer than the preset time length, adding a timestamp to the information source system corresponding to the timer; and sequencing the information source systems in the preset recording array according to the generation time of the time stamp.
In the embodiment of the present invention, when the duration recorded by the timer is longer than a preset duration, for example, the preset duration is ten seconds, when the duration recorded by the timer is longer than ten seconds, a timestamp is added to the source system corresponding to the timer, where the timestamp includes the generation time of the timestamp, and then all the source systems in the preset recording array are sorted according to the generation time of the timestamp, for example, from new to old or from old to new.
Referring to fig. 5, fig. 5 is a schematic flowchart of a method for creating a source interface according to an embodiment of the present invention, where the method for creating a source interface according to the embodiment of the present invention is applied to an all-in-one machine. As shown in fig. 5, the method includes steps S210 to S230.
And S210, responding to a fourth instruction for creating an interface, and newly creating a display interface on one side of the main interface of the all-in-one machine.
In the embodiment of the invention, a user can create a new display interface, and the display interface is a conventional display interface. It should be noted that the user may create multiple display interfaces.
And S220, adding a preset control to the display interface, and taking the source system selected from the plurality of source systems as a target source system according to the fourth instruction.
In the embodiment of the invention, if a user needs to use the display interface as the information source interface, a preset control needs to be added to the display interface, and one information source system is selected from a plurality of connected information source systems as the target information source system.
And S230, connecting the channel corresponding to the target source system with the preset control, and rendering the display interface through the preset control so as to render the display interface into a source interface.
In the embodiment of the invention, the channel corresponding to the target information source system is connected with the preset control, and the display interface is rendered through the preset control, so that the display interface is rendered into the information source interface. When a plurality of display interfaces exist, a preset control can be added to each display interface respectively, different information source systems are connected with the preset controls in the different display interfaces, and when all the preset controls finish rendering the respective display interfaces, a user can switch to the different information source interfaces through sliding for many times.
Fig. 6 is a schematic block diagram of a dual-source system switching apparatus 100 according to an embodiment of the present invention. As shown in fig. 6, the present invention also provides a dual-source system switching apparatus 100 corresponding to the above dual-source system switching method. The dual-source system switching apparatus 100 includes a unit for executing the dual-source system switching method. Specifically, referring to fig. 6, the dual-source system switching apparatus 100 includes a first switching direction confirmation unit 110, a source interface mobile unit 120, a second switching direction confirmation unit 130 and a main interface mobile unit 140.
The first switching direction confirming unit 110 is configured to, in response to a second instruction for switching a display interface, regard a touch action captured on a main interface displayed on a display window of the all-in-one machine as a switching action, and confirm a first switching direction according to the switching action, where the main interface is a first information source system; the source interface moving unit 120 is configured to move the main interface along the first switching direction to move a source interface located in a direction opposite to the first switching direction to the display window, where an interface displayed on a display screen of the all-in-one machine is an interface located in the display window, and the source interface is a second source system; the second switching direction confirmation unit 130 is configured to, in response to a return instruction to return to the main interface, take the captured touch action on the source interface as a switching action, and confirm a second switching direction according to the switching action; the main interface moving unit 140 is configured to move the source interface in the second switching direction to move the main interface located in the opposite direction of the second switching direction to the display window.
An embodiment of the present invention further provides a dual-source system switching apparatus, which adds a to-be-switched source system determining unit and a first re-rendering unit on the basis of the above embodiment.
The to-be-switched information source system confirming unit is used for responding to a second instruction for switching the information source system and taking the information source system selected in the information source preview menu as the to-be-switched information source system; the first re-rendering unit is used for connecting a preset control with the channel of the to-be-switched signal source system so that the preset control re-renders the signal source interface.
An embodiment of the present invention further provides a dual-source system switching device, which adds a source system to be updated confirming unit and a second re-rendering unit on the basis of the above embodiment.
The information source system to be updated confirming unit is used for responding to a third instruction for reading a preset recording array, and taking an information source system positioned at the forefront or the last in the preset recording array as an information source system to be updated; and the second re-rendering unit is used for connecting the preset control with the information source system to be updated so that the preset control re-renders the information source interface.
An embodiment of the present invention further provides a dual-source system switching device, which adds a preset recording array creating unit and a timer adding unit on the basis of the above embodiment.
The device comprises a preset recording array creating unit, a preset recording array generating unit and a control unit, wherein the preset recording array creating unit is used for traversing an information source system connected with the all-in-one machine and creating the preset recording array, and the preset recording array comprises all the information source systems connected with the all-in-one machine; the timer adding unit is used for adding a timer to each information source system in the preset recording array, wherein the timer is used for recording the time of the information source system in the display window.
An embodiment of the present invention further provides a dual-source system switching apparatus, which adds a timestamp adding unit and a sorting unit on the basis of the above embodiment.
The time stamp adding unit is used for adding a time stamp to the information source system corresponding to the timer if the time length recorded by the timer is greater than a preset time length; and the sequencing unit is used for sequencing the information source systems in the preset record array according to the generation time of the timestamp.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation process of the above dual-source system switching apparatus and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
Fig. 7 is a schematic block diagram of an apparatus 200 for creating a source interface according to an embodiment of the present invention. As shown in fig. 7, the present invention also provides an apparatus 200 for creating a source interface, corresponding to the above method for creating a source interface. The apparatus for creating a source interface 200 includes means for performing the above-described method of creating a source interface. Specifically, referring to fig. 7, the apparatus 200 for creating a source interface includes a display interface creating unit 210, a target source system confirming unit 220, and a source interface rendering unit 230.
The display interface creating unit 210 is configured to create a new display interface on one side of the main interface of the all-in-one machine in response to a first instruction for creating an interface; the target information source system confirming unit 220 is configured to add a preset control to the display interface, and take an information source system selected from the plurality of information source systems as a target information source system according to the first instruction; the source interface rendering unit 230 is configured to connect the channel corresponding to the target source system with the preset control, and render the display interface through the preset control to render the display interface into a source interface.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation process of the apparatus for creating a source interface and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The above-described apparatus for switching a dual source system and the apparatus for creating a source interface may be implemented in the form of a computer program that can be run on a kiosk as shown in fig. 8.
Referring to fig. 8, fig. 8 is a schematic block diagram of an all-in-one machine according to an embodiment of the present disclosure. Referring to fig. 8, the all-in-one machine 500 includes a processor 502, a memory and an interface 507 connected by a system bus 501, wherein the memory may include a nonvolatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and computer programs 5032. The computer programs 5032, when executed, cause the processor 502 to perform a dual source system switching method and a method of creating a source interface.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall kiosk 500.
The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can perform a dual-source system switching method and a method for creating a source interface.
The interface 505 is used to communicate with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 8 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the kiosk 500 to which the present application applies, and that a particular kiosk 500 may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
responding to a first instruction for switching a display interface, taking a touch action captured on a main interface displayed on a display window of the all-in-one machine as a switching action, and confirming a first switching direction according to the switching action, wherein the main interface is a first information source system;
moving the main interface along the first switching direction to move the information source interface in the direction opposite to the first switching direction to the display window, wherein the interface displayed by the display screen of the all-in-one machine is the interface in the display window, and the information source interface is a second information source system;
responding to a return instruction for returning to the main interface, taking the captured touch control action on the information source interface as a switching action, and confirming a second switching direction according to the switching action;
and moving the source interface along the second switching direction to move the main interface located in the direction opposite to the second switching direction to the display window.
In an embodiment, after the step of moving the main interface along the first switching direction to move the source interface located in the direction opposite to the first switching direction to the display window, the processor 502 further includes the following steps: responding to a second instruction for switching the information source system, and taking the information source system selected in the information source preview menu as the information source system to be switched; and connecting a preset control with the channel of the information source system to be switched so that the preset control renders the information source interface again.
In one embodiment, the processor 502 further implements the following steps:
responding to a third instruction for reading a preset recording array, and taking the information source system positioned at the forefront or the last in the preset recording array as the information source system to be updated;
and connecting the preset control with the information source system to be updated so that the preset control renders the information source interface again.
In an embodiment, before implementing the step of using the first or last source system in the preset record array as the source system to be updated in response to the third instruction for reading the preset record array, the processor 502 further includes the following steps:
traversing the information source systems connected with the all-in-one machine, and creating the preset record array, wherein the preset record array comprises all the information source systems connected with the all-in-one machine;
and adding a timer to each information source system in the preset recording array, wherein the timer is used for recording the time of the information source system in the display window.
In one embodiment, the processor 502 further comprises the following steps after the step of adding a timer to each of the source systems in the preset recording array is implemented:
if the time length recorded by the timer is longer than the preset time length, adding a timestamp to the information source system corresponding to the timer;
and sequencing the information source systems in the preset recording array according to the generation time of the time stamp.
In one embodiment, the processor 502 further implements the following steps:
responding to a fourth instruction for creating an interface, and newly creating a display interface on one side of the main interface of the all-in-one machine;
adding a preset control to the display interface, and taking the selected information source system in the plurality of information source systems as a target information source system according to the fourth instruction;
and connecting the channel corresponding to the target information source system with the preset control, and rendering the display interface through the preset control so as to render the display interface into the information source interface.
It should be understood that in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general purpose processors, digital Signal processors (FSP), Application Specific Integrated Circuits (ASIC), Field Programmable Gate Arrays (FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. The computer program, when executed by a processor, implements any of the embodiments of the dual source system switching method and the method of creating a source interface described above.
The storage medium may be a usb disk, a removable hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, and may be any of various computer-readable storage media that can store program codes.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, while the invention has been described with respect to the above-described embodiments, it will be understood that the invention is not limited thereto but may be embodied with various modifications and changes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A dual-source system switching method is applied to an all-in-one machine and is characterized by comprising the following steps:
responding to a first instruction for switching a display interface, taking a touch action captured on a main interface displayed on a display window of the all-in-one machine as a switching action, and confirming a first switching direction according to the switching action, wherein the main interface is a first information source system;
moving the main interface along the first switching direction to move the information source interface in the direction opposite to the first switching direction to the display window, wherein the interface displayed by the display screen of the all-in-one machine is the interface in the display window, and the information source interface is a second information source system;
responding to a return instruction for returning to the main interface, taking the captured touch control action on the information source interface as a switching action, and confirming a second switching direction according to the switching action;
and moving the source interface along the second switching direction to move the main interface located in the direction opposite to the second switching direction to the display window.
2. The dual source system switching method of claim 1, wherein after the step of moving the main interface in the first switching direction to move the source interface located in the opposite direction of the first switching direction to the display window, further comprising:
responding to a second instruction for switching the information source system, and taking the information source system selected in the information source preview menu as the information source system to be switched;
and connecting a preset control with a channel of the information source system to be switched so that the preset control can render the information source interface again.
3. The dual-source system handover method of claim 2, wherein the method further comprises:
responding to a third instruction for reading a preset recording array, and taking the information source system positioned at the forefront or the last in the preset recording array as the information source system to be updated;
and connecting the preset control with the information source system to be updated so that the preset control renders the information source interface again.
4. The dual source system switching method according to claim 3, wherein before the step of using the source system located at the top or the last in the preset record array as the source system to be updated in response to the third instruction for reading the preset record array, the method further comprises:
traversing the information source systems connected with the all-in-one machine, and creating the preset record array, wherein the preset record array comprises all the information source systems connected with the all-in-one machine;
and adding a timer to each information source system in the preset record array, wherein the timer is used for recording the time of the information source system in the display window.
5. The dual source system switching method according to claim 4, wherein said adding a timer to each of said source systems in said predetermined array of records further comprises:
if the time length recorded by the timer is longer than the preset time length, adding a timestamp to the information source system corresponding to the timer;
and sequencing the information source systems in the preset recording array according to the generation time of the time stamp.
6. A method for creating a source interface is applied to an all-in-one machine, and is characterized in that the method comprises the following steps:
responding to a fourth instruction for creating an interface, and newly creating a display interface on one side of the main interface of the all-in-one machine;
adding a preset control to the display interface, and taking the selected information source system in the plurality of information source systems as a target information source system according to the fourth instruction;
and connecting the channel corresponding to the target information source system with the preset control, and rendering the display interface through the preset control so as to render the display interface into the information source interface.
7. The utility model provides a two source system auto-change over device, is applied to all-in-one, its characterized in that, the device includes:
the first switching direction confirming unit is used for responding to a second instruction for switching a display interface, taking a touch action captured on a main interface displayed on a display window of the all-in-one machine as a switching action, and confirming a first switching direction according to the switching action, wherein the main interface is a first information source system;
the information source interface moving unit is used for moving the main interface along the first switching direction so as to move the information source interface which is positioned in the direction opposite to the first switching direction to the display window, wherein the interface displayed by the display screen of the all-in-one machine is the interface positioned in the display window, and the information source interface is a second information source system;
a second switching direction confirmation unit, configured to, in response to a return instruction to return to the main interface, take the captured touch action on the information source interface as a switching action, and confirm a second switching direction according to the switching action;
and the main interface moving unit is used for moving the source interface along the second switching direction so as to move the main interface positioned in the direction opposite to the second switching direction to the display window.
8. A device for creating a source interface, which is applied to an all-in-one machine, the device comprising:
the display interface creating unit is used for responding to a first instruction for creating an interface and newly creating a display interface on one side of a main interface of the all-in-one machine;
the target information source system confirming unit is used for adding a preset control to the display interface and taking the selected information source system in the plurality of information source systems as a target information source system according to the first instruction;
and the information source interface rendering unit is used for connecting the channel corresponding to the target information source system with the preset control and rendering the display interface through the preset control so as to render the display interface into the information source interface.
9. The all-in-one machine is characterized by comprising a memory and a processor connected with the memory; the memory is used for storing a computer program; the processor is adapted to run a computer program stored in the memory to perform the steps of the method according to any of claims 1-6.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when being executed by a processor, realizes the steps of the method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210730419.7A CN114968057A (en) | 2022-06-24 | 2022-06-24 | Dual-information-source system switching method, method and device for creating information source interface, all-in-one machine and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210730419.7A CN114968057A (en) | 2022-06-24 | 2022-06-24 | Dual-information-source system switching method, method and device for creating information source interface, all-in-one machine and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114968057A true CN114968057A (en) | 2022-08-30 |
Family
ID=82966170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210730419.7A Pending CN114968057A (en) | 2022-06-24 | 2022-06-24 | Dual-information-source system switching method, method and device for creating information source interface, all-in-one machine and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114968057A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103530096A (en) * | 2012-07-03 | 2014-01-22 | 索尼公司 | Remote control method, remote control equipment and display equipment |
CN107888846A (en) * | 2017-11-08 | 2018-04-06 | 深圳Tcl数字技术有限公司 | The signal method for previewing and television set of new access information source |
CN110049365A (en) * | 2019-03-18 | 2019-07-23 | 深圳康佳电子科技有限公司 | Visual information source switching handling method, display terminal, television set and storage medium |
CN111309199A (en) * | 2019-02-28 | 2020-06-19 | 深圳市鸿合创新信息技术有限责任公司 | Display control method of touch display device and touch display device |
CN113360114A (en) * | 2021-06-01 | 2021-09-07 | 广州朗国电子科技有限公司 | Image preview method, device, medium and program product under multiple information sources |
-
2022
- 2022-06-24 CN CN202210730419.7A patent/CN114968057A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103530096A (en) * | 2012-07-03 | 2014-01-22 | 索尼公司 | Remote control method, remote control equipment and display equipment |
CN107888846A (en) * | 2017-11-08 | 2018-04-06 | 深圳Tcl数字技术有限公司 | The signal method for previewing and television set of new access information source |
CN111309199A (en) * | 2019-02-28 | 2020-06-19 | 深圳市鸿合创新信息技术有限责任公司 | Display control method of touch display device and touch display device |
CN110049365A (en) * | 2019-03-18 | 2019-07-23 | 深圳康佳电子科技有限公司 | Visual information source switching handling method, display terminal, television set and storage medium |
CN113360114A (en) * | 2021-06-01 | 2021-09-07 | 广州朗国电子科技有限公司 | Image preview method, device, medium and program product under multiple information sources |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2602384C2 (en) | Multiprogram environment | |
JP4492511B2 (en) | Interface device, interface method, and program | |
US9569004B2 (en) | Swipe toolbar to switch tabs | |
WO2016188229A1 (en) | Terminal device and method for dynamically adjusting control position | |
CN106649639A (en) | Page display method and device | |
CN110427236B (en) | Rendering method and device | |
CN111770288A (en) | Video editing method, device, terminal and storage medium | |
CN112540713B (en) | Video preview progress bar scaling method, system, device and storage medium | |
EP4171006A1 (en) | Previewing method and apparatus for effect application, and device and storage medium | |
WO2022126664A1 (en) | Video editing method, terminal device, and computer-readable storage medium | |
CN105094669A (en) | Method and device for switching multiple tab pages of browser | |
US20220337745A1 (en) | Method for playing video | |
KR20180027917A (en) | Display apparatus and control method thereof | |
JP6494358B2 (en) | Playback control device and playback control method | |
CN114968057A (en) | Dual-information-source system switching method, method and device for creating information source interface, all-in-one machine and computer storage medium | |
CN110209330B (en) | Control method of progress bar, terminal and computer storage medium | |
CN101257558A (en) | Mosaic process for digital camera as well as method for reducing mosaic process | |
US20140173442A1 (en) | Presenter view in presentation application | |
CN115344159A (en) | File processing method and device, electronic equipment and readable storage medium | |
CN115509412A (en) | Method, device, equipment and storage medium for special effect interaction | |
CN115460448A (en) | Media resource editing method and device, electronic equipment and storage medium | |
JP7422784B2 (en) | Information processing device, information processing method, and program | |
CN112363668A (en) | Multi-view interaction method and device, mobile terminal and computer equipment | |
CN114968062A (en) | Multi-information-source system switching method and device, interactive all-in-one machine equipment and storage medium | |
JPH09116868A (en) | Moving image display device for medical use |
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 |