CN115845358A - Game device, display device and device control method - Google Patents

Game device, display device and device control method Download PDF

Info

Publication number
CN115845358A
CN115845358A CN202211599268.2A CN202211599268A CN115845358A CN 115845358 A CN115845358 A CN 115845358A CN 202211599268 A CN202211599268 A CN 202211599268A CN 115845358 A CN115845358 A CN 115845358A
Authority
CN
China
Prior art keywords
key
control
display
game
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211599268.2A
Other languages
Chinese (zh)
Inventor
卢平光
贾亚洲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202211599268.2A priority Critical patent/CN115845358A/en
Publication of CN115845358A publication Critical patent/CN115845358A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses game equipment, display equipment and an equipment control method, relates to the technical field of equipment control, realizes that the same control equipment can control both the game equipment and the display equipment, avoids switching the control equipment in the process of controlling a game by a user, and can improve the convenience degree of controlling the game by the user. The game device includes: a communicator configured to receive a first instruction transmitted by a control apparatus; the first instruction is used for indicating a user to trigger a target control key of the control equipment; a controller configured to: responding to the first instruction, and acquiring the working mode of the control equipment; if the working mode of the control equipment is the control mode of the display equipment, determining a target display key value corresponding to the target control key according to the preset corresponding relation; a communicator configured to transmit a target display key value to the display device so that the display device executes a target function triggered by the target display key value.

Description

Game device, display device and device control method
Technical Field
The present application relates to the field of device control technologies, and in particular, to a game device, a display device, and a device control method.
Background
At present, a game device may be connected to a television through a wired network or a wireless network, and a game interface generated by the game device is projected onto the television for display. The game device can also be connected with a game pad, and a user controls the game provided by the game device through the game pad. Specifically, the game device can receive and respond to the operation of the game handle by the user, update the game interface, and screen the updated game interface on the television for display.
During the process that the user controls the game provided by the game device through the gamepad, some functions of the television may need to be controlled to adjust the playing effect of the television on the game interface. For example, adjusting the volume of the television, adjusting the display parameters of the television, etc. At this time, the user needs to replace the game pad with a remote controller for controlling the television, and controls some functions of the television through the remote controller. The user needs to switch the control device (for example, the game handle is replaced by the remote controller) in the process of controlling the game in the game device, so that operation steps are added to the process of controlling the game by the user, and the convenience degree of controlling the game by the user is reduced.
Disclosure of Invention
The embodiment of the application provides game equipment, display equipment and an equipment control method, which realize that the same control equipment can control both the game equipment and the display equipment, and avoid switching the control equipment in the process of controlling a game by a user, thereby improving the convenience degree of controlling the game by the user.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, there is provided a game device comprising: a communicator and a controller.
A communicator configured to receive a first instruction transmitted by a control apparatus; the first instruction is used for instructing a user to trigger a target control key of the control device. A controller configured to: responding to the first instruction, and acquiring the working mode of the control equipment; if the working mode of the control equipment is the control mode of the display equipment, determining a target display key value corresponding to the target control key according to the preset corresponding relation; the preset corresponding relation is used for representing a plurality of display key values of the display device corresponding to a plurality of control keys of the control device. A communicator configured to transmit a target display key value to the display device so that the display device executes a target function triggered by the target display key value.
With reference to the first aspect, in one possible implementation manner, the communicator is configured to: sending a target display key value to the display equipment according to a communication mode between the game equipment and the display equipment; the communication mode comprises wireless communication or wired communication; the wired communication includes: communication established over a High Definition Multimedia Interface (HDMI) line.
With reference to the first aspect, in another possible implementation manner, the game device is provided with a first key transceiving application, and the display device is provided with a second key transceiving application. A communicator configured to: and under the condition that the first key transceiving application and the second key transceiving application are connected with the same wireless network, sending a target display key value to the second key transceiving application in the display equipment through the first key transceiving application.
With reference to the first aspect, in another possible implementation manner, the controller is further configured to: acquiring at least two display key values of the display equipment and displaying functions corresponding to the key values; displaying a first setting interface of the control equipment in a control mode of the display equipment; the first setup interface includes: a function corresponding to each of the plurality of control keys. And the communicator is also configured to receive a second instruction triggered by the control device on the first setting interface. The controller is also configured to respond to a second instruction, and determine a display key value corresponding to each control key according to the function corresponding to each control key in the first setting interface and the function corresponding to the display key value; the preset corresponding relationship comprises a display key value corresponding to each control key.
With reference to the first aspect, in another possible implementation manner, the communicator is further configured to: sending a first request to a display device; the first request is used for requesting to acquire equipment information of the display equipment; and receiving a first response sent by the display device, wherein the first response comprises the device information of the display device. The controller is further configured to acquire at least two display key values of the display device and functions corresponding to the display key values according to the device information of the display device.
With reference to the first aspect, in another possible implementation manner, the controller is further configured to: responding to the first instruction, judging whether the game device and the display device establish communication connection, and judging whether the target control key is a mode switching key; the mode switching key is used for triggering and modifying the working mode of the control equipment; and if the game equipment establishes communication connection with the display equipment and the target control key is not a mode switching key, acquiring the working mode of the control equipment.
In a second aspect, there is provided a display device including: a communicator and a controller.
A communicator configured to receive a target display key value transmitted by the game device. A controller configured to execute a target function in response to a target display key value.
With reference to the second aspect, in one possible implementation manner, the communicator is further configured to: receiving a target display key value sent by the game equipment under the condition of establishing communication connection with the game equipment; the communication connection includes a wired communication connection or a wireless communication connection.
With reference to the second aspect, in another possible implementation manner, the display device further includes a display. A communicator configured to receive a game interface transmitted by a game device; a display configured to display a game interface.
In a third aspect, there is provided a device control method applied to a game device, the method including: receiving a first instruction sent by control equipment; the first instruction is used for indicating a user to trigger a target control key of the control equipment; responding to the first instruction, and acquiring the working mode of the control equipment; if the working mode of the control equipment is the control mode of the display equipment, determining a target display key value corresponding to the target control key according to the preset corresponding relation; the preset corresponding relation is used for representing a plurality of display key values of the display equipment corresponding to a plurality of control keys of the control equipment; and sending the target display key value to the display equipment so that the display equipment executes the target function triggered by the target display key value.
With reference to the third aspect, in a possible implementation manner, the sending a target display key value to a display device includes: sending a target display key value to the display equipment according to a communication mode between the game equipment and the display equipment; the communication mode comprises wireless communication or wired communication; the wired communication includes: communication established over a High Definition Multimedia Interface (HDMI) line.
With reference to the third aspect, in another possible implementation manner, the game device installs a first key transceiving application, and the display device installs a second key transceiving application. The sending of the target display key value to the display device includes: and under the condition that the first key transceiving application and the second key transceiving application are connected with the same wireless network, sending a target display key value to the second key transceiving application in the display equipment through the first key transceiving application.
With reference to the third aspect, in another possible implementation manner, the method further includes: acquiring at least two display key values of the display equipment and displaying functions corresponding to the key values; displaying a first setting interface of the control equipment in a control mode of the display equipment; the first setup interface includes: a function corresponding to each control key in the plurality of control keys; receiving a second instruction triggered by the control equipment on the first setting interface; and responding to the second instruction, and determining the display key value corresponding to each control key according to the function corresponding to each control key in the first setting interface and the function corresponding to the display key value. The preset corresponding relationship comprises a display key value corresponding to each control key.
With reference to the third aspect, in another possible implementation manner, the method further includes: sending a first request to a display device; the first request is used for requesting to acquire equipment information of the display equipment; receiving a first response sent by the display device, wherein the first response comprises device information of the display device; the method for acquiring at least two display key values of the display device and displaying functions corresponding to the key values comprises the following steps: and acquiring at least two display key values of the display equipment and displaying functions corresponding to the key values according to the equipment information of the display equipment.
With reference to the third aspect, in another possible implementation manner, the method further includes: responding to the first instruction, judging whether the game device and the display device establish communication connection, and judging whether the target control key is a mode switching key; the mode switching key is used for triggering and modifying the working mode of the control equipment. The above-mentioned mode of operation of obtaining the control device includes: and if the game equipment establishes communication connection with the display equipment and the target control key is not the mode switching key, acquiring the working mode of the control equipment.
In a fourth aspect, there is provided a device control method applied to a display device, the method including: receiving a target display key value sent by game equipment; the target function is executed in response to the target display of the key value.
With reference to the fourth aspect, in a possible implementation manner, the receiving a target display key value sent by a game device includes: receiving a target display key value sent by the game equipment under the condition of establishing communication connection with the game equipment; the communication connection includes a wired communication connection or a wireless communication connection.
With reference to the fourth aspect, in another possible implementation manner, the method further includes: receiving a game interface sent by game equipment; and displaying the game interface.
In a fifth aspect, there is provided a game device having a function of implementing the method of the third aspect. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
In a sixth aspect, there is provided a game device comprising: a processor and a memory; the memory is configured to store computer instructions, and the processor executes the computer instructions stored by the memory when the game device is running, so as to cause the game device to execute the device control method according to any one of the third aspects.
In a seventh aspect, a display device is provided, which has the function of implementing the method of the fourth aspect. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
In an eighth aspect, there is provided a display device comprising: a processor and a memory; the memory is used for storing computer instructions, and when the display device runs, the processor executes the computer instructions stored by the memory to make the display device execute the device control method according to any one of the fourth aspects.
In a ninth aspect, a computer-readable storage medium having instructions stored therein is provided. Which when run on a game apparatus, makes the game apparatus capable of executing the apparatus control method of any one of the above-described third aspects. Or, when it is run on a display device, makes the display device possible to execute the device control method of any one of the above-described fourth aspects.
In a tenth aspect, a computer program product comprising computer instructions is provided. The computer instructions, when executed on a gaming device, cause the gaming device to perform the device control method of any one of the third aspects described above. Alternatively, the computer instructions, when executed on the display device, may cause the display device to perform the device control method of any one of the fourth aspects described above.
In an eleventh aspect, there is provided an apparatus (which may be a system-on-a-chip, for example) comprising a processor for enabling a gaming device to implement the functionality referred to in the third aspect above, or for enabling a display device to implement the functionality referred to in the fourth aspect above. In one possible design, the apparatus further includes a memory for storing program instructions and data necessary for the display device. When the device is a chip system, the device may be composed of a chip, or may include a chip and other discrete devices.
In an embodiment of the present application, a game device first obtains an operating mode of a control device (e.g., a gamepad) in response to a first instruction sent by the control device. The first instruction is used for instructing a user to trigger a target control key of the control equipment. If the working mode of the control equipment is the control mode of the display equipment, the game equipment can determine a target display key value corresponding to the target control key according to a preset corresponding relation; and then the target display key value is sent to the display equipment. The display device is capable of performing a corresponding function in response to the target display key value. Thus, the control of the display device by the control device is realized. In addition, the control device connected with the game device can also control the game device, that is, the method provided by the embodiment of the application realizes that the same control device can control both the game device and the display device. Furthermore, the user can control any function of the display device in the process of controlling the game through the control device without replacing the control device, and the interference on the game immersion feeling of the user is reduced.
No matter what communication mode between the game device and the control device is (for example, a wireless communication mode or a wired communication mode established on an HDMI cable), the game device may determine a target display key value corresponding to the target control key according to a preset corresponding relationship, and the target display key value may trigger the display device to execute a target function. That is to say, the method provided by the embodiment of the present application does not limit the communication mode between the game device and the display device, and the application range is expanded.
Secondly, the preset corresponding relationship may include a display key value that triggers any one function of the display device, and therefore, the target display key value corresponding to the target control key determined by the game device from the preset corresponding relationship may be used to control any one function of the display device. That is, the control device can realize control of any one function of the display device.
Drawings
Fig. 1 is a flowchart of an apparatus control method provided in the related art;
fig. 2 is a schematic view of an application scenario of a device control method according to an embodiment of the present application;
fig. 3 is a first schematic structural diagram of a display device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a display device according to an embodiment of the present application;
fig. 5 is a first flowchart of an apparatus control method according to an embodiment of the present disclosure;
fig. 6 is a second flowchart of an apparatus control method according to an embodiment of the present application;
fig. 7 is a third flowchart of an apparatus control method according to an embodiment of the present application;
fig. 8 is a first flowchart illustrating a game device acquiring a preset corresponding relationship according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram of a first device interface provided in an embodiment of the present application;
fig. 10 is a diagram illustrating an example of obtaining a preset correspondence relationship according to the present application;
fig. 11 is a second flowchart of a game device acquiring a preset corresponding relationship according to an embodiment of the present application;
fig. 12 is a flowchart of a device control method applied to a display device according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a game device according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a display device according to an embodiment of the present application.
Detailed Description
To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all the embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises" and "comprising," and any variations thereof, in this application are intended to cover a non-exclusive inclusion, such that a product or device that comprises a list of elements is not necessarily limited to all elements expressly listed but may include other elements not expressly listed or inherent to such product or device.
Aiming at the problems described in the background art, a related scheme adopts a Consumer Electronics Control (CEC) mode to realize the Control of a game device and a television by a gamepad. The CEC protocol is a communication protocol established over a High Definition Multimedia Interface (HDMI). Two devices (e.g., a game device and a television) supporting the CEC protocol are connected via an HDMI line, and can communicate using the CEC protocol.
As shown in fig. 1, the specific process of implementing the game console to control the game device and the television by using the CEC method includes: s11, the game handle receives the pressing operation of a handle key by a user; s12, the game handle responds to the pressing operation and sends a first instruction of the user to the handle key to the game equipment; s13, the game device responds to the first instruction, and determines a predefined value corresponding to a handle key from a plurality of predefined values corresponding to a plurality of handle keys defined by a CEC protocol; s14, the game equipment sends the predefined value corresponding to the handle key to the television through the HDMI line; s15, the television responds to the predefined value corresponding to the handle key to execute a corresponding function.
The game handle is used for realizing a related scheme that the game handle controls the game device and the television, the game device and the television are required to support a CEC protocol, and the game device and the television are required to be connected through an HDMI (high-definition multimedia interface) line. The related scheme can only be used for controlling the game equipment and the television which support the CEC protocol and are connected through the HDMI line, and the application range is narrow.
Secondly, since the CEC protocol defines only predefined values for controlling a partial function of the television (e.g., a basic function of the television), that is, the related scheme can only implement control of the partial function of the television. Moreover, the partial functions of the television which can be controlled by the related scheme are predefined by the CEC protocol and cannot be modified.
In view of the foregoing problems, embodiments of the present application provide a device control method, in which a game device first obtains an operating mode of a control device (e.g., a gamepad) in response to a first instruction sent by the control device. The first instruction is used for instructing a user to trigger a target control key of the control equipment. If the working mode of the control equipment is the control mode of the display equipment, the game equipment can determine a target display key value corresponding to the target control key according to a preset corresponding relation; and then the target display key value is sent to the display equipment. The display device is capable of performing a corresponding function in response to the target display key value. Thus, the control of the display device by the control device is realized. In addition, the control device connected with the game device can also control the game device, that is, the method provided by the embodiment of the application realizes that the same control device can control both the game device and the display device. Furthermore, the user can control any function of the display device in the process of controlling the game through the control device without replacing the control device, and the interference on the game immersion feeling of the user is reduced.
No matter what communication mode between the game device and the control device is (for example, a wireless communication mode or a wired communication mode established on an HDMI cable), the game device may determine a target display key value corresponding to the target control key according to a preset corresponding relationship, and the target display key value may trigger the display device to execute a target function. That is to say, the method provided by the embodiment of the present application does not limit the communication mode between the game device and the display device, and expands the application range.
Secondly, the preset corresponding relationship may include a display key value that triggers any one function of the display device, and therefore, the target display key value corresponding to the target control key determined by the game device from the preset corresponding relationship may be used to control any one function of the display device. That is, the control device can realize control of any one function of the display device.
The following describes an apparatus control method provided in an embodiment of the present application.
The game device provided by the embodiment of the present application may have various embodiments, for example, an electronic device capable of providing a game, such as a Personal Computer (PC), a game machine, and the like. The game device may be integrated with the control device or provided independently of the control device. In addition, the display device provided in the embodiments of the present application may also have various embodiments, for example, an electronic device having a display, such as a television, a smart television, and a laser projection device. The embodiment of the present application does not limit the specific forms of the game device and the display device. In the embodiment of the present application, a game device is a PC, a control device is a game pad, and a display device is a television is exemplified for illustration.
Fig. 2 is a schematic application scenario diagram of the device control method according to the embodiment of the present application. As shown in fig. 2, a user can control a game in the PC202 through the gamepad 201. The PC202 is connected to the television 203 via a wired network or a wireless network. The PC202 can receive and respond to the game control instruction sent by the game handle 201 to generate a game interface; the game interface is then sent to the television 203. The television 203 controls the display screen to display the game interface.
In some embodiments, the modes of operation of the gamepad 201 may include a game control mode and a television 203 control mode. If the gamepad 201 is in a game control mode, the gamepad 201 is used to control the game in the PC 202. If the gamepad 201 is in the television 203 control mode, the gamepad 201 controls the functions of the television 203 through the PC 202. For example, the game pad 201 controls the functions of the television 203 through an application (which may be simply referred to as an application) running on the PC 202.
Exemplarily, fig. 3 shows a schematic structural diagram of a television set provided in an embodiment of the present application.
As shown in fig. 3, the television set 203 includes at least one of a tuner demodulator 310, a communicator 320, a detector 330, an external device interface 340, a controller 350, a display 360, an audio output interface 370, a memory, a power supply, a user interface 380, and an HDMI interface 390.
In some embodiments, the controller 350 includes: the Memory device includes at least one of a CPU, a video processor, an audio processor, a Graphics Processing Unit (GPU), a Random Access Memory (RAM), a Read-Only Memory (ROM), first to nth interfaces for input/output, a communication Bus (Bus), and the like.
The tuner demodulator 310 receives a broadcast television signal through wired or wireless reception and demodulates an audio/video signal from a plurality of wireless or wired broadcast television signals. The detector 330 is used to collect signals of the external environment or interaction with the outside. The controller 350 and the tuner 310 may be located in different separate devices, that is, the tuner 310 may also be located in an external device of the main device where the controller 350 is located, such as an external set-top box. The display 360 may be at least one of a liquid crystal display, an Organic Light-Emitting Diode (OLED) display, a touch display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, the controller 350 controls the operation of the television 203 and responds to user actions through various software control programs stored in memory. The controller 350 controls the overall operation of the television set 203. A user may input a user command to a Graphical User Interface (GUI) displayed on the display 360, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, the sound collector may be a microphone, also referred to as a "microphone," for converting sound signals into electrical signals. When voice interaction is performed, a user can input a voice signal into the microphone by making a sound through the mouth of the user close to the microphone. The television 203 may be provided with at least one microphone. In other embodiments, the television 203 may be provided with two microphones to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the tv 203 may further include three, four or more microphones to collect sound signals and reduce noise, and may further identify sound sources and perform directional recording.
The microphone may be built in the television 203, or the microphone may be connected to the television 203 in a wired or wireless manner. For example, the microphone may be disposed at a lower edge of the display 360 of the television 203. Of course, the position of the microphone on the television 203 is not limited in the embodiments of the present application. Alternatively, the television 203 may not include a microphone, i.e., the microphone is not provided in the television 203. The television 203 may be externally connected to a microphone (also referred to as a microphone) via an interface (e.g., the USB interface 130). The external microphone may be secured to the television 203 by an external fastener (e.g., a camera mount with a clip). For example, the external microphone may be secured to the edge of the display 360 of the television 203, such as the upper edge, by an external fixture.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A common presentation form of a User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.
In some examples, taking an operating system of the television 203 as an Android system as an example, as shown in fig. 4, the television 203 may be logically divided into an application layer (abbreviated as "application layer") 41, a system library 42, a kernel layer 43, and a hardware layer 44.
As shown in fig. 4, the hardware layer 44 may include the controller 350, the communicator 320, the detector 330, the display 360, and the like shown in fig. 3. The application layer 41 includes one or more applications. The application may be a system application or a third party application. For example, the application layer 41 includes a key transceiver application. The key transceiver application may receive a target display key value sent by PC 202.
The system library 42 may include a plurality of functional modules, for example, a keystroke processing service. The key processing service is used for processing the display key value, for example, executing corresponding functions according to the display key value. After receiving the target display key value sent by the PC202, the key transceiving application may send the target display key value to the key processing service. The key processing service executes a corresponding target function according to the target display key value.
The kernel layer 43 serves as software middleware between the hardware layer 44 and the application layer 41 for managing and controlling hardware and software resources. For example, the core layer 42 includes a display driver. After the tv 203 receives the game interface sent by the PC202, the display driver may drive the display 360 to display the game interface.
The methods in the following embodiments may be implemented in the hardware structure described above.
The device control method provided by the embodiment of the present application is described in detail with reference to fig. 2. As shown in fig. 5, the device control method provided in the embodiment of the present application may be applied to the PC202 and the television 203, and may include the following S501 to S506.
S501, the PC202 receives a first instruction sent by the game handle 201; the first instruction is for instructing the user to trigger a target control key of the game pad 201.
The PC202 is connected to the game pad 201 by wire or wirelessly. The user may operate any control key (which may be referred to as a target control key) in the game pad 201, and the game pad 201 may generate a first instruction for instructing the user to activate the target control key and send the first instruction to the PC 202. Among them, the control keys in the game pad 201 may also be referred to as pad keys.
In some embodiments, a user may control a game in PC202 through gamepad 201. For example, the PC202 may receive a game control instruction transmitted by the gamepad 201, and generate a game interface in response to the game control instruction. The PC202 may be wired or wirelessly connected to the television 203. After the PC202 can generate the game interface, the game interface can be transmitted to the television 203. The television 203 receives the game interface sent by the PC202, and displays the game interface according to the game data. Next, the PC202 may transmit, in addition to the game interface to the television 203, other game information (e.g., game music) other than the game interface to the television 203, so that the television 203 outputs other game information (e.g., plays game music) while displaying the game interface.
In the process that the PC202 controls the television 203 to play a game interface (including displaying the game interface and/or playing game music), the user may need to control the function of the television 203 in addition to controlling the game in the PC202 through the gamepad 201, so as to adjust the playing effect of the television 203 on the game. For example, the volume of the television 203 is adjusted to achieve adjustment of the volume of the game. For another example, the image quality parameter of the television 203 is adjusted to achieve the effect of adjusting the display of the game interface. Thus, the gamepad 201 can provide a television 203 control mode and a game control mode. The game pad 201 controls the mode in the television 203, and the user can control the functions of the television 203 through the game pad 201. The gamepad 201 is in a game control mode, and a user can control a game in the PC202 through the gamepad 201.
Alternatively, one of the control keys in the gamepad 201 may be a mode switch key. The mode switching key is used for triggering and modifying the working mode of the game pad 201.
S502, the PC202 acquires the operation mode of the gamepad 201 in response to the first instruction.
Since the game pad 201 can provide two operation modes (e.g., the television 203 control mode and the game control mode), and the PC202 processes the first instruction generated by the game pad 201 in different operation modes in different manners. Therefore, in response to the first instruction, the PC202 may acquire the operation mode of the game pad 201, and then determine how to respond to the first instruction according to the operation mode of the game pad 201.
S503, if the working mode of the game handle 201 is the television 203 control mode, the PC202 determines a target display key value corresponding to the target control key according to the preset corresponding relation; the preset corresponding relationship is used for representing a plurality of display key values of the television 203 corresponding to a plurality of control keys of the game pad 201.
If the operating mode of the game pad 201 is the television 203 control mode, the PC202 may determine the target display key value corresponding to the target control key according to the preset correspondence. If the operating mode of the gamepad 201 is the game control mode, the PC202 may determine a control key value in the game control mode corresponding to the target control key; and then controls the game in the PC202 according to the control key value in the game control mode.
In some embodiments, after the PC202 acquires the operating mode of the gamepad 201, the control key value corresponding to the target control key may be determined, and when the operating mode of the gamepad 201 is different, the control key value corresponding to the target control key determined by the PC202 may also be different.
Illustratively, the PC202 may include a first correspondence in a television 203 control mode, and a second correspondence in a game control mode. The first correspondence relationship includes a correspondence relationship between a plurality of control keys (may be referred to as a plurality of handle keys) of the game handle 201 and a plurality of first control key values. The second correspondence includes a correspondence between a plurality of grip keys of the game grip 201 and a plurality of second control key values. The preset correspondence may include correspondence between the plurality of first control key values and the plurality of display key values.
Furthermore, if the operating mode of the gamepad 201 is the television 203 control mode, the PC202 may determine a first control key value corresponding to the target control key from the first correspondence; the PC202 determines the target display key value corresponding to the first control key value from the preset corresponding relationship. If the operating mode of the game handle 201 is the game control mode, the PC202 may determine a second control key value corresponding to the target control key from the second correspondence; the PC202 controls the game in the PC202 according to the second control key value.
It can be known that, because the game pad 201 uses different control key values in different operating modes, the user operates the mode switching key in the game pad 201 to trigger modification of the operating mode of the game pad 201 and also trigger modification of the control key value used by the game pad 201. The mode switching key can also be called a plurality of sets of switches for controlling key values.
In addition, the existing game pad 201 has a control game mode. The PC202 may execute a game control scheme while the gamepad 201 is in a control game mode. The execution of the game control scheme by the PC202 specifically includes: when a user operates any control key (i.e., a target control key) in the gamepad 201, the PC202 generates a second control key value corresponding to the control key, and controls a game in the PC202 according to the second control key value. On this basis, the PC202 can add a plurality of first control key values with which the gamepad 201 is in the television 203 control mode, and the plurality of first control key values are different from a plurality of second control key values for controlling the game. In this way, after the user operates the target control key of the game pad 201, if the PC202 generates the first control key value corresponding to the target control key, the PC202 controls the television 203 according to the first control key value. If the PC202 generates a second control key value corresponding to the target control key, the PC202 controls the game in the PC202 according to the second control key value, that is, the PC202 executes the existing game control scheme. The PC202 can implement existing game control schemes regardless of which mode of operation the gamepad 201 is in. That is, the control scheme of the television 203 added to the PC202 does not affect the PC202 to execute the existing game control scheme.
In other embodiments, the operation modes of the game pad 201 are different, and the control key values corresponding to the target control keys determined by the PC202 may be the same. For example, whether the game pad 201 is in the television 203 control mode or the game control mode, the PC202 determines one control key value corresponding to the target control key from the correspondence between the plurality of control keys and the plurality of control key values. In this case, the preset correspondence may include correspondence between a plurality of control key values and a plurality of display key values. Furthermore, if the operating mode of the game pad 201 is the control mode of the television 203, the PC202 may determine the target display key value corresponding to the control key value from the preset corresponding relationship. If the operation mode of the game pad 201 is a game control mode, the PC202 can control the game in the PC202 according to the control key value.
Illustratively, if the operating system of the PC202 is Windows TM Operating System, PC202 may use Windows TM The _ kbhit () function of the conio.h function provided by the operating system determines a control key value corresponding to the target control key (e.g., a first control key value corresponding to the target control key, a second control key value corresponding to the target control key, and a control key value corresponding to the target control key).
S504, the PC202 transmits the destination display key value to the television 203.
In a case where the PC202 establishes a communication connection (e.g., a wired communication connection or a wireless communication connection) with the television 203, the target display key value may be transmitted to the television 203.
In some embodiments, the PC202 may send the target display key value to the television 203 according to the communication means between the PC202 and the television 203. The communication mode includes wireless communication or wired communication. For example, wired communication includes: communication established over a High Definition Multimedia Interface (HDMI) line.
Illustratively, the PC202 may install a first key transceiving application. The television 203 may install a second key transceiver application. Further, in a case where the first key transceiving application and the second key transceiving application are connected to the same wireless network, which means that the PC202 establishes wireless communication connection with the television 203, the PC202 may transmit the target display key value to the second key transceiving application in the television 203 through the first key transceiving application.
Illustratively, if the PC202 and the television 203 are connected by an HDMI line, and the PC202 and the television 203 both support the same HDMI communication protocol (e.g., CEC protocol, or another communication protocol supported by HDMI), indicating that the PC202 establishes a wired communication connection with the television 203, the PC202 may transmit the target display key value to the television 203 via the HDMI line.
S505, the television 203 receives the target display key value sent by the PC 202.
The television 203 can successfully receive the target display key value transmitted by the PC202 in the case where the communication connection is established with the PC 202.
S506, the television 203 responds to the target display key value and executes the target function.
The television 203 may execute the target function in the television 203 in response to the target display key value. For example, the target function may be adjusting the volume of the tv 203 or adjusting the picture quality parameter of the tv 203.
In some embodiments, to control the television 203, the PC202 needs to be communicatively coupled to the television 203 in addition to the user operating other control keys in the gamepad 201, other than the mode switch key. Therefore, in response to the first instruction, the PC202 may first determine whether the target control key triggered by the user is a mode switching key and whether the PC202 establishes a communication connection with the television 203. Specifically, as shown in fig. 6, the device control method provided in this embodiment may further include S601-S602 and S604-S605 after S501, and S502 in the device control method may include S603.
S601, the PC202 judges whether the PC202 and the television 203 establish a communication connection in response to the first instruction.
If the PC202 establishes a communication connection with the television 203, the PC202 may perform S602 again. If the PC202 and the television 203 do not establish a communication connection, the PC202 may end the control flow for the television 203, that is, execute S605.
S602, the PC202 determines whether the target control key is a mode switching key.
The mode switching key is used for triggering and modifying the working mode of the gamepad 201. If the target control key is not the mode switching key, the PC202 can perform S603 again. If the target control key is a mode switching key, the PC202 may modify the operation mode of the gamepad 201, for example, execute S604.
S603, the PC202 acquires the operation mode of the joystick 201.
If the PC202 establishes a communication connection with the television 203 and the target control key is not a mode switching key, the PC202 acquires the operation mode of the joystick 201.
S604, the PC202 modifies the identification corresponding to the working mode of the game handle 201.
PC202 may store an identification corresponding to the mode of operation of gamepad 201. The gamepad 201 is in different modes of operation and the content of the token is different. For example, if the gamepad 201 is in the television 203 control mode, the flag is enabled. If the gamepad 201 is in the game control mode, the flag is disabled.
Further, when the PC202 determines that the target control key is a mode switching key, the content of the identification may be modified. For example, the PC202 modifies the identification from the enabled state to the disabled state, or modifies the identification from the disabled state to the enabled state.
S605 and the PC202 end the control flow of the television 203.
Although the PC202 ends the control flow to the television 203, in the case where the target control key is not the mode switching key and the gamepad 201 is in the game control mode, the PC202 can control the game in the PC202 in accordance with the target control key.
It should be noted that, in addition to the PC202 shown in fig. 6 determining whether the PC202 and the television 203 establish a communication connection and then determining whether the target control key triggered by the user is a mode switching key, the PC202 may also determine whether the target control key triggered by the user is a mode switching key and then determine whether the PC202 and the television 203 establish a communication connection. In the embodiment of the present application, it is not limited that the PC202 first determines whether the PC202 and the television 203 establish a communication connection, or first determines whether a target control key triggered by a user is a mode switching key.
In some embodiments, PC202 may create a key monitoring thread for monitoring user operation of any of the control keys in gamepad 201, e.g., for receiving a first instruction sent by gamepad 201. Specifically, as shown in fig. 7, S501 in the method may include S701-S702.
S701, the PC202 creates a key monitoring thread.
The key monitoring thread is configured to monitor an operation of any control key of the gamepad 201 by a user, for example, the key monitoring thread is configured to receive a first instruction sent by the gamepad 201. The first instruction is used to instruct the user to activate the target control key of the gamepad 201.
S702, the first button transceiving application obtains the first instruction sent by the gamepad 201 through the button monitoring thread.
In some embodiments, the PC202 may obtain the preset correspondence relationship before S501. Specifically, as shown in fig. 8, the PC202 acquiring the preset correspondence may include S801-S804.
S801, the PC202 obtains at least two display key values of the television 203 and a function corresponding to each of the at least two display key values.
Wherein, the function corresponding to each display key value belongs to the television 203. The function corresponding to each display key value may be referred to as a function of the television 203 corresponding to each display key value.
Optionally, before acquiring at least two display key values of the television 203 and functions corresponding to the display key values, the PC202 may send a first request to the television 203; the first request is used for requesting to acquire the device information of the television 203; and then receives a first response sent by the television 203, wherein the first response comprises the equipment information of the television 203 (such as the name of the television 203). Then, the PC202 may obtain at least two display key values of the television 203 and functions corresponding to the display key values according to the device information of the television 203.
Among them, the PC202 may locally store key information of a plurality of display devices. The key information of each display device comprises at least two display key values of each display device and functions corresponding to the display key values. The PC202 acquires at least two display key values of the television 203 and functions corresponding to the display key values from locally stored key information of a plurality of display devices according to the device information of the television 203.
Illustratively, taking the device information of the television 203 as the name of the television 203 as an example, the television 203 transmits Extended Display Identification Data (EDID) to the PC202 in response to the first request. The EDID includes a field for characterizing the name of the television set 203. For example, the contents of this field may be the HEC. HEC characterizes the name of the television 203 as Haixin TM
S802, the PC202 displays a first setting interface of the gamepad 201 in the control mode of the television 203; the first setup interface includes: a function corresponding to each of the plurality of control keys.
The function corresponding to each control key belongs to at least two functions corresponding to the display key value in the television 203, that is, the function corresponding to each control key belongs to the television 203. The function corresponding to each control key may be referred to as the function of the television 203 corresponding to each control key.
Optionally, the displaying, by the PC202, the first setting interface of the gamepad 201 in the control mode of the television 203 may include: the PC202 sends the first device interface to the television 203 to control the television 203 to display the first setting interface; alternatively, in the case where the PC202 includes a display, the PC202 displays the first setting interface through a display in itself.
Illustratively, as shown in fig. 9, in an exemplary view of the television 203 displaying a first device interface provided by the embodiment of the present application, the first setting interface 900 may include: a key identification of each control key of the plurality of control keys, and a function name corresponding to each key identification. The first setting interface 900 may also include an operation mode 1, where the operation mode 1 represents a television 203 control mode of the gamepad 201. The user may input and adjust the function name corresponding to each key identifier on the first setting interface 900, so as to adjust the function corresponding to each control key. The key identifiers displayed in the first setting interface 900 may be marked on the control keys in the game pad 201.
S803, PC202 receives a second instruction triggered by gamepad 201 on the first setting interface.
After the PC202 displays the first setting interface of the gamepad 201 in the control mode of the television 203, the user can adjust the function corresponding to any control key in the first setting interface, and then confirm the function corresponding to each control key in the adjusted first setting interface; or, the user may directly confirm the function corresponding to each control key in the first setting interface. That is, the second instruction may include: and the user triggers a first instruction for adjusting the function corresponding to any control key in the first setting interface and/or a second instruction for confirming the function corresponding to each control key in the first setting interface.
S804, the PC202 responds to the second instruction, and determines a display key value corresponding to each control key according to the function corresponding to each control key in the first setting interface and the function corresponding to the display key value; the preset corresponding relationship comprises a display key value corresponding to each control key.
The second instructions may include: and the user triggers a first instruction for adjusting the function corresponding to any control key in the first setting interface and/or a second instruction for confirming the function corresponding to each control key in the first setting interface. In response to the first instruction, the PC202 may adjust a function corresponding to any control key in the first setting interface, and display the adjusted function corresponding to each control key in the first setting interface. In response to the second instruction, the PC202 may determine a display key value corresponding to each control key according to a function corresponding to each control key in the currently displayed first setting interface and a function corresponding to the display key value. The currently displayed first setting interface may be the first setting interface displayed for the first time or the first setting interface after adjustment.
Exemplarily, the presetting of the corresponding relationship includes: and the display key value corresponds to the second control key value. Or, the preset corresponding relationship includes: one control key value corresponding to each control key and a display key value corresponding to the control key value.
For example, taking the preset corresponding relationship including one second control key value corresponding to each control key and the display key value corresponding to the second control key value as an example, the preset corresponding relationship may be as shown in table 1 below. Table 1 includes the function of the television 203 corresponding to each display key value in addition to the preset correspondence.
Table 1 preset correspondence and functions of the television 203
Figure BDA0003994553440000121
Wherein, presetting a plurality of second control key values in the corresponding relation comprises: w, S, A, D, M, H, J, U, Q, Z, X, C and F. The presetting of the plurality of display key values in the corresponding relationship includes: 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, and 0x2d. The plurality of functions of the television 203 for controlling by displaying a plurality of key values in the preset correspondence include: focus up, focus down, focus left, focus right, ok, volume +, volume-, quick menu key, power key, signal source switch key, set key, return key, and home key.
In some embodiments, PC202 may install a first keystroke transceiving application. The television 203 may install a second key transceiving application (such as the key transceiving application in fig. 4). The PC202 may implement the steps performed by the PC202 described in the embodiments of the present application through the first key transceiving application. The television 203 may implement the steps performed by the television 203 described in the embodiment of the present application through the second key transceiving application. Specifically, the PC202 may first establish a wireless communication connection or a wired communication connection with the television 203. Then, the first key transceiving application in the PC202 communicates with the second key transceiving application in the television 203 to implement the device control method provided in the embodiment of the present application.
Illustratively, if the PC202 and the television 203 are connected by an HDMI cable, and both the PC202 and the television 203 support the same HDMI communication protocol, it means that the PC202 is connected to establish wired communication. The first key transceiving application in the PC202 may communicate with the second key transceiving application in the tv 203 via an HDMI cable using any HDMI communication protocol.
Illustratively, the PC202 may first establish a wireless communication connection with a second key transceiving application in the television 203 through a first key transceiving application. Specifically, the first key transceiving application and the second key transceiving application may both communicate with the same background server (which may be referred to as a service framework), and the background server implements wireless communication between the first key transceiving application and the second key transceiving application.
For example, if the PC202 can execute the device control method through the first key transceiving application, the S701 may include: when the PC202 runs the first key transceiving application, the first key transceiving application creates a key monitoring thread.
Illustratively, as shown in fig. 10, an architecture diagram of a background server provided by the embodiment of the present application, the background server (may be referred to as a service framework) is used for implementing wireless communication between a first key transceiving application and a second key transceiving application. The backend servers may include server 1001 and server 1002. Server 1001 and server 1002 each include the following modules: multiple software switch toolkit, hai Xin (TM) Mobile Core services & capabilities (HSP cores & Captilities), ocean (i.e. Oc in FIG. 10), motor, speaker, window, screen, algorithm, microphone MIC, mesh node MeshNode, HCP, and Network. Wherein the plurality of kits includes: ocean Kit and System development Kit, and the like. The Ocean Kit is used to provide wireless communication functionality. The System Kit in the server 1001 may provide a key processing function (i.e., a function implemented by the PC 202), and the first key transceiving application may call the System Kit in the server 1001 to execute the steps executed by the PC202 described in this embodiment (e.g., determine the target display key value corresponding to the target control key according to the preset corresponding relationship). The System Kit in the server 1002 may also provide another key processing function (i.e., the function implemented by the television 203), and the second key transceiving application may call the System Kit in the server 1002 to perform the steps performed by the television 203 (e.g., send the target display key value to the key processing service) described in this embodiment of the present application.
The first key transceiving application and the second key transceiving application performing wireless communication include: the first key transceiver application wirelessly communicates with the server 1001, the server 1001 wirelessly communicates with the server 1002, and the server 1002 wirelessly communicates with the second key transceiver application. The server 1001 realizes communication with the first key transceiving application through the above modules. The server 1002 communicates with the second key transceiving application through the above modules.
It can be understood that the first key transceiving application and the second key transceiving application can communicate with the background server only by being connected to the same wireless network, and the first key transceiving application and the second key transceiving application can communicate wirelessly. Second, an electronic device using any one of the operating systems and any one of the types of processors may be installed with a key relay application (e.g., a first key relay application or a second key relay application), and thus, the PC202 using any one of the operating systems and any one of the types of processors, and the television 203 using any one of the operating systems and any one of the types of processors may implement wireless communication connection by installing the key relay application (e.g., the first key relay application or the second key relay application). Compared with the method that the PC202 establishes a wired communication connection with the television 203 supporting the same HDMI communication protocol through an HDMI line, the wireless communication method has lower requirements on the devices of the PC202 and the television 203, and is wider in application range.
For example, after the PC202 using the processor of the Windows operating system and the intel x64 architecture installs the first key forwarding application and the television 203 using the processor of the Android operating system and the ARM architecture installs the second key forwarding application, the PC202 may wirelessly communicate with the second key forwarding application in the television 203 through the first key forwarding application.
In some embodiments, if the PC202 needs to acquire the device information of the television 203 first, and then acquires at least two display key values and functions corresponding to the display key values of the television 203 according to the device information of the television 203, the PC202 may determine whether the PC202 and the television 203 establish a communication connection before acquiring the device information of the television 203. Since the communication means between the PC202 and the television 203 includes wireless communication and wired communication, the determination by the PC202 of whether the PC202 and the television 203 establish a communication connection may include: it is determined whether the PC202 establishes wireless communication with the television 203 and/or whether the PC202 establishes wired communication with the television 203.
Taking the example that the PC202 executes the device control method through the first key transceiving application, and the PC202 establishes wireless communication with the second key transceiving application in the television 203 through the first key transceiving application as an example, a specific process of acquiring the preset corresponding relationship by the PC202 is described. As shown in fig. 11, S701 in which the PC202 acquires the preset correspondence relationship may include S1101 to S1109.
S1101, when the PC202 runs the first key transceiving application, the first key transceiving application sends a ping command to the second key transceiving application in the television 203.
Wherein the ping command is used for detecting whether the wired network is connected. For example, the PC202 may run the first key transceiving application when it is started, or the PC202 runs the first key transceiving application when it receives an instruction that the user triggers running the first key transceiving application.
In some embodiments, the first time PC202 runs the first key transceiver application, the first key transceiver application may also perform device registration in the background server. After the first key transceiving application performs device registration in the background server, the first key processing application in the PC202 establishes communication connection with the background server. If the second key processing application in the tv 203 also establishes a communication connection with the background server, the first key processing application in the PC202 and the second key processing application in the tv 203 may implement wireless communication through the background server.
S1102, the first key transceiver application determines whether the ping reply sent by the television 203 is received.
If the tv 203 establishes a wired communication connection with the PC202, the tv 203 sends a ping reply to the first key transceiving application in the PC202 through the second key transceiving application. If the television 203 and the PC202 do not establish a wired communication connection, the television 203 does not send a ping reply to the PC 202.
Further, when the first key transceiver application receives the ping reply transmitted from the television 203, it indicates that the television 203 and the PC202 are connected to each other by wired communication, and S1103 is executed. If the first key transceiving application does not receive the ping reply sent by the tv 203, it indicates that the tv 203 and the PC202 do not establish a wired communication connection, then S1106 is executed.
S1103, the first key transceiving application sends the first request to the second key transceiving application in the tv 203.
Wherein the first request is used for requesting to acquire the device information of the television 203. If the first key transceiving application determines that the ping reply sent by the television 203 is received, which indicates that the television 203 establishes the wired communication connection with the PC202, the first key transceiving application sends a first request to a second key transceiving application in the television 203 through the wired network. If the first key transceiving application determines that the television 203 establishes wireless communication connection with the background server, which means that the first key transceiving application in the PC202 and the second key forwarding application of the television 203 establish wireless communication connection, the first key transceiving application sends a first request to the second key transceiving application in the television 203 through the wireless network.
S1104, the first key transceiving application receives a first response sent by the television 203, where the first response includes device information of the television 203.
S1105, the first key transceiving application obtains at least two display key values of the television 203 and functions corresponding to the display key values according to the device information of the television 203.
S1106, the first key transceiving application sends a second request to the backend server, where the second request is used to query whether the television 203 establishes a communication connection with the backend server.
The second request may be used to query the backend server whether the second key processing application in the television 203 establishes a communication connection with the backend server, or to query the backend server whether the second key processing application in the television 203 performs device registration in the backend server. If the second key processing application in the television 203 performs device registration in the background server, it indicates that the second key processing application in the television 203 establishes communication connection with the background server. If the second key processing application in the television 203 does not perform device registration in the background server, it indicates that the second key processing application in the television 203 does not establish communication connection with the background server.
S1107, the first key transceiving application receives a second response sent by the background server.
S1108, the first key transceiving application determines whether the television 203 establishes a wireless communication connection with the background server according to the second response.
If the wireless communication connection between the tv 203 and the backend server is established, which indicates that the first key transceiving application in the PC202 and the second key forwarding application of the tv 203 can establish the wireless communication connection through the backend server, the first key transceiving application executes S1103. If the wireless communication connection between the tv 203 and the background server is not established, which indicates that the wireless communication connection between the first key transceiving application in the PC202 and the second key forwarding application of the tv 203 is not established, the first key transceiving application may end the process, i.e., execute S1109.
S1109, ending the flow.
It should be noted that, in S601, the details of the PC202 determining whether the PC202 and the television 203 establish the communication connection may refer to the specific processes of the PC202 determining whether the PC202 and the television 203 establish the wireless communication and determining whether the PC202 and the television 203 establish the wired communication described in S1101-S1102 and S1106-S1108, which are not described herein again in this embodiment of the present application.
Second, the PC202 after performing S1101-S1102 and S1106-S1108 may determine that the PC202 establishes wireless communication or wired communication with the television 203, or that the PC202 does not establish communication with the television 203. If the PC202 determines that the PC202 establishes wireless communication or wired communication with the television 203 after performing S1101-S1102 and S1106-S1108, the PC202 may directly perform S602 without performing S601.
In some embodiments, the television 203 includes a key handling application (such as the key handling application shown in fig. 4) in addition to the second key forwarding application (such as the key transceiving application shown in fig. 4). The key processing application is for processing a display key value.
For example, a device control method applied to the television 203 provided by the embodiment of the present application is described by taking an example where the television 203 implements the device control method through a second key forwarding application and a key processing application. As shown in fig. 12, the method includes S1201-S1206.
S1201, when the television 203 runs the second key transceiving application, the second key transceiving application performs device registration in the background server.
In some embodiments, the first time the television 203 runs the second key transceiver application, the second key transceiver application may also perform device registration in the background server.
S1202, the second key transceiving application creates a message processing thread.
The message processing thread is configured to monitor whether the display key value is received by the television 203.
S1203, the second key transceiving application determines whether the display key value is received by the television 203 through the message processing thread.
If the television 203 receives the display key value, S1204 is executed. If the display key value is not received by the television 203, S1203 is continuously executed.
S1204, the second key transceiving application obtains a target display key value sent by the first key transceiving application in the PC 202.
And S1205, the second key transceiving application sends the target display key value to the key processing application.
S1206, the key processing application executes the target function in response to the target display key value.
In some embodiments, after the PC202 establishes the communication connection with the tv 203, in addition to the PC202 sending the target display key value to the tv 203, the PC202 may also send the operating status of the PC202 to the tv 203 (e.g., browsing a web page, playing a movie, or playing a game); the television 203 can adjust the picture quality parameter of the television 203 based on the operating state of the PC 202.
Secondly, after the television 203 responds to the target display key value, a response result to the target display key value can be sent to the PC202, so that the PC202 knows that the target display key value successfully controls the television 203 to execute the target function.
It is understood that after the PC202 and the television 203 establish a communication connection, more information (e.g., the target display key value, the operating status of the PC202, the response result) can be synchronized between the PC202 and the television 203. Further, a message response mechanism between the PC202 and the television 203 can be realized, and the accuracy of information transmission and reception between the PC202 and the television 203 can be determined.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the present application may perform division of function modules on a game device (e.g., PC 202) and a display device (e.g., television 203) according to the above method examples, for example, each function module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
Embodiments of the present application also provide a gaming device. As shown in fig. 13, the game device 1300 includes: a communicator 1301 and a controller 1302.
The communicator 1301 is configured to receive a first instruction sent by the control device; the first instruction is used for instructing a user to trigger a target control key of the control device. A controller 1302 configured to: responding to the first instruction, and acquiring the working mode of the control equipment; if the working mode of the control equipment is the control mode of the display equipment, determining a target display key value corresponding to the target control key according to the preset corresponding relation; the preset corresponding relation is used for representing a plurality of display key values of the display device corresponding to a plurality of control keys of the control device.
A communicator 1301 configured to transmit a target display key value to a display apparatus so that the display apparatus executes a target function triggered by the target display key value.
In one possible implementation, the communicator 1301 is configured to: transmitting a target display key value to the display device according to a communication mode between the game device 1300 and the display device; the communication mode comprises wireless communication or wired communication; the wired communication includes: communication established over a High Definition Multimedia Interface (HDMI) line.
In another possible implementation manner, the game device 1300 installs a first key transceiving application, and the display device installs a second key transceiving application.
A communicator 1301 configured to: and under the condition that the first key transceiving application and the second key transceiving application are connected with the same wireless network, sending a target display key value to the second key transceiving application in the display equipment through the first key transceiving application.
In another possible implementation manner, the controller 1302 is further configured to: acquiring at least two display key values of the display equipment and displaying functions corresponding to the key values; displaying a first setting interface of the control equipment in a control mode of the display equipment; the first setup interface includes: a function corresponding to each of the plurality of control keys.
The communicator 1301 is further configured to receive a second instruction triggered by the control device on the first setting interface.
The controller 1302 is further configured to determine, in response to the second instruction, a display key value corresponding to each control key according to the function corresponding to each control key in the first setting interface and the function corresponding to the display key value; the preset corresponding relationship comprises a display key value corresponding to each control key.
In another possible implementation manner, the communicator 1301 is further configured to: sending a first request to a display device; the first request is used for requesting to acquire equipment information of the display equipment; and receiving a first response sent by the display device, wherein the first response comprises the device information of the display device. The controller 1302 is further configured to obtain at least two display key values of the display device and functions corresponding to the display key values according to the device information of the display device.
In another possible implementation manner, the controller 1302 is further configured to: in response to the first instruction, determining whether the game device 1300 establishes a communication connection with the display device, and determining whether the target control key is a mode switching key; the mode switching key is used for triggering and modifying the working mode of the control equipment; if the game device 1300 establishes a communication connection with the display device and the target control key is not the mode switching key, the operation mode of the control device is acquired.
Of course, the game device 1300 provided in the embodiment of the present application includes, but is not limited to, the above modules, and for example, the game device 1300 may further include a memory. The memory may be used to store the executable instructions of the game device 1300, and may also be used to store data generated by the game device 1300 during the operation process, such as a preset correspondence.
The embodiment of the application also provides a display device. As shown in fig. 14, the display apparatus 1400 includes: a communicator 1401 and a controller 1402.
A communicator 1401 configured to receive a target display key value transmitted by the game device. A controller 1402 configured to execute a target function in response to a target display key value.
In one possible implementation, the communicator 1401 is further configured to: receiving a target display key value sent by the game equipment under the condition of establishing communication connection with the game equipment; the communication connection includes a wired communication connection or a wireless communication connection.
In another possible implementation, the display device 1400 further includes a display 1403. A communicator 1401 further configured to receive a game interface transmitted by the game device; a display 1403 configured to display a game interface.
Of course, the display device 1400 provided in the embodiments of the present application includes, but is not limited to, the above modules, for example, the display device 1400 may further include a memory. The memory may be used to store executable instructions for the display device 1400, and may also be used to store data generated by the display device 1400 during operation, and the like.
An embodiment of the present application further provides a game device, including: a processor and a memory; the memory is used for storing computer instructions, and when the game device runs, the processor executes the computer instructions stored in the memory, so that the game device executes the method executed by the PC202 provided by the embodiment of the application.
An embodiment of the present application further provides a display device, including: a processor and a memory; the memory is used for storing computer instructions, and when the display device runs, the processor executes the computer instructions stored in the memory, so that the display device executes the method executed by the television 203 provided by the embodiment of the present application.
Embodiments of the present application further provide a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are run on the game device, the game device may execute the method executed by the PC202 provided by the embodiment of the present application. Alternatively, when the computer instructions are executed on the display device, the display device may execute the method executed by the television 203 provided in the embodiment of the present application.
For example, the computer readable storage medium may be a ROM, a RAM, a Compact Disc-Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
Embodiments of the present application also provide a computer program product comprising computer instructions. When the computer instructions are run on the game device, the game device may execute the method executed by the PC202 provided by the embodiment of the present application. Alternatively, when the computer instructions are executed on the display device, the display device may execute the method executed by the television 203 provided in the embodiment of the present application.
The embodiment of the present application further provides an apparatus (for example, the apparatus may be a system on a chip), where the apparatus includes a processor, and is configured to support a display device to implement the method executed by the PC202 or the television 203 provided in the embodiment of the present application. In one possible design, the apparatus further includes a memory for storing necessary program instructions and data for the display device. When the device is a chip system, the device may be composed of a chip, or may include a chip and other discrete devices.
Illustratively, the chip system provided by the embodiment of the present application may include at least one processor and at least one interface circuit. The processor may be a processor in the PC202 described above (or the television 203 described above). The processor and the interface circuit may be interconnected by wires. The processor may receive and execute computer instructions from the memory of the PC202 (or television 203) via the interface circuitry. The computer instructions, when executed by the processor, may cause the PC202 (or the television 203) to perform the various steps performed by the PC202 (or the television 203) in the embodiments described above. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
Through the description of the above embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function allocation may be performed by different functional modules according to needs, that is, the internal structure of the apparatus (e.g., the first control device, the zone controller) is divided into different functional modules to perform all or part of the above described functions. For the specific working processes of the system, the apparatus (e.g., the first control device, the zone controller) and the unit described above, reference may be made to corresponding processes in the foregoing method embodiments, and details are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus (e.g., first control device, zone controller) and method may be implemented in other manners. For example, the above-described embodiments of the apparatus (e.g., the first control device, the zone controller) are merely illustrative, and for example, the modules or units may be divided into only one logical functional division, and may be implemented in other ways, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A game apparatus, characterized in that the game apparatus comprises:
a communicator configured to receive a first instruction transmitted by a control apparatus; the first instruction is used for indicating a user to trigger a target control key of the control equipment;
a controller configured to:
responding to the first instruction, and acquiring the working mode of the control equipment;
if the working mode of the control equipment is a display equipment control mode, determining a target display key value corresponding to the target control key according to a preset corresponding relation; the preset corresponding relation is used for representing a plurality of display key values of the display device corresponding to a plurality of control keys of the control device;
the communicator is configured to send the target display key value to the display device, so that the display device executes a target function triggered by the target display key value.
2. The gaming device of claim 1, wherein the communicator is configured to:
sending the target display key value to the display equipment according to the communication mode between the game equipment and the display equipment; wherein the communication mode comprises wireless communication or wired communication; the wired communication includes: communication established over a High Definition Multimedia Interface (HDMI) line.
3. A gaming device as recited in claim 1, wherein the gaming device is configured to have a first key transceiving application installed, and wherein the display device is configured to have a second key transceiving application installed;
the communicator configured to:
and sending the target display key value to the second key transceiving application in the display device through the first key transceiving application under the condition that the first key transceiving application and the second key transceiving application are connected to the same wireless network.
4. Gaming apparatus according to any of claims 1-3,
the controller further configured to: acquiring at least two display key values of the display equipment and functions corresponding to the display key values; displaying a first setting interface of the control equipment in the control mode of the display equipment; the first setup interface includes: a function corresponding to each control key in the plurality of control keys;
the communicator is further configured to receive a second instruction triggered by the control device at the first setting interface;
the controller is further configured to determine, in response to the second instruction, the display key value corresponding to each control key according to the function corresponding to each control key and the function corresponding to the display key value in the first setting interface; the preset corresponding relation comprises the display key value corresponding to each control key.
5. Gaming device according to claim 4,
the communicator, further configured to: sending a first request to the display device; the first request is used for requesting to acquire the equipment information of the display equipment; receiving a first response sent by the display device, wherein the first response comprises device information of the display device;
the controller is further configured to acquire at least two display key values of the display device and functions corresponding to the display key values according to the device information of the display device.
6. Gaming apparatus according to any of claims 1-3,
the controller further configured to:
responding to the first instruction, judging whether the game device and the display device establish communication connection, and judging whether the target control key is a mode switching key; the mode switching key is used for triggering and modifying the working mode of the control equipment;
and if the game equipment establishes communication connection with the display equipment and the target control key is not the mode switching key, acquiring the working mode of the control equipment.
7. A display device, characterized in that the display device comprises:
a communicator configured to receive a target display key value transmitted from a game device;
a controller configured to execute a target function in response to the target display key value.
8. The display device according to claim 7,
the communicator further configured to: receiving a target display key value sent by the game equipment under the condition of establishing communication connection with the game equipment; the communication connection comprises a wired communication connection or a wireless communication connection.
9. A device control method applied to a game device, the method comprising:
receiving a first instruction sent by control equipment; the first instruction is used for indicating a user to trigger a target control key of the control equipment;
responding to the first instruction, and acquiring the working mode of the control equipment;
if the working mode of the control equipment is a display equipment control mode, determining a target display key value corresponding to the target control key according to a preset corresponding relation; the preset corresponding relation is used for representing a plurality of display key values of the display device corresponding to a plurality of control keys of the control device;
and sending the target display key value to the display equipment so that the display equipment executes a target function triggered by the target display key value.
10. A device control method applied to the display device, the method comprising:
receiving a target display key value sent by game equipment;
and responding to the target display key value, and executing a target function.
CN202211599268.2A 2022-12-12 2022-12-12 Game device, display device and device control method Pending CN115845358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211599268.2A CN115845358A (en) 2022-12-12 2022-12-12 Game device, display device and device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211599268.2A CN115845358A (en) 2022-12-12 2022-12-12 Game device, display device and device control method

Publications (1)

Publication Number Publication Date
CN115845358A true CN115845358A (en) 2023-03-28

Family

ID=85672557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211599268.2A Pending CN115845358A (en) 2022-12-12 2022-12-12 Game device, display device and device control method

Country Status (1)

Country Link
CN (1) CN115845358A (en)

Similar Documents

Publication Publication Date Title
JP5923610B2 (en) Inter-device content sharing method and apparatus
US10788960B2 (en) Display apparatus and control method for processing content data based on user input
JP2009146146A (en) Information processor and home network system
EP2555515A1 (en) Portable information processing device
CN111752518A (en) Screen projection method of display equipment and display equipment
CN112272417B (en) double-Bluetooth sound box reconnection method and display device
CN111208969A (en) Selection control method of sound output equipment and display equipment
CN111277884A (en) Video playing method and device
KR101984874B1 (en) Connecting system and method for user device and external device
CN113590059A (en) Screen projection method and mobile terminal
US9448814B2 (en) Bridge system for auxiliary display devices
CN111885665B (en) Wireless network connection control method and display device
CN112351334A (en) File transmission progress display method and display equipment
CN115845358A (en) Game device, display device and device control method
JP4628305B2 (en) Display device selection method, display device selection system, and display device selection program
EP2639687A2 (en) Display apparatus and control method thereof
WO2013168287A1 (en) Relay device
CN111787117A (en) Data transmission method and display device
CN111782606A (en) Display device, server, and file management method
EP2775668A2 (en) Display apparatus, server and control methods thereof
JP2016178355A (en) Communication device, communication system, communication device control method, and program
CN114860370B (en) Display equipment, server and software development kit switching method
CN114040341B (en) Bluetooth broadcast packet reporting processing method and display device
JP5812322B2 (en) In-vehicle device system and in-vehicle device constituting the in-vehicle system
CN110971938B (en) Data transmission method, device and system

Legal Events

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