WO2024124878A1 - Game control processing method and apparatus, storage medium, and electronic device - Google Patents

Game control processing method and apparatus, storage medium, and electronic device Download PDF

Info

Publication number
WO2024124878A1
WO2024124878A1 PCT/CN2023/105042 CN2023105042W WO2024124878A1 WO 2024124878 A1 WO2024124878 A1 WO 2024124878A1 CN 2023105042 W CN2023105042 W CN 2023105042W WO 2024124878 A1 WO2024124878 A1 WO 2024124878A1
Authority
WO
WIPO (PCT)
Prior art keywords
game
client
control
participating client
control area
Prior art date
Application number
PCT/CN2023/105042
Other languages
French (fr)
Chinese (zh)
Inventor
杨镜耀
Original Assignee
网易(杭州)网络有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 网易(杭州)网络有限公司 filed Critical 网易(杭州)网络有限公司
Publication of WO2024124878A1 publication Critical patent/WO2024124878A1/en

Links

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to a game control processing method, a game control processing device, a computer-readable storage medium, and an electronic device.
  • the rendering of the game screen is completed on the cloud server, and the rendered game screen is usually processed by encoding and network streaming to the game client, so that the game client can play the game without high configuration.
  • the game client can play the game without high configuration.
  • multiple people can play together, which can enhance the game interaction experience between users.
  • multi-player co-playing is usually achieved by transferring game control rights between multiple game participating clients.
  • game control rights between multiple game participating clients.
  • each game participating client controls the game independently, and multiple game clients cannot control the game at the same time.
  • the flexibility of game control is poor, which easily affects the user's game interactive experience.
  • the present disclosure provides a game control processing method, a game control processing device, a computer-readable storage medium and an electronic device, thereby at least to a certain extent solving the problem in the related art that multiple game clients cannot control the game at the same time.
  • a game control processing method is provided, which is applied to a cloud interaction system, wherein the cloud interaction system includes a cloud server, a game control client and a game participation client, wherein the cloud server runs a game program, and the method includes: obtaining the game participation client through a game interaction interface of the game control client The control area division configuration corresponding to the client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server; according to the control area division configuration corresponding to the game participating client, the local configuration of the control area corresponding to the game participating client is determined, and the local configuration of the control area is used to configure the local controllable area of the game participating client; touch operation is received through the game interaction interface of the game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving the video stream data sent by the cloud server; in response to the touch operation acting on the local controllable area of the game participating client, the game
  • a game control processing device which is applied to a cloud interaction system
  • the cloud interaction system includes a cloud server, a game control client and a game participating client
  • the cloud server runs a game program
  • the device includes: a division configuration acquisition module, which is used to acquire the control area division configuration corresponding to the game participating client through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server; a local configuration determination module, which is used to determine the control area local configuration corresponding to the game participating client according to the control area division configuration corresponding to the game participating client, and the control area local configuration is used to configure the local controllable area of the game participating client; a touch operation receiving module, which is used to receive a touch operation through the game interaction interface of the game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving the video stream data sent by the cloud server
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the game control processing method described above is implemented.
  • an electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned game control processing method by executing the executable instructions.
  • the control area division configuration corresponding to the game participating client is obtained through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server; according to the control area division configuration corresponding to the game participating client, the local configuration of the control area corresponding to the game participating client is determined, and the local configuration of the control area is used to configure the game participating client
  • the local controllable area of the terminal receiving touch operations through the game interaction interface of the game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving the video stream data sent by the cloud server; responding to the touch operation acting on the local controllable area of the game participating client, and updating the game interaction interface of the game participating client according to the touch operation control.
  • the present disclosure divides the control area of the game so that different game participating clients can respond to user operation instructions in their respective local control areas, thereby realizing simultaneous control of the game by multiple clients, which can improve the flexibility of game control to a certain extent and enhance the user's game interaction experience.
  • the present disclosure divides the control area of the game so that different game participating clients have independent local control areas, which can avoid the command confusion problem caused by multiple game participating clients controlling the game at the same time, thereby ensuring that the game can run smoothly.
  • FIG1 shows a system architecture diagram of an operating environment of an exemplary embodiment of the present disclosure
  • FIG2 is a flowchart showing a game control processing method according to an exemplary embodiment of the present disclosure
  • FIG3 is a diagram showing an example of interaction between a game participating client, a game controlling client and a cloud server in one exemplary embodiment of the present disclosure
  • FIG4 shows an interactive flow chart of a game control processing method executed by a cloud server in one of the exemplary embodiments of the present disclosure
  • FIG5 is a block diagram showing a structure of a game control processing device according to an exemplary embodiment of the present disclosure
  • FIG. 6 shows an electronic device for implementing the game control processing method according to one of the exemplary embodiments of the present disclosure.
  • the system architecture may include: a game participating client 110, a game control client 120, and a cloud server 130.
  • the game participating client 110 may be a game client participating in the same round of the game
  • the system architecture may include one or more game participating clients 110.
  • the game control client 120 may be any game client among the clients participating in the same round of the game.
  • the game initiating client may be used as the game control client.
  • the cloud server 130 is responsible for the operation of the game program and can deploy the game control processing method. Specifically, the cloud server 130 may send video stream data to the game participating client 110 and the game control client 120 so that the game participating client 110 and the game control client 120 display a screen matching the video stream data, and may also respond to the operation instructions sent by the game participating client 110 and the game control client 120.
  • an exemplary embodiment of the present disclosure provides a flowchart of a game control processing method, which specifically includes the following steps S210 to S240:
  • Step S210 obtaining the control area division configuration corresponding to the game participating client through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server;
  • Step S220 determining a local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client, where the local configuration of the control area is used to configure a local controllable area of the game participating client;
  • Step S230 receiving a touch operation through a game interaction interface of the game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving video stream data sent by the cloud server;
  • Step S240 in response to the touch operation acting on the local controllable area of the game participating client, the game interaction interface of the game participating client is updated according to the touch operation control.
  • the game control area is divided so that different game participating clients can respond to user operation instructions in their respective local control areas, thereby realizing multiple clients to control the game at the same time, which can improve the flexibility of game control to a certain extent and enhance the user's game interactive experience.
  • the game control area is divided so that different game participating clients have independent local operable areas, which can avoid the command confusion caused by multiple game participating clients controlling the game at the same time, thereby ensuring that the game can run smoothly.
  • step S210 the control area division configuration corresponding to the game participating client is obtained through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server.
  • the control area division configuration refers to the parameter configuration corresponding to the control area divided for the game participating client, and the control area division configuration can be obtained by the game control client according to the area division operation acting on its game interaction interface.
  • the game control client can be the client that initiates the game.
  • the control area division configuration may include: coordinates of a plurality of area boundary nodes. These area boundary nodes may be extracted from the control area boundary corresponding to the area division operation, wherein the area division operation acts on the game interaction interface of the game control client.
  • the control region boundary divided for the game participating client can be determined based on the region division operation on the game interaction interface of the game control client, and sampling can be performed on the control region boundary to extract region boundary nodes.
  • nodes that can show the contour features of the region such as the inflection points of the region, can be preferentially extracted to minimize the number of nodes extracted, thereby reducing unnecessary performance overhead.
  • the control region boundary divided for the game participating client is in the shape of a triangle
  • the three corners of the triangle can be extracted.
  • vertices as region boundary nodes if the boundary shape of the control region divided by the game participating client is a rectangle, the four vertices of the rectangle can be used as region boundary nodes.
  • the number of extracted nodes can be further optimized according to the specific shape of the divided region. For example, if the boundary shape of the divided control region is a rectangle, the two vertices located on the diagonal of the rectangle can be used as region edge nodes.
  • control area division configuration may also include: the shape, size and center position coordinates of the control area corresponding to the area division operation, wherein the area division operation acts on the game interaction interface of the game control client.
  • the shape of the control area divided for the game participating client can be a regular shape such as a rectangle, a triangle, or an irregular shape, which is not specifically limited here.
  • the shape of the control area divided for the game participating client can be a pre-defined fixed shape, or it can be an arbitrary shape set by the user in the game control client.
  • the area division operation acting on the game interaction interface of the game control client may be an operation of drawing a rectangular frame in the game interaction interface of the game control client.
  • the area division operation acting on the game interaction interface of the game control client may also be an operation of outlining a closed area in the game interaction interface of the game client.
  • step S220 may be continued to be executed to adapt the control area divided for the game participating client to the local area of the game participating client.
  • step S220 the local configuration of the control area corresponding to the game participating client is determined according to the control area division configuration corresponding to the game participating client, and the local configuration of the control area is used to configure the local controllable area of the game participating client.
  • the local controllable area refers to the area after the control area divided for the game participating client is mapped to the local area of the game participating client. The user can actually control the game in the local controllable area of the game participating client.
  • the above step S220 determines the local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client, which may specifically include the following steps: obtaining the resolution of the game participating client and the resolution of the game controlling client; based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client, determining the local configuration of the control area corresponding to the game participating client.
  • the resolution can be represented by the number of pixels that can be displayed in the horizontal and vertical directions of the client display screen.
  • the above-mentioned determination of the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client includes: determining the width ratio and height ratio between the resolution of the game participating client and the resolution of the game controlling client; based on the width ratio and the height ratio, converting the control area division configuration corresponding to the game participating client into the local configuration of the control area.
  • Wa is the resolution width of the game control client
  • Ha is the resolution height of the game control client
  • Wb is the resolution width of the game participating client
  • Hb is the resolution height of the game participating client.
  • the above-mentioned conversion of the control area division configuration corresponding to the game participating client into the local configuration of the control area based on the width ratio and the height ratio can be specifically achieved by the following steps: If the shape of the control area divided for the game control client is a rectangle, the control area division configuration includes two area boundary nodes, and the coordinates of the two area boundary nodes are (xb1, yb1) and (xb2, yb2), respectively. The coordinates of the two area boundary nodes can be converted to (xb1*pbx, yb1*pby) and (xb2*pbx, yb2*pby), and then the local configuration of the control area is obtained.
  • the local configuration of the control area of the game participating client is obtained, which helps to further determine the specific position and outline of the local controllable area corresponding to the game participating client in the game interaction interface of the game participating client.
  • the above-mentioned conversion of the control area division configuration corresponding to the game participating client into the local configuration of the control area based on the width ratio and the height ratio can be specifically achieved through the following steps: the center position coordinates and size of the control area corresponding to the area division operation can be converted based on the width ratio and the height ratio to obtain the local configuration of the control area including the shape, size and center position coordinates of the local controllable area of the game participating client.
  • step S220 determines the local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client, which may specifically include the following steps: obtaining the display size of the game interaction interface of the game participating client and the display size of the game interaction interface of the game controlling client, and determining the local configuration of the control area corresponding to the game participating client based on the display size of the game interaction interface of the game participating client, the display size of the game interaction interface of the game controlling client, and the control area division configuration corresponding to the game participating client.
  • the width ratio and height ratio between the display size of the game interaction interface of the game participating client and the display size of the game interaction interface of the game controlling client can be determined, and based on the width ratio and height ratio between the display size of the game interaction interface of the game participating client and the display size of the game interaction interface of the game controlling client, the local configuration of the control area corresponding to the game participating client can be determined.
  • the control area division configuration corresponding to the terminal is converted into the local configuration of the control area.
  • the game participating client can display the local controllable area in the game interaction interface of the game participating client according to the local configuration of the control area.
  • the game interaction interface of the game participating client can use a dotted line to mark the corresponding local controllable area to prompt the user to perform game operations in the local controllable area, thereby avoiding the user from performing useless operations that cannot respond normally in the game participating client to a certain extent.
  • step S230 a touch operation is received through a game interaction interface of the game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving video stream data sent by the cloud server.
  • Touch operation refers to the user operation on the game interaction interface of the game participating client, such as clicking, sliding and other operations.
  • the local controllable area of the game participating client is a rectangle, and the two coordinates on the diagonal of the rectangle are (xb1*pbx, yb1*pby) and (xb2*pbx, yb2*pby)
  • the user clicks the touch position coordinate (x, y) in the game participating client it can be determined whether x is between xb1*pbx and xb2*pbx, and y is between yb1*pby and yb2*pby. If so, it indicates that the touch operation acts on the local controllable area of the game participating client.
  • step S240 in response to the touch operation acting on the local controllable area of the game participating client, the game interaction interface of the game participating client is updated according to the touch operation control.
  • the touch operation acts on the local controllable area of the game participating client, it indicates that the touch operation is a valid operation.
  • the game process can be promoted according to the operation instructions corresponding to the touch operation, and the game interaction interface of the game client can be adaptively updated.
  • an invalid operation prompt message in response to the touch operation not being applied to the local controllable area, may be generated in the game interaction interface of the game participating client.
  • the touch operation does not act on the local controllable area of the game participating client, it indicates that the touch operation is an invalid operation, the operation instruction corresponding to the touch operation can be discarded, and an invalid operation is generated in the game interaction interface of the game participating client. Operation prompt information to promptly remind game players of invalid operations.
  • the above-mentioned game control processing method is further explained below in conjunction with the interaction example diagram between the game participating client, the game control client and the cloud server shown in FIG3 , taking the control area corresponding to the game participating client as a rectangle as an example.
  • the game control client 301 can be pre-connected to the cloud server 321 to start the game program. After the game control client starts the game program, the game participating client 302 and the game participating client 303 can join the game process.
  • the cloud server 321 can send video stream data to the game control client 301, the game participating client 302 and the game participating client 303 respectively to implement the push streaming service. After receiving the video stream data sent by the cloud server, the game control client 301, the game participating client 302 and the game participating client 303 can display the corresponding game screen in their corresponding game interaction interfaces.
  • the game participating client 302 and the game participating client 303 can be respectively divided into control areas, thereby obtaining the control area division configuration of the game control client 301, the control area division configuration of the game participating client 302 and the control area division configuration of the game participating client 303.
  • the control area division configuration of the game control client 301 is used as its control area local configuration. After the control area division configuration of the game participating client 302 and the control area division configuration of the game participating client 303 are respectively converted into local configurations, the control area local configuration of the game participating client 302 and the control area local configuration of the game participating client 303 are obtained.
  • the game control client 301 displays a local controllable area 311 in its game interaction interface according to its local control area configuration.
  • the game participation client 302 displays a local controllable area 312 in its game interaction interface according to its local control area configuration.
  • the game participation client 303 displays a local controllable area 313 in its game interaction interface according to its local control area configuration.
  • the game control client 301, the game participation client 302 and the game participation client 303 can respectively send the touch operation instructions acting in their respective local control areas to the cloud server 321, so that the cloud server 321 executes the game process matching the user operation instructions.
  • the game control client is used as a special game participating client to participate in the game.
  • FIG4 provides an interactive flow chart of a game control processing method executed by a cloud server, which may specifically include the following steps S401 to S409:
  • Step S401 the game control client, in response to the area division operation of the game interaction interface acting on the game control client, obtains the control area division configuration corresponding to the game participating client;
  • Step S402 the game control client sends the control area division configuration corresponding to the game participating client and the resolution of the game control client to the cloud server;
  • Step S403 the game participating client sends the resolution of the game participating client to the cloud server;
  • Step S404 the cloud server obtains the resolution of the game participating client, the resolution of the game controlling client, and the control area division configuration corresponding to the game participating client;
  • Step S405 the cloud server determines the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client, and the control area division configuration corresponding to the game participating client;
  • Step S406 the cloud server sends the determined local configuration of the control area corresponding to the game participating client to the corresponding game participating client;
  • Step S407 after receiving the local configuration of the control area, the game participating client displays the local controllable area in the game interaction interface of the game participating client according to the local configuration of the control area;
  • Step S408 the game participating client responds to the touch operation on the game interaction interface of the game participating client and sends the touch operation to the cloud server;
  • Step S409 the cloud server responds to the touch operation on the local controllable area of the game participating client and updates the game interaction interface of the game participating client according to the touch operation control.
  • the exemplary embodiment of the present disclosure further provides a game control processing device, which is applied to a cloud interaction system, wherein the cloud interaction system includes a cloud server, a game control client, and a game participation client, wherein the cloud server runs a game program, as shown in FIG5 , the game control processing device 500 may include:
  • the division configuration acquisition module 510 is used to acquire the control area division configuration corresponding to the game participating client through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server;
  • a local configuration determination module 520 is used to determine the local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client, and the local configuration of the control area is used to configure the local controllable area of the game participating client;
  • a touch operation receiving module 530 is used to receive a touch operation through a game interaction interface of a game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving video stream data sent by the cloud server;
  • the touch operation response module 540 is used to respond to the touch operation acting on the local controllable area of the game participating client, and update the game interaction interface of the game participating client according to the touch operation control.
  • control area division configuration includes: coordinates of multiple area boundary nodes.
  • the area boundary node is extracted from the control area boundary corresponding to the area division operation, and the area division operation acts on the game interaction interface of the game control client.
  • the local configuration determination module 520 may include: a resolution acquisition module, used to obtain the resolution of the game participating client and the resolution of the game controlling client; a local configuration determination sub-module, used to determine the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client.
  • the above-mentioned local configuration determination submodule determines the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client, and can be configured as: determining the width ratio and height ratio between the resolution of the game participating client and the resolution of the game controlling client; based on the width ratio and the height ratio, converting the control area division configuration corresponding to the game participating client into the local configuration of the control area.
  • the game participating client displays the local controllable area in the game interaction interface of the game participating client according to the local configuration of the control area.
  • an invalid operation prompt message is generated in the game interaction interface of the game participating client.
  • the exemplary embodiments of the present disclosure also provide a computer-readable storage medium on which a program product capable of implementing the game control processing method described above in this specification is stored.
  • various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on an electronic device, the program code is used to cause the electronic device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.
  • the program product stored on the computer-readable storage medium can enable the electronic device to perform the following steps:
  • control area division configuration corresponding to the game participating client determine the local configuration of the control area corresponding to the game participating client, and the local configuration of the control area is used to configure the local controllable area of the game participating client;
  • the touch operation is responded to on the local controllable area of the game participating client, and the game interaction interface of the game participating client is updated according to the touch operation control.
  • control area division configuration includes: coordinates of multiple area boundary nodes.
  • the above-mentioned area boundary node is extracted from the control area boundary corresponding to the area division operation, and the area division operation acts on the game interaction interface of the game control client.
  • the above-mentioned determination of the local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client can be achieved through the following steps: obtaining the resolution of the game participating client and the resolution of the game controlling client; determining the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client.
  • the above-mentioned determination of the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client includes: determining the width ratio and height ratio between the resolution of the game participating client and the resolution of the game controlling client; based on the width ratio and the height ratio, converting the control area division configuration corresponding to the game participating client into the local configuration of the control area.
  • the game participating client displays the local controllable area in the game interaction interface of the game participating client according to the local configuration of the control area.
  • the above-mentioned response touch operation does not act on the local controllable area, and an invalid operation prompt message is generated in the game interaction interface of the game participating client.
  • the game control area is divided so that different game participating clients can respond to user operation instructions in their respective local control areas, thereby realizing multiple clients to control the game at the same time, which can improve the flexibility of game control to a certain extent and enhance the user's game interactive experience.
  • the game control area is divided so that different game participating clients have independent local operable areas, which can avoid the command confusion problem caused by multiple game participating clients controlling the game at the same time, thereby ensuring that the game can run smoothly.
  • the program product may be in the form of a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on an electronic device, such as a personal computer.
  • CD-ROM portable compact disk read-only memory
  • the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be executed by an instruction execution system, device, or or devices.
  • the program product may use any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
  • Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • the program code contained on the readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages.
  • the program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
  • the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
  • LAN local area network
  • WAN wide area network
  • Internet service provider e.g., AT&T, MCI, Sprint, EarthLink, etc.
  • the exemplary embodiment of the present disclosure also provides an electronic device capable of implementing the above-mentioned game control processing method.
  • the electronic device 600 according to this exemplary embodiment of the present disclosure is described below with reference to FIG. 6.
  • the electronic device 600 shown in FIG. 6 is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
  • electronic device 600 may be in the form of a general-purpose computing device.
  • Components of electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including storage unit 620 and processing unit 610), and a display unit 640.
  • the storage unit 620 stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps described in the above “Exemplary Method” section of this specification according to various exemplary embodiments of the present disclosure. Steps.
  • processing unit 610 may perform the following steps:
  • control area division configuration corresponding to the game participating client determine the local configuration of the control area corresponding to the game participating client, and the local configuration of the control area is used to configure the local controllable area of the game participating client;
  • the touch operation is responded to on the local controllable area of the game participating client, and the game interaction interface of the game participating client is updated according to the touch operation control.
  • control area division configuration includes: coordinates of multiple area boundary nodes.
  • the above-mentioned area boundary node is extracted from the control area boundary corresponding to the area division operation, and the area division operation acts on the game interaction interface of the game control client.
  • the above-mentioned determination of the local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client can be achieved through the following steps: obtaining the resolution of the game participating client and the resolution of the game controlling client; determining the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client.
  • the above-mentioned determination of the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client includes: determining the width ratio and height ratio between the resolution of the game participating client and the resolution of the game controlling client; based on the width ratio and the height ratio, converting the control area division configuration corresponding to the game participating client into the local configuration of the control area.
  • the game participating client displays the local controllable area in the game interaction interface of the game participating client according to the local configuration of the control area.
  • the above-mentioned response touch operation does not act on the local controllable area, and an invalid operation prompt message is generated in the game interaction interface of the game participating client.
  • the game control area is divided so that different game participating clients can respond to user operation instructions in their respective local control areas, thereby realizing multiple clients controlling the game.
  • the simultaneous control of the game can improve the flexibility of game control to a certain extent and enhance the user's game interactive experience.
  • the division of the game control area can make different game participating clients have independent local operable areas, which can avoid the command confusion caused by multiple game participating clients controlling the game at the same time, thereby ensuring the smooth operation of the game.
  • the storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 621 and/or a cache memory unit 622 , and may further include a read-only memory unit (ROM) 623 .
  • RAM random access memory
  • ROM read-only memory
  • the storage unit 620 may also include a program/utility 624 having a set (at least one) of program modules 625, such program modules 625 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
  • program modules 625 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
  • Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
  • the electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and/or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input/output (I/O) interface 650.
  • the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) via a network adapter 660. As shown in FIG.
  • the network adapter 660 communicates with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in FIG. 6 , other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems.
  • the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the exemplary implementation of the present disclosure.
  • a non-volatile storage medium which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
  • a computing device which can be a personal computer, a server, a terminal device, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A game control processing method and apparatus, a storage medium, and an electronic device. The method comprises: an interaction interface of a game control client acquiring a control region division configuration corresponding to a game participating client; according to the control region division configuration corresponding to the game participating client, determining a control region local configuration corresponding to the game participating client; a game interaction interface of the game participating client receiving a touch operation; and in response to the touch operation acting on a local controllable region of the game participating client, updating the game interaction interface of the game participating client.

Description

游戏控制处理方法、装置、存储介质与电子设备Game control processing method, device, storage medium and electronic device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本公开要求于2022年12月12日提交的申请号为202211597260.2、名称为“游戏控制处理方法、装置、存储介质与电子设备”的中国专利申请的优先权,该中国专利申请的全部内容通过引用结合在本公开中。This disclosure claims priority to Chinese patent application number 202211597260.2, filed on December 12, 2022, and entitled “Game control processing method, device, storage medium and electronic device”, the entire contents of which are incorporated by reference into this disclosure.
技术领域Technical Field
本公开涉及计算机技术领域,尤其涉及一种游戏控制处理方法、游戏控制处理装置、计算机可读存储介质与电子设备。The present disclosure relates to the field of computer technology, and in particular to a game control processing method, a game control processing device, a computer-readable storage medium, and an electronic device.
背景技术Background technique
在云游戏模式下,游戏画面的渲染工作是在云服务器上完成的,渲染后的游戏画面通常通过编码和网络串流等处理到达游戏客户端,使得游戏客户端无需较高的配置也可以进行游戏。在该种模式下,支持多人同玩,能够增强用户间的游戏互动体验。In the cloud gaming mode, the rendering of the game screen is completed on the cloud server, and the rendered game screen is usually processed by encoding and network streaming to the game client, so that the game client can play the game without high configuration. In this mode, multiple people can play together, which can enhance the game interaction experience between users.
相关技术中,在多人同玩业务场景下,通常通过在多个游戏参与客户端之间移交游戏控制权来实现多人同玩。这种方式下,每个游戏参与客户端对游戏的控制是独立进行的,多个游戏客户端不能同时对游戏进行控制,游戏操控的灵活性较差,容易影响到用户的游戏互动体验。In the related art, in the scenario of multi-player co-playing, multi-player co-playing is usually achieved by transferring game control rights between multiple game participating clients. In this way, each game participating client controls the game independently, and multiple game clients cannot control the game at the same time. The flexibility of game control is poor, which easily affects the user's game interactive experience.
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的相关技术的信息。It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute relevant technology known to ordinary technicians in the field.
发明内容Summary of the invention
本公开提供了一种游戏控制处理方法、游戏控制处理装置、计算机可读存储介质与电子设备,进而至少在一定程度上解决相关技术中多个游戏客户端不能同时对游戏进行控制的问题。The present disclosure provides a game control processing method, a game control processing device, a computer-readable storage medium and an electronic device, thereby at least to a certain extent solving the problem in the related art that multiple game clients cannot control the game at the same time.
本公开的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本公开的实践而习得。Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
根据本公开的第一方面,提供一种游戏控制处理方法,应用于云交互***,其中,所述云交互***包括云服务器、游戏控制客户端和游戏参与客户端,其中,所述云服务器运行游戏程序,所述方法包括:通过所述游戏控制客户端的游戏交互界面获取所述游戏参与 客户端对应的操控区域划分配置,其中,所述游戏控制客户端的游戏交互界面为所述游戏控制客户端接收所述云服务器发送的视频流数据所生成的画面;根据所述游戏参与客户端对应的操控区域划分配置,确定所述游戏参与客户端对应的操控区域本地配置,所述操控区域本地配置用于配置所述游戏参与客户端的本地可操控区域;通过所述游戏参与客户端的游戏交互界面接收触控操作,其中,所述游戏参与客户端的游戏交互界面为所述游戏参与客户端接收云服务器发送的视频流数据所生成的画面;响应所述触控操作作用于所述游戏参与客户端的本地可操控区域,根据所述触控操作控制更新所述游戏参与客户端的游戏交互界面。According to a first aspect of the present disclosure, a game control processing method is provided, which is applied to a cloud interaction system, wherein the cloud interaction system includes a cloud server, a game control client and a game participation client, wherein the cloud server runs a game program, and the method includes: obtaining the game participation client through a game interaction interface of the game control client The control area division configuration corresponding to the client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server; according to the control area division configuration corresponding to the game participating client, the local configuration of the control area corresponding to the game participating client is determined, and the local configuration of the control area is used to configure the local controllable area of the game participating client; touch operation is received through the game interaction interface of the game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving the video stream data sent by the cloud server; in response to the touch operation acting on the local controllable area of the game participating client, the game interaction interface of the game participating client is updated according to the touch operation control.
根据本公开的第二方面,提供一种游戏控制处理装置,应用于云交互***,其中,所述云交互***包括云服务器、游戏控制客户端和游戏参与客户端,其中,所述云服务器运行游戏程序,所述装置包括:划分配置获取模块,用于通过所述游戏控制客户端的游戏交互界面获取所述游戏参与客户端对应的操控区域划分配置,其中,所述游戏控制客户端的游戏交互界面为所述游戏控制客户端接收所述云服务器发送的视频流数据所生成的画面;本地配置确定模块,用于根据所述游戏参与客户端对应的操控区域划分配置,确定所述游戏参与客户端对应的操控区域本地配置,所述操控区域本地配置用于配置所述游戏参与客户端的本地可操控区域;触控操作接收模块,用于通过所述游戏参与客户端的游戏交互界面接收触控操作,其中,所述游戏参与客户端的游戏交互界面为所述游戏参与客户端接收云服务器发送的视频流数据所生成的画面;触控操作响应模块,用于响应所述触控操作作用于所述游戏参与客户端的本地可操控区域,根据所述触控操作控制更新所述游戏参与客户端的游戏交互界面。According to a second aspect of the present disclosure, a game control processing device is provided, which is applied to a cloud interaction system, wherein the cloud interaction system includes a cloud server, a game control client and a game participating client, wherein the cloud server runs a game program, and the device includes: a division configuration acquisition module, which is used to acquire the control area division configuration corresponding to the game participating client through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server; a local configuration determination module, which is used to determine the control area local configuration corresponding to the game participating client according to the control area division configuration corresponding to the game participating client, and the control area local configuration is used to configure the local controllable area of the game participating client; a touch operation receiving module, which is used to receive a touch operation through the game interaction interface of the game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving the video stream data sent by the cloud server; and a touch operation response module, which is used to respond to the touch operation acting on the local controllable area of the game participating client, and update the game interaction interface of the game participating client according to the touch operation control.
根据本公开的第三方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述游戏控制处理方法。According to a third aspect of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the game control processing method described above is implemented.
根据本公开的第四方面,提供一种电子设备,包括:处理器;以及存储器,用于存储所述处理器的可执行指令;其中,所述处理器配置为经由执行所述可执行指令来执行上述游戏控制处理方法。According to a fourth aspect of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned game control processing method by executing the executable instructions.
本公开的技术方案具有以下有益效果:The technical solution disclosed in this disclosure has the following beneficial effects:
上述游戏控制处理过程中,通过游戏控制客户端的游戏交互界面获取游戏参与客户端对应的操控区域划分配置,其中,游戏控制客户端的游戏交互界面为游戏控制客户端接收云服务器发送的视频流数据所生成的画面;根据游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,操控区域本地配置用于配置游戏参与客户 端的本地可操控区域;通过游戏参与客户端的游戏交互界面接收触控操作,其中,游戏参与客户端的游戏交互界面为游戏参与客户端接收云服务器发送的视频流数据所生成的画面;响应触控操作作用于游戏参与客户端的本地可操控区域,根据触控操作控制更新游戏参与客户端的游戏交互界面。一方面,本公开对游戏的操控区域进行了划分,使得不同游戏参与客户端能够对各自本地操控区域内的用户操作指令进行响应,进而实现多个客户端对游戏的同时操控,能够在一定程度上提升游戏操控的灵活性,增强用户的游戏互动体验。另一方面,本公开对游戏的操控区域进行了划分,可使得不同的游戏参与客户端具有独立的本地可操作区域,能够避免多个游戏参与客户端同时对游戏进行控制时所造成的指令混乱问题,进而确保游戏能够平稳运行。In the above-mentioned game control processing process, the control area division configuration corresponding to the game participating client is obtained through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server; according to the control area division configuration corresponding to the game participating client, the local configuration of the control area corresponding to the game participating client is determined, and the local configuration of the control area is used to configure the game participating client The local controllable area of the terminal; receiving touch operations through the game interaction interface of the game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving the video stream data sent by the cloud server; responding to the touch operation acting on the local controllable area of the game participating client, and updating the game interaction interface of the game participating client according to the touch operation control. On the one hand, the present disclosure divides the control area of the game so that different game participating clients can respond to user operation instructions in their respective local control areas, thereby realizing simultaneous control of the game by multiple clients, which can improve the flexibility of game control to a certain extent and enhance the user's game interaction experience. On the other hand, the present disclosure divides the control area of the game so that different game participating clients have independent local control areas, which can avoid the command confusion problem caused by multiple game participating clients controlling the game at the same time, thereby ensuring that the game can run smoothly.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施方式,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
图1示出本公开示例性实施方式运行环境的***架构图;FIG1 shows a system architecture diagram of an operating environment of an exemplary embodiment of the present disclosure;
图2示出本公开示例性实施方式其中之一种游戏控制处理方法的流程图;FIG2 is a flowchart showing a game control processing method according to an exemplary embodiment of the present disclosure;
图3示出本公开示例性实施方式其中之一种游戏参与客户端、游戏控制客户端以及云服务器之间的交互实例图;FIG3 is a diagram showing an example of interaction between a game participating client, a game controlling client and a cloud server in one exemplary embodiment of the present disclosure;
图4示出本公开示例性实施方式其中之一种由云服务器执行游戏控制处理方法的交互流程图;FIG4 shows an interactive flow chart of a game control processing method executed by a cloud server in one of the exemplary embodiments of the present disclosure;
图5示出本公开示例性实施方式其中之一种游戏控制处理装置的结构框图;FIG5 is a block diagram showing a structure of a game control processing device according to an exemplary embodiment of the present disclosure;
图6示出本公开示例性实施方式其中之一种用于实现上述游戏控制处理方法的电子设备。FIG. 6 shows an electronic device for implementing the game control processing method according to one of the exemplary embodiments of the present disclosure.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全 面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本公开的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本公开的各方面变得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the present disclosure will be more complete. The present invention is intended to be comprehensive and complete, and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to give a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
本说明书中使用用语“一个”、“一”、“该”和“所述”用以表示存在一个或多个要素/组成部分/等;用语“包括”和“具有”用以表示开放式的包括在内的意思并且是指除了列出的要素/组成部分/等之外还可存在另外的要素/组成部分/等;用语“第一”和“第二”等仅作为标记使用,不是对其对象的数量限制。The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements/components/etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements/components/etc. may exist in addition to the listed elements/components/etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.
此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and/or processor devices and/or microcontroller devices.
相关技术中,需要在多个游戏参与客户端之间移交游戏控制权来实现多人同玩,每个游戏参与客户端通过单独获取游戏控制权来对游戏进行操控,这些游戏参与客户端无法对游戏同时进行操控,难以实现多个游戏玩家在操作上的同步互动。In the related art, it is necessary to transfer game control rights between multiple game participating clients to achieve multi-player play. Each game participating client controls the game by independently obtaining game control rights. These game participating clients cannot control the game at the same time, making it difficult to achieve synchronous interaction of multiple game players in operation.
鉴于上述一个或多个问题,本公开的示例性实施方式提供一种游戏控制处理方法,可应用于多人同玩的游戏场景。首先对该游戏控制处理方法运行环境的***架构进行说明。参考图1所示,该***架构可以包括:游戏参与客户端110、游戏控制客户端120、云服务器130。其中,游戏参与客户端110可以是参与同一局游戏的游戏客户端,该***架构中可以包含一个或多个游戏参与客户端110。游戏控制客户端120可以是参与同一局游戏的客户端中任一游戏客户端,示例性的,可以将游戏发起客户端作为游戏控制客户端。云服务器130负责游戏程序的运行,可以部署该游戏控制处理方法。具体的,云服务器130可以向游戏参与客户端110以及游戏控制客户端120发送视频流数据,以使游戏参与客户端110以及游戏控制客户端120显示与视频流数据相匹配的画面,还可以对游戏参与客户端110以及游戏控制客户端120所发送的操作指令进行响应。In view of one or more of the above problems, an exemplary embodiment of the present disclosure provides a game control processing method, which can be applied to a game scenario where multiple people play together. First, the system architecture of the operating environment of the game control processing method is described. Referring to FIG. 1 , the system architecture may include: a game participating client 110, a game control client 120, and a cloud server 130. Among them, the game participating client 110 may be a game client participating in the same round of the game, and the system architecture may include one or more game participating clients 110. The game control client 120 may be any game client among the clients participating in the same round of the game. Exemplarily, the game initiating client may be used as the game control client. The cloud server 130 is responsible for the operation of the game program and can deploy the game control processing method. Specifically, the cloud server 130 may send video stream data to the game participating client 110 and the game control client 120 so that the game participating client 110 and the game control client 120 display a screen matching the video stream data, and may also respond to the operation instructions sent by the game participating client 110 and the game control client 120.
如图2所示,本公开的示例性实施方式提供一种游戏控制处理方法的流程图,具体包括以下步骤S210至步骤S240: As shown in FIG. 2 , an exemplary embodiment of the present disclosure provides a flowchart of a game control processing method, which specifically includes the following steps S210 to S240:
步骤S210,通过游戏控制客户端的游戏交互界面获取游戏参与客户端对应的操控区域划分配置,其中,游戏控制客户端的游戏交互界面为游戏控制客户端接收云服务器发送的视频流数据所生成的画面;Step S210, obtaining the control area division configuration corresponding to the game participating client through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server;
步骤S220,根据游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,操控区域本地配置用于配置游戏参与客户端的本地可操控区域;Step S220, determining a local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client, where the local configuration of the control area is used to configure a local controllable area of the game participating client;
步骤S230,通过游戏参与客户端的游戏交互界面接收触控操作,其中,游戏参与客户端的游戏交互界面为游戏参与客户端接收云服务器发送的视频流数据所生成的画面;Step S230, receiving a touch operation through a game interaction interface of the game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving video stream data sent by the cloud server;
步骤S240,响应触控操作作用于游戏参与客户端的本地可操控区域,根据触控操作控制更新游戏参与客户端的游戏交互界面。Step S240, in response to the touch operation acting on the local controllable area of the game participating client, the game interaction interface of the game participating client is updated according to the touch operation control.
上述游戏控制处理过程中,一方面,对游戏的操控区域进行了划分,使得不同游戏参与客户端能够对各自本地操控区域内的用户操作指令进行响应,进而实现多个客户端对游戏的同时操控,能够在一定程度上提升游戏操控的灵活性,增强用户的游戏互动体验。另一方面,对游戏的操控区域进行了划分,可使得不同的游戏参与客户端具有独立的本地可操作区域,能够避免多个游戏参与客户端同时对游戏进行控制时所造成的指令混乱问题,进而确保游戏能够平稳运行。In the above-mentioned game control process, on the one hand, the game control area is divided so that different game participating clients can respond to user operation instructions in their respective local control areas, thereby realizing multiple clients to control the game at the same time, which can improve the flexibility of game control to a certain extent and enhance the user's game interactive experience. On the other hand, the game control area is divided so that different game participating clients have independent local operable areas, which can avoid the command confusion caused by multiple game participating clients controlling the game at the same time, thereby ensuring that the game can run smoothly.
下面分别对图2中的每个步骤进行具体说明。Each step in FIG. 2 is described in detail below.
在步骤S210中,通过游戏控制客户端的游戏交互界面获取游戏参与客户端对应的操控区域划分配置,其中,游戏控制客户端的游戏交互界面为游戏控制客户端接收云服务器发送的视频流数据所生成的画面。In step S210, the control area division configuration corresponding to the game participating client is obtained through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server.
操控区域划分配置指的是为游戏参与客户端所划分的操控区域所对应的参数配置,该操控区域划分配置可由游戏控制客户端根据作用于其游戏交互界面的区域划分操作得到。其中,该游戏控制客户端可以为发起游戏的客户端。The control area division configuration refers to the parameter configuration corresponding to the control area divided for the game participating client, and the control area division configuration can be obtained by the game control client according to the area division operation acting on its game interaction interface. Among them, the game control client can be the client that initiates the game.
该操控区域划分配置可以包括:多个区域边界节点的坐标。这些区域边界节点可从区域划分操作对应的操控区域边界中提取,其中该区域划分操作作用于游戏控制客户端的游戏交互界面。The control area division configuration may include: coordinates of a plurality of area boundary nodes. These area boundary nodes may be extracted from the control area boundary corresponding to the area division operation, wherein the area division operation acts on the game interaction interface of the game control client.
具体的,在提取区域边界节点时,可以根据作用于游戏控制客户端的游戏交互界面上的区域划分操作,确定为游戏参与客户端所划分的操控区域边界,并在该操控区域边界上进行采样,以提取到区域边界节点。在进行采样时,可以优先提取能够展现区域轮廓特征的节点,例如区域的拐点,以便尽可能减少节点提取数量,从而减少不必要的性能开销。示例性的,若为游戏参与客户端所划分的操控区域边界形状为三角形,则可将三角形的三 个顶点作为区域边界节点;若为游戏参与客户端所划分的操控区域边界形状为矩形,则可将矩形的四个顶点作为区域边界节点。进一步的,还可以根据所划分区域的具体形状,进一步优化所提取的节点数量,以所划分的操控区域边界形状为矩形为例,可将位于矩形对角线上的两个顶点作为区域边缘节点。Specifically, when extracting region boundary nodes, the control region boundary divided for the game participating client can be determined based on the region division operation on the game interaction interface of the game control client, and sampling can be performed on the control region boundary to extract region boundary nodes. When sampling, nodes that can show the contour features of the region, such as the inflection points of the region, can be preferentially extracted to minimize the number of nodes extracted, thereby reducing unnecessary performance overhead. For example, if the control region boundary divided for the game participating client is in the shape of a triangle, the three corners of the triangle can be extracted. vertices as region boundary nodes; if the boundary shape of the control region divided by the game participating client is a rectangle, the four vertices of the rectangle can be used as region boundary nodes. Furthermore, the number of extracted nodes can be further optimized according to the specific shape of the divided region. For example, if the boundary shape of the divided control region is a rectangle, the two vertices located on the diagonal of the rectangle can be used as region edge nodes.
此外,该操控区域划分配置还可以包括:区域划分操作对应的操控区域的形状、尺寸及中心位置坐标,其中该区域划分操作作用于游戏控制客户端的游戏交互界面。In addition, the control area division configuration may also include: the shape, size and center position coordinates of the control area corresponding to the area division operation, wherein the area division operation acts on the game interaction interface of the game control client.
需要说明的是,为游戏参与客户端所划分的操控区域的形状可以是矩形、三角形等规则形状,也可以是不规则形状,这里不做具体限定。此外,为游戏参与客户端所划分的操控区域的形状可以是预先定义的固定形状,也可以是用户在游戏控制客户端自行设定的任意形状。It should be noted that the shape of the control area divided for the game participating client can be a regular shape such as a rectangle, a triangle, or an irregular shape, which is not specifically limited here. In addition, the shape of the control area divided for the game participating client can be a pre-defined fixed shape, or it can be an arbitrary shape set by the user in the game control client.
示例性的,作用于游戏控制客户端的游戏交互界面的区域划分操作,可以是游戏控制客户端的游戏交互界面中拉取矩形框的操作。Exemplarily, the area division operation acting on the game interaction interface of the game control client may be an operation of drawing a rectangular frame in the game interaction interface of the game control client.
示例性的,作用于游戏控制客户端的游戏交互界面的区域划分操作,还可以是游戏客户端的游戏交互界面中勾画闭合区域的操作。Exemplarily, the area division operation acting on the game interaction interface of the game control client may also be an operation of outlining a closed area in the game interaction interface of the game client.
在获取到游戏参与客户端对应的操控区域划分配置后,可继续执行步骤S220,以将为游戏参与客户端所划分的操控区域适配到游戏参与客户端的本地。After obtaining the control area division configuration corresponding to the game participating client, step S220 may be continued to be executed to adapt the control area divided for the game participating client to the local area of the game participating client.
在步骤S220中,根据游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,操控区域本地配置用于配置游戏参与客户端的本地可操控区域。In step S220, the local configuration of the control area corresponding to the game participating client is determined according to the control area division configuration corresponding to the game participating client, and the local configuration of the control area is used to configure the local controllable area of the game participating client.
本地可操控区域指的是为游戏参与客户端所划分的操控区域映射至游戏参与客户端本地后的区域,用户可以在游戏参与客户端的本地可操控区域中对游戏进行实际操控。The local controllable area refers to the area after the control area divided for the game participating client is mapped to the local area of the game participating client. The user can actually control the game in the local controllable area of the game participating client.
在一种可选的实施方式中,上述步骤S220中根据游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,具体可以包括以下步骤:获取游戏参与客户端的分辨率以及游戏控制客户端的分辨率;基于游戏参与客户端的分辨率、游戏控制客户端的分辨率以及游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置。In an optional embodiment, the above step S220 determines the local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client, which may specifically include the following steps: obtaining the resolution of the game participating client and the resolution of the game controlling client; based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client, determining the local configuration of the control area corresponding to the game participating client.
分辨率可由客户端显示屏的横向和纵向上所能显示的像素点个数进行表示。上述步骤,通过游戏参与客户端的分辨率和游戏控制客户端的分辨率,将游戏参与客户端对应的操控区域划分配置转换为操控区域本地配置,实现了操控区域从游戏控制客户端到游戏参与客户端的适配,过程简便且易实现。 The resolution can be represented by the number of pixels that can be displayed in the horizontal and vertical directions of the client display screen. In the above steps, the control area division configuration corresponding to the game participating client is converted into the local configuration of the control area through the resolution of the game participating client and the resolution of the game controlling client, thereby realizing the adaptation of the control area from the game controlling client to the game participating client, and the process is simple and easy to implement.
在一种可选的实施方式中,上述基于游戏参与客户端的分辨率、游戏控制客户端的分辨率以及游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,包括:确定游戏参与客户端的分辨率与游戏控制客户端的分辨率之间的宽度比值和高度比值;基于宽度比值和高度比值,将游戏参与客户端对应的操控区域划分配置转换为操控区域本地配置。In an optional embodiment, the above-mentioned determination of the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client includes: determining the width ratio and height ratio between the resolution of the game participating client and the resolution of the game controlling client; based on the width ratio and the height ratio, converting the control area division configuration corresponding to the game participating client into the local configuration of the control area.
若游戏控制客户端的分辨率为(Wa*Ha),游戏参与客户端的分辨率为(Wb*Hb),可得到分辨率的宽度比值pbx=Wb/Wa以及分辨率的高度比值pby=Hb/Ha。其中,Wa为游戏控制客户端的分辨率宽度,Ha为游戏控制客户端的分辨率高度,Wb为游戏参与客户端的分辨率宽度,Hb为游戏参与客户端的分辨率高度。If the resolution of the game control client is (Wa*Ha) and the resolution of the game participating client is (Wb*Hb), the resolution width ratio pbx=Wb/Wa and the resolution height ratio pby=Hb/Ha can be obtained. Among them, Wa is the resolution width of the game control client, Ha is the resolution height of the game control client, Wb is the resolution width of the game participating client, and Hb is the resolution height of the game participating client.
示例性的,若操控区域划分配置包括多个区域边界节点的坐标时,上述基于宽度比值和高度比值,将游戏参与客户端对应的操控区域划分配置转换为操控区域本地配置,具体可通过以下步骤来实现:若为游戏控制客户端所划分的操控区域的形状为矩形,操控区域划分配置包含两个区域边界节点,这两个区域边界节点坐标分别为(xb1,yb1)和(xb2,yb2),可将这两个域边界节点坐标转换为(xb1*pbx,yb1*pby)和(xb2*pbx,yb2*pby),进而得到操控区域本地配置。通过将操控区域划分配置中所包含的区域边界节点进行坐标转换,得到游戏参与客户端的操控区域本地配置,有助于进一步确定游戏参与客户端对应的本地可操控区域在游戏参与客户端的游戏交互界面中的具***置和轮廓。Exemplarily, if the control area division configuration includes the coordinates of multiple area boundary nodes, the above-mentioned conversion of the control area division configuration corresponding to the game participating client into the local configuration of the control area based on the width ratio and the height ratio can be specifically achieved by the following steps: If the shape of the control area divided for the game control client is a rectangle, the control area division configuration includes two area boundary nodes, and the coordinates of the two area boundary nodes are (xb1, yb1) and (xb2, yb2), respectively. The coordinates of the two area boundary nodes can be converted to (xb1*pbx, yb1*pby) and (xb2*pbx, yb2*pby), and then the local configuration of the control area is obtained. By converting the coordinates of the area boundary nodes included in the control area division configuration, the local configuration of the control area of the game participating client is obtained, which helps to further determine the specific position and outline of the local controllable area corresponding to the game participating client in the game interaction interface of the game participating client.
此外,若操控区域划分配置包括区域划分操作对应的操控区域的形状、尺寸及中心位置坐标时,上述基于宽度比值和高度比值,将游戏参与客户端对应的操控区域划分配置转换为操控区域本地配置,具体可通过以下步骤来实现:可基于宽度比值和高度比值,将区域划分操作对应的操控区域的中心位置坐标和尺寸进行转换,得到包含有游戏参与客户端本地可操控区域的形状、尺寸及中心位置坐标的操控区域本地配置。In addition, if the control area division configuration includes the shape, size and center position coordinates of the control area corresponding to the area division operation, the above-mentioned conversion of the control area division configuration corresponding to the game participating client into the local configuration of the control area based on the width ratio and the height ratio can be specifically achieved through the following steps: the center position coordinates and size of the control area corresponding to the area division operation can be converted based on the width ratio and the height ratio to obtain the local configuration of the control area including the shape, size and center position coordinates of the local controllable area of the game participating client.
此外,上述步骤S220中根据游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,具体可以包括以下步骤:获取游戏参与客户端的游戏交互界面显示尺寸以及游戏控制客户端的游戏交互界面显示尺寸,并基于游戏参与客户端的游戏交互界面显示尺寸、游戏控制客户端的游戏交互界面显示尺寸以及游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置。具体的,可以通过确定游戏参与客户端的游戏交互界面显示尺寸与游戏控制客户端的游戏交互界面显示尺寸之间的宽度比值和高度比值,并基于游戏参与客户端的游戏交互界面显示尺寸与游戏控制客户端的游戏交互界面显示尺寸之间的宽度比值和高度比值,将所述游戏参与客户 端对应的操控区域划分配置转换为操控区域本地配置。In addition, the above step S220 determines the local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client, which may specifically include the following steps: obtaining the display size of the game interaction interface of the game participating client and the display size of the game interaction interface of the game controlling client, and determining the local configuration of the control area corresponding to the game participating client based on the display size of the game interaction interface of the game participating client, the display size of the game interaction interface of the game controlling client, and the control area division configuration corresponding to the game participating client. Specifically, the width ratio and height ratio between the display size of the game interaction interface of the game participating client and the display size of the game interaction interface of the game controlling client can be determined, and based on the width ratio and height ratio between the display size of the game interaction interface of the game participating client and the display size of the game interaction interface of the game controlling client, the local configuration of the control area corresponding to the game participating client can be determined. The control area division configuration corresponding to the terminal is converted into the local configuration of the control area.
需要说明的是,若游戏中存在多个游戏参与客户端,那么可参照上述步骤分别获取这些游戏参与客户端所对的操控区域本地配置。It should be noted that if there are multiple game participating clients in the game, the local configurations of the control areas of these game participating clients can be obtained respectively by referring to the above steps.
游戏参与客户端可以根据操控区域本地配置在游戏参与客户端的游戏交互界面中显示本地可操控区域。示例性的,游戏参与客户端的游戏交互界面中可用虚线标识出其所对应的本地可操控区域,以提示用户需要在本地可操控区域内进行游戏操作,进而在一定程度上避免用户在该游戏参与客户端进行无法正常响应的无用操作。The game participating client can display the local controllable area in the game interaction interface of the game participating client according to the local configuration of the control area. For example, the game interaction interface of the game participating client can use a dotted line to mark the corresponding local controllable area to prompt the user to perform game operations in the local controllable area, thereby avoiding the user from performing useless operations that cannot respond normally in the game participating client to a certain extent.
在步骤S230中,通过游戏参与客户端的游戏交互界面接收触控操作,其中,游戏参与客户端的游戏交互界面为游戏参与客户端接收云服务器发送的视频流数据所生成的画面。In step S230, a touch operation is received through a game interaction interface of the game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving video stream data sent by the cloud server.
触控操作指的是作用于游戏参与客户端的游戏交互界面上的用户操作,例如点击、滑动等操作。Touch operation refers to the user operation on the game interaction interface of the game participating client, such as clicking, sliding and other operations.
需要说明的是,由于游戏控制端和游戏参与端所要实现的功能并不完全相同,因而云服务器发送给游戏控制端的视频流数据和发送给游戏参与端的视频流数据可以存在差异,游戏控制端的游戏交互界面与游戏参与端的游戏交互界面也可以存在差异。It should be noted that since the functions to be implemented by the game control end and the game participating end are not exactly the same, there may be differences between the video stream data sent by the cloud server to the game control end and the video stream data sent to the game participating end, and there may also be differences between the game interaction interface of the game control end and the game interaction interface of the game participating end.
当检测到作用于游戏参与客户端的游戏交互界面的触控操作后,可进一步判断该触控操作是否作用于游戏参与客户端的本地可操控区域。When a touch operation acting on the game interaction interface of the game participating client is detected, it can be further determined whether the touch operation acts on the local controllable area of the game participating client.
示例性的,若游戏参与客户端的本地可操控区域为矩形,且该矩形一对角线上两个坐标为(xb1*pbx,yb1*pby)和(xb2*pbx,yb2*pby),当用户在游戏参与客户端中点击触控的位置坐标为(x,y)时,可以通过判断x介于xb1*pbx和xb2*pbx之间,且y介于yb1*pby和yb2*pby之间,是否成立,若成立,则表明该触控操作作用于游戏参与客户端的本地可操控区域。For example, if the local controllable area of the game participating client is a rectangle, and the two coordinates on the diagonal of the rectangle are (xb1*pbx, yb1*pby) and (xb2*pbx, yb2*pby), when the user clicks the touch position coordinate (x, y) in the game participating client, it can be determined whether x is between xb1*pbx and xb2*pbx, and y is between yb1*pby and yb2*pby. If so, it indicates that the touch operation acts on the local controllable area of the game participating client.
在步骤S240中,响应触控操作作用于游戏参与客户端的本地可操控区域,根据触控操作控制更新游戏参与客户端的游戏交互界面。In step S240, in response to the touch operation acting on the local controllable area of the game participating client, the game interaction interface of the game participating client is updated according to the touch operation control.
若触控操作作用于游戏参与客户端的本地可操控区域,则表明该触控操作为有效操作,此时可根据该触控操作对应的操作指令推动游戏进程,适应性更新游戏客户端的游戏交互界面。If the touch operation acts on the local controllable area of the game participating client, it indicates that the touch operation is a valid operation. At this time, the game process can be promoted according to the operation instructions corresponding to the touch operation, and the game interaction interface of the game client can be adaptively updated.
在一种可选的实施方式中,还可以响应触控操作未作用于本地可操控区域,在游戏参与客户端的游戏交互界面中生成无效操作提示信息。In an optional implementation, in response to the touch operation not being applied to the local controllable area, an invalid operation prompt message may be generated in the game interaction interface of the game participating client.
若触控操作未作用于游戏参与客户端的本地可操控区域,则表明该触控操作为无效操作,可丢弃该触控操作对应的操作指令,并在游戏参与客户端的游戏交互界面中生成无效 操作提示信息,以便及时提醒游戏玩家进行了无效操作。If the touch operation does not act on the local controllable area of the game participating client, it indicates that the touch operation is an invalid operation, the operation instruction corresponding to the touch operation can be discarded, and an invalid operation is generated in the game interaction interface of the game participating client. Operation prompt information to promptly remind game players of invalid operations.
下面结合图3中所示的游戏参与客户端、游戏控制客户端以及云服务器之间的交互实例图,对上述游戏控制处理方法进行进一步的说明,以游戏参与客户端对应的操控区域是矩形为例。The above-mentioned game control processing method is further explained below in conjunction with the interaction example diagram between the game participating client, the game control client and the cloud server shown in FIG3 , taking the control area corresponding to the game participating client as a rectangle as an example.
游戏控制客户端301可预先连接到云服务器321以启动游戏程序,在游戏控制客户端启动游戏程序后,游戏参与客户端302以及游戏参与客户端303可加入该游戏进程中,云服务器321可以向游戏控制客户端301、游戏参与客户端302以及游戏参与客户端303分别发送视频流数据,实现推流服务。游戏控制客户端301、游戏参与客户端302以及游戏参与客户端303在接收到云服务器所发送的视频流数据后,可分别在其所对应的游戏交互界面中显示相应的游戏画面。The game control client 301 can be pre-connected to the cloud server 321 to start the game program. After the game control client starts the game program, the game participating client 302 and the game participating client 303 can join the game process. The cloud server 321 can send video stream data to the game control client 301, the game participating client 302 and the game participating client 303 respectively to implement the push streaming service. After receiving the video stream data sent by the cloud server, the game control client 301, the game participating client 302 and the game participating client 303 can display the corresponding game screen in their corresponding game interaction interfaces.
通过游戏控制客户端301的游戏交互界面可分别针对游戏控制客户端301、游戏参与客户端302以及游戏参与客户端303进行操控区域划分,进而得到游戏控制客户端301的操控区域划分配置、游戏参与客户端302的操控区域划分配置以及游戏参与客户端303的操控区域划分配置。将游戏控制客户端301的操控区域划分配置作为其操控区域本地配置。将游戏参与客户端302的操控区域划分配置以及游戏参与客户端303的操控区域划分配置分别进行本地配置转换后,得到游戏参与客户端302的操控区域本地配置以及游戏参与客户端303的操控区域本地配置。Through the game interaction interface of the game control client 301, the game participating client 302 and the game participating client 303 can be respectively divided into control areas, thereby obtaining the control area division configuration of the game control client 301, the control area division configuration of the game participating client 302 and the control area division configuration of the game participating client 303. The control area division configuration of the game control client 301 is used as its control area local configuration. After the control area division configuration of the game participating client 302 and the control area division configuration of the game participating client 303 are respectively converted into local configurations, the control area local configuration of the game participating client 302 and the control area local configuration of the game participating client 303 are obtained.
游戏控制客户端301根据其操控区域本地配置在其游戏交互界面中显示本地可操控区域311。游戏参与客户端302根据其操控区域本地配置在其游戏交互界面中显示本地可操控区域312。游戏参与客户端303根据其操控区域本地配置在其游戏交互界面中显示本地可操控区域313。The game control client 301 displays a local controllable area 311 in its game interaction interface according to its local control area configuration. The game participation client 302 displays a local controllable area 312 in its game interaction interface according to its local control area configuration. The game participation client 303 displays a local controllable area 313 in its game interaction interface according to its local control area configuration.
游戏控制客户端301、游戏参与客户端302以及游戏参与客户端303分别可将作用于各自本地操控区域内的触控操作指令发送给云服务器321,以使云服务器321执行与用户操作指令相匹配的游戏进程。The game control client 301, the game participation client 302 and the game participation client 303 can respectively send the touch operation instructions acting in their respective local control areas to the cloud server 321, so that the cloud server 321 executes the game process matching the user operation instructions.
需要说明的是,图3中将游戏控制客户端作为一种特殊的游戏参与客户端参与到游戏中。It should be noted that in FIG. 3 , the game control client is used as a special game participating client to participate in the game.
图4提供了一种由云服务器执行游戏控制处理方法的交互流程图,具体可以包括以下步骤S401至步骤S409:FIG4 provides an interactive flow chart of a game control processing method executed by a cloud server, which may specifically include the following steps S401 to S409:
步骤S401,游戏控制客户端,响应作用于游戏控制客户端的游戏交互界面的区域划分操作,得到游戏参与客户端对应的操控区域划分配置; Step S401, the game control client, in response to the area division operation of the game interaction interface acting on the game control client, obtains the control area division configuration corresponding to the game participating client;
步骤S402,游戏控制客户端,将游戏参与客户端对应的操控区域划分配置以及游戏控制客户端的分辨率发送给云服务器;Step S402, the game control client sends the control area division configuration corresponding to the game participating client and the resolution of the game control client to the cloud server;
步骤S403,游戏参与客户端,将游戏参与客户端的分辨率发送给云服务器;Step S403, the game participating client sends the resolution of the game participating client to the cloud server;
步骤S404,云服务器,获取游戏参与客户端的分辨率、游戏控制客户端的分辨率以及游戏参与客户端对应的操控区域划分配置;Step S404: the cloud server obtains the resolution of the game participating client, the resolution of the game controlling client, and the control area division configuration corresponding to the game participating client;
步骤S405,云服务器,基于游戏参与客户端的分辨率、游戏控制客户端的分辨率以及游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置;Step S405, the cloud server determines the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client, and the control area division configuration corresponding to the game participating client;
步骤S406,云服务器,将所确定的游戏参与客户端对应的操控区域本地配置发送给相应的游戏参与客户端;Step S406, the cloud server sends the determined local configuration of the control area corresponding to the game participating client to the corresponding game participating client;
步骤S407,游戏参与客户端,接收到操控区域本地配置后,根据操控区域本地配置在游戏参与客户端的游戏交互界面中显示出本地可操控区域;Step S407, after receiving the local configuration of the control area, the game participating client displays the local controllable area in the game interaction interface of the game participating client according to the local configuration of the control area;
步骤S408,游戏参与客户端,响应作用于游戏参与客户端的游戏交互界面的触控操作,将触控操作发送给云服务器;Step S408, the game participating client responds to the touch operation on the game interaction interface of the game participating client and sends the touch operation to the cloud server;
步骤S409,云服务器,响应触控操作作用于游戏参与客户端的本地可操控区域,根据触控操作控制更新游戏参与客户端的游戏交互界面。Step S409: the cloud server responds to the touch operation on the local controllable area of the game participating client and updates the game interaction interface of the game participating client according to the touch operation control.
本公开的示例性实施方式还提供一种游戏控制处理装置,应用于云交互***,其中,云交互***包括云服务器、游戏控制客户端和游戏参与客户端,其中,云服务器运行游戏程序,如图5所示,该游戏控制处理装置500可以包括:The exemplary embodiment of the present disclosure further provides a game control processing device, which is applied to a cloud interaction system, wherein the cloud interaction system includes a cloud server, a game control client, and a game participation client, wherein the cloud server runs a game program, as shown in FIG5 , the game control processing device 500 may include:
划分配置获取模块510,用于通过游戏控制客户端的游戏交互界面获取游戏参与客户端对应的操控区域划分配置,其中,游戏控制客户端的游戏交互界面为游戏控制客户端接收云服务器发送的视频流数据所生成的画面;The division configuration acquisition module 510 is used to acquire the control area division configuration corresponding to the game participating client through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server;
本地配置确定模块520,用于根据游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,操控区域本地配置用于配置游戏参与客户端的本地可操控区域;A local configuration determination module 520 is used to determine the local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client, and the local configuration of the control area is used to configure the local controllable area of the game participating client;
触控操作接收模块530,用于通过游戏参与客户端的游戏交互界面接收触控操作,其中,游戏参与客户端的游戏交互界面为游戏参与客户端接收云服务器发送的视频流数据所生成的画面;A touch operation receiving module 530 is used to receive a touch operation through a game interaction interface of a game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving video stream data sent by the cloud server;
触控操作响应模块540,用于响应触控操作作用于游戏参与客户端的本地可操控区域,根据触控操作控制更新游戏参与客户端的游戏交互界面。 The touch operation response module 540 is used to respond to the touch operation acting on the local controllable area of the game participating client, and update the game interaction interface of the game participating client according to the touch operation control.
在一种可选的实施方式中,上述游戏控制处理装置500中,操控区域划分配置包括:多个区域边界节点的坐标。In an optional implementation, in the game control processing device 500, the control area division configuration includes: coordinates of multiple area boundary nodes.
在一种可选的实施方式中,上述游戏控制处理装置500中,区域边界节点从区域划分操作对应的操控区域边界中提取,区域划分操作作用于游戏控制客户端的游戏交互界面。In an optional implementation, in the game control processing device 500, the area boundary node is extracted from the control area boundary corresponding to the area division operation, and the area division operation acts on the game interaction interface of the game control client.
在一种可选的实施方式中,本地配置确定模块520,可包括:分辨率获取模块,用于获取游戏参与客户端的分辨率以及游戏控制客户端的分辨率;本地配置确定子模块,用于基于游戏参与客户端的分辨率、游戏控制客户端的分辨率以及游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置。In an optional embodiment, the local configuration determination module 520 may include: a resolution acquisition module, used to obtain the resolution of the game participating client and the resolution of the game controlling client; a local configuration determination sub-module, used to determine the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client.
在一种可选的实施方式中,上述本地配置确定子模块中基于游戏参与客户端的分辨率、游戏控制客户端的分辨率以及游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,可以被配置为:确定游戏参与客户端的分辨率与游戏控制客户端的分辨率之间的宽度比值和高度比值;基于宽度比值和高度比值,将游戏参与客户端对应的操控区域划分配置转换为操控区域本地配置。In an optional embodiment, the above-mentioned local configuration determination submodule determines the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client, and can be configured as: determining the width ratio and height ratio between the resolution of the game participating client and the resolution of the game controlling client; based on the width ratio and the height ratio, converting the control area division configuration corresponding to the game participating client into the local configuration of the control area.
在一种可选的实施方式中,上述游戏控制处理装置500中,游戏参与客户端根据操控区域本地配置在游戏参与客户端的游戏交互界面中显示本地可操控区域。In an optional implementation, in the game control processing device 500, the game participating client displays the local controllable area in the game interaction interface of the game participating client according to the local configuration of the control area.
在一种可选的实施方式中,上述游戏控制处理装置500中,响应触控操作未作用于本地可操控区域,在游戏参与客户端的游戏交互界面中生成无效操作提示信息。In an optional implementation, in the game control processing device 500, in response to the touch operation not being applied to the local controllable area, an invalid operation prompt message is generated in the game interaction interface of the game participating client.
上述游戏控制处理装置500中各部分的具体细节在方法部分实施方式中已经详细说明,未披露的细节内容可以参见方法部分的实施方式内容,因而不再赘述。The specific details of each part of the above-mentioned game control processing device 500 have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.
本公开的示例性实施方式还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述游戏控制处理方法的程序产品。在一些可能的实施方式中,本公开的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在电子设备上运行时,程序代码用于使电子设备执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤。The exemplary embodiments of the present disclosure also provide a computer-readable storage medium on which a program product capable of implementing the game control processing method described above in this specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on an electronic device, the program code is used to cause the electronic device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.
具体的,计算机可读存储介质上所存储的程序产品可使电子设备执行以下步骤:Specifically, the program product stored on the computer-readable storage medium can enable the electronic device to perform the following steps:
通过游戏控制客户端的游戏交互界面获取游戏参与客户端对应的操控区域划分配置,其中,游戏控制客户端的游戏交互界面为游戏控制客户端接收云服务器发送的视频流数据所生成的画面;Obtaining the control area division configuration corresponding to the game participating client through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server;
根据游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,操控区域本地配置用于配置游戏参与客户端的本地可操控区域; According to the control area division configuration corresponding to the game participating client, determine the local configuration of the control area corresponding to the game participating client, and the local configuration of the control area is used to configure the local controllable area of the game participating client;
通过游戏参与客户端的游戏交互界面接收触控操作,其中,游戏参与客户端的游戏交互界面为游戏参与客户端接收云服务器发送的视频流数据所生成的画面;Receiving a touch operation through a game interaction interface of a game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving video stream data sent by a cloud server;
响应触控操作作用于游戏参与客户端的本地可操控区域,根据触控操作控制更新游戏参与客户端的游戏交互界面。The touch operation is responded to on the local controllable area of the game participating client, and the game interaction interface of the game participating client is updated according to the touch operation control.
在一种可选的实施方式中,上述操控区域划分配置包括:多个区域边界节点的坐标。In an optional implementation, the above-mentioned control area division configuration includes: coordinates of multiple area boundary nodes.
在一种可选的实施方式中,上述区域边界节点从区域划分操作对应的操控区域边界中提取,区域划分操作作用于游戏控制客户端的游戏交互界面。In an optional implementation, the above-mentioned area boundary node is extracted from the control area boundary corresponding to the area division operation, and the area division operation acts on the game interaction interface of the game control client.
在一种可选的实施方式中,上述根据游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,可通过以下步骤来实现:获取游戏参与客户端的分辨率以及游戏控制客户端的分辨率;基于游戏参与客户端的分辨率、游戏控制客户端的分辨率以及游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置。In an optional implementation, the above-mentioned determination of the local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client can be achieved through the following steps: obtaining the resolution of the game participating client and the resolution of the game controlling client; determining the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client.
在一种可选的实施方式中,上述基于游戏参与客户端的分辨率、游戏控制客户端的分辨率以及游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,包括:确定游戏参与客户端的分辨率与游戏控制客户端的分辨率之间的宽度比值和高度比值;基于宽度比值和高度比值,将游戏参与客户端对应的操控区域划分配置转换为操控区域本地配置。In an optional embodiment, the above-mentioned determination of the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client includes: determining the width ratio and height ratio between the resolution of the game participating client and the resolution of the game controlling client; based on the width ratio and the height ratio, converting the control area division configuration corresponding to the game participating client into the local configuration of the control area.
在一种可选的实施方式中,上述游戏参与客户端根据操控区域本地配置在游戏参与客户端的游戏交互界面中显示本地可操控区域。In an optional implementation, the game participating client displays the local controllable area in the game interaction interface of the game participating client according to the local configuration of the control area.
在一种可选的实施方式中,上述响应触控操作未作用于本地可操控区域,在游戏参与客户端的游戏交互界面中生成无效操作提示信息。In an optional implementation, the above-mentioned response touch operation does not act on the local controllable area, and an invalid operation prompt message is generated in the game interaction interface of the game participating client.
上述游戏控制处理过程中,一方面,对游戏的操控区域进行了划分,使得不同游戏参与客户端能够对各自本地操控区域内的用户操作指令进行响应,进而实现多个客户端对游戏的同时操控,能够在一定程度上提升游戏操控的灵活性,增强用户的游戏互动体验。另一方面,对游戏的操控区域进行了划分,可使得不同的游戏参与客户端具有独立的本地可操作区域,能够避免多个游戏参与客户端同时对游戏进行控制时所造成的指令混乱问题,进而确保游戏能够平稳运行。In the above-mentioned game control process, on the one hand, the game control area is divided so that different game participating clients can respond to user operation instructions in their respective local control areas, thereby realizing multiple clients to control the game at the same time, which can improve the flexibility of game control to a certain extent and enhance the user's game interactive experience. On the other hand, the game control area is divided so that different game participating clients have independent local operable areas, which can avoid the command confusion problem caused by multiple game participating clients controlling the game at the same time, thereby ensuring that the game can run smoothly.
该程序产品可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在电子设备,例如个人电脑上运行。然而,本公开的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或 者器件使用或者与其结合使用。The program product may be in the form of a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be executed by an instruction execution system, device, or or devices.
程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF(Radio Frequency,射频)等等,或者上述的任意合适的组合。The program code contained on the readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
可以以一种或多种程序设计语言的任意组合来编写用于执行本公开操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
本公开的示例性实施方式还提供了一种能够实现上述游戏控制处理方法的电子设备。下面参照图6来描述根据本公开的这种示例性实施方式的电子设备600。图6显示的电子设备600仅仅是一个示例,不应对本公开实施方式的功能和使用范围带来任何限制。The exemplary embodiment of the present disclosure also provides an electronic device capable of implementing the above-mentioned game control processing method. The electronic device 600 according to this exemplary embodiment of the present disclosure is described below with reference to FIG. 6. The electronic device 600 shown in FIG. 6 is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
如图6所示,电子设备600可以以通用计算设备的形式表现。电子设备600的组件可以包括但不限于:至少一个处理单元610、至少一个存储单元620、连接不同***组件(包括存储单元620和处理单元610)的总线630和显示单元640。As shown in Fig. 6, electronic device 600 may be in the form of a general-purpose computing device. Components of electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including storage unit 620 and processing unit 610), and a display unit 640.
存储单元620存储有程序代码,程序代码可以被处理单元610执行,使得处理单元610执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步 骤。The storage unit 620 stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps described in the above “Exemplary Method” section of this specification according to various exemplary embodiments of the present disclosure. Steps.
具体的,处理单元610可执行以下步骤:Specifically, the processing unit 610 may perform the following steps:
通过游戏控制客户端的游戏交互界面获取游戏参与客户端对应的操控区域划分配置,其中,游戏控制客户端的游戏交互界面为游戏控制客户端接收云服务器发送的视频流数据所生成的画面;Obtaining the control area division configuration corresponding to the game participating client through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server;
根据游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,操控区域本地配置用于配置游戏参与客户端的本地可操控区域;According to the control area division configuration corresponding to the game participating client, determine the local configuration of the control area corresponding to the game participating client, and the local configuration of the control area is used to configure the local controllable area of the game participating client;
通过游戏参与客户端的游戏交互界面接收触控操作,其中,游戏参与客户端的游戏交互界面为游戏参与客户端接收云服务器发送的视频流数据所生成的画面;Receiving a touch operation through a game interaction interface of a game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving video stream data sent by a cloud server;
响应触控操作作用于游戏参与客户端的本地可操控区域,根据触控操作控制更新游戏参与客户端的游戏交互界面。The touch operation is responded to on the local controllable area of the game participating client, and the game interaction interface of the game participating client is updated according to the touch operation control.
在一种可选的实施方式中,上述操控区域划分配置包括:多个区域边界节点的坐标。In an optional implementation, the above-mentioned control area division configuration includes: coordinates of multiple area boundary nodes.
在一种可选的实施方式中,上述区域边界节点从区域划分操作对应的操控区域边界中提取,区域划分操作作用于游戏控制客户端的游戏交互界面。In an optional implementation, the above-mentioned area boundary node is extracted from the control area boundary corresponding to the area division operation, and the area division operation acts on the game interaction interface of the game control client.
在一种可选的实施方式中,上述根据游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,可通过以下步骤来实现:获取游戏参与客户端的分辨率以及游戏控制客户端的分辨率;基于游戏参与客户端的分辨率、游戏控制客户端的分辨率以及游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置。In an optional implementation, the above-mentioned determination of the local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client can be achieved through the following steps: obtaining the resolution of the game participating client and the resolution of the game controlling client; determining the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client.
在一种可选的实施方式中,上述基于游戏参与客户端的分辨率、游戏控制客户端的分辨率以及游戏参与客户端对应的操控区域划分配置,确定游戏参与客户端对应的操控区域本地配置,包括:确定游戏参与客户端的分辨率与游戏控制客户端的分辨率之间的宽度比值和高度比值;基于宽度比值和高度比值,将游戏参与客户端对应的操控区域划分配置转换为操控区域本地配置。In an optional embodiment, the above-mentioned determination of the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client includes: determining the width ratio and height ratio between the resolution of the game participating client and the resolution of the game controlling client; based on the width ratio and the height ratio, converting the control area division configuration corresponding to the game participating client into the local configuration of the control area.
在一种可选的实施方式中,上述游戏参与客户端根据操控区域本地配置在游戏参与客户端的游戏交互界面中显示本地可操控区域。In an optional implementation, the game participating client displays the local controllable area in the game interaction interface of the game participating client according to the local configuration of the control area.
在一种可选的实施方式中,上述响应触控操作未作用于本地可操控区域,在游戏参与客户端的游戏交互界面中生成无效操作提示信息。In an optional implementation, the above-mentioned response touch operation does not act on the local controllable area, and an invalid operation prompt message is generated in the game interaction interface of the game participating client.
上述游戏控制处理过程中,一方面,对游戏的操控区域进行了划分,使得不同游戏参与客户端能够对各自本地操控区域内的用户操作指令进行响应,进而实现多个客户端对游 戏的同时操控,能够在一定程度上提升游戏操控的灵活性,增强用户的游戏互动体验。另一方面,对游戏的操控区域进行了划分,可使得不同的游戏参与客户端具有独立的本地可操作区域,能够避免多个游戏参与客户端同时对游戏进行控制时所造成的指令混乱问题,进而确保游戏能够平稳运行。In the above-mentioned game control process, on the one hand, the game control area is divided so that different game participating clients can respond to user operation instructions in their respective local control areas, thereby realizing multiple clients controlling the game. The simultaneous control of the game can improve the flexibility of game control to a certain extent and enhance the user's game interactive experience. On the other hand, the division of the game control area can make different game participating clients have independent local operable areas, which can avoid the command confusion caused by multiple game participating clients controlling the game at the same time, thereby ensuring the smooth operation of the game.
存储单元620可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)621和/或高速缓存存储单元622,还可以进一步包括只读存储单元(ROM)623。The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 621 and/or a cache memory unit 622 , and may further include a read-only memory unit (ROM) 623 .
存储单元620还可以包括具有一组(至少一个)程序模块625的程序/实用工具624,这样的程序模块625包括但不限于:操作***、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The storage unit 620 may also include a program/utility 624 having a set (at least one) of program modules 625, such program modules 625 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
总线630可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、***总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
电子设备600也可以与一个或多个外部设备700(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备600交互的设备通信,和/或与使得该电子设备600能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口650进行。并且,电子设备600还可以通过网络适配器660与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图6所示,网络适配器660通过总线630与电子设备600的其它模块通信。应当明白,尽管图6中未示出,可以结合电子设备600使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID(Redundant Arrays of Independent Disks,独立磁盘冗余阵列)***、磁带驱动器以及数据备份存储***等。The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and/or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input/output (I/O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) via a network adapter 660. As shown in FIG. 6 , the network adapter 660 communicates with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in FIG. 6 , other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本公开示例性实施方式的方法。Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the exemplary implementation of the present disclosure.
此外,上述附图仅是根据本公开示例性实施方式的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。 另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。In addition, the above drawings are only schematic illustrations of the processes included in the method according to the exemplary embodiment of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above drawings do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be executed synchronously or asynchronously in multiple modules, for example.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的示例性实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
所属技术领域的技术人员能够理解,本公开的各个方面可以实现为***、方法或程序产品。因此,本公开的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“***”。本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其他实施方式。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施方式仅被视为示例性的,本公开的真正范围和精神由权利要求指出。It will be appreciated by those skilled in the art that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or implementations combining hardware and software aspects, which may be collectively referred to herein as "circuit", "module" or "system". Those skilled in the art will readily think of other implementations of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and implementation are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限定。 It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

  1. 一种游戏控制处理方法,应用于云交互***,其中,所述云交互***包括云服务器、游戏控制客户端和游戏参与客户端,其中,所述云服务器运行游戏程序,所述方法包括:A game control processing method is applied to a cloud interaction system, wherein the cloud interaction system includes a cloud server, a game control client and a game participation client, wherein the cloud server runs a game program, and the method includes:
    通过所述游戏控制客户端的游戏交互界面获取所述游戏参与客户端对应的操控区域划分配置,其中,所述游戏控制客户端的游戏交互界面为所述游戏控制客户端接收所述云服务器发送的视频流数据所生成的画面;Obtaining the control area division configuration corresponding to the game participating client through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server;
    根据所述游戏参与客户端对应的操控区域划分配置,确定所述游戏参与客户端对应的操控区域本地配置,所述操控区域本地配置用于配置所述游戏参与客户端的本地可操控区域;Determine the local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client, and the local configuration of the control area is used to configure the local controllable area of the game participating client;
    通过所述游戏参与客户端的游戏交互界面接收触控操作,其中,所述游戏参与客户端的游戏交互界面为所述游戏参与客户端接收云服务器发送的视频流数据所生成的画面;Receiving a touch operation through a game interaction interface of the game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving video stream data sent by the cloud server;
    响应所述触控操作作用于所述游戏参与客户端的本地可操控区域,根据所述触控操作控制更新所述游戏参与客户端的游戏交互界面。In response to the touch operation acting on the local controllable area of the game participating client, the game interaction interface of the game participating client is updated according to the touch operation control.
  2. 根据权利要求1所述的方法,其中,所述操控区域划分配置包括:多个区域边界节点的坐标。The method according to claim 1, wherein the control area division configuration includes: coordinates of multiple area boundary nodes.
  3. 根据权利要求2所述的方法,其中,所述区域边界节点从区域划分操作对应的操控区域边界中提取,所述区域划分操作作用于所述游戏控制客户端的游戏交互界面。The method according to claim 2, wherein the area boundary node is extracted from the control area boundary corresponding to the area division operation, and the area division operation acts on the game interaction interface of the game control client.
  4. 根据权利要求1所述的方法,其中,所述根据所述游戏参与客户端对应的操控区域划分配置,确定所述游戏参与客户端对应的操控区域本地配置,包括:The method according to claim 1, wherein determining the local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client comprises:
    获取所述游戏参与客户端的分辨率以及所述游戏控制客户端的分辨率;Obtaining the resolution of the game participating client and the resolution of the game controlling client;
    基于所述游戏参与客户端的分辨率、所述游戏控制客户端的分辨率以及所述游戏参与客户端对应的操控区域划分配置,确定所述游戏参与客户端对应的操控区域本地配置。Based on the resolution of the game participating client, the resolution of the game controlling client and the control area division configuration corresponding to the game participating client, the local configuration of the control area corresponding to the game participating client is determined.
  5. 根据权利要求4所述的方法,其中,所述基于所述游戏参与客户端的分辨率、所述游戏控制客户端的分辨率以及所述游戏参与客户端对应的操控区域划分配置,确定所述游戏参与客户端对应的操控区域本地配置,包括:The method according to claim 4, wherein the determining the local configuration of the control area corresponding to the game participating client based on the resolution of the game participating client, the resolution of the game controlling client, and the control area division configuration corresponding to the game participating client comprises:
    确定所述游戏参与客户端的分辨率与所述游戏控制客户端的分辨率之间的宽度比值和高度比值;Determine a width ratio and a height ratio between a resolution of the game participating client and a resolution of the game controlling client;
    基于所述宽度比值和所述高度比值,将所述游戏参与客户端对应的操控区域划分配置 转换为操控区域本地配置。Based on the width ratio and the height ratio, the control area corresponding to the game participating client is divided and configured Convert to local configuration of the control area.
  6. 根据权利要求1所述的方法,其中,所述游戏参与客户端根据所述操控区域本地配置在所述游戏参与客户端的游戏交互界面中显示本地可操控区域。The method according to claim 1, wherein the game participating client displays the local controllable area in the game interaction interface of the game participating client according to the local configuration of the control area.
  7. 根据权利要求1所述方法,其中,所述方法包括:The method according to claim 1, wherein the method comprises:
    响应所述触控操作未作用于所述本地可操控区域,在所述游戏参与客户端的游戏交互界面中生成无效操作提示信息。In response to the touch operation not being applied to the local controllable area, an invalid operation prompt message is generated in the game interaction interface of the game participating client.
  8. 一种游戏控制处理装置,应用于云交互***,其中,所述云交互***包括云服务器、游戏控制客户端和游戏参与客户端,其中,所述云服务器运行游戏程序,所述装置包括:A game control processing device is applied to a cloud interactive system, wherein the cloud interactive system includes a cloud server, a game control client and a game participating client, wherein the cloud server runs a game program, and the device includes:
    划分配置获取模块,用于通过所述游戏控制客户端的游戏交互界面获取所述游戏参与客户端对应的操控区域划分配置,其中,所述游戏控制客户端的游戏交互界面为所述游戏控制客户端接收所述云服务器发送的视频流数据所生成的画面;A division configuration acquisition module, used to acquire the control area division configuration corresponding to the game participating client through the game interaction interface of the game control client, wherein the game interaction interface of the game control client is a screen generated by the game control client receiving the video stream data sent by the cloud server;
    本地配置确定模块,用于根据所述游戏参与客户端对应的操控区域划分配置,确定所述游戏参与客户端对应的操控区域本地配置,所述操控区域本地配置用于配置所述游戏参与客户端的本地可操控区域;A local configuration determination module, used to determine the local configuration of the control area corresponding to the game participating client according to the control area division configuration corresponding to the game participating client, and the local configuration of the control area is used to configure the local controllable area of the game participating client;
    触控操作接收模块,用于通过所述游戏参与客户端的游戏交互界面接收触控操作,其中,所述游戏参与客户端的游戏交互界面为所述游戏参与客户端接收云服务器发送的视频流数据所生成的画面;A touch operation receiving module, used to receive touch operations through a game interaction interface of the game participating client, wherein the game interaction interface of the game participating client is a screen generated by the game participating client receiving video stream data sent by the cloud server;
    触控操作响应模块,用于响应所述触控操作作用于所述游戏参与客户端的本地可操控区域,根据所述触控操作控制更新所述游戏参与客户端的游戏交互界面。A touch operation response module is used to respond to the touch operation acting on the local controllable area of the game participating client, and update the game interaction interface of the game participating client according to the touch operation control.
  9. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至7任一项所述的方法。A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 7.
  10. 一种电子设备,包括:An electronic device, comprising:
    处理器;以及Processor; and
    存储器,用于存储所述处理器的可执行指令;A memory, configured to store executable instructions of the processor;
    其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1至7任一项所述的方法。 The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.
PCT/CN2023/105042 2022-12-12 2023-06-30 Game control processing method and apparatus, storage medium, and electronic device WO2024124878A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211597260.2A CN115888074A (en) 2022-12-12 2022-12-12 Game control processing method, device, storage medium and electronic equipment
CN202211597260.2 2022-12-12

Publications (1)

Publication Number Publication Date
WO2024124878A1 true WO2024124878A1 (en) 2024-06-20

Family

ID=86491413

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/105042 WO2024124878A1 (en) 2022-12-12 2023-06-30 Game control processing method and apparatus, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN115888074A (en)
WO (1) WO2024124878A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115888074A (en) * 2022-12-12 2023-04-04 网易(杭州)网络有限公司 Game control processing method, device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112473133A (en) * 2020-12-16 2021-03-12 杭州雾联科技有限公司 Cloud game response method, system, equipment and readable storage medium
CN113908533A (en) * 2021-09-28 2022-01-11 西安万像电子科技有限公司 Cloud game interaction method and device, terminal and processor
CN114100120A (en) * 2021-12-02 2022-03-01 广州博冠信息科技有限公司 Control method and device of cloud game, storage medium and electronic equipment
CN115888074A (en) * 2022-12-12 2023-04-04 网易(杭州)网络有限公司 Game control processing method, device, storage medium and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112473133A (en) * 2020-12-16 2021-03-12 杭州雾联科技有限公司 Cloud game response method, system, equipment and readable storage medium
CN113908533A (en) * 2021-09-28 2022-01-11 西安万像电子科技有限公司 Cloud game interaction method and device, terminal and processor
CN114100120A (en) * 2021-12-02 2022-03-01 广州博冠信息科技有限公司 Control method and device of cloud game, storage medium and electronic equipment
CN115888074A (en) * 2022-12-12 2023-04-04 网易(杭州)网络有限公司 Game control processing method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN115888074A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
US11213743B2 (en) Method, system and electronic device for achieving remote control of computer game by game controller
US11878237B2 (en) Server and data processing method, apparatus, and system
WO2019114185A1 (en) App remote control method and related devices
WO2024124878A1 (en) Game control processing method and apparatus, storage medium, and electronic device
CN108055304B (en) Remote data synchronization method, device, server, equipment and storage medium
CN103403695A (en) Methods and systems for facilitating a remote desktop session utilizing a remote desktop client common interface
CA2920050C (en) Image display method and apparatus
US20220253492A1 (en) Method, an apparatus, an electronic device and a storage medium for multimedia information processing
WO2013167081A2 (en) Method and system for achieving multi-screen display
US11863835B2 (en) Interaction method and apparatus, and electronic device
WO2024099450A1 (en) Live-broadcast room page display method and apparatus, and electronic device and storage medium
JP7506171B2 (en) Method for controlling a cursor control unit, and an apparatus, electronic device, and computer program thereof
WO2023165370A1 (en) Information exchange method and apparatus, display device, and storage medium
WO2023134610A1 (en) Video display and interaction method and apparatus, electronic device, and storage medium
CN111338808A (en) Collaborative computing method and system
WO2023172195A2 (en) Line special effect processing method and apparatus, electronic device, storage medium, and product
CN110928509A (en) Display control method, display control device, storage medium, and communication terminal
WO2024061308A1 (en) Notification processing method, and terminal device, server side and computer storage medium
US20230370686A1 (en) Information display method and apparatus, and device and medium
WO2023104007A1 (en) Video special effect packet generation method and apparatus, device, and storage medium
WO2023134509A1 (en) Video stream pushing method and apparatus, and terminal device and storage medium
CN114422572B (en) Cloud mobile phone control method and device, electronic equipment and storage medium
CN109542218A (en) A kind of mobile terminal, man-machine interactive system and method
WO2022001423A1 (en) Interaction control method and apparatus, and terminal and storage medium
CN114840159A (en) Rendering and screen-loading method, device, equipment and medium