CN114070875B - Cloud program control method and device - Google Patents

Cloud program control method and device Download PDF

Info

Publication number
CN114070875B
CN114070875B CN202210049550.7A CN202210049550A CN114070875B CN 114070875 B CN114070875 B CN 114070875B CN 202210049550 A CN202210049550 A CN 202210049550A CN 114070875 B CN114070875 B CN 114070875B
Authority
CN
China
Prior art keywords
program
control instruction
control
interface
cloud server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210049550.7A
Other languages
Chinese (zh)
Other versions
CN114070875A (en
Inventor
杨昊然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Weiling Times Technology Co Ltd
Original Assignee
Beijing Weiling Times Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Weiling Times Technology Co Ltd filed Critical Beijing Weiling Times Technology Co Ltd
Priority to CN202210049550.7A priority Critical patent/CN114070875B/en
Publication of CN114070875A publication Critical patent/CN114070875A/en
Application granted granted Critical
Publication of CN114070875B publication Critical patent/CN114070875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • G06F9/548Object oriented; Remote method invocation [RMI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a cloud program control method, which comprises the following steps: setting a capture function in an operating system of a cloud server; the capture function captures an interface of the cloud server for receiving a user side control instruction according to the requirement of program operation in the cloud server; and receiving the control instruction through the interface, and inputting the control instruction into the running program to control the program. According to the method and the device, the control instruction is directly acquired through the capture function and is input into the program, the program can be controlled without virtual driving or driving, and unstable program operation caused by data extraction errors in the virtual driving of multiple processes is avoided. The application also provides a cloud program control device.

Description

Cloud program control method and device
Technical Field
The application provides a control technology, and particularly relates to a cloud program control method. The application also relates to a cloud program control method and device.
Background
At present, a cloud program taking a cloud game as an example can execute a computing task by only providing a control instruction to a user side without consuming computing resources of the user side, so that the performance configuration of the user side is greatly reduced, and the task execution efficiency is improved.
However, in the prior art, a plurality of programs share the data input of the controller of the virtual drive, which may cause data interpretation errors. And the data of the controller is sent to the remote program through the client to realize the input of the controller, and the remote program may need to be modified, so that the running of the cloud program is unstable.
Disclosure of Invention
In order to solve the problem that the operation of a cloud program is unstable in the prior art, the application provides a cloud program control method and a cloud program control device.
The application provides a cloud program control method, which comprises the following steps:
setting a capture function in an operating system of a cloud server;
the capture function captures an interface of the cloud server for receiving a user side control instruction according to the requirement of program operation in the cloud server;
and receiving the control instruction through the interface, and inputting the control instruction into the running program to control the program.
Optionally, the program includes: and (5) cloud games.
Optionally, the capture function executes an initial process when the program starts the east, and starts and intercepts a data call function in the system along with the program.
Optionally, the capture function establishes an exclusive data cache region according to the program, and is used for storing the control instruction sent by the user side.
Optionally, the control instruction is input by a user through a key or a touch screen at the user side.
The application also provides a high in clouds program control device, includes:
the device comprises a setting module, a capturing module and a processing module, wherein the setting module is used for setting a capturing function in an operating system of a cloud server;
the capturing module is used for capturing an interface of the cloud server for receiving a user side control instruction according to the requirement of program operation in the cloud server by the capturing function;
and the sending module is used for receiving the control instruction through the interface and inputting the control instruction into the running program to control the program.
Optionally, the program includes: and (5) cloud games.
Optionally, the capture function executes an initial process when the program starts the east, and starts and intercepts a data call function in the system along with the program.
Optionally, the capture function establishes an exclusive data cache region according to the program, and is used for storing the control instruction sent by the user side.
Optionally, the control instruction is input by a user through a key or a touch screen at the user side.
The application provides a cloud program control method, which comprises the following steps: setting a capture function in an operating system of a cloud server; the capture function captures an interface of the cloud server for receiving a user side control instruction according to the requirement of program operation in the cloud server; and receiving the control instruction through the interface, and inputting the control instruction into the running program to control the program. According to the method and the device, the control instruction is directly acquired through the capture function and is input into the program, the program can be controlled without virtual driving or driving, and unstable program operation caused by data extraction errors in the virtual driving of multiple processes is avoided.
Drawings
Fig. 1 is a flowchart illustrating control of a cloud program according to the present application.
Fig. 2 is in this application.
Fig. 3 is a schematic diagram of a cloud program control device according to the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The application provides a cloud program control method, which comprises the following steps: setting a capture function in an operating system of a cloud server; the capture function captures an interface of the cloud server for receiving a user side control instruction according to the requirement of program operation in the cloud server; and receiving the control instruction through the interface, and inputting the control instruction into the running program to control the program. According to the method and the device, the control instruction is directly acquired through the capture function and is input into the program, the program can be controlled without virtual driving or driving, and unstable program operation caused by data extraction errors in the virtual driving of multiple processes is avoided.
Fig. 1 is a flowchart illustrating control of a cloud program according to the present application.
Referring to fig. 1, S101 sets a capture function in an operating system of a cloud server.
The cloud server (ECS) is a computing service which is simple, efficient, safe, reliable and flexible in processing capacity. The management mode is simpler and more efficient than that of a physical server. A user can rapidly create or release any plurality of cloud servers without purchasing hardware in advance. The cloud server is provided with application programs available to the user, and runs in the cloud server, such as a cloud game.
When a user accesses the application program through a network at a user side, the application program is started in a cloud server and is in data communication with the user side through transmission modes such as the internet, a local area network and the like.
And a capture function (hook) is arranged in the cloud server, and the capture function can intercept a data call function in the cloud server system and acquire data called by the data call function.
The user side comprises a controller, and the controller receives an operation instruction of a user, converts the operation instruction into a control instruction of the application program and sends the control instruction of the application program to the application program in the cloud server to realize the control of the application program.
Referring to fig. 1, in step S102, the capture function captures an interface of the cloud server receiving a user-side control instruction according to a requirement of program operation in the cloud server.
When the application program in the cloud server is started, the capture function is initialized, and a data call function of the cloud service system is intercepted. Specifically, the program running in the cloud server corresponds to the user side, the user obtains an operation instruction of the user through the user side controller, and the operation instruction can be obtained through a key or a touch screen.
Fig. 2 is a schematic diagram of a control command input principle in the present application.
Referring to fig. 2, the present application provides another embodiment that the operation instruction can be obtained according to a change of a biometric characteristic of a user. Specifically, the user side has a biometric identification module, and the biometric identification module at least includes one of the following identification modules: an eyeball recognition module 201, an expression recognition module 202, a motion recognition module 203, a brain-computer module 204 and a voice recognition module 205.
The eyeball identification module 201 can identify eyeball actions, including: and the time length of eyeball movement and eye closing and opening is set, and the control instruction of the application program is set according to the time length of the eyeball movement and the eye closing and opening.
The expression recognition module 202 may recognize the muscle change of the face of the user, and set the control instruction of the application program according to the muscle change.
The motion recognition module 203 may recognize a body motion of the user, for example, a gesture motion, and then set a control instruction of the application program according to the body motion.
The brain-computer module 204 may recognize brain waves of a user, determine an operation expectation of the user according to the brain waves, and set a control instruction of the application program corresponding to the operation expectation.
The voice recognition module 205 can recognize the voice of the user and set the corresponding control command of the application program according to different voices generated by the user.
The control instructions are collected by the user side, and then sent to the cloud server 206 in sequence, and then captured by the capture function.
Referring to fig. 1, in S103, the control instruction is received through the interface and is input into the running program to control the program.
And associating the corresponding application program according to the interface of the control instruction, specifically, setting a data interface according to the capture function, and directly associating the set interface with equipment for running the program, so that the control instruction can be forcibly sent to the application program. Preferably, the interface is provided, and the interface indicates a data transmission address of the interface.
In the application, a capture function is set in the cloud server, a data call function is intercepted, the control instruction is sent to the cloud server, and then the data call function does not call the control instruction any more, namely, the control instruction cannot enter a virtual drive, but directly obtains the call instruction through the capture function through a set interface and sends the call instruction to an application program for program control, so that data call errors possibly sent by multi-process call data are effectively avoided.
Preferably, the capture function establishes an exclusive data cache region according to the program, and is used for storing the control instruction sent by the user side, when the user inputs a plurality of control instructions, the control instructions are arranged into a cache queue according to a time sequence to be cached in the data cache region, and then the control instructions are sent to the program according to the running of the program.
The application also provides a high in clouds program control device, includes: a setting module 301, a capturing module 302 and a sending module 303.
Fig. 3 is a schematic diagram of a cloud program control device according to the present application.
Referring to fig. 3, a setting module 301 is configured to set a capture function in an operating system of a cloud server.
The cloud server (ECS) is a computing service which is simple, efficient, safe, reliable and flexible in processing capacity. The management mode is simpler and more efficient than that of a physical server. A user can rapidly create or release any plurality of cloud servers without purchasing hardware in advance. The cloud server is provided with application programs available to the user, and runs in the cloud server, such as a cloud game.
When a user accesses the application program through a network at a user side, the application program is started in a cloud server and is in data communication with the user side through transmission modes such as the internet, a local area network and the like.
And a capture function (hook) is arranged in the cloud server, and the capture function can intercept a data call function in the cloud server system and acquire data called by the data call function.
The user side comprises a controller, and the controller receives an operation instruction of a user, converts the operation instruction into a control instruction of the application program and sends the control instruction of the application program to the application program in the cloud server to realize the control of the application program.
Referring to fig. 3, a capture module 302 is configured to capture, by the capture function, an interface at which the cloud server receives a user-side control instruction according to a requirement for program operation in the cloud server.
When the application program in the cloud server is started, the capture function is initialized, and a data call function of the cloud service system is intercepted. Specifically, the program running in the cloud server corresponds to the user side, the user obtains an operation instruction of the user through the user side controller, and the operation instruction can be obtained through a key or a touch screen.
Referring to fig. 2, the present application provides another embodiment that the operation instruction can be obtained according to a change of a biometric characteristic of a user. Specifically, the user side has a biometric identification module, and the biometric identification module at least includes one of the following identification modules: an eyeball recognition module 201, an expression recognition module 202, a motion recognition module 203, a brain-computer module 204 and a voice recognition module 205.
The eyeball identification module 201 can identify eyeball actions, including: and the time length of eyeball movement and eye closing and opening is set, and the control instruction of the application program is set according to the time length of the eyeball movement and the eye closing and opening.
The expression recognition module 202 may recognize the muscle change of the face of the user, and set the control instruction of the application program according to the muscle change.
The motion recognition module 203 may recognize a body motion of the user, for example, a gesture motion, and then set a control instruction of the application program according to the body motion.
The brain-computer module 204 may recognize brain waves of a user, determine an operation expectation of the user according to the brain waves, and set a control instruction of the application program corresponding to the operation expectation.
The voice recognition module 205 can recognize the voice of the user and set the corresponding control command of the application program according to different voices generated by the user.
The control instructions are collected by the user side, and then sent to the cloud server 206 in sequence, and then captured by the capture function.
Referring to fig. 3, the sending module 303 is configured to receive the control instruction through the interface and input the control instruction into the running program to control the program.
And associating the corresponding application program according to the interface of the control instruction, specifically, setting a data interface according to the capture function, and directly associating the set interface with equipment for running the program, so that the control instruction can be forcibly sent to the application program. Preferably, the interface is provided, and the interface indicates a data transmission address of the interface.
In the application, a capture function is set in the cloud server, a data call function is intercepted, the control instruction is sent to the cloud server, and then the data call function does not call the control instruction any more, namely, the control instruction cannot enter a virtual drive, but directly obtains the call instruction through the capture function through a set interface and sends the call instruction to an application program for program control, so that data call errors possibly sent by multi-process call data are effectively avoided.
Preferably, the capture function establishes an exclusive data cache region according to the program, and is used for storing the control instruction sent by the user side, when the user inputs a plurality of control instructions, the control instructions are arranged into a cache queue according to a time sequence to be cached in the data cache region, and then the control instructions are sent to the program according to the running of the program.

Claims (6)

1. A cloud program control method is characterized by comprising the following steps:
setting a capture function in an operating system of a cloud server, wherein the capture function executes an initialization process when an application program in the cloud server is started, and intercepts a data call function in the cloud server system;
the capture function captures an interface of the cloud server for receiving a user-side control instruction according to the program operation requirement in the cloud server, sets the interface according to the capture function, and directly associates the set interface with equipment for operating a program, so that the control instruction can be forcibly sent to an application program, and the interface is set to indicate a data transmission address of the interface; the user side is provided with a controller, the controller converts the user side operation instruction into a control instruction of an application program, and the capture function captures the control instruction;
the control instruction is received through the interface, and after the control instruction is sent to the cloud server, the data calling function does not call the control instruction any more, but directly obtains and calls the control instruction through the capture function through the interface and sends the control instruction to an application program for program control, so that errors in multi-process data extraction are avoided; the capture function establishes an exclusive data cache region according to a program and is used for storing control instructions sent by the user side, when a user inputs a plurality of control instructions, the control instructions are arranged into a cache queue according to a time sequence and cached in the data cache region, and then the control instructions are sent to the program according to the running of the program.
2. The cloud program control method according to claim 1, wherein the program includes: and (5) cloud games.
3. The cloud program control method according to claim 1, wherein the control instruction is input by a user through a key or a touch screen.
4. A cloud program control device, comprising:
the system comprises a setting module, a data processing module and a data processing module, wherein the setting module is used for setting a capture function in an operating system of a cloud server, the capture function executes an initialization process when an application program in the cloud server is started, and intercepts a data calling function in the cloud server system;
the acquisition module is used for acquiring an interface of the cloud server for receiving a user-side control instruction according to the program operation requirement in the cloud server by the acquisition function, setting the interface according to the acquisition function, and directly associating the set interface with equipment for operating the program, so that the control instruction can be forcibly sent to an application program, and the interface is set to indicate a data transmission address of the interface; the user side is provided with a controller, the controller converts the user side operation instruction into a control instruction of an application program, and the capture function captures the control instruction;
the sending module is used for receiving the control instruction through the interface, sending the control instruction to the cloud server, and then obtaining and calling the control instruction by the capture function through the interface directly instead of calling the control instruction by the data calling function, and sending the control instruction to an application program for program control, so that a multi-process data extraction error is avoided; the capture function establishes an exclusive data cache region according to a program and is used for storing control instructions sent by the user side, when a user inputs a plurality of control instructions, the control instructions are arranged into a cache queue according to a time sequence and cached in the data cache region, and then the control instructions are sent to the program according to the running of the program.
5. The cloud program control device of claim 4, wherein the program comprises: and (5) cloud games.
6. The cloud program control device according to claim 4, wherein the control instruction is input by a user through a button or a touch screen.
CN202210049550.7A 2022-01-17 2022-01-17 Cloud program control method and device Active CN114070875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210049550.7A CN114070875B (en) 2022-01-17 2022-01-17 Cloud program control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210049550.7A CN114070875B (en) 2022-01-17 2022-01-17 Cloud program control method and device

Publications (2)

Publication Number Publication Date
CN114070875A CN114070875A (en) 2022-02-18
CN114070875B true CN114070875B (en) 2022-04-22

Family

ID=80231125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210049550.7A Active CN114070875B (en) 2022-01-17 2022-01-17 Cloud program control method and device

Country Status (1)

Country Link
CN (1) CN114070875B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111562994A (en) * 2020-04-29 2020-08-21 北京达佳互联信息技术有限公司 Application program interface forwarding method and device, electronic equipment and storage medium
CN113079216A (en) * 2021-04-08 2021-07-06 深圳市腾讯网络信息技术有限公司 Cloud application implementation method and device, electronic equipment and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101312268B1 (en) * 2010-12-24 2013-09-25 주식회사 케이티 Method, cloud computing server, and cloud computing system for providing game service in cloud computing environment
WO2014055108A1 (en) * 2012-10-03 2014-04-10 Google Inc. Cloud-based gameplay video rendering and encoding
CN106027489B (en) * 2016-04-28 2019-05-31 腾讯科技(深圳)有限公司 The method, apparatus and system of internet connection
CN112169322B (en) * 2019-07-04 2022-03-25 广州虎牙科技有限公司 Remote rendering method and device, electronic equipment and readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111562994A (en) * 2020-04-29 2020-08-21 北京达佳互联信息技术有限公司 Application program interface forwarding method and device, electronic equipment and storage medium
CN113079216A (en) * 2021-04-08 2021-07-06 深圳市腾讯网络信息技术有限公司 Cloud application implementation method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN114070875A (en) 2022-02-18

Similar Documents

Publication Publication Date Title
US10824449B2 (en) Application running method and device
CN104021069B (en) The management method and system of the software performance test based on distributed virtual machine system
CN108256118B (en) Data processing method, device, system, computing equipment and storage medium
CN104077521B (en) Information processing method and device
US20180219807A1 (en) Systems and methods for providing an automated technical support assistant
WO2017166713A1 (en) Service request processing method and device
CN112153343B (en) Elevator safety monitoring method and device, monitoring camera and storage medium
JP2021034003A (en) Human object recognition method, apparatus, electronic device, storage medium, and program
US10067862B2 (en) Tracking asynchronous entry points for an application
TW201627920A (en) Method and apparatus for processing handwriting data
US20150236942A1 (en) Remotely Controlling Devices and Proscessing Asynchronous Events for Testing
WO2021073054A1 (en) Data processing method, apparatus and device, and storage medium
CN114070875B (en) Cloud program control method and device
WO2024061308A1 (en) Notification processing method, and terminal device, server side and computer storage medium
EP3561761A1 (en) Image analysis method and device
CN111143017B (en) Cloud operation system interaction processing method, client and cloud operation system
US20040049535A1 (en) System and method for a distributed shell in a Java environment
CN104065913A (en) Instant messaging client
CN113961064B (en) Device interaction control method, device, equipment and storage medium based on workstation
CN112507798B (en) Living body detection method, electronic device and storage medium
CN113868097A (en) Cloud security monitoring task scheduling method and system, computer and readable storage medium
CN107948316B (en) File synchronization method, device and equipment
CN112214103A (en) Method for connecting wireless control equipment with computer and related device
CN111638652A (en) Device control method, system, device and readable storage medium
CN110943895A (en) Network shutdown and Linux system-based network data processing method and device

Legal Events

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