CN108984074B - Sidebar operation method, device and system, terminal equipment and server - Google Patents

Sidebar operation method, device and system, terminal equipment and server Download PDF

Info

Publication number
CN108984074B
CN108984074B CN201810843006.3A CN201810843006A CN108984074B CN 108984074 B CN108984074 B CN 108984074B CN 201810843006 A CN201810843006 A CN 201810843006A CN 108984074 B CN108984074 B CN 108984074B
Authority
CN
China
Prior art keywords
stack
system module
module
sidebar
scene
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
CN201810843006.3A
Other languages
Chinese (zh)
Other versions
CN108984074A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shizhen Information Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810843006.3A priority Critical patent/CN108984074B/en
Publication of CN108984074A publication Critical patent/CN108984074A/en
Application granted granted Critical
Publication of CN108984074B publication Critical patent/CN108984074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/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
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a sidebar operation method, which is characterized in that only a first system MODULE is provided with a unique sidebar application, an HOST stack, a MODULE stack and a FORCE stack are preset under the sidebar application, all scenes of the first system MODULE are stored in the HOST stack, all scenes of a second system MODULE are stored in the MODULE stack, all scenes for forcibly operating the sidebar application are stored in the FORCE stack, when the FORCE stack is detected to be empty, the currently-operated activity is judged to be in a channel of the first system MODULE or a channel of the second system MODULE, and when the currently-operated activity is judged to be in the channel of the first system MODULE, the top-layer scene in the HOST stack is responded so as to execute the operation of the scene on the sidebar application; and when judging that the currently running activity is in the channel of the second system MODULE, responding to the scene at the top layer in the MODULE stack so as to execute the operation of the scene on the sidebar application.

Description

Sidebar operation method, device and system, terminal equipment and server
Technical Field
The invention relates to the field of panel display control, in particular to a sidebar operation method, a device and a system, terminal equipment and a server.
Background
The sidebar application of the conference machine is typically located below the display panel, which displays specific content in a specific application scenario. For example, in the normal state, it is necessary to display the HOME key and the BACK key to facilitate the user to return to the HOME interface and to the previous layer. However, in an actual application scene, if a welcome page and a startup guide page need to hide the sidebar application, the user is prevented from touching HOME by mistake, and the BACK skips a normal flow; under the whiteboard application, the annotation button of the sidebar application needs to be hidden so as to avoid the interference of the annotation mode from influencing the normal display of the whiteboard mode; in addition, when the main system channel and the non-main system channel (e.g. HDMI: High Definition Multimedia Interface) are switched, automatic switching cannot be realized, for example, when the welcome Interface cannot display the sidebar application, an external signal is accessed at this time, for example, when the HDMI is accessed, the external signal is switched to the scene display sidebar application of the external channel, but the sidebar application needs to be recovered after the HDMI is unplugged. As shown in fig. 1, for an existing conference machine, a pc module and an android module are generally combined, and the pc module and the android module respectively implement a sidebar application, when dual-machine communication is unstable, a double-sided sidebar application or a sidebar-free application may occur.
Disclosure of Invention
Embodiments of the present invention provide a sidebar operation method, an apparatus and a system, a terminal device, a server, and a computer-readable storage medium, which can effectively solve the problem of a sidebar application display disorder caused by unstable dual-machine communication in the prior art, and can meet display requirements of various application scenarios.
An embodiment of the present invention provides a method for operating a sidebar, which is applicable to a device including a first system MODULE, where the first system MODULE is provided with a unique sidebar application, and the first system MODULE is provided with an HOST stack, a MODULE stack, and a FORCE stack in advance; all scenes of the first system MODULE are stored in the HOST stack, all scenes of the second system MODULE are stored in the MODULE stack, and all scenes for forcing the operation of the sidebar application are stored in the FORCE stack; the method comprises the following steps:
when detecting that the FORCE stack is empty at any time, judging that the current running activity is in a channel of a first system module or a channel of a second system module;
when the currently running activity is judged to be in the channel of the first system module, responding to the scene at the top layer in the HOST stack so as to execute the operation of the scene on the sidebar application;
and when judging that the currently running activity is in the channel of the second system MODULE, responding to the scene at the top layer in the MODULE stack so as to execute the operation of the scene on the sidebar application.
Compared with the prior art, the sidebar operation method disclosed by the embodiment of the invention has the advantages that only a first system MODULE is provided with a unique sidebar application, an HOST stack, a MODULE stack and a FORCE stack are preset under the sidebar application, all scenes of the first system MODULE are stored in the HOST stack, all scenes of a second system MODULE are stored in the MODULE stack, all scenes for forcibly operating the sidebar application are stored in the FORCE stack, when the FORCE stack is detected to be empty, the currently-running activity is judged to be in a channel of the first system MODULE or a channel of the second system MODULE, and when the currently-running activity is judged to be in the channel of the first system MODULE, the top-layer scene in the HOST stack is responded so as to execute the operation of the scene on the sidebar application; when the currently running activity is judged to be in the channel of the second system MODULE, responding to the scene at the top layer in the MODULE stack to execute the operation of the scene on the sidebar application, avoiding the problem that the sidebar application display is disordered due to unstable communication caused by the fact that the first system MODULE and the second system MODULE are both provided with the sidebar application, uniformly managing the application scenes under the first system MODULE and the second system MODULE, removing the coupling relation between the applications, and realizing the sidebar application display of different application scenes under different system MODULEs.
As an improvement of the above scheme, the determining whether the currently running activity is in the channel of the second system module specifically includes:
judging whether topActivity of the equipment is Tvsetting or not; if so, the currently running activity is in a channel of a second system module; and if not, the currently running activity is in the channel of the first system module.
As an improvement of the above, the method further comprises:
and when detecting that the FORCE stack is not empty at any time, forcing to respond to the object at the top layer in the FORCE stack so as to execute the operation of the scene on the sidebar application.
As an improvement of the above, the method further comprises:
and when detecting that the HOST stack, the MODULE stack and the FORCE stack are all empty at any time, operating the sidebar application by using a preset default scene.
As an improvement of the above, the method further comprises the steps of:
when the top Activity is switched from Tvsetting to non-Tvsetting, the display state of the sidebar application is changed;
and when the top Activity is switched from non-Tseting to Tseting, changing the display state of the sidebar application.
As an improvement of the above, the method further comprises the steps of:
when receiving that a current client calls and modifies an interface of the sidebar application, judging whether a scene of the client is positioned at the top layer of the MODULE stack or the HOST stack;
changing a display state of the sidebar application when the scene of the client is at a top layer of the MODULE stack or the HOST stack.
As an improvement of the above, the method further comprises the steps of:
when a request for disconnecting the current client is received and the client is positioned in the first system module, deleting the scene positioned at the top layer of the HOST stack, clearing all operations performed by the client and responding to the scene at the next layer of the HOST stack;
when a request of disconnecting the current client is received and the client is located in the second system MODULE, deleting the scene located at the top layer of the MODELE stack, clearing all operations performed by the client, and responding to the scene at the next layer of the MODELE stack.
As an improvement of the above, the method further comprises the steps of:
when the heartbeat packet sent by the current client is not received within a preset time period and the client is positioned in the first system module, deleting the scene positioned at the top layer of the HOST stack, emptying all operations performed by the client and responding to the scene at the next layer in the HOST stack;
when the heartbeat packet sent by the current client is not received within a preset time period and the client is located in the second system MODULE, deleting the scene located at the top layer of the MODELE stack, clearing all operations performed by the client and responding to the scene of the next layer in the MODELE stack.
As an improvement of the above, the method further comprises the steps of:
when a request that any client calls the sidebar application is received, judging that the client is located in a first system module or a second system module;
when the client is positioned in a first system module, pushing the scene created by the client into the HOST stack;
and when the client is positioned in a second system MODULE, pushing the scene created by the client into the MODULE stack.
As an improvement of the above scheme, the first system module is an andoid module, and the second system module is a PC module.
As an improvement of the above solution, the device including the first system module is a smart tablet.
As an improvement of the above solution, the smart tablet further includes the second system module.
Another embodiment of the present invention correspondingly provides a sidebar operating device, which is characterized in that the device includes a first system MODULE, the first system MODULE is provided with a unique sidebar application, and the first system MODULE is provided with an HOST stack, a MODULE stack, and a FORCE stack in advance; all scenes of the first system MODULE are stored in the HOST stack, all scenes of the second system MODULE are stored in the MODULE stack, and all scenes for forcing the operation of the sidebar application are stored in the FORCE stack; the device comprises:
the first judging module is used for judging that the currently running activity is in a channel of the first system module or a channel of the second system module when the FORCE stack is detected to be empty at any time;
the first response module is used for responding to a scene at the top layer in the HOST stack so as to execute the operation of the scene on the sidebar application when the currently running activity is judged to be in the channel of the first system module;
and the second response MODULE is used for responding to the scene at the top layer in the MODULE stack so as to execute the operation of the scene on the sidebar application when the currently running activity is judged to be in the channel of the second system MODULE.
The invention correspondingly provides a sidebar operating system, which comprises a first system MODULE and a second system MODULE, wherein the first system MODULE is provided with a unique sidebar application, and is provided with an HOST stack, a MODULE stack and a FORCE stack in advance; wherein all scenes of the first system MODULE are stored in the HOST stack, all scenes of the second system MODULE are stored in the MODULE stack, and all scenes for forcing the operation of the sidebar application are stored in the FORCE stack;
the first system module is used for judging that the currently running activity is in a channel of the first system module or a channel of the second system module when detecting that the FORCE stack is empty at any time; when the currently running activity is judged to be in the channel of the first system module, responding to the scene at the top layer in the HOST stack so as to execute the operation of the scene on the sidebar application; when the currently running activity is judged to be in a channel of a second system MODULE, responding to a scene at the top layer in the MODULE stack so as to execute the operation of the scene on the sidebar application;
the first system module is also used for creating a scene of a local application to operate the sidebar application;
the second system module is used for creating scenes of local application to operate the sidebar application.
Another embodiment of the present invention correspondingly provides a terminal device, including a first system MODULE, where the first system MODULE is provided with a unique sidebar application, the first system MODULE includes a processor and a memory, the memory is provided with a HOST stack, a MODULE stack, and a FORCE stack, and the memory is further stored with an executable code; wherein all scenes of the first system MODULE are stored in the HOST stack, all scenes of the second system MODULE are stored in the MODULE stack, and all scenes for forcing the operation of the sidebar application are stored in the FORCE stack;
the processor, when executing the executable code in the memory, performs the following:
the method comprises the steps of judging whether the currently running activity is in a channel of a first system module or a channel of a second system module when detecting that a FORCE stack is empty at any time; when the currently running activity is judged to be in the channel of the first system module, responding to the scene at the top layer in the HOST stack so as to execute the operation of the scene on the sidebar application; and when judging that the currently running activity is in the channel of the second system MODULE, responding to the scene at the top layer in the MODULE stack so as to execute the operation of the scene on the sidebar application.
As an improvement of the above scheme, the first system module is an android module.
As an improvement of the above scheme, the terminal device further includes the second system module, and the second system module is a pc module.
Another embodiment of the present invention provides a server, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the processor implements the sidebar operation method described in any one of the above.
Another embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, the computer-readable storage medium is controlled to execute the system upgrade method described in any one of the above items.
Drawings
FIG. 1 is a schematic diagram of a prior art android system and pc system managing a sidebar, respectively;
FIG. 2 is a flowchart illustrating a method for operating a sidebar according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of setting a unique sidebar in an android system to manage all application scenarios;
FIG. 4 is a flowchart illustrating a method for operating a sidebar according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a sidebar operating device according to an embodiment of the present invention;
FIG. 6 is a block diagram of a sidebar operating system according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal device according to 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
Referring to fig. 2, which is a schematic flow chart of a method for operating a sidebar according to an embodiment of the present invention, the method for operating a sidebar according to the embodiment of the present invention is applicable to a device including a first system MODULE, the first system MODULE is provided with a unique sidebar application, and the first system MODULE is provided with an HOST stack, a MODULE stack, and a FORCE stack in advance; all scenes of the first system MODULE are stored in the HOST stack, all scenes of the second system MODULE are stored in the MODULE stack, and all scenes for forcing the operation of the sidebar application are stored in the FORCE stack; preferably, the device comprising the first system module is a conference machine, a smart tablet, a kiosk, an electronic whiteboard, or the like.
The sidebar operating method comprises the following steps:
s1, when detecting that the FORCE stack is empty at any time, judging that the current running activity is in the channel of the first system module or the channel of the second system module;
in step S1, the step of determining whether the currently running activity is in the channel of the second system module specifically includes:
judging whether topActivity of the equipment is Tvsetting or not; if so, the currently running activity is in a channel of a second system module; and if not, the currently running activity is in the channel of the first system module.
For a multi-modular intelligent tablet computer or all-in-one computer, the display functions of channels such as a PC channel, an HDMI external channel and a VGA external channel are integrated. The target smart tablet or all-in-one machine generally uses an Android system as a main system, and under the condition that a non-main system channel (such as a PC channel, an HDMI external channel, and a VGA external channel) is displayed, the Android main system starts a window (such as a tvsetting window), and displays the content to be displayed in the non-main system channel in the window. . For example, assuming that the system is currently running in the display channel where the PC module is located, at this time, the main system starts an application named tvsetting, transmits the screen information of the PC module to the window of the application, and finally displays the screen information on the display unit. At this time, the touch data of the touch frame 10 is transmitted to the host system where tvsetting is located and the PC module at the same time. Then it is determined whether topActivity of the device is Tvsetting, and it may be determined whether the currently running activity is in the channel of the second system module. The second system module comprises a PC module, an HDMI module or a module.
S2, when judging that the current running activity is in the channel of the first system module, responding to the scene at the top layer in the HOST stack so as to execute the operation of the scene on the sidebar application;
in step S2, when it is determined that the currently running activity is in the channel of the first system module, the operation of the sidebar application is responded to the application scenario of the first system module, and when it is determined that the currently running activity is not switched, the operation of the sidebar application is not responded to the application scenario of the second system module.
And S3, when the currently running activity is judged to be in the channel of the second system MODULE, responding to the scene at the top layer in the Module stack so as to execute the operation of the scene on the sidebar application.
In step S3, when it is determined that the currently running activity is in the channel of the second system module, the operation of the sidebar application is responded to the application scenario of the second system module, and when it is determined that the currently running activity is not switched, the operation of the sidebar application is not responded to the application scenario of the first system module.
It should be noted that, since the stack is a linear table restricted to performing the insert-delete operation at one end, steps S2 and S3 both execute a first-in-last-out response sequence. In addition, the operation applied to the sidebar in the present invention specifically includes an operation such as a display operation, a hidden operation, or a hidden partial button.
The FORCE stack, the HOST stack and the MODULE stack store different types of client types, the FORCE stack stores a scene for forcing operation of sidebar application, and the FORCE stack responds to the scene in the FORCE stack regardless of whether the currently running activity is in a channel of the first system MODULE or a channel of the second system MODULE as long as the FORCE stack is not empty. For example, in another preferred embodiment, the sidebar operating method further comprises the steps of:
and when detecting that the FORCE stack is not empty at any time, forcing to respond to the object at the top layer in the FORCE stack so as to execute the operation of the scene on the sidebar application.
For the sidebar operation method of the embodiment of the invention, only the first system MODULE is provided with the unique sidebar application, the sidebar application is provided with the three stacks which are respectively the HOST stack, the MODULE stack and the FORCE stack, wherein the HOST stack stores all scenes of the first system MODULE, the MODULE stack stores all scenes of the second system MODULE, and the FORCE stack stores all scenes for forcibly operating the sidebar application, so that the situation that the sidebar application display is disordered when the communication is not smooth due to the fact that the two system MODULEs are respectively provided with the sidebar application can be avoided, the application scenes under the first system MODULE and the second system MODULE can be uniformly managed, the coupling relation between the applications is removed, and the sidebar application display of different application scenes under different system MODULEs is realized. And different displays can be realized according to different modules of different system modules. For example, in a welcome screen scene requiring freeze, the sidebar application can be controlled to be hidden, so that the user is prevented from mistakenly touching the HOME key and the BACK key on the sidebar application to skip the normal process; and under the whiteboard writing scene, the annotation button applied by the hidden sidebar can be controlled.
For the existing conference machine, a first system module (usually an android system) is necessary as a main system, and a second system module (usually a pc system) is optional, and there is a machine type with the second system module, and there is no second system module, and the machine type with the second system module can normally operate by unplugging the second system module. As shown in fig. 3, by setting a unique sidebar application service in the android system and managing application scenes under the android system and the pc system in a unified manner, the problem of sidebar application display confusion caused by the fact that the android system and the pc system are respectively provided with a sidebar application can be avoided, the coupling relationship between the applications can be eliminated, and sidebar application display under different application scenes of the android system and the pc system can be realized.
In another preferred embodiment, the sidebar operating method further comprises the steps of:
and when the HOST stack, the MODULE stack and the FORCE stack are detected to be empty at any time, operating the sidebar application by using a preset default scene.
That is, when the above three stacks are all empty, the sidebar application may be operated on using appscience of DEFAULT as a DEFAULT scene. Generally, the bottom-in scenario is a default scenario in which no action is done.
For the embodiment of the invention, the first system module is provided with a unique sidebar application as a server, the first system module and the second system module are applied as clients, and the server and each client can communicate through a shared disk directory, TCP communication, HTTP communication or RPC communication. The use of PRC communication, however, is a way to request services from a remote computer program over a network without the need to know the protocols of the underlying network technology, which can reduce development efforts. The change of the top-level display state for the sidebar application may be made, for example, by:
(1) when the top Activity is switched from Tvsetting to non-Tvsetting, the display state of the sidebar application is changed; when the top Activity is switched from non-Tsetting to Tsetting, changing the display state of the sidebar application;
(2) when receiving that a current client calls and modifies an interface of the sidebar application, judging whether a scene of the client is positioned at the top layer of the MODULE stack or the HOST stack; changing a display state of the sidebar application when the scene of the client is at a top layer of the MODULE stack or the HOST stack.
(3) When a request for disconnecting the current client is received and the client is positioned in the first system module, deleting the scene positioned at the top layer of the HOST stack, clearing all operations performed by the client and responding to the scene at the next layer of the HOST stack;
(4) when a request of disconnecting the current client is received and the client is located in the second system MODULE, deleting the scene located at the top layer of the MODELE stack, clearing all operations performed by the client, and responding to the scene at the next layer of the MODELE stack.
In the present invention, the current client is an application currently executing the sidebar application, and a scene corresponding to the current client is located at a top layer of the MODULE stack or the HOST stack.
For the condition that the current client is abnormally crashed, the state of the application of the sidebar can be changed so as to recover the scene, and the specific implementation mode is as follows: if the current client is crashed due to the exception, the process of the current client is stopped, and the system module where the current client is located can recycle the port number occupied before the current client. When the client operates normally, the client sends a heartbeat packet to the server periodically. Preferably, as another preferred embodiment of the present invention, as shown in fig. 4, on the basis of embodiment 1, the sidebar operating method further includes the steps of:
s4, when the heartbeat packet sent by the current client is not received within a preset time period and the client is located in the first system module, deleting the scene located at the top layer of the HOST stack, clearing all operations performed by the client and responding to the scene of the next layer in the HOST stack;
in step S4, when the HOST stack is empty after the scene at the top layer of the HOST stack is deleted, the display and operation of the sidebar application in the preset default scene may be executed.
S5, when the heartbeat packet sent by the current client is not received within a preset time period and the client is located in the second system MODULE, deleting the scene located at the top layer of the MODULE stack, clearing all operations performed by the client, and responding to the scene at the next layer in the MODULE stack.
In step S5, when the HOST stack is empty after the scene at the top layer of the MODULE stack is deleted, displaying and operating the sidebar application in a preset default scene may be performed. Since the server side stores the unique id of the client side, when the client side crashes, all the operations performed before the client side can be cleared according to the unique id number of the client side.
When a new scene is created for any application in the first system MODULE or the second system MODULE and a sidebar application is desired to be called, the server adds the scene into the HOST stack or the MODULE stack, specifically:
when a request that any client calls the sidebar application is received, judging that the client is located in a first system module or a second system module;
when the client is positioned in a first system module, pushing the scene created by the client into the HOST stack;
and when the client is positioned in a second system MODULE, pushing the scene created by the client into the MODULE stack.
Fig. 5 is a schematic structural diagram of a sidebar operating device according to an embodiment of the present invention, which is applicable to a device including a first system MODULE, where the first system MODULE is provided with a unique sidebar application, and the first system MODULE is provided with a HOST stack, a MODULE stack, and a FORCE stack in advance; all scenes of the first system MODULE are stored in the HOST stack, all scenes of the second system MODULE are stored in the MODULE stack, and all scenes for forcing the operation of the sidebar application are stored in the FORCE stack; the device comprises:
a first judging module 41, configured to judge that a currently running activity is in a channel of a first system module or a channel of a second system module when it is detected that the FORCE stack is empty at any time;
a first response module 42, configured to, when it is determined that the currently running activity is in a channel of the first system module, respond to a scene at a top layer in the HOST stack so as to execute an operation of the scene on the sidebar application;
a second response MODULE 43, configured to, when it is determined that the currently running activity is in a channel of the second system MODULE, respond to the scene at the top layer in the MODULE stack so as to execute an operation of the scene on the sidebar application.
The specific implementation manner and the working principle of the sidebar operating device provided by the embodiment of the invention can refer to the description of the sidebar operating method in the above embodiment, and are not described herein again.
Referring to fig. 6, which is a schematic structural diagram of a sidebar operating system according to an embodiment of the present invention, the sidebar operating system includes a first system MODULE 51 and a second system MODULE 52, the first system MODULE 51 is provided with a unique sidebar application 511, and the first system MODULE is provided with a HOST stack 512, a MODULE stack 513, and a FORCE stack 514 in advance; wherein, all scenes of the first system MODULE 51 are stored in the HOST stack 512, all scenes of the second system MODULE 52 are stored in the MODULE stack 513, and all scenes for forcing the sidebar application to operate are stored in the FORCE stack 514;
the first system module 51 is configured to, when detecting that the FORCE stack 514 is empty at any time, determine that a currently running activity is in a channel of the first system module 51 or a channel of the second system module, and when determining that the currently running activity is in the channel of the first system module 51, respond to a scene at a top layer in the HOST stack 512 so that the sidebar application executes an operation of the scene on the sidebar application 511; when the currently running activity is judged to be in the channel of the second system MODULE 52, responding to the scene at the top layer in the MODULE stack 513, so that the sidebar application executes the operation of the scene on the sidebar application 511;
the first system module 51 is further configured to create a scene of a local application to operate the sidebar application 511;
the second system module 52 is configured to create a scene of a native application to operate the sidebar application 511.
The specific implementation manner and the working principle of the sidebar operating system provided by the embodiment of the invention can refer to the description of the sidebar operating method in the above embodiment, and are not described herein again.
Referring to fig. 7, which is a schematic structural diagram of a terminal device according to an embodiment of the present invention, the terminal device includes a first system MODULE 61, where the first system MODULE 61 includes a processor 611 and a memory 612, a unique sidebar application 6121 is disposed in the memory 612, a HOST stack 6122, a MODULE stack 6123, and a FORCE stack 6124 are disposed in the memory, and an executable code 6125 is further stored in the memory; all scenes of the first system MODULE are stored in the HOST stack 6122, all scenes of the second system MODULE are stored in the MODULE stack 6123, and all scenes for forcing the operation of the sidebar application are stored in the FORCE stack 6124;
the processor 612, when executing the executable code 6125 in the memory 611, implements the following:
when detecting that the FORCE stack 6124 is empty at any time, judging that the currently running activity is in a channel of a first system module or a channel of a second system module; when the currently running activity is determined to be in the channel of the first system module, responding to the top scene in the HOST stack 6122 to execute the operation of the scene on the sidebar application; when the currently running activity is determined to be in the channel of the second system MODULE, responding to the top scene in the MODULE stack 6123 to execute the operation of the scene on the sidebar application.
Preferably, the terminal device is an intelligent tablet, an all-in-one machine, a conference machine or an electronic whiteboard. In addition, the first system module is preferably an android module.
In another preferred embodiment, the terminal device further includes the second system module, and the second system module is a pc module.
The implementation of the smart tablet provided in the above embodiment may refer to the above detailed description of the operation method of the sidebar, and is not described herein again.
The embodiment of the present invention further provides a server, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements the sidebar operation method provided in any one of the above embodiments when executing the computer program; alternatively, the processor implements the functions of the modules in the sidebar operating device embodiment when executing the computer program.
The embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the sidebar operation method provided in any one of the above embodiments; or, when the computer program runs, the apparatus in which the computer-readable storage medium is located is controlled to execute the functions of the modules in the above-mentioned embodiment of the sidebar operating device.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the sidebar operating device/server, and various interfaces and lines connecting various parts of the entire sidebar operating device/server.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the sidebar operating device/server by running or executing the computer programs and/or modules stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device. Wherein, the sidebar operating device/server integrated module/unit can be stored in a computer readable storage medium if it is implemented in the form of software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (19)

1. A sidebar operation method is characterized in that the method is applicable to equipment comprising a first system MODULE, the first system MODULE is provided with a unique sidebar application, and the first system MODULE is provided with an HOST stack, a MODULE stack and a FORCE stack in advance; all scenes of the first system MODULE are stored in the HOST stack, all scenes of the second system MODULE are stored in the MODULE stack, and all scenes for forcing the operation of the sidebar application are stored in the FORCE stack; the method comprises the following steps:
when detecting that the FORCE stack is empty at any time, judging that the currently running activity is in a channel of the first system module or a channel of the second system module;
when the currently running activity is judged to be in the channel of the first system module, responding to a scene at the top layer in the HOST stack so as to execute the operation of the scene on the sidebar application;
and when the currently running activity is judged to be in the channel of the second system MODULE, responding to the scene at the top layer in the MODULE stack so as to execute the operation of the scene on the sidebar application.
2. The sidebar operation method according to claim 1, wherein the determining whether the currently running activity is in the channel of the second system module specifically is:
judging whether topActivity of the equipment is Tvsetting or not; if so, the currently running activity is in a channel of a second system module; and if not, the currently running activity is in the channel of the first system module.
3. The method of sidebar operation of claim 1, wherein the method further comprises:
and when detecting that the FORCE stack is not empty at any time, forcing to respond to the object at the top layer in the FORCE stack so as to execute the operation of the scene on the sidebar application.
4. The method of sidebar operation of claim 1, wherein the method further comprises:
and when the HOST stack, the MODULE stack and the FORCE stack are detected to be empty at any time, operating the sidebar application by using a preset default scene.
5. The sidebar operating method of claim 2, wherein the method further comprises the steps of:
when the top Activity is switched from Tvsetting to non-Tvsetting, the display state of the sidebar application is changed;
and when the top Activity is switched from non-Tseting to Tseting, changing the display state of the sidebar application.
6. The method of sidebar operation of claim 1, wherein the method further comprises the steps of:
when receiving that a current client calls and modifies an interface of the sidebar application, judging whether a scene of the client is positioned at the top layer of the MODULE stack or the HOST stack;
changing a display state of the sidebar application when the scene of the client is at a top layer of the MODULE stack or the HOST stack.
7. The method of sidebar operation of claim 1, wherein the method further comprises the steps of:
when a request for disconnecting the current client is received and the client is positioned in the first system module, deleting the scene positioned at the top layer of the HOST stack, clearing all operations performed by the client and responding to the scene at the next layer of the HOST stack;
when a request of disconnecting the current client is received and the client is located in the second system MODULE, deleting the scene located at the top layer of the MODELE stack, clearing all operations performed by the client, and responding to the scene at the next layer of the MODELE stack.
8. The method of sidebar operation of claim 1, wherein the method further comprises the steps of:
when the heartbeat packet sent by the current client is not received within a preset time period and the client is positioned in the first system module, deleting the scene positioned at the top layer of the HOST stack, emptying all operations performed by the client and responding to the scene at the next layer in the HOST stack;
when the heartbeat packet sent by the current client is not received within a preset time period and the client is located in the second system MODULE, deleting the scene located at the top layer of the MODELE stack, clearing all operations performed by the client and responding to the scene of the next layer in the MODELE stack.
9. The method of sidebar operation of claim 1, wherein the method further comprises the steps of:
when a request that any client calls the sidebar application is received, judging that the client is located in a first system module or a second system module;
when the client is positioned in a first system module, pushing the scene created by the client into the HOST stack;
and when the client is positioned in a second system MODULE, pushing the scene created by the client into the MODULE stack.
10. The sidebar operating method of claim 1, wherein the first system module is an andoid module and the second system module is a PC module.
11. The sidebar operating method of claim 1, wherein the device comprising the first system module is a smart tablet.
12. The sidebar operating method of claim 11, wherein the smart tablet further comprises the second system module.
13. A sidebar operating device is characterized by being applicable to equipment comprising a first system MODULE, wherein the first system MODULE is provided with a unique sidebar application, and is provided with an HOST stack, a MODULE stack and a FORCE stack in advance; all scenes of the first system MODULE are stored in the HOST stack, all scenes of the second system MODULE are stored in the MODULE stack, and all scenes for forcing the operation of the sidebar application are stored in the FORCE stack; the device comprises:
the first judging module is used for judging that the currently running activity is in a channel of the first system module or a channel of the second system module when the FORCE stack is detected to be empty at any time;
a first response module, configured to, when it is determined that a currently running activity is in a channel of the first system module, respond to a scene at a top layer in the HOST stack so as to execute an operation of the scene on the sidebar application;
and the second response MODULE is used for responding to the scene at the top layer in the MODULE stack so as to execute the operation of the scene on the sidebar application when the currently running activity is judged to be in the channel of the second system MODULE.
14. A sidebar operating system is characterized by comprising a first system MODULE and a second system MODULE, wherein the first system MODULE is provided with a unique sidebar application, and the first system MODULE is provided with an HOST stack, a MODULE stack and a FORCE stack in advance; wherein all scenes of the first system MODULE are stored in the HOST stack, all scenes of the second system MODULE are stored in the MODULE stack, and all scenes for forcing the operation of the sidebar application are stored in the FORCE stack;
the first system module is used for judging that the currently running activity is in a channel of the first system module or a channel of a second system module when the FORCE stack is detected to be empty at any time; when the currently running activity is judged to be in the channel of the first system module, responding to a scene at the top layer in the HOST stack so as to execute the operation of the scene on the sidebar application; when the currently running activity is judged to be in the channel of the second system MODULE, responding to a scene at the top layer in the MODULE stack so as to execute the operation of the scene on the sidebar application;
the first system module is also used for creating a scene of a local application to operate the sidebar application;
the second system module is used for creating scenes of local application to operate the sidebar application.
15. A terminal device comprises a first system MODULE, and is characterized in that the first system MODULE is provided with a unique sidebar application, the first system MODULE comprises a processor and a memory, the sidebar application is provided with a HOST stack, a MODULE stack and a FORCE stack in the memory, and the memory is also stored with executable codes; all scenes of the first system MODULE are stored in the HOST stack, all scenes of the second system MODULE are stored in the MODULE stack, and all scenes for forcing the operation of the sidebar application are stored in the FORCE stack;
the processor, when executing the executable code in the memory, performs the following:
the device is used for judging whether the currently running activity is in a channel of a first system module or a channel of a second system module when the FORCE stack is detected to be empty at any time; when the currently running activity is judged to be in the channel of the first system module, responding to the scene at the top layer in the HOST stack so as to execute the operation of the scene on the sidebar application; and when judging that the currently running activity is in the channel of the second system MODULE, responding to the scene at the top layer in the MODULE stack so as to execute the operation of the scene on the sidebar application.
16. The terminal device of claim 15, wherein the first system module is an android module.
17. The terminal device of claim 16, wherein the terminal device further comprises the second system module, the second system module being a pc module.
18. A server comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the sidebar operation method of any one of claims 1-12 when executing the computer program.
19. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the sidebar operation method according to any one of claims 1 to 12.
CN201810843006.3A 2018-07-27 2018-07-27 Sidebar operation method, device and system, terminal equipment and server Active CN108984074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810843006.3A CN108984074B (en) 2018-07-27 2018-07-27 Sidebar operation method, device and system, terminal equipment and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810843006.3A CN108984074B (en) 2018-07-27 2018-07-27 Sidebar operation method, device and system, terminal equipment and server

Publications (2)

Publication Number Publication Date
CN108984074A CN108984074A (en) 2018-12-11
CN108984074B true CN108984074B (en) 2020-11-10

Family

ID=64551419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810843006.3A Active CN108984074B (en) 2018-07-27 2018-07-27 Sidebar operation method, device and system, terminal equipment and server

Country Status (1)

Country Link
CN (1) CN108984074B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651223B (en) * 2020-04-14 2023-11-24 中国建设银行股份有限公司 Public sidebar content display method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208087A (en) * 2009-07-23 2015-12-30 宏正自动科技股份有限公司 Remote management system and remote management method
CN101882056B (en) * 2010-06-29 2012-05-23 中国联合网络通信集团有限公司 IPhone large screen touch control system and commissioning method thereof
CN106293574A (en) * 2015-06-12 2017-01-04 联想企业解决方案(新加坡)有限公司 Switching of input interfaces of electronic devices
CN105573753B (en) * 2015-12-11 2020-02-07 北京元心科技有限公司 Multi-system switching method and device
CN105677315B (en) * 2015-12-28 2020-02-07 北京元心科技有限公司 Interface display method of multiple operating systems and intelligent terminal

Also Published As

Publication number Publication date
CN108984074A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN110515576B (en) Display control method and device
CN108664229B (en) Screen transmission method and device, electronic equipment and computer readable storage medium
CN110716906B (en) File viewing method, electronic equipment and file viewing device
CN112114761A (en) Wireless screen projection control method and device, terminal equipment and readable storage medium
CN113407086B (en) Object dragging method, device and storage medium
EP3680765A1 (en) Navigation bar control method and device
CN111246238A (en) Live broadcast method, device, storage medium and live broadcast system
CN112764891B (en) Electronic terminal and method for controlling application
CN113961295A (en) Device interaction control method and device, electronic device and readable storage medium
CN110989877B (en) Message management method, related equipment and computer readable storage medium
CN110618904A (en) Stuck detection method and device
CN114296844B (en) Information synchronous interaction method, device, equipment and storage medium
CN108984074B (en) Sidebar operation method, device and system, terminal equipment and server
CN112328197B (en) Multi-screen display method, device and storage medium
CN106599323A (en) Method and apparatus for realizing distributed pipeline in distributed file system
CN111666023B (en) Interface display method and device, electronic equipment and readable storage medium
CN113709406B (en) Software collaboration method, system and storage medium for Hongmon conference all-in-one machine
WO2022171058A1 (en) Application program processing method and apparatus, and electronic device
CN110837335A (en) Method and device for displaying page tag in application, terminal and storage medium
CN113676761B (en) Multimedia resource playing method and device and main control equipment
CN113709541A (en) WEB-based multi-terminal equipment interaction method, system and terminal equipment
CN107390981B (en) Global menu control method, device, equipment and storage medium
WO2020220969A1 (en) Intelligent interactive device and control method therefor
CN115079975A (en) Information sharing method, device and equipment based on split screen assembly and storage medium
EP3739874A1 (en) Video playback method and device, terminal device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant