WO2019015089A1 - Control method, device and apparatus for global menu, and storage medium - Google Patents

Control method, device and apparatus for global menu, and storage medium Download PDF

Info

Publication number
WO2019015089A1
WO2019015089A1 PCT/CN2017/103243 CN2017103243W WO2019015089A1 WO 2019015089 A1 WO2019015089 A1 WO 2019015089A1 CN 2017103243 W CN2017103243 W CN 2017103243W WO 2019015089 A1 WO2019015089 A1 WO 2019015089A1
Authority
WO
WIPO (PCT)
Prior art keywords
current display
control
display system
global menu
triggered
Prior art date
Application number
PCT/CN2017/103243
Other languages
French (fr)
Chinese (zh)
Inventor
张勇
张维元
Original Assignee
广州视源电子科技股份有限公司
广州视臻信息科技有限公司
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 广州视源电子科技股份有限公司, 广州视臻信息科技有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2019015089A1 publication Critical patent/WO2019015089A1/en

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/0482Interaction with lists of selectable items, e.g. menus

Definitions

  • the present invention relates to an interaction technology, and in particular, to a method, an apparatus, a device, and a storage medium for controlling a global menu.
  • Existing educational or conference smart tablets usually have two operating systems, one basic display system, usually TV Android system; the other is a common system for users, usually Windows system or high performance Android system.
  • the embodiment of the invention provides a method, a device, a device and a storage medium for controlling a global menu, so as to control a plurality of different systems through a global menu, thereby reducing the workload of development and maintenance and improving the user experience.
  • an embodiment of the present invention provides a method for controlling a global menu, where the method includes:
  • the current display system is a non-primary system, sending the data information corresponding to the control instruction to the current display system;
  • the data information is parsed by the current display system and responds to the control command.
  • an embodiment of the present invention provides a global menu control apparatus, where the apparatus includes:
  • a system type determining module configured to determine, after the at least one control instruction in the global menu is triggered, determining a system type of the current display system
  • a data information sending module configured to: if the current display system is a non-primary system, send data information corresponding to the control instruction to the current display system;
  • the first response module is configured to parse the data information by the current display system and respond to the control instruction.
  • an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the program, such as the present invention A method of controlling a global menu as described in any of the embodiments.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer program is stored, and when the program is executed by the processor, the global menu control method according to any one of the embodiments of the present invention is implemented. .
  • the current display system after detecting that at least one control command in the global menu is triggered, determining a system type of the current display system, if the current display system is a non-primary system, sending the data information corresponding to the control instruction to The current display system parses the data information by the current display system and responds to the control command. To achieve control of multiple different systems through a global menu, the development and maintenance workload is reduced and the user experience is improved.
  • 1a is a flowchart of a method for controlling a global menu in the first embodiment of the present invention
  • FIG. 1b is a system display interface diagram applicable to the first embodiment of the present invention.
  • Embodiment 2 is a flowchart of a method for controlling a global menu in Embodiment 2 of the present invention
  • Embodiment 3 is a flowchart of a method for controlling a global menu in Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of a global menu control apparatus according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a computer device according to Embodiment 5 of the present invention.
  • FIG. 1 is a flowchart of a method for controlling a global menu according to a first embodiment of the present invention.
  • the present embodiment is applicable to a global menu control.
  • the method may be implemented by a global control device provided by an embodiment of the present invention.
  • the device can be implemented in software and/or hardware. Referring to FIG. 1a, the method may specifically include the following steps:
  • the menu when a set of menus can be applied by multiple operating systems, the menu can be called a global menu.
  • the global menu contains several trigger events, each of which corresponds to a corresponding control command.
  • the trigger event can be "return to the main page", “return to the previous layer” or "open the writing version” and the like.
  • the display interface is based on the operating system and the display interfaces of different operating systems are different, the operating system based on a certain display interface is called a display system, and the display type of the display system is the system type of the operating system corresponding to the display interface.
  • the types of display systems can be classified into two types: a primary system and a non-primary system.
  • the main system can also be called a HOST system, and the number of systems is usually one.
  • the non-primary system can also be a SLOT system, a slave system or an auxiliary system, and the number of systems is usually one or more.
  • the main system is usually used as the basic display system to support the operation of certain basic software or system software, such as settings, pictures, or cameras; the non-main system is used as a common system for users to support the operation of certain application software. Such as mobile phone screen or Sogou input method.
  • the current application interface can be obtained through the application programming interface (API) of the system to determine the system type of the current display system.
  • API is a call interface left by the operating system to the application, and the application program causes the operating system to execute the command of the application by calling the API of the system, thereby realizing the acquisition of the current interface.
  • the data information corresponding to the control instruction is Send to the current display system.
  • the data information corresponding to the control instruction may be data information of a trigger event corresponding to the control instruction.
  • the trigger event corresponding to the control instruction is “opening the tablet”
  • the configuration file corresponding to the application, the identification information, and the function data corresponding to each function module are sent to the current display system. .
  • the current display system After receiving the data information corresponding to the triggered control command, the current display system parses the data information, parses the trigger event corresponding to the triggered control command, and further responds to the control command according to the trigger event. In a specific example, if the result of parsing the data information of the control instruction is "open clipboard", the trigger event is responded to open the tablet.
  • FIG. 1b shows a system display interface diagram. If the host system receives the triggered control command, for example, the control command may be triggered by pressing the “return” button, and the current display condition is determined to be non-primary. The system sends the data information corresponding to the trigger event of the control instruction to the non-master system, and the non-master system parses the data information and responds to the control instruction.
  • 140 is a schematic icon of each application software in the current display system
  • 150 is a global menu, which includes functions such as “return to the previous layer”, “return to the main page” or “open the writing tablet”.
  • the current display system after detecting that at least one control command in the global menu is triggered, determining a system type of the current display system, if the current display system is a non-primary system, sending the data information corresponding to the control instruction to The current display system parses the data information by the current display system and responds to the control command. To achieve control of multiple different systems through a global menu, the development and maintenance workload is reduced and the user experience is improved.
  • the method further includes: if the current display system is the main system, directly responding to the control command by the main system.
  • the main system directly responds to the control instruction. Reduces the ability to forward control commands to non-primary systems with fast response times.
  • the event of the HOME button needs to respond according to the user-defined main system.
  • the user-defined main system and the aforementioned main system may be the same or different, and the user-defined main system depends on the user's personal habits.
  • the aforementioned main system is represented by a HOST system
  • the aforementioned non-main system is represented by a SLOT system. If the user defines the HOST system as the main system, the HOME button responds directly to the HOST system.
  • the response to the HOME button requires two steps: first, the system is switched to the system interface displaying SLOT.
  • the home page of the SLOT system is then displayed, where the SLOT system interface displays only a dynamic screen during the system switching process, while the SLOT system's home page displays the icon display pages for each application that can be run on SLOT.
  • the global menu detects the control signals of each non-primary system during the operation of the main system and each non-main system, and if the control signal of one or more non-primary systems is abnormal, All trigger events in the control global menu are sent to the main system for processing, and the dispatch event of each slave system is no longer dispatched. Increased processing speed for trigger events and reduced invalid processing flow.
  • the detection operation can be integrated by the control device that completes the global menu.
  • the abnormality monitoring processing module is completed.
  • the function of the abnormality monitoring processing module is to monitor the reliability of communication of multiple systems. When a sub-module corresponding to a non-primary system is pulled out or the multi-system communication channel is unstable, the non-primary is not detected. When the system exists, the response of the global menu needs to be adjusted. At this time, only the trigger event is dispatched to the main system for processing.
  • FIG. 2 is a flowchart of a method for controlling a global menu according to Embodiment 2 of the present invention.
  • the embodiment is implemented on the basis of the foregoing embodiment. Referring to FIG. 2, the method may specifically include the following steps:
  • the primary system and each non-primary system are simultaneously started, and when the system is started, a multi-system control service between the primary system and each non-primary system is established, that is, the primary system establishes multiple systems with each non-primary system respectively.
  • Control services When the number of non-primary systems is one, the multi-system control service established by the primary system and the non-primary system is called a two-way control service connection.
  • the two-way control service refers to a communication control service between the primary system and the non-primary system, and is used for sending control commands to the other system.
  • a multi-system control service between the main system and each non-primary system is established to control data transmission between the main system and the non-primary systems, and is a subsequent main system and each non-master.
  • the system provides a basis for the forwarding of control commands, ensuring efficient data transfer between the primary system and each non-primary system.
  • the data information corresponding to the control command is sent to the current display system.
  • the specific data may be sent by the main system to the current data through the multi-system control service. display system.
  • the data information corresponding to the control instruction is sent to the current display system, and specifically, when the current display system is determined to be a non-primary display system, the main system sends the data information corresponding to the control instruction by using the multi-system control service. Give the current display system. The transmission of the data information corresponding to the control instruction is realized.
  • FIG. 3 is a flowchart of a method for controlling a global menu according to Embodiment 3 of the present invention.
  • the embodiment is implemented on the basis of the foregoing embodiment.
  • the method may specifically include the following steps:
  • S310 Determine a trigger area corresponding to all control commands in the global menu, and set a trigger event in the trigger area to be detected only by the primary system.
  • the trigger area corresponding to all the control instructions in the global menu is determined, and the trigger event in the trigger area is set to be detected only by the primary system.
  • the trigger event in the trigger region is implemented by the primary system only by setting the touch non-penetration to the trigger region.
  • Touch does not penetrate based on the principle of system touch architecture, touch The architecture principle means that when the user operates on the interface, multiple systems can receive the trigger event of the user at the same time.
  • the trigger event can be implemented by touch. All trigger events are received by the primary system and forwarded to the non-primary system.
  • Touch non-penetration means that a part of the area is set on the main system, and the trigger data of this area cannot be forwarded to each non-master system. Referring to FIG. 1b, the area corresponding to the 150 global menu is set to touch non-penetration, so that the trigger event of the area is detected only by the main system.
  • the main system may receive the message transmitted by each non-main system and display it by the global menu.
  • the current display system is a non-primary system, and the user needs to hide an icon corresponding to a trigger event in the global menu in the current display system, such as an icon corresponding to “return to the previous layer”.
  • the operation cannot be implemented, and the control command corresponding to the operation needs to be sent to the main system, and the hidden operation is performed by the main system.
  • FIG. 4 is a schematic structural diagram of a global menu control apparatus according to Embodiment 4 of the present invention, The device is adapted to perform a global menu control method provided by an embodiment of the present invention. As shown in FIG. 4, the device may specifically include:
  • the system type determining module 410 is configured to determine, after the at least one control command in the global menu is triggered, the system type of the current display system;
  • the data information sending module 420 is configured to: if the current display system is a non-primary system, send the data information corresponding to the control instruction to the current display system;
  • the first response module 430 is configured to parse the data information by the current display system and respond to the control instruction.
  • the device further includes:
  • control service establishing module configured to establish a multi-system control service between the main system and each non-host system before detecting that the system type of the current display system is triggered after detecting that at least one control command in the global menu is triggered Data transmission between the primary system and the respective non-primary systems.
  • the data information sending module 420 is specifically configured to:
  • the main system transmits the data information corresponding to the control instruction to the current display system through the multi-system control service.
  • the device further includes:
  • a setting module configured to determine a trigger area corresponding to all control instructions in the global menu, and trigger a trigger in the trigger area, after detecting that at least one control instruction in the global menu is triggered, determining a system type of the current display system Events are only detected by the primary system.
  • the device further includes:
  • a second response module configured to determine, after the at least one control command in the global menu is triggered, the system type of the current display system, if the current display system is the main system, directly by the main The system responds to the control command.
  • the device further includes:
  • the abnormality monitoring processing module is configured to: when detecting that the control signal of the non-primary system is abnormal, control all trigger events in the global menu to be sent to the main system for processing.
  • the control device of the global menu provided by the embodiment of the present invention can execute the global menu control method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • FIG. 5 is a schematic structural diagram of a computer device according to Embodiment 5 of the present invention.
  • FIG. 5 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention.
  • the computer device 12 shown in FIG. 5 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
  • computer device 12 is embodied in the form of a general purpose computing device.
  • Components of computer device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connects different system components, including system memory 28 and processing unit 16.
  • Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA Bus, a Video Electronics Standards Association (VESA) local bus, and peripheral component interconnects ( PCI) bus.
  • ISA Industry Standard Architecture
  • MAC Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI peripheral component interconnects
  • Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including volatile and non-volatile media, removable And non-removable media.
  • System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32.
  • Computer device 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media.
  • storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in Figure 5, commonly referred to as a "hard disk drive”).
  • a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and a removable non-volatile disk (such as a CD-ROM, DVD-ROM) may be provided.
  • each drive can be coupled to bus 18 via one or more data medium interfaces.
  • Memory 28 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
  • a program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more applications, other programs Modules and program data, each of these examples or some combination may include an implementation of a network environment.
  • Program module 42 typically performs the functions and/or methods of the described embodiments of the present invention.
  • Computer device 12 may also be in communication with one or more external devices 14 (eg, a keyboard, pointing device, display 24, etc.), and may also be in communication with one or more devices that enable a user to interact with the computer device 12, and/or Any device (eg, a network card, modem, etc.) that enables the computer device 12 to communicate with one or more other computing devices. This communication can take place via an input/output (I/O) interface 22.
  • computer device 12 may also be through network adapter 20 with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network, for example Such as the Internet) communication. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18.
  • networks eg, a local area network (LAN), a wide area network (WAN), and/or a public network, for example Such as the Internet
  • the processing unit 16 performs various function applications and data processing by running a program stored in the system memory 28, for example, implementing a global menu control method provided by an embodiment of the present invention:
  • the processing unit executes the program, it is implemented to: after detecting that at least one control instruction in the global menu is triggered, determine a system type of the current display system; if the current display system is a non-primary system, the control is performed.
  • the data information corresponding to the instruction is sent to the current display system; the data information is parsed by the current display system, and the control command is responded.
  • the sixth embodiment of the present invention provides a computer readable storage medium, where a computer program is stored, and when the program is executed by the processor, the global menu control method provided by all the embodiments of the present invention is implemented:
  • the program when executed by the processor, it is determined that after detecting that at least one control instruction in the global menu is triggered, determining a system type of the current display system; if the current display system is a non-main system, the control instruction is corresponding to The data information is sent to the current display system; the data information is parsed by the current display system and responds to the control command.
  • the computer readable medium can be a computer readable signal medium or a computer readable storage medium.
  • the computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or Device, or any combination of the above. More specific examples (non-exhaustive lists) of computer readable storage media include: electrical connections having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • a computer readable storage medium can be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus or device.
  • a computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device. .
  • Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including an object oriented programming language such as Java, Smalltalk, C++, and conventional.
  • a procedural programming language such as a "C" language or a similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server.
  • the remote computer can pass through any kind of network - including local area network (LAN) or wide area network (WAN)
  • LAN local area network
  • WAN wide area network
  • One is connected to the user's computer, or can be connected to an external computer (for example, using an Internet service provider to connect via the Internet).

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

Disclosed in an embodiment of the present invention are a control method, device and apparatus for a global menu, and a storage medium. The method comprises: if at least one control command in a global menu is detected to be triggered, determining a system type of a current display system; if the current display system is a non-master system, transmitting, to the current display system, data information corresponding to the control command; and performing, by the current display system, analysis of the data information, and providing a response to the control command. The invention realizes control of multiple different systems by means of a global menu, thereby reducing onerous development and maintenance efforts, and improving user experience.

Description

一种全局菜单的控制方法、装置、设备和存储介质Method, device, device and storage medium for controlling global menu 技术领域Technical field
本发明涉及交互技术,尤其涉及一种全局菜单的控制方法、装置、设备和存储介质。The present invention relates to an interaction technology, and in particular, to a method, an apparatus, a device, and a storage medium for controlling a global menu.
背景技术Background technique
由于不同功能或类型的应用软件需要不同的操作系统的支撑才能运行,因此,现有的终端设备中通常采用多个操作系统。Since different functions or types of application software require different operating system support to operate, multiple operating systems are usually used in existing terminal devices.
现有的教育或会议用智能平板通常具有两个操作系统,一个基础的显示系统,通常为TV Android系统;另外一个为用户常用系统,通常为Windows系统或高性能的Android系统。Existing educational or conference smart tablets usually have two operating systems, one basic display system, usually TV Android system; the other is a common system for users, usually Windows system or high performance Android system.
当两个系统都需要一个相同功能的全局菜单时,则需要在对应的系统上将该全局菜单均实现一遍,造成开发和维护工作重复,且用户体验差。When both systems need a global menu with the same function, the global menu needs to be implemented once on the corresponding system, resulting in duplication of development and maintenance work, and poor user experience.
发明内容Summary of the invention
本发明实施例提供一种全局菜单的控制方法、装置、设备和存储介质,以实现通过一套全局菜单控制多个不同的系统,减少了开发和维护的工作量,提高了用户体验。The embodiment of the invention provides a method, a device, a device and a storage medium for controlling a global menu, so as to control a plurality of different systems through a global menu, thereby reducing the workload of development and maintenance and improving the user experience.
第一方面,本发明实施例提供了一种全局菜单的控制方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for controlling a global menu, where the method includes:
检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型; After detecting that at least one control command in the global menu is triggered, determining the system type of the current display system;
若当前显示系统为非主系统,则将所述控制指令对应的数据信息发送给当前显示系统;If the current display system is a non-primary system, sending the data information corresponding to the control instruction to the current display system;
由当前显示系统对所述数据信息进行解析,并对所述控制指令进行响应。The data information is parsed by the current display system and responds to the control command.
第二方面,本发明实施例提供了一种全局菜单的控制装置,所述装置包括:In a second aspect, an embodiment of the present invention provides a global menu control apparatus, where the apparatus includes:
系统类型判断模块,用于检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型;a system type determining module, configured to determine, after the at least one control instruction in the global menu is triggered, determining a system type of the current display system;
数据信息发送模块,用于若当前显示系统为非主系统,则将所述控制指令对应的数据信息发送给当前显示系统;a data information sending module, configured to: if the current display system is a non-primary system, send data information corresponding to the control instruction to the current display system;
第一响应模块,用于由当前显示系统对所述数据信息进行解析,并对所述控制指令进行响应。The first response module is configured to parse the data information by the current display system and respond to the control instruction.
第三方面,本发明实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如本发明实施例中任一所述的全局菜单的控制方法。In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the program, such as the present invention A method of controlling a global menu as described in any of the embodiments.
第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例中任一所述的全局菜单的控制方法。In a fourth aspect, the embodiment of the present invention further provides a computer readable storage medium, where the computer program is stored, and when the program is executed by the processor, the global menu control method according to any one of the embodiments of the present invention is implemented. .
本发明实施例中,在检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型,若当前显示系统为非主系统,则将所述控制指令对应的数据信息发送给当前显示系统,由当前显示系统对所述数据信息进行解析,并对所述控制指令进行响应。以实现通过一套全局菜单控制多个不同的系统,减少了开发和维护的工作量,提高了用户体验。 In the embodiment of the present invention, after detecting that at least one control command in the global menu is triggered, determining a system type of the current display system, if the current display system is a non-primary system, sending the data information corresponding to the control instruction to The current display system parses the data information by the current display system and responds to the control command. To achieve control of multiple different systems through a global menu, the development and maintenance workload is reduced and the user experience is improved.
附图说明DRAWINGS
图1a是本发明实施例一中的一种全局菜单的控制方法的流程图;1a is a flowchart of a method for controlling a global menu in the first embodiment of the present invention;
图1b是本发明实施例一中所适用的一种系统显示界面图;FIG. 1b is a system display interface diagram applicable to the first embodiment of the present invention; FIG.
图2是本发明实施例二中的一种全局菜单的控制方法的流程图;2 is a flowchart of a method for controlling a global menu in Embodiment 2 of the present invention;
图3是本发明实施例三中的一种全局菜单的控制方法的流程图;3 is a flowchart of a method for controlling a global menu in Embodiment 3 of the present invention;
图4是本发明实施例四中的一种全局菜单的控制装置的结构示意图;4 is a schematic structural diagram of a global menu control apparatus according to Embodiment 4 of the present invention;
图5是本发明实施例五中的一种计算机设备的结构示意图。FIG. 5 is a schematic structural diagram of a computer device according to Embodiment 5 of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. It should also be noted that, for ease of description, only some, but not all, of the structures related to the present invention are shown in the drawings.
实施例一Embodiment 1
图1a为本发明实施例一提供的一种全局菜单的控制方法的流程图,本实施例可适用于对全局菜单进行控制的情况,该方法可以由本发明是实施例提供的全局控制装置来执行,该装置可采用软件和/或硬件的方式实现。参考图1a,该方法具体可以包括如下步骤:FIG. 1 is a flowchart of a method for controlling a global menu according to a first embodiment of the present invention. The present embodiment is applicable to a global menu control. The method may be implemented by a global control device provided by an embodiment of the present invention. The device can be implemented in software and/or hardware. Referring to FIG. 1a, the method may specifically include the following steps:
S110、检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型。S110. After detecting that at least one control command in the global menu is triggered, determining a system type of the current display system.
其中,当某套菜单可以被多个操作系统应用时,该菜单可以称为全局菜单。全局菜单中包含若干个触发事件,每个触发事件对应相应的控制指令。可选的, 触发事件可以是“返回主页面”、“返回上一层”或“打开写字版”等。由于显示界面是基于操作系统的,不同操作系统的显示界面不同,将某个显示界面基于的操作系统称为显示系统,显示系统的显示类型即为显示界面对应的操作系统的系统类型。Among them, when a set of menus can be applied by multiple operating systems, the menu can be called a global menu. The global menu contains several trigger events, each of which corresponds to a corresponding control command. Optional, The trigger event can be "return to the main page", "return to the previous layer" or "open the writing version" and the like. Because the display interface is based on the operating system and the display interfaces of different operating systems are different, the operating system based on a certain display interface is called a display system, and the display type of the display system is the system type of the operating system corresponding to the display interface.
在本实施例的技术方案中,可选的,显示系统的类型可以分为两类:主系统和非主系统。其中,主系统还可以称为HOST系统,系统个数通常为一个,非主系统还可以成为SLOT系统、从系统或辅助系统,系统个数通常为一个或多个。主系统通常作为基础的显示系统,用来支撑某些基础软件或系统软件的运行,如设置、图片、或照相机等;非主系统作为用户的常用系统,用来支撑某些应用软件的运行,如手机传屏或搜狗输入法等。In the technical solution of the embodiment, optionally, the types of display systems can be classified into two types: a primary system and a non-primary system. The main system can also be called a HOST system, and the number of systems is usually one. The non-primary system can also be a SLOT system, a slave system or an auxiliary system, and the number of systems is usually one or more. The main system is usually used as the basic display system to support the operation of certain basic software or system software, such as settings, pictures, or cameras; the non-main system is used as a common system for users to support the operation of certain application software. Such as mobile phone screen or Sogou input method.
检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型。可选的,可以通过系统的应用程序编程接口(Application Programming Interface,API)获取当前界面的显示情况,来判断当前显示系统的系统类型。其中,API是操作系统留给应用程序的一个调用接口,应用程序通过调用系统的API而使操作系统去执行应用程序的命令,进而实现对当前界面的显示情况的获取。After detecting that at least one control command in the global menu is triggered, it determines the system type of the currently displayed system. Optionally, the current application interface can be obtained through the application programming interface (API) of the system to determine the system type of the current display system. The API is a call interface left by the operating system to the application, and the application program causes the operating system to execute the command of the application by calling the API of the system, thereby realizing the acquisition of the current interface.
在一个具体的例子中,若全局菜单中的“返回上一层”的触发事件的控制指令被触发,判断当前显示系统的系统类型为非主系统。通过显示类型的判断,以便进行后续操作。In a specific example, if the control command of the "return to the previous layer" trigger event in the global menu is triggered, it is determined that the system type of the currently displayed system is a non-primary system. By the judgment of the display type, for subsequent operations.
S120、若当前显示系统为非主系统,则将所述控制指令对应的数据信息发送给当前显示系统。S120. If the current display system is a non-primary system, send the data information corresponding to the control instruction to the current display system.
具体的,若判断当前显示系统为非主系统,则将控制指令对应的数据信息 发送给当前显示系统。其中,控制指令对应的数据信息可以是,该控制指令对应的触发事件的数据信息。在一个具体的例子中,若控制指令对应的触发事件是“打开写字板”,则将“打开写字板”该应用对应的配置文件、标识信息以及各功能模块对应的功能数据发送给当前显示系统。Specifically, if it is determined that the current display system is a non-primary system, the data information corresponding to the control instruction is Send to the current display system. The data information corresponding to the control instruction may be data information of a trigger event corresponding to the control instruction. In a specific example, if the trigger event corresponding to the control instruction is “opening the tablet”, the configuration file corresponding to the application, the identification information, and the function data corresponding to each function module are sent to the current display system. .
S130、由当前显示系统对所述数据信息进行解析,并对所述控制指令进行响应。S130. Parse the data information by the current display system, and respond to the control instruction.
当前显示系统在接收到被触发的控制指令对应的数据信息后,对该数据信息进行解析,解析出被触发的控制指令对应的触发事件,进而根据该触发事件对控制指令进行响应。在一个具体的例子中,若对控制指令的数据信息解析结果为“打开写字板”,则对该触发事件进行响应,将写字板打开。After receiving the data information corresponding to the triggered control command, the current display system parses the data information, parses the trigger event corresponding to the triggered control command, and further responds to the control command according to the trigger event. In a specific example, if the result of parsing the data information of the control instruction is "open clipboard", the trigger event is responded to open the tablet.
图1b示出了一种系统显示界面图,若主系统接收到了被触发的控制指令,例如,该控制指令可以是由按下了“返回”键触发而得,判断当前的显示情况为非主系统,则将控制指令对应触发事件的数据信息发送给该非主系统,该非主系统对数据信息进行解析,并对控制指令进行响应。140为当前显示系统下各个应用软件的示意图标,150为全局菜单,其中包括“返回上一层”、“返回主页面”或“打开写写字板”等功能。FIG. 1b shows a system display interface diagram. If the host system receives the triggered control command, for example, the control command may be triggered by pressing the “return” button, and the current display condition is determined to be non-primary. The system sends the data information corresponding to the trigger event of the control instruction to the non-master system, and the non-master system parses the data information and responds to the control instruction. 140 is a schematic icon of each application software in the current display system, and 150 is a global menu, which includes functions such as “return to the previous layer”, “return to the main page” or “open the writing tablet”.
本发明实施例中,在检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型,若当前显示系统为非主系统,则将所述控制指令对应的数据信息发送给当前显示系统,由当前显示系统对所述数据信息进行解析,并对所述控制指令进行响应。以实现通过一套全局菜单控制多个不同的系统,减少了开发和维护的工作量,提高了用户体验。In the embodiment of the present invention, after detecting that at least one control command in the global menu is triggered, determining a system type of the current display system, if the current display system is a non-primary system, sending the data information corresponding to the control instruction to The current display system parses the data information by the current display system and responds to the control command. To achieve control of multiple different systems through a global menu, the development and maintenance workload is reduced and the user experience is improved.
在上述技术方案的基础上,在检测到全局菜单中的至少一个控制指令被触 发后,判断当前显示系统的系统类型之后,还包括:若当前显示系统为主系统,直接由所述主系统对所述控制指令进行响应。On the basis of the above technical solution, at least one control command in the global menu is detected to be touched After the sending, after determining the system type of the current display system, the method further includes: if the current display system is the main system, directly responding to the control command by the main system.
可选的,在检测到全局菜单中的至少一个控制指令被触发后,根据系统API判断当前的显示系统为主系统时,则直接由主系统对控制指令进行响应。减少了将控制指令转发到非主系统的操作,响应速度快。Optionally, after detecting that at least one control instruction in the global menu is triggered, and determining, according to the system API, that the current display system is the main system, the main system directly responds to the control instruction. Reduces the ability to forward control commands to non-primary systems with fast response times.
需要说明的是,有些特殊指令需要多个系统共同完成动作,需要特殊判断,该特殊指令和用户的设定有关。例如:HOME按键的事件需要根据用户定义的主系统去响应,其中,用户定义的主系统和前述的主系统可以相同也可以不同,用户定义的主系统取决于用户的个人习惯。这里为了表述清晰,将前述的主系统用HOST系统表示,前述的非主系统用SLOT系统表示。若用户将HOST系统定义为主系统,则HOME按键则直接在HOST系统响应,若用户将SLOT系统定义为主系统,则响应HOME按键需要两步操作:首先将系统切换至显示SLOT的系统界面,然后显示SLOT系统的主页,其中,SLOT的系统界面显示的只是一个动态的系统切换过程中的画面,而SLOT系统的主页则显示了可以在SLOT上运行的各个应用的图标显示页面。It should be noted that some special instructions require multiple systems to complete the action together, and special judgment is required, which is related to the user's setting. For example, the event of the HOME button needs to respond according to the user-defined main system. The user-defined main system and the aforementioned main system may be the same or different, and the user-defined main system depends on the user's personal habits. Here, for the sake of clarity, the aforementioned main system is represented by a HOST system, and the aforementioned non-main system is represented by a SLOT system. If the user defines the HOST system as the main system, the HOME button responds directly to the HOST system. If the user defines the SLOT system as the main system, the response to the HOME button requires two steps: first, the system is switched to the system interface displaying SLOT. The home page of the SLOT system is then displayed, where the SLOT system interface displays only a dynamic screen during the system switching process, while the SLOT system's home page displays the icon display pages for each application that can be run on SLOT.
在上述技术方案的基础上,在检测到所述非主系统的控制信号异常时,控制所述全局菜单中的全部触发事件发送到主系统进行处理。Based on the foregoing technical solution, when detecting that the control signal of the non-master system is abnormal, all trigger events in the global menu are controlled to be sent to the main system for processing.
可选的,全局菜单在主系统和各非主系统上的运行过程中,对各非主系统的控制信号进行检测,若检测到某一个或多个的非主系统的控制信号异常时,则控制全局菜单中的全部触发事件发送到主系统进行处理,不再对各从系统进行触发事件的派发。提高了对触发事件的处理速度,减少了无效的处理流程。Optionally, the global menu detects the control signals of each non-primary system during the operation of the main system and each non-main system, and if the control signal of one or more non-primary systems is abnormal, All trigger events in the control global menu are sent to the main system for processing, and the dispatch event of each slave system is no longer dispatched. Increased processing speed for trigger events and reduced invalid processing flow.
在一个具体的例子中,检测操作可以由完成全局菜单的控制设备中集成的 异常监听处理模块来完成,异常监听处理模块的职责是监控多个系统各自通信的可靠性,当某一个非主系统对应的子模块内拔出或者多系统通信信道不稳定导致检测不到非主系统的存在时,全局菜单的响应需要做出调整,此时,只将触发事件派发到主系统进行处理。In a specific example, the detection operation can be integrated by the control device that completes the global menu. The abnormality monitoring processing module is completed. The function of the abnormality monitoring processing module is to monitor the reliability of communication of multiple systems. When a sub-module corresponding to a non-primary system is pulled out or the multi-system communication channel is unstable, the non-primary is not detected. When the system exists, the response of the global menu needs to be adjusted. At this time, only the trigger event is dispatched to the main system for processing.
实施例二Embodiment 2
图2为本发明实施例二提供的一种全局菜单的控制方法的流程图,本实施例在上述实施例的基础上实现。参考图2,该方法具体可以包括如下步骤:FIG. 2 is a flowchart of a method for controlling a global menu according to Embodiment 2 of the present invention. The embodiment is implemented on the basis of the foregoing embodiment. Referring to FIG. 2, the method may specifically include the following steps:
S210、建立主系统和各个非主系统之间的多系统控制服务,以控制所述主系统和所述各个非主系统之间的数据传输。S210. Establish a multi-system control service between the main system and each non-primary system to control data transmission between the main system and the each non-primary system.
可选的,主系统和各个非主系统同时启动,在系统启动的时候,建立主系统和各个非主系统之间的多系统控制服务,即,主系统分别与每个非主系统建立多系统控制服务。以非主系统的个数为一个时进行说明,此时,将主系统与该非主系统建立的多系统控制服务称为双向控制服务连接。双向控制服务是指,主系统与非主系统之间的通信控制服务,用于发送控制命令给对方系统,等主系统与各个非主系统成功建立双向控制服务连接后,主系统启动全局菜单,保证全局菜单在各系统界面出来后就可以立即展示给用户。Optionally, the primary system and each non-primary system are simultaneously started, and when the system is started, a multi-system control service between the primary system and each non-primary system is established, that is, the primary system establishes multiple systems with each non-primary system respectively. Control services. When the number of non-primary systems is one, the multi-system control service established by the primary system and the non-primary system is called a two-way control service connection. The two-way control service refers to a communication control service between the primary system and the non-primary system, and is used for sending control commands to the other system. After the primary system successfully establishes a two-way control service connection with each non-primary system, the primary system starts a global menu. Ensure that the global menu is displayed to the user immediately after each system interface comes out.
S220、检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型。S220. After detecting that at least one control command in the global menu is triggered, determine a system type of the current display system.
S230、若当前显示系统为非主系统,则将所述控制指令对应的数据信息发送给当前显示系统。S230. If the current display system is a non-main system, send the data information corresponding to the control instruction to the current display system.
S240、由当前显示系统对所述数据信息进行解析,并对所述控制指令进行 响应。S240. Parse the data information by the current display system, and perform the control instruction response.
本发明实施例中,通过建立主系统和各个非主系统之间的多系统控制服务,以控制所述主系统和所述各个非主系统之间的数据传输,为后续主系统和各非主系统之间对于控制指令的转发提供了基础,保证了主系统和各非主系统之间数据的有效传输。In the embodiment of the present invention, a multi-system control service between the main system and each non-primary system is established to control data transmission between the main system and the non-primary systems, and is a subsequent main system and each non-master. The system provides a basis for the forwarding of control commands, ensuring efficient data transfer between the primary system and each non-primary system.
在上述技术方案的基础上,“将所述控制指令对应的数据信息发送给当前显示系统”具体可以是:由所述主系统通过多系统控制服务将所述控制指令对应的数据信息发送给当前显示系统。On the basis of the above technical solution, the data information corresponding to the control command is sent to the current display system. The specific data may be sent by the main system to the current data through the multi-system control service. display system.
可选的,将所述控制指令对应的数据信息发送给当前显示系统具体可以是,判断出当前显示系统为非主显示系统时,由主系统通过多系统控制服务将控制指令对应的数据信息发送给当前显示系统。实现了对控制指令对应的数据信息的传输。Optionally, the data information corresponding to the control instruction is sent to the current display system, and specifically, when the current display system is determined to be a non-primary display system, the main system sends the data information corresponding to the control instruction by using the multi-system control service. Give the current display system. The transmission of the data information corresponding to the control instruction is realized.
实施例三Embodiment 3
图3为本发明实施例三提供的一种全局菜单的控制方法的流程图,本实施例在上述实施例的基础上实现。参考图3,该方法具体可以包括如下步骤:FIG. 3 is a flowchart of a method for controlling a global menu according to Embodiment 3 of the present invention. The embodiment is implemented on the basis of the foregoing embodiment. Referring to FIG. 3, the method may specifically include the following steps:
S310、确定全局菜单中的全部控制指令对应的触发区域,设置所述触发区域中的触发事件只由主系统进行检测。S310. Determine a trigger area corresponding to all control commands in the global menu, and set a trigger event in the trigger area to be detected only by the primary system.
具体的,确定全局菜单中的全部控制指令对应的触发区域,设置所述触发区域中的触发事件只有主系统进行检测。Specifically, the trigger area corresponding to all the control instructions in the global menu is determined, and the trigger event in the trigger area is set to be detected only by the primary system.
在一个具体的例子中,通过对该触发区域设置触摸不穿透来实现出触发区域中的触发事件只由主系统进行检测。触摸不穿透基于系统触摸架构原理,触 摸架构原理指的是,用户在界面上操作的时候,多系统都能够同时接收到用户的触发事件,可选的,触发事件可以通过触摸实现。所有的触发事件都是通过主系统接收并转发给非主系统。触摸不穿透是指,在主系统上设置一部分区域,此区域的触发数据不能够转发给各非主系统。参考图1b,将150全局菜单对应的区域设为触摸不穿透,令该区域的触发事件只由主系统进行检测。In a specific example, the trigger event in the trigger region is implemented by the primary system only by setting the touch non-penetration to the trigger region. Touch does not penetrate based on the principle of system touch architecture, touch The architecture principle means that when the user operates on the interface, multiple systems can receive the trigger event of the user at the same time. Optionally, the trigger event can be implemented by touch. All trigger events are received by the primary system and forwarded to the non-primary system. Touch non-penetration means that a part of the area is set on the main system, and the trigger data of this area cannot be forwarded to each non-master system. Referring to FIG. 1b, the area corresponding to the 150 global menu is set to touch non-penetration, so that the trigger event of the area is detected only by the main system.
S320、检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型。S320. After detecting that at least one control instruction in the global menu is triggered, determining a system type of the current display system.
S330、若当前显示系统为非主系统,则将所述控制指令对应的数据信息发送给当前显示系统。S330. If the current display system is a non-primary system, send the data information corresponding to the control instruction to the current display system.
S340、由当前显示系统对所述数据信息进行解析,并对所述控制指令进行响应。S340. Parse the data information by the current display system, and respond to the control instruction.
本发明实施例中,通过确定全局菜单中的全部控制指令对应的触发区域,设置所述触发区域中的触发事件只由主系统进行检测。避免了有触发事件发生时,主系统和各非主系统都有反应而造成的操作混乱,提高了用户体验。In the embodiment of the present invention, by determining the trigger region corresponding to all the control commands in the global menu, setting the trigger event in the trigger region is detected only by the primary system. It avoids the confusion caused by the reaction between the main system and each non-main system when a trigger event occurs, which improves the user experience.
在上述技术方案的基础上,还可以是主系统接收各个非主系统传递过来的消息,由全局菜单进行显示。在一个具体的例子中,当前显示系统为非主系统,用户需要在当前显示系统中隐藏全局菜单中的某个触发事件对应的图标,如“返回上一层”对应的图标,此时,在非主系统的显示界面下,该操作不可以实现,而需要将该操作对应的控制指令发送给主系统,由主系统执行该隐藏操作。On the basis of the above technical solution, the main system may receive the message transmitted by each non-main system and display it by the global menu. In a specific example, the current display system is a non-primary system, and the user needs to hide an icon corresponding to a trigger event in the global menu in the current display system, such as an icon corresponding to “return to the previous layer”. In the display interface of the non-main system, the operation cannot be implemented, and the control command corresponding to the operation needs to be sent to the main system, and the hidden operation is performed by the main system.
实施例四Embodiment 4
图4是本发明是实施例四提供的一种全局菜单的控制装置的结构示意图, 该装置适用于执行本发明实施例提供给的一种全局菜单的控制方法。如图4所示,该装置具体可以包括:4 is a schematic structural diagram of a global menu control apparatus according to Embodiment 4 of the present invention, The device is adapted to perform a global menu control method provided by an embodiment of the present invention. As shown in FIG. 4, the device may specifically include:
系统类型判断模块410,用于检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型;The system type determining module 410 is configured to determine, after the at least one control command in the global menu is triggered, the system type of the current display system;
数据信息发送模块420,用于若当前显示系统为非主系统,则将所述控制指令对应的数据信息发送给当前显示系统;The data information sending module 420 is configured to: if the current display system is a non-primary system, send the data information corresponding to the control instruction to the current display system;
第一响应模块430,用于由当前显示系统对所述数据信息进行解析,并对所述控制指令进行响应。The first response module 430 is configured to parse the data information by the current display system and respond to the control instruction.
进一步的,所述装置还包括:Further, the device further includes:
控制服务建立模块,用于在检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型之前,建立主系统和各个非主系统之间的多系统控制服务,以控制所述主系统和所述各个非主系统之间的数据传输。a control service establishing module, configured to establish a multi-system control service between the main system and each non-host system before detecting that the system type of the current display system is triggered after detecting that at least one control command in the global menu is triggered Data transmission between the primary system and the respective non-primary systems.
进一步的,数据信息发送模块420具体用于:Further, the data information sending module 420 is specifically configured to:
由所述主系统通过多系统控制服务将所述控制指令对应的数据信息发送给当前显示系统。The main system transmits the data information corresponding to the control instruction to the current display system through the multi-system control service.
进一步的,所述装置还包括:Further, the device further includes:
设置模块,用于在检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型之前,确定全局菜单中的全部控制指令对应的触发区域,设置所述触发区域中的触发事件只由主系统进行检测。a setting module, configured to determine a trigger area corresponding to all control instructions in the global menu, and trigger a trigger in the trigger area, after detecting that at least one control instruction in the global menu is triggered, determining a system type of the current display system Events are only detected by the primary system.
进一步的,所述装置还包括:Further, the device further includes:
第二响应模块,用于在检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型之后,若当前显示系统为主系统,直接由所述主 系统对所述控制指令进行响应。a second response module, configured to determine, after the at least one control command in the global menu is triggered, the system type of the current display system, if the current display system is the main system, directly by the main The system responds to the control command.
进一步的,所述装置还包括:Further, the device further includes:
异常监听处理模块,用于检测到所述非主系统的控制信号异常时,控制所述全局菜单中的全部触发事件发送到主系统进行处理。The abnormality monitoring processing module is configured to: when detecting that the control signal of the non-primary system is abnormal, control all trigger events in the global menu to be sent to the main system for processing.
本发明实施例提供的全局菜单的控制装置可执行本发明任意实施例提供的全局菜单的控制方法,具备执行方法相应的功能模块和有益效果。The control device of the global menu provided by the embodiment of the present invention can execute the global menu control method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
实施例五Embodiment 5
图5为本发明实施例五提供的一种计算机设备的结构示意图。图5示出了适于用来实现本发明实施方式的示例性计算机设备12的框图。图5显示的计算机设备12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 5 is a schematic structural diagram of a computer device according to Embodiment 5 of the present invention. FIG. 5 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 5 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
如图5所示,计算机设备12以通用计算设备的形式表现。计算机设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in Figure 5, computer device 12 is embodied in the form of a general purpose computing device. Components of computer device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connects different system components, including system memory 28 and processing unit 16.
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。 Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA Bus, a Video Electronics Standards Association (VESA) local bus, and peripheral component interconnects ( PCI) bus.
计算机设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机设备12访问的可用介质,包括易失性和非易失性介质,可移动的 和不可移动的介质。 Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including volatile and non-volatile media, removable And non-removable media.
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图5未显示,通常称为“硬盘驱动器”)。尽管图5中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。 System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in Figure 5, commonly referred to as a "hard disk drive"). Although not shown in FIG. 5, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and a removable non-volatile disk (such as a CD-ROM, DVD-ROM) may be provided. Or other optical media) read and write optical drive. In these cases, each drive can be coupled to bus 18 via one or more data medium interfaces. Memory 28 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more applications, other programs Modules and program data, each of these examples or some combination may include an implementation of a network environment. Program module 42 typically performs the functions and/or methods of the described embodiments of the present invention.
计算机设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机设备12交互的设备通信,和/或与使得该计算机设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,计算机设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例 如因特网)通信。如图所示,网络适配器20通过总线18与计算机设备12的其它模块通信。应当明白,尽管图5中未示出,可以结合计算机设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。 Computer device 12 may also be in communication with one or more external devices 14 (eg, a keyboard, pointing device, display 24, etc.), and may also be in communication with one or more devices that enable a user to interact with the computer device 12, and/or Any device (eg, a network card, modem, etc.) that enables the computer device 12 to communicate with one or more other computing devices. This communication can take place via an input/output (I/O) interface 22. Moreover, computer device 12 may also be through network adapter 20 with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network, for example Such as the Internet) communication. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be understood that although not shown in FIG. 5, other hardware and/or software modules may be utilized in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tapes. Drives and data backup storage systems, etc.
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明实施例所提供的全局菜单的控制方法:The processing unit 16 performs various function applications and data processing by running a program stored in the system memory 28, for example, implementing a global menu control method provided by an embodiment of the present invention:
也即,所述处理单元执行所述程序时实现:检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型;若当前显示系统为非主系统,则将所述控制指令对应的数据信息发送给当前显示系统;由当前显示系统对所述数据信息进行解析,并对所述控制指令进行响应。That is, when the processing unit executes the program, it is implemented to: after detecting that at least one control instruction in the global menu is triggered, determine a system type of the current display system; if the current display system is a non-primary system, the control is performed. The data information corresponding to the instruction is sent to the current display system; the data information is parsed by the current display system, and the control command is responded.
实施例六Embodiment 6
本发明实施例六提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请所有发明实施例提供的全局菜单的控制方法:The sixth embodiment of the present invention provides a computer readable storage medium, where a computer program is stored, and when the program is executed by the processor, the global menu control method provided by all the embodiments of the present invention is implemented:
也即,该程序被处理器执行时实现:检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型;若当前显示系统为非主系统,则将所述控制指令对应的数据信息发送给当前显示系统;由当前显示系统对所述数据信息进行解析,并对所述控制指令进行响应。That is, when the program is executed by the processor, it is determined that after detecting that at least one control instruction in the global menu is triggered, determining a system type of the current display system; if the current display system is a non-main system, the control instruction is corresponding to The data information is sent to the current display system; the data information is parsed by the current display system and responds to the control command.
可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或 器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Any combination of one or more computer readable media can be utilized. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or Device, or any combination of the above. More specific examples (non-exhaustive lists) of computer readable storage media include: electrical connections having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium can be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device. .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言一诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言一诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN) 一连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including an object oriented programming language such as Java, Smalltalk, C++, and conventional. A procedural programming language such as a "C" language or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer can pass through any kind of network - including local area network (LAN) or wide area network (WAN) One is connected to the user's computer, or can be connected to an external computer (for example, using an Internet service provider to connect via the Internet).
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。 Note that the above are only the preferred embodiments of the present invention and the technical principles applied thereto. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments described herein, and that various modifications, changes and substitutions may be made without departing from the scope of the invention. Therefore, the present invention has been described in detail by the above embodiments, but the present invention is not limited to the above embodiments, and other equivalent embodiments may be included without departing from the inventive concept. The scope is determined by the scope of the appended claims.

Claims (10)

  1. 一种全局菜单的控制方法,其特征在于,包括:A global menu control method, comprising:
    检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型;After detecting that at least one control command in the global menu is triggered, determining the system type of the current display system;
    若当前显示系统为非主系统,则将所述控制指令对应的数据信息发送给当前显示系统;If the current display system is a non-primary system, sending the data information corresponding to the control instruction to the current display system;
    由当前显示系统对所述数据信息进行解析,并对所述控制指令进行响应。The data information is parsed by the current display system and responds to the control command.
  2. 根据权利要求1所述的方法,其特征在于,在检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型之前,还包括:The method according to claim 1, wherein before detecting that the system type of the current display system is triggered after detecting that at least one control command in the global menu is triggered, the method further comprises:
    建立主系统和各个非主系统之间的多系统控制服务,以控制所述主系统和所述各个非主系统之间的数据传输。A multi-system control service between the primary system and each non-primary system is established to control data transmission between the primary system and the respective non-primary systems.
  3. 根据权利要求2所述的方法,其特征在于,所述将所述控制指令对应的数据信息发送给当前显示系统,具体为:The method according to claim 2, wherein the transmitting the data information corresponding to the control instruction to the current display system, specifically:
    由所述主系统通过多系统控制服务将所述控制指令对应的数据信息发送给当前显示系统。The main system transmits the data information corresponding to the control instruction to the current display system through the multi-system control service.
  4. 根据权利要求1所述的方法,其特征在于,在检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型之前,还包括:The method according to claim 1, wherein before detecting that the system type of the current display system is triggered after detecting that at least one control command in the global menu is triggered, the method further comprises:
    确定全局菜单中的全部控制指令对应的触发区域,设置所述触发区域中的触发事件只由主系统进行检测。The trigger area corresponding to all the control instructions in the global menu is determined, and the trigger event in the trigger area is set to be detected only by the main system.
  5. 根据权利要求1所述的方法,其特征在于,在检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型之后,还包括:The method according to claim 1, wherein after detecting that the system type of the current display system is triggered after detecting that at least one control command in the global menu is triggered, the method further includes:
    若当前显示系统为主系统,直接由所述主系统对所述控制指令进行响应。If the current display system is the main system, the main system directly responds to the control command.
  6. 根据权利要求1所述的方法,其特征在于,还包括: The method of claim 1 further comprising:
    检测到所述非主系统的控制信号异常时,控制所述全局菜单中的全部触发事件发送到主系统进行处理。When it is detected that the control signal of the non-main system is abnormal, all trigger events in the global menu are controlled to be sent to the main system for processing.
  7. 一种全局菜单的控制装置,其特征在于,包括:A global menu control device, comprising:
    系统类型判断模块,用于检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型;a system type determining module, configured to determine, after the at least one control instruction in the global menu is triggered, determining a system type of the current display system;
    数据信息发送模块,用于若当前显示系统为非主系统,则将所述控制指令对应的数据信息发送给当前显示系统;a data information sending module, configured to: if the current display system is a non-primary system, send data information corresponding to the control instruction to the current display system;
    第一响应模块,用于由当前显示系统对所述数据信息进行解析,并对所述控制指令进行响应。The first response module is configured to parse the data information by the current display system and respond to the control instruction.
  8. 根据权利要求7所述的装置,其特征在于,还包括:The device according to claim 7, further comprising:
    控制服务建立模块,用于在检测到全局菜单中的至少一个控制指令被触发后,判断当前显示系统的系统类型之前,建立主系统和各个非主系统之间的多系统控制服务,以控制所述主系统和所述各个非主系统之间的数据传输。a control service establishing module, configured to establish a multi-system control service between the main system and each non-host system before detecting that the system type of the current display system is triggered after detecting that at least one control command in the global menu is triggered Data transmission between the primary system and the respective non-primary systems.
  9. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1-6中任一所述的方法。A computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program as claimed in any one of claims 1-6 The method described.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-6中任一所述的方法。 A computer readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the method of any of claims 1-6.
PCT/CN2017/103243 2017-07-21 2017-09-25 Control method, device and apparatus for global menu, and storage medium WO2019015089A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710599050.XA CN107390981B (en) 2017-07-21 2017-07-21 Global menu control method, device, equipment and storage medium
CN201710599050.X 2017-07-21

Publications (1)

Publication Number Publication Date
WO2019015089A1 true WO2019015089A1 (en) 2019-01-24

Family

ID=60336567

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103243 WO2019015089A1 (en) 2017-07-21 2017-09-25 Control method, device and apparatus for global menu, and storage medium

Country Status (2)

Country Link
CN (1) CN107390981B (en)
WO (1) WO2019015089A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413192A (en) * 2019-07-08 2019-11-05 广州视源电子科技股份有限公司 Shortcut key response method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1609809A (en) * 2003-10-23 2005-04-27 微软公司 Providing a graphical user interface in a system with a high-assurance execution environment
US20110145734A1 (en) * 2009-12-10 2011-06-16 Microsoft Corporation Processing Computer Implemented Action
US20130145143A1 (en) * 2011-12-02 2013-06-06 International Business Machines Corporation Computer device separable into multiple sub-computers
CN103713943A (en) * 2013-11-28 2014-04-09 小米科技有限责任公司 Native terminal operating system based application function realization method and device
CN105404558A (en) * 2015-12-11 2016-03-16 北京元心科技有限公司 Method and device for processing events in multiple systems
CN106055384A (en) * 2009-07-20 2016-10-26 谷歌技术控股有限责任公司 Multi-environment operating system
CN106815021A (en) * 2016-12-30 2017-06-09 北京星辰美豆文化传播有限公司 A kind of operation processing method of application, apparatus and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1609809A (en) * 2003-10-23 2005-04-27 微软公司 Providing a graphical user interface in a system with a high-assurance execution environment
CN106055384A (en) * 2009-07-20 2016-10-26 谷歌技术控股有限责任公司 Multi-environment operating system
US20110145734A1 (en) * 2009-12-10 2011-06-16 Microsoft Corporation Processing Computer Implemented Action
US20130145143A1 (en) * 2011-12-02 2013-06-06 International Business Machines Corporation Computer device separable into multiple sub-computers
CN103713943A (en) * 2013-11-28 2014-04-09 小米科技有限责任公司 Native terminal operating system based application function realization method and device
CN105404558A (en) * 2015-12-11 2016-03-16 北京元心科技有限公司 Method and device for processing events in multiple systems
CN106815021A (en) * 2016-12-30 2017-06-09 北京星辰美豆文化传播有限公司 A kind of operation processing method of application, apparatus and system

Also Published As

Publication number Publication date
CN107390981B (en) 2020-04-21
CN107390981A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
US11880629B2 (en) Display control method and apparatus
US8601105B2 (en) Apparatus, method and computer program product for faciliating communication with virtual machine
WO2021259100A1 (en) Sharing method and apparatus, and electronic device
US20150067536A1 (en) Gesture-based Content Sharing Between Devices
US11243737B2 (en) Method and system for remote collaboration
WO2020078300A1 (en) Method for controlling screen projection of terminal and terminal
US9686510B1 (en) Selectable interaction elements in a 360-degree video stream
US20200301648A1 (en) Method of operating a shared object in a video call
CN110362288B (en) Same-screen control method, device, equipment and storage medium
EP3343352B1 (en) Method, apparatus and device for instructing operations on terminal device
US20230342104A1 (en) Data Transmission Method and Device
CN106027631B (en) Data transmission method and device
CN112055072A (en) Cloud audio input method and device, cloud system, electronic equipment and storage medium
WO2023070993A1 (en) Display control method, display system, electronic device, and readable storage medium
CN111726561B (en) Conference method, system, equipment and storage medium for different terminals and same account
WO2024045985A1 (en) Screen control method, screen control apparatus, electronic device, program, and medium
WO2019105391A1 (en) Connection method and device for wireless local area network and computer-readable storage medium
US11249771B2 (en) Terminal input invocation
EP3262581A1 (en) Opening new application window in response to remote resource sharing
WO2019015089A1 (en) Control method, device and apparatus for global menu, and storage medium
WO2023030292A1 (en) Multimedia file playback method and apparatus
US10540136B2 (en) Faster frame buffer rendering over a network
JP2001197461A (en) Sharing operation method for multimedia information operation window
CN112040149A (en) Input source switching method and device of screen projector, screen projector and storage medium
CN111142820B (en) Remote control method, device and system based on multiple screens

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17917902

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17917902

Country of ref document: EP

Kind code of ref document: A1