Cloud game control method and system based on handle and storage medium

文档序号:1176221 发布日期:2020-09-22 浏览:9次 中文

阅读说明:本技术 一种基于手柄的云游戏控制方法、系统和存储介质 (Cloud game control method and system based on handle and storage medium ) 是由 廖松青 黄坚 雷磊 黄小勇 于 2020-05-08 设计创作,主要内容包括:本发明公开了一种基于手柄的云游戏控制方法、系统和存储介质,方法包括以下步骤:获取预设配置信息;采集手柄终端的操控信息;根据所述预设配置信息匹配与所述手柄终端的操控信息对应的云手机的触摸信息;将所述触摸信息发送到云服务器;控制云游戏响应所述触摸信息。本发明通过先采集手柄终端的操控信息,接着根据预先设置的配置信息匹配与操控信息对应的云手机的触摸信息,然后将该触摸信息发送到云服务器,并控制云游戏响应该触摸信息,从而无需另外采集与操控信息对应的触摸信息,降低数据采集次数,减少延迟时间。本发明可广泛应用于云游戏技术领域。(The invention discloses a cloud game control method, a cloud game control system and a storage medium based on a handle, wherein the method comprises the following steps: acquiring preset configuration information; collecting control information of a handle terminal; matching touch information of the cloud mobile phone corresponding to the control information of the handle terminal according to the preset configuration information; sending the touch information to a cloud server; and controlling the cloud game to respond to the touch information. According to the cloud mobile phone touch information acquisition method and device, the control information of the handle terminal is acquired, the touch information of the cloud mobile phone corresponding to the control information is matched according to the preset configuration information, then the touch information is sent to the cloud server, and the cloud game is controlled to respond to the touch information, so that the touch information corresponding to the control information does not need to be acquired additionally, the data acquisition times are reduced, and the delay time is shortened. The invention can be widely applied to the technical field of cloud games.)

1. A cloud game control method based on a handle is characterized by comprising the following steps:

acquiring preset configuration information;

collecting control information of a handle terminal;

matching touch information of the cloud mobile phone corresponding to the control information of the handle terminal according to the preset configuration information;

sending the touch information to a cloud server;

and controlling the cloud game to respond to the touch information.

2. The cloud game control method based on the handle as claimed in claim 1, wherein the preset configuration information includes mapping relationships between a plurality of control information of the handle terminal and touch information of the cloud mobile phone.

3. The method of claim 1, further comprising, prior to the step of sending the touch information to a cloud server, the steps of:

converting the touch information into a data block.

4. The cloud game control method based on the handle as claimed in claim 3, wherein the sending the touch information to the cloud server specifically comprises:

and sending the data block to the cloud mobile phone through the TCP network.

5. The cloud game control method based on the handle as claimed in claim 3, wherein the controlling the cloud game in response to the touch information comprises:

controlling a cloud server to convert the data block into a touch event of a cloud mobile phone;

and controlling the cloud game to respond to the touch event.

6. The cloud game control method based on the handle according to claim 1, wherein the matching of the touch information of the cloud mobile phone corresponding to the manipulation information of the handle terminal according to the preset configuration information comprises:

and the control handle terminal matches the touch information of the cloud mobile phone corresponding to the control information according to the preset configuration information.

7. A handle-based cloud gaming control system, comprising:

the acquisition module is used for acquiring preset configuration information;

the acquisition module is used for acquiring the control information of the handle terminal;

the matching module is used for matching the touch information of the cloud mobile phone corresponding to the control information of the handle terminal according to the preset configuration information;

the sending module is used for sending the touch information to a cloud server;

and the control module is used for controlling the cloud game to respond to the touch information.

8. The cloud game control system based on the handle as claimed in claim 7, wherein the preset configuration information includes mapping relationships between a plurality of control information of the handle terminal and touch information of the cloud mobile phone.

9. A handle-based cloud gaming control system, comprising:

at least one memory for storing a program;

at least one processor configured to load the program to perform the method of any of claims 1-6.

10. A computer readable storage medium having stored therein processor-executable instructions, which when executed by a processor, are configured to implement the method of cloud game grip-based control of any of claims 1-6.

Technical Field

The invention relates to the technical field of cloud games, in particular to a cloud game control method and system based on a handle and a storage medium.

Background

Cloud computing is one of distributed computing, and means that a huge data computing processing degree is decomposed into countless small programs through a network cloud, and then the small programs are processed and analyzed through a system consisting of a plurality of servers, and a result is obtained and returned to a user.

The cloud server is a simple, efficient, safe and reliable computing service with elastically-telescopic processing capacity, and the management mode of the cloud server is more efficient than that of a physical server. A user can rapidly create or randomly set four rooms of a plurality of cloud servers without purchasing hardware in advance.

The cloud mobile phone applies the cloud computing technology to network terminal service and realizes the cloud service through a cloud server.

Cloud gaming is a cloud computing based gaming approach. In the running mode of the cloud game, all games run at the server side, and the rendered game pictures are compressed and then transmitted to the client side through the network. The client gaming device does not require any high-end processor and graphics card, but only a basic video decompression capability.

Because the current common game basically does not support handle instructions, and the current handle is generally applied to a physical mobile phone instead of a cloud mobile phone. Therefore, when the cloud game of the cloud mobile phone is controlled by using the handle, the cloud game client on the physical mobile phone needs to acquire the corresponding touch event during the handle operation again, so that the cloud game can correctly respond to the content of the handle operation, and the data acquisition times and the delay time are increased.

Disclosure of Invention

In order to solve one of the above technical problems to some extent, the present invention aims to: provided are a cloud game control method, system and storage medium based on a handle, which can reduce the number of data acquisition times to a certain extent and shorten the response delay time.

In a first aspect, an embodiment of the present invention provides:

a cloud game control method based on a handle comprises the following steps:

acquiring preset configuration information;

collecting control information of a handle terminal;

matching touch information of the cloud mobile phone corresponding to the control information of the handle terminal according to the preset configuration information;

sending the touch information to a cloud server;

and controlling the cloud game to respond to the touch information.

Further, the preset configuration information includes mapping relationships between a plurality of pieces of control information of the handle terminal and touch information of the cloud mobile phone.

Further, before the step of sending the touch information to a cloud server, the method further includes the following steps:

converting the touch information into a data block.

Further, the sending the touch information to a cloud server specifically includes:

and sending the data block to the cloud mobile phone through the TCP network.

Further, the controlling the cloud game in response to the touch information includes:

controlling a cloud server to convert the data block into a touch event of a cloud mobile phone;

and controlling the cloud game to respond to the touch event.

Further, matching, according to the preset configuration information, touch information of the cloud mobile phone corresponding to the control information of the handle terminal, includes:

and the control handle terminal matches the touch information of the cloud mobile phone corresponding to the control information according to the preset configuration information.

In a second aspect, an embodiment of the present invention provides:

a handle-based cloud gaming control system, comprising:

the acquisition module is used for acquiring preset configuration information;

the acquisition module is used for acquiring the control information of the handle terminal;

the matching module is used for matching the touch information of the cloud mobile phone corresponding to the control information of the handle terminal according to the preset configuration information;

the sending module is used for sending the touch information to a cloud server;

and the control module is used for controlling the cloud game to respond to the touch information.

Further, the preset configuration information includes mapping relationships between a plurality of pieces of control information of the handle terminal and touch information of the cloud mobile phone.

In a third aspect, an embodiment of the present invention provides:

a handle-based cloud gaming control system, comprising:

at least one memory for storing a program;

at least one processor for loading the program to execute the handle-based cloud game control method.

In a fourth aspect, an embodiment of the present invention provides:

a computer readable storage medium having stored therein processor-executable instructions, which when executed by a processor, are for implementing the grip-based cloud game control method.

The embodiment of the invention has the beneficial effects that: according to the embodiment of the invention, the control information of the handle terminal is collected firstly, the touch information of the cloud mobile phone corresponding to the control information is matched according to the preset configuration information, then the touch information is sent to the cloud server, and the cloud game is controlled to respond to the touch information, so that the touch information corresponding to the control information is not required to be collected additionally, the data collection times are reduced, and the delay time is shortened.

Drawings

Fig. 1 is a flowchart of a cloud game control method based on a handle according to an embodiment of the present invention.

Detailed Description

The invention is described in further detail below with reference to the figures and the specific embodiments. The step numbers in the following embodiments are provided only for convenience of illustration, the order between the steps is not limited at all, and the execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art.

In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.

Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.

Referring to fig. 1, an embodiment of the present invention provides a cloud game control method based on a handle, and the embodiment is applied to a control end, where the control end is respectively in communication with a handle terminal and a cloud server. The cloud server serves cloud handsets and cloud games within the cloud handsets.

The present embodiment includes steps S11-S15:

s11, acquiring preset configuration information; the preset configuration information is a mapping relation between an instruction triggered by each key on the handle or an instruction triggered by each action and corresponding response operation content on the cloud game. In some embodiments, the preset configuration information includes mapping relationships between a plurality of pieces of manipulation information of the handle terminal and touch information of the cloud mobile phone, respectively. The touch information of the cloud mobile phone is used for rendering specific content of the cloud game. Through the mapping relation, when the operation is carried out on the handle terminal, the cloud mobile phone does not need to additionally collect touch information, and the cloud game can correctly respond to the operation. For example, when the button a is pressed on the handle, a pressing operation is performed at the corresponding coordinate position of the cloud mobile phone, so that the cloud game on the cloud mobile phone responds to the pressing operation. When the handle is operated by the rocker, touch movement operation can be performed at the corresponding coordinate position of the cloud mobile phone, and the cloud game can respond to the operation of the rocker.

S12, collecting control information of the handle terminal; the control information is that when a user operates the handle terminal, the handle terminal triggers one piece of control information after the control handle terminal executes a specific operation action, so that the control end can acquire the control information through the wireless communication module. The control information may include a key identification code, and the control terminal may be enabled to quickly identify specific operation contents of the control information, such as operation contents of pressing, lifting, moving, and the like, through the key identification code.

S13, matching touch information of the cloud mobile phone corresponding to the control information of the handle terminal according to the preset configuration information; the method specifically comprises the step of matching touch information of the cloud mobile phone corresponding to the action of operation on the current handle terminal.

S14, sending the touch information to a cloud server; the cloud server can correctly analyze the touch information to obtain the operation content of the touch information corresponding to the cloud mobile phone.

In some embodiments, before performing step S14, the following steps are further included:

converting the touch information into a data block. The data block may be a network packet, a data unit exchanged and transmitted in the network, that is, a data amount to be sent by a station at a time. The network message contains complete data information to be sent, and the length of the network message can be different, is not limited and can be changed. The touch information is converted into the data block, so that the stability of the data transmission process is improved.

In some embodiments, the sending the touch information to the cloud server may be further implemented by:

and sending the data block to the cloud mobile phone through the TCP network. The TCP is a transport control protocol, in particular a link-oriented, reliable, byte stream based transport layer communication protocol, defined by RFC793 of the IETF. The embodiment transmits the data block through the TCP network so as to improve the stability of the transmission process.

In other embodiments, the data block may also be sent to the cloud handset over a UDP network. The UDP is a user datagram protocol, is a connectionless transport layer protocol in an OSI reference model, and provides a simple unreliable information transmission service oriented to the implementation.

And S15, controlling the cloud game to respond to the touch information.

In some embodiments, the specific implementation procedure of step S15 may be:

controlling a cloud server to convert the data block into a touch event of a cloud mobile phone; which is specifically converted to instructions that can be responded to on the cloud game of the cloud handset. And then controlling the cloud game to respond to the touch event through the instruction.

In the above embodiment, the touch information is content that needs to be operated by the cloud mobile phone and is obtained by matching according to preset configuration information. The touch event is the content to be realized by the cloud game on the cloud mobile phone determined according to the touch information.

To sum up, in the above embodiment, the control information of the handle terminal is collected first, then the touch information of the cloud mobile phone corresponding to the control information is matched according to the preset configuration information, and then the touch information is sent to the cloud server, and the cloud game is controlled to respond to the touch information, so that the touch information corresponding to the control information does not need to be collected additionally, the data collection frequency is reduced, and the delay time is reduced.

In some embodiments, the matching of the touch information of the cloud mobile phone corresponding to the control information of the handle terminal according to the preset configuration information may be performed at a control end.

In other embodiments, the matching of the touch information of the cloud mobile phone corresponding to the control information of the handle terminal according to the preset configuration information may also be performed at the handle terminal, and specifically includes:

and the control end control handle terminal matches the touch information of the cloud mobile phone corresponding to the control information according to the preset configuration information. After the control end collects the control information of the handle terminal, the control handle terminal matches the touch information of the cloud mobile phone corresponding to the control information according to the preset configuration information. The data processing amount of the control end is reduced by directly carrying out the matching process at the handle terminal.

In some embodiments, embodiments of the invention may also be performed by:

step 1, the control end configures a mapping relation between each handle operation action and a touch action of the cloud mobile phone.

And 2, the control end collects the operation events of the handle.

Step 3, the control end matches the touch information of the operation event on the cloud mobile phone according to the mapping relation; or the control end control handle terminal matches the touch information of the operation event on the cloud mobile phone according to the mapping relation, and then collects the touch information.

And 4, the control end forms the touch information into a corresponding network message.

And 5, the control end sends the network message to the cloud server through a TCP protocol.

And 6, the cloud server receives the network message, processes the network message, converts the network message into a touch event of the cloud mobile phone, and writes the touch event into the cloud mobile phone.

And 7, controlling the cloud game to respond to the touch event by the cloud server.

The beneficial effects achieved by the embodiment are the same as those of the method embodiment. The contents of the above method embodiments are all applicable to this embodiment.

The embodiment of the invention provides a cloud game control system based on a handle corresponding to the method of fig. 1, which comprises the following steps:

the acquisition module is used for acquiring preset configuration information;

the acquisition module is used for acquiring the control information of the handle terminal;

the matching module is used for matching the touch information of the cloud mobile phone corresponding to the control information of the handle terminal according to the preset configuration information;

the sending module is used for sending the touch information to a cloud server;

and the control module is used for controlling the cloud game to respond to the touch information.

The content of the embodiment of the method of the invention is all applicable to the embodiment of the system, the function of the embodiment of the system is the same as the embodiment of the method, and the beneficial effect achieved by the embodiment of the system is the same as the beneficial effect achieved by the method.

In some embodiments, the preset configuration information includes mapping relationships between a plurality of pieces of manipulation information of the handle terminal and touch information of the cloud mobile phone, respectively. Specifically, the preset configuration information is a mapping relationship between an instruction triggered by each key on the handle or an instruction triggered by each action and corresponding response operation content on the cloud game. Through the mapping relation, when the operation is carried out on the handle, the cloud mobile phone does not need to read touch information additionally, and the cloud game can correctly respond to the operation.

The embodiment of the invention provides a cloud game control system based on a handle, which comprises:

at least one memory for storing a program;

at least one processor for loading the program to execute the handle-based cloud game control method.

The content of the embodiment of the method of the invention is all applicable to the embodiment of the system, the function of the embodiment of the system is the same as the embodiment of the method, and the beneficial effect achieved by the embodiment of the system is the same as the beneficial effect achieved by the method.

Furthermore, the embodiment of the invention also provides a computer readable storage medium, wherein processor-executable instructions are stored in the computer readable storage medium, and when the processor-executable instructions are executed by a processor, the processor-executable instructions are used for realizing the cloud game control method based on the handle.

To sum up, in the above embodiment, the control information of the handle terminal is collected first, then the touch information of the cloud mobile phone corresponding to the control information is matched according to the preset configuration information, and then the touch information is sent to the cloud server, and the cloud game is controlled to respond to the touch information, so that the touch information corresponding to the control information does not need to be collected additionally, the data collection frequency is reduced, and the delay time is reduced.

While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种大角度稳定仿真传动结构及游戏方向盘

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类