CN107038024B - Operation configuration method and equipment thereof - Google Patents
Operation configuration method and equipment thereof Download PDFInfo
- Publication number
- CN107038024B CN107038024B CN201610079452.2A CN201610079452A CN107038024B CN 107038024 B CN107038024 B CN 107038024B CN 201610079452 A CN201610079452 A CN 201610079452A CN 107038024 B CN107038024 B CN 107038024B
- Authority
- CN
- China
- Prior art keywords
- control
- event
- configuration
- response result
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Selective Calling Equipment (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a control configuration method and equipment thereof, wherein the method comprises the following steps: acquiring a control event input by an external device aiming at a current service scene; calling a preset configuration script to convert the control event; generating a standard touch event corresponding to the control event according to the conversion processing; responding to the standard touch event to generate a response result; and outputting the response result to a display device, and indicating the display device to display the response result. By adopting the invention, the control events input by the external equipment can be uniformly converted, the cost of the control configuration of the video game box is reduced, and the efficiency of the control configuration of the video game box is improved.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a control configuration method and equipment thereof.
Background
With the continuous development and improvement of computer technology, a television game box integrating the business functions of music output, video output, game output and the like has become an indispensable part of people's entertainment life.
With the development of the technology, it is possible to operate and configure various service functions in the tv game box through external devices such as an external handle, a remote controller, a sensor, and a mobile phone, however, since the types of the external devices are different, in order to make the external devices and the tv game box compatible with each other, it is necessary to perform one-to-one adaptation processing on the connected external devices, for example: the adaptation processing such as driver installation, hardware updating and the like increases the cost of the control configuration of the video game box, and influences the efficiency of the control configuration of the video game box.
Disclosure of Invention
The embodiment of the invention provides a control configuration method and equipment thereof, which can uniformly convert control events input by external equipment into standard touch events, reduce the cost of control configuration of a video game box and improve the efficiency of control configuration of the video game box.
A first aspect of an embodiment of the present invention provides a control configuration method, which may include:
acquiring a control event input by an external device aiming at a current service scene;
calling a preset configuration script to convert the control event;
generating a standard touch event corresponding to the control event according to the conversion processing;
responding to the standard touch event to generate a response result; and
and outputting the response result to display equipment, and indicating the display equipment to display the response result.
A second aspect of an embodiment of the present invention provides a control configuration device, which may include:
the event acquisition unit is used for acquiring a control event input by the external equipment aiming at the current service scene;
the event generating unit is used for calling a preset configuration script to convert the control event and generating a standard touch event corresponding to the control event according to the conversion processing;
and the result output unit is used for responding to the standard touch event to generate a response result, outputting the response result to display equipment and indicating the display equipment to display the response result.
In the embodiment of the invention, the configuration script is preset, the control event input by the external equipment is uniformly converted into the standard touch event capable of identifying and responding by adopting the configuration script, and one-to-one adaptation processing such as drive installation, hardware updating and the like is not required, so that the cost of the control configuration of the video game box is reduced, and the efficiency of the control configuration of the video game box is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a manipulation configuration method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another manipulation configuration method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a manipulation configuration device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another manipulation configuration device provided in the embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a result output unit according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another manipulation configuration device provided in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of a manipulation configuration system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The manipulation configuration method provided by the embodiment of the invention can be applied to a scene for performing standard conversion on a control event input by external equipment, such as: the method comprises the steps that control configuration equipment acquires a control event input by external equipment aiming at a current service scene, the control configuration equipment calls a preset configuration script to convert the control event, the control configuration equipment generates a standard touch event corresponding to the control event according to the conversion processing, the control configuration equipment responds to the standard touch event to generate a response result, the control configuration equipment outputs the response result to display equipment, and the display equipment is indicated to display the scene of the response result. The configuration script is preset, the control event input by the external equipment is uniformly converted into the standard touch event capable of identifying response by the configuration script, and one-to-one adaptation processing such as drive installation and hardware updating is not needed, so that the cost of control configuration of the video game box is reduced, and the efficiency of control configuration of the video game box is improved.
The control configuration device related to the embodiment of the invention can be a television game box, or can be a control configuration module which is integrated in the television game box and used for carrying out standard conversion on the control event input by the external device, or can be an independent device which is connected with the television game box and used for carrying out standard conversion on the control event input by the external device; the external device is specifically configured to operate the relevant content of the current service scenario indicated by the video game box, for example: the game system comprises a game character, an audio and video playing device and the like, wherein the external device can comprise a handle, a remote control machine, a mobile phone, a tablet personal computer and other terminal devices; the display device may include a television display, a computer display, or the like.
A control configuration method according to an embodiment of the present invention will be described in detail below with reference to fig. 1 and 2.
Referring to fig. 1, a flow chart of a control configuration method according to an embodiment of the present invention is shown. As shown in fig. 1, the method of the embodiment of the present invention may include the following steps S101 to S103.
S101, acquiring a control event input by an external device aiming at a current service scene;
specifically, the manipulation configuration device may obtain a control event input by an external device for a current service scenario, and it is understood that the external device may obtain an operation performed by a user on the external device for the current service scenario, and the external device may convert the performed operation into the control event and send the control event to the manipulation configuration device, for example: the external device is a mobile phone, the external device obtains a touch operation input by a user on a touch screen, converts the touch operation into a touch control event and sends the touch control event to the control configuration device and the like, the external device and the control configuration device can establish communication connection in connection modes such as Bluetooth, infrared rays, a wireless network and a data line so as to transmit the control event, the service scene can be a scene where services such as music playing, video playing and game interaction are located, and the control event can comprise a control instruction and a control position for the service scene.
S102, calling a preset configuration script to convert the control event, and generating a standard touch event corresponding to the control event according to the conversion;
specifically, the control configuration device may call a preset configuration script to perform conversion processing on the control event, preferably, the control configuration device calls the configuration conversion information to perform conversion processing on the control event, and the control configuration device generates a standard touch event corresponding to the control event according to the conversion processing.
It can be understood that the configuration script is a script which is written in advance by a developer in the operation and control configuration device and is used for converting a control event transmitted by an external device into a unified standard touch event capable of identifying a response, the configuration script includes at least one control type and configuration conversion information corresponding to each control type in the at least one control type, and the configuration conversion information is specific conversion information of the control event corresponding to the control type in the configuration script into the unified standard touch event capable of identifying a response.
S103, responding to the standard touch event to generate a response result, outputting the response result to display equipment, and indicating the display equipment to display the response result;
specifically, the manipulation configuration device may respond to the standard touch event to generate a response result, and output the response result to the display device, and the display device may display the response result, and preferably, the manipulation configuration device may be in communication connection with the display device through a High Definition Multimedia Interface (HDMI) data line.
In the embodiment of the invention, the control event input by the external device for the current service scene is acquired, the control event is converted based on the preset configuration script to generate the corresponding standard touch event, the standard touch event is responded to generate the response result, the response result is output to the display device, and the display device can display the response result. The configuration script is preset, the control event input by the external equipment is uniformly converted into the standard touch event capable of identifying response by the configuration script, and one-to-one adaptation processing such as drive installation and hardware updating is not needed, so that the cost of control configuration of the video game box is reduced, and the efficiency of control configuration of the video game box is improved.
Referring to fig. 2, a flow chart of another operation configuration method according to an embodiment of the invention is shown. As shown in fig. 2, the method of the embodiment of the present invention may include the following steps S201 to S205.
S201, acquiring a control event input by an external device aiming at a current service scene;
specifically, the manipulation configuration device may obtain a control event input by an external device for a current service scenario, and it is understood that the external device may obtain an operation performed by a user on the external device for the current service scenario, and the external device may convert the performed operation into the control event and send the control event to the manipulation configuration device, for example: the external device is a mobile phone, the external device obtains a touch operation input by a user on a touch screen, converts the touch operation into a touch control event and sends the touch control event to the control configuration device and the like, the external device and the control configuration device can establish communication connection in connection modes such as Bluetooth, infrared rays, a wireless network and a data line so as to transmit the control event, the service scene can be a scene where services such as music playing, video playing and game interaction are located, and the control event can comprise a control instruction and a control position for the service scene.
S202, acquiring the control type indicated by the control event, and acquiring configuration conversion information corresponding to the control type in a preset configuration script;
specifically, when the control configuration device obtains the control event, the control type indicated by the control event may be identified, where the control type may include a key control type, a touch screen control type, a sensing control type, and the like, and the specific control type may be identified by an event key field in the control event. The control configuration device identifies and acquires the control type indicated by the control event, and may acquire configuration conversion information corresponding to the control type in a preset configuration script, where the configuration script is a script which is written in advance by a developer and is used to convert a control event transmitted by an external device into a unified standard touch event capable of identifying a response, the configuration script includes at least one control type and configuration conversion information corresponding to each control type in the at least one control type, and the configuration conversion information is specific conversion information of a standard touch event capable of identifying a response, which is converted from a control event of a corresponding control type in the configuration script into a unified standard touch event capable of identifying a response.
S203, calling a preset configuration script to convert the control event, and generating a standard touch event corresponding to the control event according to the conversion;
specifically, the control configuration device may call a preset configuration script to perform conversion processing on the control event, preferably, the control configuration device calls the configuration conversion information to perform conversion processing on the control event, and the control configuration device generates a standard touch event corresponding to the control event according to the conversion processing. Further, since the control event includes a control instruction and a control position, the control configuration device may call the configuration conversion information to convert the control instruction into a standard instruction, and convert the control position into a standard display area of the display device.
S204, sending the control instruction to a service server corresponding to the service scene;
s205, receiving the response result sent by the service server, outputting the response result and the standard display area to a display device, and indicating the display device to display the response result in the standard display area;
specifically, since the video game box has a networking function, the service function thereof may include a network service, such as: preferably, the control configuration device may send the control instruction to a service server corresponding to the service scene, the service server may respond to the control instruction to generate a response result, and return the response result to the control configuration device, the control configuration device receives the response result sent by the service server, and outputs the response result and the standard display area to the display device, and the display device displays the response result in the standard display area. Preferably, the control configuration device may be in communication connection with the display device through an HDMI data line.
In the embodiment of the invention, the control event input by the external device for the current service scene is acquired, the control event is converted based on the preset configuration script to generate the corresponding standard touch event, the standard touch event is responded to generate the response result, the response result is output to the display device, and the display device can display the response result. The configuration script is preset, the control event input by the external equipment is uniformly converted into the standard touch event capable of identifying and responding by adopting the configuration script, and one-to-one adaptation processing such as drive installation, hardware updating and the like is not needed, so that the cost of the operation and the configuration of the television game box is reduced, and the efficiency of the operation and the configuration of the television game box is improved; by identifying the control type indicated by the control event, the corresponding configuration conversion information can be accurately acquired in the configuration script, and the accuracy of converting the control event into the standard touch event with identifiable response is improved.
The following describes in detail a manipulation configuration device according to an embodiment of the present invention with reference to fig. 3 to 5. It should be noted that, the control configuration device shown in fig. 3-5 is used for executing the method of the embodiment shown in fig. 1 and 2 of the present invention, and for convenience of description, only the portion related to the embodiment of the present invention is shown, and specific technical details are not disclosed, please refer to the embodiment shown in fig. 1 and 2 of the present invention.
Referring to fig. 3, a schematic structural diagram of a control configuration device according to an embodiment of the present invention is provided. As shown in fig. 3, the manipulation configuration device 1 according to an embodiment of the present invention may include: an event acquisition unit 11, an event generation unit 12, and a result output unit 13.
An event obtaining unit 11, configured to obtain a control event input by an external device for a current service scenario;
in a specific implementation, the event obtaining unit 11 may obtain a control event input by an external device for a current service scenario, and it is understood that the external device may obtain an operation performed by a user on the external device for the current service scenario, and the external device may convert the performed operation into the control event and send the control event to the manipulation configuration device 1, for example: the external device is a mobile phone, the external device obtains a touch operation input by a user on a touch screen, converts the touch operation into a touch control event and sends the touch control event to the control configuration device 1 and the like, the external device and the control configuration device 1 can establish communication connection in connection modes such as bluetooth, infrared rays, a wireless network and a data line to transmit the control event, the service scene can be a scene where services such as music playing, video playing and game interaction are located, and the control event can include a control instruction and a control position for the service scene.
The event generating unit 12 is configured to call a preset configuration script to perform conversion processing on the control event, and generate a standard touch event corresponding to the control event according to the conversion processing;
in a specific implementation, the event generating unit 12 may call a preset configuration script to perform conversion processing on the control event, preferably, the event generating unit 12 calls the configuration conversion information to perform conversion processing on the control event, and the event generating unit 12 generates a standard touch event corresponding to the control event according to the conversion processing.
It can be understood that the configuration script is a script which is written in advance by a developer in the operation and configuration device 1 and is used for converting a control event transmitted by an external device into a unified standard touch event capable of identifying a response, the configuration script includes at least one control type and configuration conversion information corresponding to each control type in the at least one control type, and the configuration conversion information is specific conversion information of the control event corresponding to the control type in the configuration script into the unified standard touch event capable of identifying a response.
A result output unit 13, configured to respond to the standard touch event to generate a response result, and output the response result to a display device, and instruct the display device to display the response result;
in a specific implementation, the result output unit 13 may respond to the standard touch event to generate a response result, and output the response result to a display device, and the display device may display the response result, and preferably, the operation and configuration device 1 may be in communication connection with the display device through an HDMI data line.
In the embodiment of the invention, the control event input by the external device for the current service scene is acquired, the control event is converted based on the preset configuration script to generate the corresponding standard touch event, the standard touch event is responded to generate the response result, the response result is output to the display device, and the display device can display the response result. The configuration script is preset, the control event input by the external equipment is uniformly converted into the standard touch event capable of identifying response by the configuration script, and one-to-one adaptation processing such as drive installation and hardware updating is not needed, so that the cost of control configuration of the video game box is reduced, and the efficiency of control configuration of the video game box is improved.
Referring to fig. 4, a schematic structural diagram of another operation configuration device is provided for the embodiment of the present invention. As shown in fig. 4, the manipulation configuration device 1 according to an embodiment of the present invention may include: an event acquisition unit 11, an event generation unit 12, a result output unit 13, and an information acquisition unit 14.
An event obtaining unit 11, configured to obtain a control event input by an external device for a current service scenario;
in a specific implementation, the event obtaining unit 11 may obtain a control event input by an external device for a current service scenario, and it is understood that the external device may obtain an operation performed by a user on the external device for the current service scenario, and the external device may convert the performed operation into the control event and send the control event to the manipulation configuration device 1, for example: the external device is a mobile phone, the external device obtains a touch operation input by a user on a touch screen, converts the touch operation into a touch control event and sends the touch control event to the control configuration device 1 and the like, the external device and the control configuration device 1 can establish communication connection in connection modes such as bluetooth, infrared rays, a wireless network and a data line to transmit the control event, the service scene can be a scene where services such as music playing, video playing and game interaction are located, and the control event can include a control instruction and a control position for the service scene.
An information obtaining unit 14, configured to obtain a control type indicated by the control event, and obtain configuration conversion information corresponding to the control type in a preset configuration script;
in a specific implementation, when the event obtaining unit 11 obtains the control event, the information obtaining unit 14 may identify a control type indicated by the control event, where the control type may include a key control type, a touch screen control type, a sensing control type, and the like, and a specific control type may be identified by an event key field in the control event. The information obtaining unit 14 identifies and obtains the control type indicated by the control event, and may obtain configuration conversion information corresponding to the control type in a preset configuration script, where the configuration script is a script, which is written in the operation and configuration device 1 in advance by a developer and is used to convert a control event transmitted by an external device into a standard touch event with a unified identifiable response, the configuration script includes at least one control type and configuration conversion information corresponding to each control type in the at least one control type, and the configuration conversion information is specific conversion information of a standard touch event with a unified identifiable response, which is converted from a control event of a corresponding control type in the configuration script.
The event generating unit 12 is configured to call a preset configuration script to perform conversion processing on the control event, and generate a standard touch event corresponding to the control event according to the conversion processing;
in a specific implementation, the event generating unit 12 may call a preset configuration script to perform conversion processing on the control event, preferably, the event generating unit 12 calls the configuration conversion information to perform conversion processing on the control event, and the event generating unit 12 generates a standard touch event corresponding to the control event according to the conversion processing. Further, since the control event includes a control command and a control location, the event generating unit 12 may call the configuration conversion information to convert the control command into a standard command, and convert the control location into a standard display area of the display device.
A result output unit 13, configured to respond to the standard touch event to generate a response result, output the response result to a display device, and instruct the display device to display the response result;
in a specific implementation, the result output unit 13 may respond to the standard touch event to generate a response result, and output the response result to a display device, and the display device may display the response result, and preferably, the operation and configuration device 1 may be in communication connection with the display device through an HDMI data line.
Specifically, please refer to fig. 5, which provides a schematic structural diagram of the result output unit according to an embodiment of the present invention. As shown in fig. 5, the result output unit 13 may include:
an instruction sending subunit 131, configured to send the control instruction to a service server corresponding to the service scenario;
a data output subunit 132, configured to receive the response result sent by the service server, output the response result and the standard display area to a display device, and instruct the display device to display the response result in the standard display area;
in a specific implementation, since the video game box has a networking function, the service function thereof may include a network service, for example: preferably, the instruction sending subunit 131 may send the control instruction to a service server corresponding to the service, the service server may respond to the control instruction to generate a response result, and return the response result to the control configuration device 1, the data output subunit 132 receives the response result sent by the service server, and outputs the response result and the standard display area to a display device, and the display device displays the response result in the standard display area. Preferably, the control and configuration device 1 may be communicatively connected to the display device via an HDMI data line.
In the embodiment of the invention, the control event input by the external device for the current service scene is acquired, the control event is converted based on the preset configuration script to generate the corresponding standard touch event, the standard touch event is responded to generate the response result, the response result is output to the display device, and the display device can display the response result. The configuration script is preset, the control event input by the external equipment is uniformly converted into the standard touch event capable of identifying and responding by adopting the configuration script, and one-to-one adaptation processing such as drive installation, hardware updating and the like is not needed, so that the cost of the operation and the configuration of the television game box is reduced, and the efficiency of the operation and the configuration of the television game box is improved; by identifying the control type indicated by the control event, the corresponding configuration conversion information can be accurately acquired in the configuration script, and the accuracy of converting the control event into the standard touch event with identifiable response is improved.
Referring to fig. 6, a schematic structural diagram of another operation and configuration device is provided for the embodiment of the present invention. As shown in fig. 6, the manipulation configuration apparatus 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 6, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a manipulation configuration application.
In the manipulation configuration device 1000 shown in fig. 6, the user interface 1003 is mainly used for providing an input interface for a user and acquiring data input by the user; the network interface 1004 is mainly used for connecting with a service server and performing data interaction with the service server; the processor 1001 may be configured to call the manipulation configuration application stored in the memory 1005, and specifically perform the following operations:
acquiring a control event input by an external device aiming at a current service scene;
calling a preset configuration script to convert the control event;
generating a standard touch event corresponding to the control event according to the conversion processing;
responding to the standard touch event to generate a response result; and
and outputting the response result to display equipment, and indicating the display equipment to display the response result.
In one embodiment, the processor 1001 further performs the following operations before executing the conversion processing for the control event by calling a preset configuration script:
acquiring a control type indicated by the control event; and
and acquiring configuration conversion information corresponding to the control type from a preset configuration script.
In an embodiment, when the processor 1001 executes the call configuration script to perform the conversion processing on the control event, the following operations are specifically performed:
and calling the configuration conversion information to perform conversion processing on the control event.
In one embodiment, the control event comprises a control command and a control location;
when the processor 1001 calls the configuration conversion information to perform conversion processing on the control event, the following operations are specifically performed:
and calling the configuration conversion information to convert the control instruction into a standard instruction, and converting the control position into a standard display area of the display equipment.
In one embodiment, when the processor 1001 executes the response to the standard touch event to generate a response result, the following operations are specifically executed:
sending the control instruction to a service server corresponding to the service scene so that the service server responds to the control instruction to generate a response result;
when the processor 1001 outputs the response result to a display device and instructs the display device to display the response result, the following operations are specifically performed:
and receiving the response result sent by the service server, outputting the response result and the standard display area to a display device, and indicating the display device to display the response result in the standard display area.
In the embodiment of the invention, the control event input by the external device for the current service scene is acquired, the control event is converted based on the preset configuration script to generate the corresponding standard touch event, the standard touch event is responded to generate the response result, the response result is output to the display device, and the display device can display the response result. The configuration script is preset, the control event input by the external equipment is uniformly converted into the standard touch event capable of identifying and responding by adopting the configuration script, and one-to-one adaptation processing such as drive installation, hardware updating and the like is not needed, so that the cost of the operation and the configuration of the television game box is reduced, and the efficiency of the operation and the configuration of the television game box is improved; by identifying the control type indicated by the control event, the corresponding configuration conversion information can be accurately acquired in the configuration script, and the accuracy of converting the control event into the standard touch event with identifiable response is improved.
Fig. 7 is a schematic structural diagram of an operation configuration system according to an embodiment of the present invention. As shown in fig. 7, the system may include a control configuration device 1, an external device 2, a display device 3, and a service server 4, where the control configuration device 1 and the external device 2 may establish a communication connection with each other through connection manners such as bluetooth, infrared ray, a wireless network, and a data line, the control configuration device 1 and the display device 3 may be connected with each other through an HDMI data line, and the control configuration device 1 and the service server 4 may be connected with each other through a network, where the control configuration device 1 is specifically the vehicle-mounted terminal 1 in any one of the embodiments shown in fig. 3 to fig. 5, or the control configuration device 1 may be the control configuration device 1000 in the embodiment shown in fig. 6.
The external device 2 is configured to acquire an operation executed for a current service scenario, convert the executed operation into a control event, and send the control event to the operation configuration device 1;
the control configuration device 1 is configured to acquire a control event input by the external device 2 for a current service scenario;
the control configuration device 1 is further configured to call a preset configuration script to perform conversion processing on the control event, and generate a standard touch event corresponding to the control event according to the conversion processing;
the control configuration device 1 is further configured to respond to the standard touch event to generate a response result, and output the response result to the display device 3;
and the display device 3 is used for displaying the response result.
In an embodiment, before the manipulation configuration device 1 is configured to invoke a preset configuration script to perform conversion processing on the control event, it is further configured to:
and acquiring the control type indicated by the control event, and acquiring configuration conversion information corresponding to the control type in a preset configuration script.
In an embodiment, the manipulation configuration device 1 is configured to invoke a configuration script to perform conversion processing on the control event, and when a standard touch event corresponding to the control event is generated after the conversion processing, is specifically configured to:
and calling the configuration conversion information to perform conversion processing on the control event, and generating a standard touch event corresponding to the control event after the conversion processing.
In one embodiment, the control event comprises a control command and a control location;
the operation and configuration device 1 is configured to call the configuration conversion information to perform conversion processing on the control event, and when a standard touch event corresponding to the control event is generated after the conversion processing, is specifically configured to:
and calling the configuration conversion information to convert the control instruction into a standard instruction, and converting the control position into a standard display area of the display device 3.
In one embodiment, the manipulation configuration device 1 is further configured to respond to the standard touch event to generate a response result, and output the response result to the display device 3, and includes:
the control configuration device 1 is further configured to send the control instruction to a service server 4 corresponding to the service scene;
the service server 4 is configured to respond to the control instruction to generate a response result, and return the response result to the operation and configuration device 1;
the operation and configuration device 1 is further configured to receive the response result sent by the service server 4, and output the response result and the standard display area to the display device 3;
the display device 3 is configured to, when displaying the response result, specifically:
and displaying the response result in the standard display area.
In the embodiment of the invention, the control event input by the external device for the current service scene is acquired, the control event is converted based on the preset configuration script to generate the corresponding standard touch event, the standard touch event is responded to generate the response result, the response result is output to the display device, and the display device can display the response result. The configuration script is preset, the control event input by the external equipment is uniformly converted into the standard touch event capable of identifying and responding by adopting the configuration script, and one-to-one adaptation processing such as drive installation, hardware updating and the like is not needed, so that the cost of the operation and the configuration of the television game box is reduced, and the efficiency of the operation and the configuration of the television game box is improved; by identifying the control type indicated by the control event, the corresponding configuration conversion information can be accurately acquired in the configuration script, and the accuracy of converting the control event into the standard touch event with identifiable response is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.
Claims (10)
1. A manipulation configuration method applied to a video game box comprises the following steps:
acquiring a control event input by an external device aiming at a current service scene;
calling a preset configuration script to convert the control event;
generating a standard touch event corresponding to the control event according to the conversion processing;
responding to the standard touch event to generate a response result; and
and outputting the response result to display equipment, and indicating the display equipment to display the response result.
2. The method of claim 1, wherein before the invoking the preset configuration script to perform the conversion processing on the control event, the method further comprises:
acquiring a control type indicated by the control event; and
and acquiring configuration conversion information corresponding to the control type from a preset configuration script.
3. The method of claim 2, wherein the invoking the configuration script performs a conversion process on the control event, comprising:
and calling the configuration conversion information to perform conversion processing on the control event.
4. The method of claim 3, wherein the control event comprises a control command and a control location;
the calling the configuration conversion information to perform conversion processing on the control event comprises the following steps:
and calling the configuration conversion information to convert the control instruction into a standard instruction, and converting the control position into a standard display area of the display equipment.
5. The method of claim 4, wherein the responding to the standard touch event to generate a response result comprises:
sending the control instruction to a service server corresponding to the service scene so that the service server responds to the control instruction to generate a response result;
the outputting the response result to a display device, and instructing the display device to display the response result, includes:
and receiving the response result sent by the service server, outputting the response result and the standard display area to a display device, and indicating the display device to display the response result in the standard display area.
6. A manipulation configuration device, for use with a video game box, comprising:
the event acquisition unit is used for acquiring a control event input by the external equipment aiming at the current service scene;
the event generating unit is used for calling a preset configuration script to convert the control event and generating a standard touch event corresponding to the control event according to the conversion processing;
and the result output unit is used for responding to the standard touch event to generate a response result, outputting the response result to display equipment and indicating the display equipment to display the response result.
7. The apparatus of claim 6, further comprising:
and the information acquisition unit is used for acquiring the control type indicated by the control event and acquiring the configuration conversion information corresponding to the control type in a preset configuration script.
8. The device according to claim 7, wherein the event generating unit is specifically configured to invoke the configuration conversion information to perform conversion processing on the control event, and generate a standard touch event corresponding to the control event after the conversion processing.
9. The apparatus of claim 8, wherein the control event comprises a control command and a control location;
the event generating unit is specifically configured to invoke the configuration conversion information to convert the control instruction into a standard instruction, and convert the control position into a standard display area of the display device.
10. The apparatus of claim 9, wherein the result output unit comprises:
the instruction sending subunit is configured to send the control instruction to a service server corresponding to the service scenario, so that the service server responds to the control instruction to generate a response result;
and the data output subunit is configured to receive the response result sent by the service server, output the response result and the standard display area to a display device, and instruct the display device to display the response result in the standard display area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610079452.2A CN107038024B (en) | 2016-02-04 | 2016-02-04 | Operation configuration method and equipment thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610079452.2A CN107038024B (en) | 2016-02-04 | 2016-02-04 | Operation configuration method and equipment thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107038024A CN107038024A (en) | 2017-08-11 |
CN107038024B true CN107038024B (en) | 2020-06-26 |
Family
ID=59532534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610079452.2A Active CN107038024B (en) | 2016-02-04 | 2016-02-04 | Operation configuration method and equipment thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107038024B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107508896A (en) * | 2017-08-30 | 2017-12-22 | 成都市九阵科技有限公司 | A kind of heterogeneous protocol stack system and method based on standard object |
CN113741718B (en) * | 2020-05-29 | 2024-06-04 | 杭州海康威视数字技术股份有限公司 | Control data conversion method and device and main control equipment |
CN112650474B (en) * | 2020-12-18 | 2024-03-22 | 咪咕互动娱乐有限公司 | Control script generation method, device, network equipment and storage medium |
CN113407044B (en) * | 2021-07-16 | 2023-06-09 | 北京百度网讯科技有限公司 | Method, device, equipment and storage medium for simulating terminal handle input |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024544A (en) * | 2012-12-26 | 2013-04-03 | 四川长虹电器股份有限公司 | Interaction system of television |
CN103024501A (en) * | 2012-12-18 | 2013-04-03 | 四川长虹电器股份有限公司 | System and method for using mobile terminal to control television terminal |
CN103316472A (en) * | 2013-05-17 | 2013-09-25 | 南京睿悦信息技术有限公司 | Android device gas platform system based on Bluetooth handle and implementation method of Android device gas platform system |
-
2016
- 2016-02-04 CN CN201610079452.2A patent/CN107038024B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024501A (en) * | 2012-12-18 | 2013-04-03 | 四川长虹电器股份有限公司 | System and method for using mobile terminal to control television terminal |
CN103024544A (en) * | 2012-12-26 | 2013-04-03 | 四川长虹电器股份有限公司 | Interaction system of television |
CN103316472A (en) * | 2013-05-17 | 2013-09-25 | 南京睿悦信息技术有限公司 | Android device gas platform system based on Bluetooth handle and implementation method of Android device gas platform system |
Also Published As
Publication number | Publication date |
---|---|
CN107038024A (en) | 2017-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107038024B (en) | Operation configuration method and equipment thereof | |
CN102404377A (en) | Terminal having content interworking function and method thereof | |
CN109448709A (en) | A kind of terminal throws the control method and terminal of screen | |
CN108027725B (en) | Method, device and equipment for guiding terminal equipment operation | |
KR102509071B1 (en) | Display device and method of controlling external terminal thereof | |
KR102295655B1 (en) | Apparatus for Providing Integrated Functions of Dial and Calculator and Method thereof | |
CN110611735A (en) | Mobile terminal remote control method, device and system and storage medium | |
EP3891997B1 (en) | Electronic device and method for playing high dynamic range video and method thereof | |
CN107870754A (en) | A kind of method and device of the content shown on control device | |
CN107948565B (en) | Method and device for realizing wired screen transmission | |
CN115617166A (en) | Interaction control method and device and electronic equipment | |
CN111327910A (en) | Operation control method, device and equipment of application program and storage medium | |
CN112506460B (en) | Screen control authority sharing method, device, terminal and storage medium | |
KR102524517B1 (en) | Electronic apparatus and operating method thereof | |
CN111488267B (en) | Interface test script generation method and device and electronic equipment | |
US20150351144A1 (en) | Wireless transmission apparatus and implementation method thereof | |
KR20200079081A (en) | Method for sharing content and electronic device thereof | |
JP5321247B2 (en) | Thin client system, thin client system control method, thin client terminal control program, and server control program | |
US11302282B2 (en) | Display apparatus and the control method thereof | |
CN113038251B (en) | Control method and control device | |
CN102905093A (en) | Display manipulation method, device and system and user terminal | |
KR102063566B1 (en) | Operating Method For Text Message and Electronic Device supporting the same | |
KR20210001868A (en) | Display apparatus and the control method thereof | |
CN108717382B (en) | JSON structure-based audio and video file processing method and device and terminal equipment | |
CN110636180A (en) | Data transmission method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |