Expansion device control method, first main control device and control system
By setting up multiple master control devices in the office or home, such as keyboards, game controllers, hubs, and mobile terminals, and generating and displaying control pages, the problem of existing master control devices being unable to meet personalized needs and having cumbersome control processes is solved, thus achieving simplified control of extended devices.
Patent Information
- Application Number
- CN202411173537.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-11-12
AI Technical Summary
In existing technologies, configuring only one main control device in an office or home cannot meet the personalized needs of different users, and the control process is cumbersome when controlling multiple expansion devices through the main control device.
By setting up multiple master control devices, such as keyboards, game controllers, hubs, and mobile terminals, the target information of the extended devices is obtained to generate control pages, which are then output on the display device to simplify the control process, including split-screen display and priority management.
It meets users' personalized needs, simplifies the control process of expansion equipment, and improves the convenience and efficiency of control.
Smart Images

Figure CN118938765A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of smart home technology, and in particular, relates to an expansion device control method, a first main control device and a control system. Background Art
[0002] With the development of smart devices, there are more and more smart devices in offices or homes. In order to facilitate control, multiple smart devices are controlled by a main control device, and expansion devices can be added later for control by the main control device.
[0003] However, only one main control device is usually configured in an office or home, and one main control device cannot meet the personalized needs of different users. In addition, when controlling multiple expansion devices through one main control device, it is necessary to switch the instructions of the expansion devices on the main control device to realize the control of the expansion devices, and the control process of the expansion devices is cumbersome. Summary of the invention
[0004] The embodiments of the present application provide an expansion device control method, a first main control device and a control system to solve the problem of complicated control procedures of the expansion device.
[0005] In a first aspect, an embodiment of the present application provides an expansion device control method, which is applied to a first main control device, wherein the first main control device is any main control device in a control system, wherein each main control device of the control system includes a keyboard, a game controller, a hub, a mobile terminal, and a server, and the control system also includes multiple expansion devices, wherein the first main control device is communicatively connected to one or more expansion devices, including:
[0006] Acquire target information of each expansion device controlled by the first main control device, wherein the target information at least includes an identification and a location of the expansion device;
[0007] Generate a first control page according to the target information of each of the expansion devices;
[0008] In response to the control instruction triggered by the first main control device, the first control page is output to the display device as an extended device, so as to control the extended device specified by the control instruction based on the operation on the first control page.
[0009] In some possible implementations, the step of outputting the first control page to a display device serving as an expansion device includes:
[0010] Determine the target expansion device specified by the control instruction;
[0011] In response to the target expansion device being an expansion device controlled by the first main control device, the first control page is output to the display device serving as the expansion device.
[0012] In some possible implementations, after the step of determining the target expansion device to be controlled by the control instruction, the method further includes:
[0013] In response to the target expansion device not being an expansion device controlled by the first main control device, determining a second main control device corresponding to the target expansion device;
[0014] Sending a control takeover request to the second master control device;
[0015] receiving a second control page sent by the second master control device, and modifying the second control page to match the control component of the first master control device, thereby obtaining a third control page;
[0016] The third control page is output to the display device.
[0017] In some possible implementations, the step of outputting the first control page to a display device serving as an expansion device includes:
[0018] Acquire current display information of the display device;
[0019] In response to determining, according to the current display information, that the display device displays at least one fourth control page, the first control page and a split-screen display request for the first control page are output to the display device.
[0020] In some possible implementations, the step of outputting the first control page and the split-screen display request of the first control page to the display device includes:
[0021] Obtaining a first priority level of a third master control device corresponding to the fourth control page;
[0022] In response to the second priority of the first main control device being higher than or equal to the first priority, the first control page and a split-screen display request of the first control page are output to the display device.
[0023] In some possible implementations, after the step of obtaining the first priority of the third master control device corresponding to the fourth control page, the step further includes:
[0024] In response to the second priority being lower than the first priority and no operation on the fourth control page being detected in the current time period, the first control page and a split-screen display request for the first control page are output to the display device.
[0025] Some possible implementations also include:
[0026] Receiving a pairing request, and obtaining a target type of an expansion device corresponding to the pairing request according to the pairing request;
[0027] In response to the type of each expansion device controlled by the first main control device including the target type, acquiring the target information and device identification of the expansion device corresponding to the pairing request according to the configuration request;
[0028] The device identification is stored, and the expansion device corresponding to the configuration request is connected, and the first control page is updated according to the target information of the expansion device corresponding to the pairing request.
[0029] In some possible implementations, after the step of acquiring, according to the pairing request, the target type of the expansion device corresponding to the pairing request, the step further includes:
[0030] In response to the types of the expansion devices controlled by the first main control device not including the target type, determining a fourth main control device that controls the expansion devices of the target type;
[0031] The pairing request is forwarded to the fourth master control device.
[0032] In a second aspect, an embodiment of the present application provides a first main control device, including:
[0033] An acquisition module, used to acquire target information of each expansion device controlled by the first main control device, wherein the target information at least includes an identification and a location of the expansion device;
[0034] A generating module, used for generating a first control page according to target information of each of the expansion devices;
[0035] The output module is used to respond to the control instruction triggered by the first main control device and output the first control page to the display device as an expansion device, so as to control the expansion device specified by the control instruction based on the operation on the first control page.
[0036] In the third aspect, an embodiment of the present application provides a control system, which includes multiple main control devices and multiple expansion devices, each main control device includes a keyboard, a game controller, a hub, a mobile terminal and a server, the main control device is communicatively connected to one or more expansion devices, the main control device includes a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the expansion device control method as described above.
[0037] The control method for expansion devices, the first main control device and the control system of the embodiment of the present application, the control system includes multiple main control devices such as a keyboard, a game controller, a hub, a mobile terminal and a server, the main control device is connected to one or more expansion devices in communication, the main control device generates a control page based on the identification and position of each expansion device it controls, and outputs the control page to the display device as the expansion device when the control instruction acting on the main control device is detected, thereby responding to the control instruction by operating the control page. In the present application, by setting multiple main control devices such as a keyboard, a game controller, a hub and a mobile terminal, the personalized needs of the user are met to control the expansion device through the control page of the main control device. In addition, the control process of the expansion device is simplified by displaying the control page on the display device through the main control device. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0039] Figure 1 It is a schematic diagram of the framework of the control system of this application;
[0040] Figure 2 It is a flowchart of the first embodiment of the expanded device control method of the present application;
[0041] Figure 3 It is a flowchart of the second embodiment of the extended device control method of the present application;
[0042] Figure 4 It is a flowchart of the third embodiment of the extended device control method of the present application;
[0043] Figure 5 It is a flowchart of the fourth embodiment of the extended device control method of the present application;
[0044] Figure 6 It is a functional module diagram of the first master control device of the present application;
[0045] Figure 7 This is a schematic diagram of the hardware structure of the first main control device of this application. DETAILED DESCRIPTION
[0046] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0047] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0048] With the development of smart devices, there are more and more smart devices in offices or homes. In order to facilitate control, multiple smart devices are controlled by a main control device, and expansion devices can be added later for control by the main control device.
[0049] The inventors of the present application have discovered that usually only one main control device is configured in an office or home, and one main control device cannot meet the personalized needs of different users. In addition, when controlling multiple expansion devices through one main control device, it is necessary to switch the instructions of the expansion devices on the main control device to realize the control of the expansion devices, and the control process of the expansion devices is cumbersome.
[0050] The inventor of the present application therefore thought of meeting the personalized needs of users by setting up multiple main control devices such as keyboards, game controllers, hubs and mobile terminals to control expansion devices through the control page of the main control device. In addition, the control process of the expansion device is simplified by displaying the control page on the display device through the main control device.
[0051] Reference Figure 1 , Figure 1Schematic diagram of the framework of the control system of the present application. The control system 100 includes multiple main control devices, each of which includes but is not limited to a keyboard 110, a game controller 120, a hub 130, a mobile terminal 140 and a server 150. Each main control device is connected to one or more expansion devices, each of which includes but is not limited to switches, knobs, touch pads, display screens, LED light boards, push rods, rollers, speakers, microphones, joysticks, cameras, various combination button sets, connectors, fixtures and display devices. Exemplarily, the keyboard 110 is communicatively connected to three expansion devices 111, the game controller 120 is communicatively connected to two expansion devices 121, the hub 130 is connected to two expansion devices 131, the mobile terminal 140 is connected to two expansion devices 141, and the server 150 is connected to two expansion devices 151. In addition, each main control device can also be communicatively connected.
[0052] The master device and expansion devices can be connected via Bluetooth, and one master device can connect to 1 to 7 expansion devices. In addition, the master device can be divided into multiple levels of devices. The first-level master device connects to multiple second-level master devices via Bluetooth, and the second-level master device connects to multiple expansion devices, that is, each master device can be divided into one master (first-level master device) and multiple slaves (second-level master devices).
[0053] The main control device that can be connected by Bluetooth is equipped with a Bluetooth chip, which is connected to the MCU (Microcontroller Unit) in the main control device through the pipeline on the circuit board. The main control device includes a protocol stack, an operating system and application software. The protocol stack mainly runs on the Bluetooth chip to control the chip's signal and data transmission. The operating system runs in the MCU, which can be a simple embedded operating system or a complex operating system. It is mainly used to manage Bluetooth connections and data transmission. The application software runs on the operating system and provides a friendly interface and functions for users to control the Bluetooth chip. The main control device converts digital signals into electromagnetic wave signals and performs multi-directional broadcasts that can be connected / scanned. In addition, there is uncertainty in the data transmission process between the main control device and the expansion device, so reliability measures are adopted in the radio frequency, baseband protocol, and link management protocol. The measures include: error detection and correction, data encoding and decoding, error control, data noise, etc., which greatly improves the reliability of Bluetooth wireless data transmission.
[0054] In addition, the main control device and the expansion device can also be connected through 2.4G, mesh gateway, zigbee, etc. In order to be compatible with all expansion modules, the main device is equipped with all mainstream connection modules and has a wired connection jack; in order to save the cost of expansion modules, one or two connection modules are set on a certain expansion module.
[0055] There are several ways to pair the main control device with the expansion device:
[0056] 1. Command pairing: the main device and the expansion device are connected to the same LAN or mesh gateway, and specific commands are sent to the main device and the expansion device through APP to complete the pairing;
[0057] 2. Key pairing: the main control device and the expansion device establish a preliminary connection. The expansion device triggers a specific key combination as required, and the main control device completes the pairing by identifying the specific key combination.
[0058] 3. Proximity pairing: bring the expansion device close to the main control device for near field communication to establish a connection.
[0059] Furthermore, the various devices in the control system can be divided into three types: relay nodes, provisioner nodes, and other device nodes. Relay nodes act as repeaters in the network to help data transfer in the network; provisioner nodes are managers of the network, responsible for managing and configuring other device nodes; other device nodes are terminal nodes in the network, which can be various types of devices such as sensors, light bulbs, switches, etc. The second is the network topology. Devices in a Bluetooth mesh network communicate by broadcasting. When a device wants to communicate with other devices, it broadcasts data to other nodes in the network, and other nodes can perform corresponding operations or forward data after receiving the broadcast. Bluetooth mesh networks can establish different topological structures as needed, such as star, mesh, or hybrid structures to meet the needs of specific application scenarios. Data transmission. Devices in a Bluetooth mesh network can transmit data by broadcasting, or by unicast or multicast for point-to-point or one-to-many data transmission. By establishing a many-to-many network structure, the Bluetooth mesh module can realize communication and data transmission between large-scale devices. Other device nodes are expansion devices, and provisioner nodes are master devices.
[0060] Combine the following Figure 1 , the expansion device control method of this application is described in detail.
[0061] Figure 2 The flowchart of the first embodiment of the extended device control method of the present application is shown, and the extended device control method includes the following steps:
[0062] Step S201: acquiring target information of each expansion device controlled by the first main control device, where the target information at least includes an identification and a location of the expansion device.
[0063] In this embodiment, the execution subject is a first main control device, and the first main control device is any one of the main control devices in the control system. For the convenience of description, the term "device" is used below to refer to the first main control device.
[0064] The device is connected to multiple expansion devices in communication, and the device has control authority over the expansion devices in communication connection. The device sends instructions to each expansion device under control, so that the expansion device sends its own target information to the device for storage. The target information includes at least the identification and location of the expansion device. The identification can be the name, model, etc. of the expansion device, and the location refers to the location of the expansion device.
[0065] Step S202: Generate a first control page according to target information of each expansion device.
[0066] After obtaining each target information, the device generates a control page based on each target information, and the control page is defined as a first control page. The first control page includes control instructions of each expansion device controlled by the device.
[0067] Furthermore, some expansion devices may have personalized control instructions. Therefore, when these expansion devices send target information, the target information includes relevant parameters of the personalized control instructions, such as the control code of the personalized control instructions. The device generates the personalized control instructions of the expansion device on the first control page based on the control code.
[0068] Step S203, in response to the control instruction triggered by the first main control device, output a first control page to the display device as an extended device, so as to control the extended device specified by the control instruction based on the operation on the first control page.
[0069] When the device detects the control instruction triggered by the first main control device, it outputs the first control page to the display device as the extended device. The control instruction is, for example, triggered by a button on the device, for example, button A triggers the control of the extended device of the device. In addition, a voice collection module can be set on the device to collect voice instructions as control instructions.
[0070] After the display device displays the first control page, the user can select an extended device on the first control page for control, that is, the display device feeds back the control information clicked by the user on the first control page to the device, and the device then performs the control specified by the control information on the extended device targeted by the control information. For example, the control information is to control the Bluetooth speaker to play audio A, then the device sends a control instruction to play audio A to the Bluetooth speaker.
[0071] In this embodiment, the control system includes multiple main control devices such as a keyboard, a game controller, a hub, a mobile terminal, and a server. The main control device is connected to one or more expansion devices in communication. The main control device generates a control page based on the identification and position of each expansion device controlled by it, and outputs the control page to the display device as the expansion device after detecting the control instruction triggered by the main control device, thereby responding to the control instruction by operating the control page. In this embodiment, by setting multiple main control devices such as a keyboard, a game controller, a hub, and a mobile terminal, the personalized needs of the user are met to control the expansion device through the control page of the main control device. In addition, the control process of the expansion device is simplified by displaying the control page on the display device through the main control device.
[0072] Reference Figure 3 , Figure 3 This is a flowchart of a second embodiment of the device control method for the present application. Based on the first embodiment, step S203 includes:
[0073] Step S301, determining the target extended device to be controlled by the control instruction.
[0074] In this embodiment, the control instruction has a designated controlled expansion device, which is defined as a target expansion device. In one example, the device can determine the target expansion device by the key that triggers the control instruction. For example, the device is a keyboard, and the control instruction triggered by key A is used to control smart curtains, and the smart curtains are the target expansion device. In another example, the device is a game controller. If the control instruction is to press the joystick down and the game controller does not control the character in the game, the control instruction for the Bluetooth speaker is triggered.
[0075] Step S302: in response to the target expansion device being an expansion device controlled by the first main control device, outputting a first control page to the display device serving as the expansion device.
[0076] After determining the target expansion device, the device needs to determine whether the target expansion device is one of the expansion devices controlled by the device. When the target expansion device is an expansion device controlled by the first main control device, the first control page is output to the display device, that is, the target expansion device can be controlled by the first control page.
[0077] Furthermore, if the target expansion device is not an expansion device controlled by the first master control device, a second master control device corresponding to the target expansion device is determined, and the second master control device is a master control device with control authority over the target expansion device. The device sends a control takeover request to the second master control device, that is, requests the second master control device to hand over the control authority to the first master control device. The second master control device receives the control takeover request and sends a second control page to the first master control device, and the second control page includes control information for controlling the target expansion device.
[0078] After receiving the second control page, the device needs to modify the second control page to match the control components of the first main control device to obtain the third control page. For example, the second main control device is a keyboard, the first main control device is a game controller, and the control instructions of the extended device on the second control page are moved and determined by the keys on the keyboard. However, when the second control page is transmitted to the first main control device, it is necessary to change it to move the control information on the second control page by the joystick, and determine the control information by the keys on the game controller, that is, the movement of the control information on the third control page is determined by the joystick, and the confirmation of the control information on the third control page is determined by clicking the keys. After obtaining the third control page, the device outputs the third control page to the display device, and the user can operate the device to select the control instructions of the target extended device on the displayed third control page for corresponding control.
[0079] In this embodiment, the device determines the target expansion device specified by the control instruction, and when the target expansion device is an expansion device controlled by the first main control device, outputs a first control page to the display device, so that the user can accurately control the target expansion device based on the first control page.
[0080] Reference Figure 4 , Figure 4 To expand the third embodiment of the device control method of the present application, based on the first or second embodiment, step S203 includes:
[0081] Step S401, obtaining current display information of the display device.
[0082] Step S402: In response to current display information, determining that the display device displays at least one fourth control page, outputting the first control page and a split-screen display request of the first control page to the display device.
[0083] In this embodiment, the display device may be communicatively connected with a plurality of master control devices, so that each master control device sends a control page to the display device to control the extended device.
[0084] After sending the first control page to the display device, the apparatus sends an acquisition request to the display device to acquire current display information of the display device.
[0085] The device parses the current display information. If the current display information displays at least one fourth control page, it can be determined that the display device displays the control page of other main control devices. The device outputs the first control page and the split-screen display request of the first control page to the display device, so that the display device displays the fourth control page and the first control page in a split-screen manner, thereby preventing the display device from covering the fourth control page with the first control page, causing other main control devices to be unable to control the extended devices.
[0086] It should be noted that, after the apparatus obtains the third main control page, if the current display information shows at least one fourth control page, the apparatus outputs the third control page and a split-screen display request of the third control page to the display device.
[0087] Furthermore, if the current display information shows at least one fourth control page, the device obtains the first priority of the third main control device corresponding to the fourth control page, and when the second priority of the first main control device is higher than or equal to the first priority, the device outputs the first control page and the split-screen display request of the first control page to the display device, that is, the device has the authority to perform queue-jumping control on the display device. If the second priority is lower than the first priority, it is necessary to determine whether there is any operation on the fourth control page. If no operation on the fourth control page is detected in the current time period, the first control page and the split-screen display request of the first control page are output to the display device. The current time period is, for example, a time period of a preset duration between the current time point and the start time point, and the preset duration is a fixed value.
[0088] In this embodiment, the device obtains the current display information of the display device. If it is determined based on the current display information that the display device displays at least one fourth control page, the first control page and the split-screen display request of the first control page are output to the display device to avoid the display device covering the fourth control page with the first control page, resulting in other main control devices being unable to control the expansion devices.
[0089] Reference Figure 5 , Figure 5 This is a flowchart of a fourth embodiment of the device control method for the present application, based on any one of the first to third embodiments, after step S203, further comprising:
[0090] Step S501: receiving a pairing request, and acquiring a target type of an expansion device corresponding to the pairing request according to the pairing request.
[0091] In this embodiment, the device can be paired with a new expansion device, and configuration refers to communication connection with the new expansion device. The device receives a configuration request, that is, the device receives a pairing request broadcast by the new expansion device. The pairing request includes the type of the new expansion device, which is defined as the target type. The device parses the pairing request to obtain the target type.
[0092] Step S502: in response to the types of the expansion devices controlled by the first main control device including the target type, the target information and the device identification of the expansion device corresponding to the pairing request are acquired according to the configuration request.
[0093] Each master control device controls different types of expansion devices, that is, a new expansion device can only be connected to a master control device of an expansion type having a control target type.
[0094] In this regard, the device determines whether the types of each expansion device controlled by the first main control device include the target type, and the types of each expansion device include all types that the first main control device can control. When the types of each expansion device controlled by the first main control device include the target type, the target information and device identification of the new expansion device are obtained from the configuration request.
[0095] Step S503: store the device identification, connect to the expansion device corresponding to the configuration request, and update the first control page according to the target information of the expansion device corresponding to the pairing request.
[0096] The apparatus stores the device identification, and updates the first control page based on the extended device corresponding to the configuration request, and the first control page of the display device is also updated accordingly.
[0097] When the types of the expansion devices of the first main control device do not include the target type, a fourth main control device that controls the expansion device of the target type is determined, and a configuration request is sent to the fourth main control device, so that the fourth main control device completes pairing with the new expansion device.
[0098] It should be noted that, for the convenience of description, steps S501 to S503 are placed after step S203, but steps S501 to S503 can occur at any time.
[0099] It should be noted that the above-mentioned display device can be a PC (Personal Computer) with control software set on the PC. After the PC runs the control software, the control software can be used to control the device to search for nearby available devices for pairing and connection, so as to serve as an expansion device of the device. In addition, after the PC runs the control software, a control interface is displayed, and the control interface can be used to control the relevant functions of the expansion device connected to the device, including but not limited to modifying button functions, changing sleep time, assigning macro instructions, and firmware updates.
[0100] In addition, if a button is set on the device attached to the device, the device can search for nearby available devices for pairing and connection based on a single button or a combination of buttons on the device, so as to serve as an extended device of the device. The device with a button is a small keyboard or a mouse.
[0101] The pairing is explained by taking the device as a main keyboard, and the devices near the main keyboard as a small keyboard and a mouse as an example.
[0102] After the keypad and the mouse are turned on, the user presses a specific key or a combination of keys on the keypad and the mouse to pair the keypad and the mouse;
[0103] After the main keyboard inquires about the small keyboard and the mouse in the pairing state, it initiates a pairing request to the small keyboard and the mouse, so that the small keyboard and the mouse are respectively connected to the main keyboard.
[0104] It should be noted that after the main keyboard is connected to the PC, the PC can control the functions of the keypad and mouse through the control software. In addition, the various expansion devices connected to the main keyboard can be used as the same group of devices. If the main keyboard is replaced with a new PC, this group of devices can be connected to the new PC for use. For example, the main keyboard is currently connected to PC1. If the main keyboard is connected to PC1 and switched to PC2, PC2 can control the expansion devices connected to the main keyboard through the main keyboard, without the need for each expansion device to be connected to the main keyboard again.
[0105] In this embodiment, the device implements pairing with the new expansion device based on the pairing request.
[0106] Based on the expansion device control method provided in the above embodiment, the present application also provides a specific implementation of the first main control device. Please refer to the following embodiment.
[0107] See first Figure 6 , the first main control device 600 provided in the embodiment of the present application includes:
[0108] An acquisition module 610 is used to acquire target information of each expansion device controlled by the first main control device, where the target information at least includes an identification and a location of the expansion device;
[0109] A generating module 620, configured to generate a first control page according to target information of each expansion device;
[0110] The output module 630 is used to respond to the control instruction triggered by the first main control device and output the first control page to the display device as the expansion device, so as to control the expansion device specified by the control instruction based on the operation on the first control page.
[0111] In one embodiment, the first main control device 600 is further used for:
[0112] Determine the target expansion device specified by the control instruction;
[0113] In response to the target expansion device being an expansion device controlled by the first main control device, a first control page is output to the display device serving as the expansion device.
[0114] In one embodiment, the first main control device 600 is further used for:
[0115] In response to the target expansion device not being an expansion device controlled by the first main control device, determining a second main control device corresponding to the target expansion device;
[0116] Sending a takeover control request to the second master control device;
[0117] receiving a second control page sent by the second main control device, and modifying the second control page to match the control component of the first main control device, thereby obtaining a third control page;
[0118] The third control page is output to the display device.
[0119] In one embodiment, the first main control device 600 is further used for:
[0120] Get the current display information of the display device;
[0121] In response to determining that the display device displays at least one fourth control page based on the current display information, the first control page and a split-screen display request for the first control page are output to the display device.
[0122] In one embodiment, the first main control device 600 is further used for:
[0123] Obtaining a first priority level of a third master control device corresponding to a fourth control page;
[0124] In response to the second priority of the first main control device being higher than or equal to the first priority, the first control page and a split-screen display request of the first control page are output to the display device.
[0125] In one embodiment, the first main control device 600 is further used for:
[0126] In response to the second priority being lower than the first priority and no operation on the fourth control page being detected in the current time period, the first control page and a split-screen display request for the first control page are output to the display device.
[0127] In one embodiment, the first main control device 600 is further used for:
[0128] Receive a pairing request, and obtain a target type of an expansion device corresponding to the pairing request according to the pairing request;
[0129] In response to the types of each expansion device controlled by the first main control device including the target type, acquiring the target information and the device identification of the expansion device corresponding to the pairing request according to the configuration request;
[0130] The device identifier is stored, and the expansion device corresponding to the configuration request is connected, and the first control page is updated according to the target information of the expansion device corresponding to the pairing request.
[0131] In one embodiment, the first main control device 600 is further used for:
[0132] In response to the types of the expansion devices controlled by the first main control device not including the target type, determining a fourth main control device that controls the expansion devices of the target type;
[0133] The pairing request is forwarded to the fourth master device.
[0134] Reference Figure 7 , Figure 7 A schematic diagram of the hardware structure of the first main control device provided in an embodiment of the present application.
[0135] The first master device may include a processor 701 and a memory 702 storing computer program instructions.
[0136] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0137] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 702 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 702 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 702 is a non-volatile solid-state memory.
[0138] In certain embodiments, memory 702 includes a read-only memory (ROM). The ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically alterable ROM (EAROM), or flash memory, or a combination of two or more of the above, where appropriate.
[0139] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present application.
[0140] The processor 701 implements any one of the expansion device control methods in the above embodiments by reading and executing computer program instructions stored in the memory 702 .
[0141] In one example, the first master control device may further include a communication interface 703 and a bus 310. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 703 are connected via the bus 310 and communicate with each other.
[0142] The communication interface 703 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0143] Bus 710 includes hardware, software or both, and the parts of the first main control device are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In suitable cases, bus 710 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.
[0144] The expansion device control method in the above embodiment can be implemented by providing a computer storage medium in the present application embodiment. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any expansion device control method in the above embodiment is implemented.
[0145] An embodiment of the present application also provides a computer program product, including a computer program, which implements any one of the expansion device control methods in the above embodiments when the computer program is processed and executed.
[0146] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0147] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0148] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for controlling an extended device, characterized in that: Applied to a first main control device, the first main control device is any main control device in a control system, each main control device of the control system includes a keyboard, a game controller, a hub, a mobile terminal and a server, the control system also includes a plurality of expansion devices, the first main control device is communicatively connected to one or more expansion devices, including: Acquire target information of each expansion device controlled by the first main control device, wherein the target information at least includes an identification and a location of the expansion device; Generate a first control page according to the target information of each of the expansion devices; In response to the control instruction triggered by the first main control device, the first control page is output to the display device as an extended device, so as to control the extended device specified by the control instruction based on the operation on the first control page.
2. The expansion device control method according to claim 1, characterized in that: The step of outputting the first control page to the display device as an extended device includes: Determine the target expansion device specified by the control instruction; In response to the target expansion device being an expansion device controlled by the first main control device, the first control page is output to the display device serving as the expansion device.
3. The expansion device control method according to claim 2, characterized in that: After the step of determining the target expansion device specified by the control instruction, the method further includes: In response to the target expansion device not being an expansion device controlled by the first main control device, determining a second main control device corresponding to the target expansion device; Sending a control takeover request to the second master control device; receiving a second control page sent by the second master control device, and modifying the second control page to match the control component of the first master control device, thereby obtaining a third control page; The third control page is output to the display device.
4. The expansion device control method according to claim 1, characterized in that: The step of outputting the first control page to the display device as an extended device includes: Acquire current display information of the display device; In response to determining, according to the current display information, that the display device displays at least one fourth control page, the first control page and a split-screen display request for the first control page are output to the display device.
5. The expansion device control method according to claim 4, characterized in that: The step of outputting the first control page and the split-screen display request of the first control page to the display device includes: Obtaining a first priority level of a third master control device corresponding to the fourth control page; In response to the second priority of the first main control device being higher than or equal to the first priority, the first control page and a split-screen display request of the first control page are output to the display device.
6. The expansion device control method according to claim 5, characterized in that: After the step of obtaining the first priority of the third master control device corresponding to the fourth control page, the method further includes: In response to the second priority being lower than the first priority and no operation on the fourth control page being detected in the current time period, the first control page and a split-screen display request for the first control page are output to the display device.
7. The expansion device control method according to any one of claims 1 to 6, characterized in that: Also includes: Receiving a pairing request, and obtaining a target type of an expansion device corresponding to the pairing request according to the pairing request; In response to the type of each expansion device controlled by the first main control device including the target type, acquiring the target information and device identification of the expansion device corresponding to the pairing request according to the configuration request; The device identification is stored, and the expansion device corresponding to the configuration request is connected, and the first control page is updated according to the target information of the expansion device corresponding to the pairing request.
8. The expansion device control method according to claim 7, characterized in that: After the step of obtaining the target type of the expansion device corresponding to the pairing request according to the pairing request, the method further includes: In response to the types of the expansion devices controlled by the first main control device not including the target type, determining a fourth main control device that controls the expansion devices of the target type; The pairing request is forwarded to the fourth master control device.
9. A first main control device, characterized in that: include: An acquisition module, used to acquire target information of each expansion device controlled by the first main control device, wherein the target information at least includes an identification and a location of the expansion device; A generating module, used for generating a first control page according to target information of each of the expansion devices; The output module is used to respond to the control instruction triggered by the first main control device and output the first control page to the display device as an expansion device, so as to control the expansion device specified by the control instruction based on the operation on the first control page.
10. A control system, characterized in that: The control system includes multiple main control devices and multiple expansion devices, each main control device includes a keyboard, a game controller, a hub, a mobile terminal and a server, the main control device is communicatively connected to one or more expansion devices, and the main control device includes a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the expansion device control method as described in any one of claims 1-8.
Citation Information
Cited By
Equipment control method, device and system, electronic equipment and computer program product
CN119689879A
Control method for arbitrary splicing of main equipment and expansion equipment
CN120336234A
Expansion device control method, first master control device and control system
WO2026045950A1
