Summary of the invention
How the technical problem to be solved by the present invention is in time, effectively control to the program of script operation.
For this purpose, the invention proposes a kind of local program control methods, comprising:
Program is run by script, wherein the script instructs operation according to predetermined registration operation for controlling described program;
When described program triggers the first pending operation, and first pending operation and the predetermined registration operation instruct
In unmatched situation, the information of first pending operation is transmitted to target terminal;
Receive first executing instruction from the target terminal, according to described first execute instruction processing described first to
Execute operation.
Preferably, the step includes: to the information that target terminal transmits first pending operation
When described program triggers the first pending operation, the operation interface of described program is intercepted to generate picture, by institute
Picture transfer is stated to the target terminal,
Wherein, the operation interface includes the information of first pending operation.
Preferably, the picture transfer to the target terminal is included: by the step
Compress the picture;
By compressed picture transfer to the target terminal.
Preferably, the step includes: to the information that the target terminal transmits first pending operation
To the information of the first pending operation described in server transport and the information of the target terminal, so that the clothes
The information of first pending operation is transmitted to the target terminal by business device,
What the step received from the target terminal first executes instruction and includes:
First from the target terminal for receiving the server sender executes instruction.
Preferably, it is executed instruction in first from the target terminal that the step receives the server sender
Include: later
Obtain the information for the source terminal that described first executes instruction;
Judge whether the information of the source terminal is consistent with the information of the target terminal, if being consistent, according to
First executes instruction processing first pending operation.
Preferably, above-mentioned local program control method further include:
Described first is executed instruction and is stored with the information association of first pending operation;
When described program triggers the first pending operation again, inquiry whether there is and the first pending operation phase
Associated first executes instruction, and if it exists, executing instruction processing described program according to described first, to trigger first again pending
Operation.
The invention also provides a kind of teleprogram control methods, comprising:
Receive the information of the first pending operation from subscriber's main station;
Show the information of first pending operation;
It identifies the operation to the information of first pending operation, is executed instruction with generating first;
Described first is executed instruction and is transmitted to the subscriber's main station.
Preferably, the carrier of the information of first pending operation is picture, then pending to described first in identification
Before the operation of the information of operation, further includes:
The picture is parsed, to obtain the information of the first pending operation.
Preferably, the information of first pending operation of the step reception from subscriber's main station includes:
The information for the first pending operation from the subscriber's main station that server is sent is received,
The step is executed instruction described first to be transmitted to the subscriber's main station and includes:
It is executed instruction and the information of the subscriber's main station to described in the server transport first, so that the server
Described first is executed instruction according to the information of the subscriber's main station and is transmitted to the subscriber's main station.
Preferably, before the information for showing first pending operation, the method also includes:
Obtain the information for carrying out source host of the information of first pending operation;
Judge it is described come source host information whether be consistent with the information of the subscriber's main station, if being consistent, display described in
The information of first pending operation.
Preferably, above-mentioned teleprogram control method further include:
Described first is executed instruction and is stored with the information association of first pending operation;
When receiving the information of the first pending operation again, inquiry whether there is and the first pending operation phase
Associated first executes instruction, and if it exists, then executes instruction described first and is transmitted to the subscriber's main station.
The invention also provides a kind of local program control devices, comprising:
Program running unit runs program by script, wherein the script is for controlling described program according to default behaviour
Make instruction operation;
First transmission unit, when described program triggers the first pending operation, and first pending operation and institute
It states predetermined registration operation to instruct in unmatched situation, the information of first pending operation is transmitted to target terminal;
First receiving unit receives first from the target terminal and executes instruction, wherein described program running unit
It is also used to execute instruction processing first pending operation according to described first.
Preferably, first transmission unit includes:
Subelement is intercepted, when described program triggers the first pending operation, intercepts the operation interface of described program with life
At picture, wherein the operation interface includes the information of first pending operation;
Transmission subelement is used for the picture transfer to the target terminal.
Preferably, first transmission unit further include:
Subelement is compressed, for compressing the picture,
Wherein, the transmission subelement is used for compressed picture transfer to the target terminal.
Preferably, first transmission unit is used for the information of the first pending operation described in server transport and institute
The information of target terminal is stated, so that the information of first pending operation is transmitted to the target terminal by the server,
First from the target terminal that first receiving unit is used to receive the server sender executes
Instruction.
Preferably, above-mentioned local program control device further include:
First acquisition unit, for obtaining the information for the source terminal that described first executes instruction;
First judging unit, judges whether the information of the source terminal is consistent with the information of the target terminal,
Wherein, described program running unit is when the information of the source terminal is consistent with the information of the target terminal,
Processing first pending operation is executed instruction according to described first.
Preferably, above-mentioned local program control device further include:
First associated storage unit, for executing instruction the information association with first pending operation by described first
Storage;
First query unit, when described program triggers the first pending operation again, inquiry is with the presence or absence of with described the
One pending operation associated first executes instruction,
Wherein, described program running unit is executed instruction in the presence of associated with first pending operation first
When, processing described program, which is executed instruction, according to described first triggers the first pending operation again.
The invention also provides a kind of teleprogram control devices, comprising:
Second receiving unit, for receiving the information of the first pending operation from subscriber's main station;
Display unit, for showing the information of first pending operation;
Recognition unit is executed instruction for identification to the operation of the information of first pending operation with generating first;
Second transmission unit is transmitted to the subscriber's main station for executing instruction described first.
Preferably, above-mentioned teleprogram control device further include:
Resolution unit parses the picture when the carrier of the information of first pending operation is picture, to obtain
The information of first pending operation.
Preferably, second receiving unit is used to receive first from the subscriber's main station of server transmission wait hold
The information of row operation,
Second transmission unit is used to execute instruction to described in the server transport first and the subscriber's main station
Information so that the server, which executes instruction to be transmitted to described first according to the information of the subscriber's main station, described uses householder
Machine.
Preferably, above-mentioned teleprogram control device further include:
Second acquisition unit, the information for carrying out source host of the information for obtaining first pending operation;
Second judgment unit, for judge it is described come source host information whether be consistent with the information of the subscriber's main station,
Wherein, when carrying out the information of source host described in the display unit and being consistent with the information of the subscriber's main station, institute is shown
State the information of the first pending operation.
Preferably, above-mentioned teleprogram control device further include:
Second associated storage unit is executed instruction described first and is deposited with the information association of first pending operation
Storage;
Second query unit, when second receiving unit receives the information of the first pending operation again, inquiry
It is executed instruction with the presence or absence of associated with first pending operation first,
Wherein, second transmission unit is executed instruction in the presence of associated with first pending operation first
When, described first is executed instruction and is transmitted to the subscriber's main station.
The invention also provides a kind of program control systems, including above-mentioned local program control device and above-mentioned long-range journey
Sequence control device.
According to the above technical scheme, following technical effect at least may be implemented:
1, when the first pending operation of applications trigger, if the predetermined registration operation instruction in the first pending operation and script is not
Matching, then the information of the first pending operation can be transmitted, to target terminal so that the user of target terminal learns use in time
The first pending operation of applications trigger in householder's machine, and then timely feedback first and execute instruction and application is controlled, with
The interests of user are avoided to suffer a loss;
2, the information of the first pending operation can be presented to the user by picture, it is intuitive and accurately convenient for user
Solution is executed instruction to the content in the first pending operation to feed back appropriate first;
3, it can be executed instruction by the information of the first pending operation of transit server and first, so that first is pending
The information of operation can smoothly be transmitted to target terminal, and first to execute instruction can be smoothly transmitted to PC.
Can also information to the first pending operation from server and first execute instruction and verify, to avoid the benefit of user
Benefit suffers a loss.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention
Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be
Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange
Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also
Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art
The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here
To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication
The equipment of number receiver, only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and emitting hardware
Equipment, have on bidirectional communication link, can execute two-way communication reception and emit hardware equipment.This equipment
It may include: honeycomb or other communication equipments, shown with single line display or multi-line display or without multi-line
The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), can
With combine voice, data processing, fax and/or communication ability;PDA (Personal Digital Assistant, it is personal
Digital assistants), it may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day
It goes through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm
Type computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its
His equipment." terminal " used herein above, " terminal device " can be it is portable, can transport, be mounted on the vehicles (aviation,
Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth
And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on
Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet
Equipment) and/or mobile phone with music/video playing function, it is also possible to the equipment such as smart television, set-top box.
Those skilled in the art of the present technique are appreciated that server used herein above, cloud, remote network devices etc. are general
It reads, there is effects equivalent comprising but it is not limited to computer, network host, single network server, multiple network server collection
Or the cloud that multiple servers are constituted.Here, cloud is by a large amount of computers or network clothes based on cloud computing (Cloud Computing)
Business device is constituted, wherein cloud computing is one kind of distributed computing, and one consisting of a loosely coupled set of computers super
Virtual machine.It, can be by any logical between remote network devices, terminal device and WNS server in the embodiment of the present invention
Letter mode realizes communication, including but not limited to, mobile communication based on 3GPP, LTE, WIMAX, based on TCP/IP, udp protocol
Computer network communication and low coverage wireless transmission method based on bluetooth, Infrared Transmission standard.
It will be appreciated by those skilled in the art that so-called " application ", " application program ", " application software " and class of the invention
It is same concept well known to those skilled in the art like the concept of statement, refers to and instructed by series of computation machine and related data
The computer software for being suitable for electronics operation of the organic construction of resource.Unless specified, this name itself is not by programming language
Type, rank, the operating system of operation of also not rely by it or platform are limited.In the nature of things, this genus also not by appoint
The terminal of what form is limited.
Fig. 1 shows the schematic flow diagram of local program control method according to an embodiment of the invention, such as Fig. 1 institute
Show, which includes:
S1 runs program by script, wherein the script instructs fortune according to predetermined registration operation for controlling described program
Row;
S2, when described program triggers the first pending operation, and first pending operation and the predetermined registration operation
It instructs in unmatched situation, the information of first pending operation is transmitted to target terminal;
S3 receives first executing instruction from the target terminal, executes instruction processing described the according to described first
One pending operation.
Local program control method in the present embodiment can be applied to subscriber's main station, PC, server etc., target
Terminal can be mobile phone, tablet computer etc..Mainly it is applied to PC in this method below, and target terminal is the feelings of mobile phone
It is illustrated under condition.
Such as user plays game by PC, before PC can not be constantly in due to user, so can not protect
The control to game is held, therefore user can pass through script running game when itself is not on before PC.Example
If the predetermined registration operation instruction for including in script has acquisition article and sells article, adopted then the personage in game will recycle execution
Collection article sells two steps of article.
But in the process, if the personage in game has received the closing information of certain map, due to for ground
The operational order of figure closing information is not lain in predetermined registration operation instruction simultaneously, then the personage in game still can go this that will close
The map acquisition article closed, if this map is closed in the process, then the personage in game will be automatically offline, thus can not
Finger continues to execute default behaviour's instruction.Again for example when the personage in game receives the lottery information of system prompt, due to being directed to
The operational order of lottery information is not lain in predetermined registration operation instruction simultaneously, so lottery operation is not carried out in the personage in game, that
It will lead to the chance that user loses prize drawing.
It, can be by the first pending operation and default behaviour when game triggers the first pending operation according to the present embodiment
Make instructions match, if the two and mismatching, it is possible to determine that script can not handle the first pending operation, then can be to user's
Mobile phone transmits the information of the first pending operation, so that user learns that game triggers the first pending operation in time.And then it uses
Family can execute instruction in mobile phone for the first pending operation input first, and first is executed instruction and is transmitted to personal electricity
Brain allows PC to execute instruction the first pending operation of processing according to first, to avoid script that from can not handling the
One pending operation and lead to problems such as game publish or chance of loss.
Such as the predetermined registration operation instruction in script including has acquisition article and sells article, and the personage in game receives
The lottery information of system prompt is instructed, it is possible to determine that foot by matching the lottery information for receiving system prompt and predetermined registration operation
Originally it can not handle and execute corresponding operating for the lottery information for receiving system prompt, therefore can will receive system prompt
The information of lottery information this operation is transmitted to the mobile phone of user.User can input according to the draw times in information pre-
If the moment executes the instruction of lottery operation, and the instruction is transmitted to PC, so that PC can refer to this
Write-in script is enabled, executes lottery operation in predetermined time by the personage in Script controlling game, or by PC default
Personage in time trigger game executes lottery operation and enables game in user so that user be avoided to lose lottery drawing machine meeting
It is run well in the case where trustship according to user intention.
It should be noted that in the present embodiment in script predetermined registration operation instruction can there are many.Such as program is game,
Predetermined registration operation instruction so in script, which can be, executes predetermined registration operation in predetermined time, executes in (in game) preset coordinate pre-
If operation, multistep predetermined registration operation etc. is executed according to preset order.Such as program is communications applications, then the predetermined registration operation in script
Instruction, which can be, feeds back presupposed information when receiving information, sends presupposed information etc. in predetermined time.
Fig. 2 shows the schematic flow diagrams of local program control method in accordance with another embodiment of the present invention, such as Fig. 2 institute
Show, on the basis of embodiment shown in Fig. 1, the step transmits the packet of first pending operation to target terminal
It includes:
S21 intercepts the operation interface of described program when described program triggers the first pending operation to generate picture,
By the picture transfer to the target terminal,
Wherein, the operation interface includes the information of first pending operation.
Since program is varied, and the type of the first pending operation is even more various in program, passes through code or text
It is difficult to the first pending operation of accurate description, and for a user, code and text are all difficult there may be understanding.
According to this embodiment, it can intercept the operation interface of program when program triggers the first pending operation to generate
Picture, such as when receiving the lottery information of system prompt in gaming, can be by interception by the boundary of the system prompt content
Face generates the mobile phone that picture is sent to user.The first pending operation can intuitively and be accurately recognized by picture user
In content, such as prize drawing at the time of, type of prize etc. executes instruction so that user can feed back appropriate first.
Fig. 3 shows the schematic flow diagram of the local program control method of another embodiment according to the present invention, such as Fig. 3 institute
Show, on the basis of embodiment shown in Fig. 2, the picture transfer to the target terminal is included: by the step
S211 compresses the picture;
S212, by compressed picture transfer to the target terminal.
Since the resolution ratio of PC is higher, in the picture that the operation interface of interception program generates, if kept
The resolution ratio of PC, then the resolution ratio of picture is also higher, this results in picture occupied space larger.If directly by it
It is sent to user mobile phone, then on the one hand occupying the more bandwidth of PC, it is more on the other hand to consume user mobile phone
Flow.
According to the present embodiment, then the picture that can be first generated in the operation interface of one side compression of PC interception program,
Then by compressed picture transfer to mobile phone, since compressed picture occupies little space than the picture before compression,
In transmission process, the consumption to the occupancy of PC bandwidth and to user mobile phone flow can be reduced.
It should be noted that the compressed picture in the present embodiment, can refer to that by picture compression be compressed package, such as compress
For .rar or .zip format, can also be to the picture of high resolution scheme to be changed to the picture for switching to low-resolution format, such as press
The format for the picture that the operation interface of contracting interception program generates is .GIF, and the format of picture can be .JGP after compression.
Fig. 4 shows the schematic flow diagram of the local program control method of another embodiment according to the present invention, such as Fig. 4 institute
Show, on the basis of embodiment shown in Fig. 1, the step transmits the information of first pending operation to the target terminal
Include:
S22, to the information of the first pending operation described in server transport and the information of the target terminal, so that institute
It states server and the information of first pending operation is transmitted to the target terminal,
What the step received from the target terminal first executes instruction and includes:
S31, first from the target terminal for receiving the server sender execute instruction.
Since PC does not have the dialcom function of similar mobile phone generally, generally also answered without automatically turning on communication
Permission, therefore PC is generally difficult to directly be communicated with mobile phone.But since game running is in PC, and
Game client and game server, which exist, to be communicated to connect, therefore can control game by PC, passes through game client
The information of first pending operation is transmitted to game server by end, and the hand of user is further transmitted to by game server
Machine.Further, the mobile phone of user can also execute instruction first and be transmitted to the game server, and be passed by game server
The game client in PC is transported to, is parsed by game client or PC.
According to this embodiment, it can the information of the first pending operation is first transmitted to server, such as program is corresponding
Server, and the information of the first pending operation is further transmitted to target terminal by the server, and receive and come from institute
State target terminal first executes instruction, so that the information of the first pending operation can smoothly be transmitted to target terminal,
And first to execute instruction can be smoothly transmitted to PC.
Fig. 5 shows the schematic flow diagram of the local program control method of another embodiment according to the present invention, such as Fig. 5 institute
Show, on the basis of the embodiment shown in fig. 4, the step receive the server sender from the target terminal
First execute instruction after include:
S4 obtains the information for the source terminal that described first executes instruction;
S5, judges whether the information of the source terminal is consistent with the information of the target terminal, if being consistent, according to institute
It states first and executes instruction processing first pending operation.
Be sent to PC there may be risk due to executing instruction from server by first, cause the interests of user by
Damage.Such as criminal can be passed by the mark or network ip address of acquisition PC from server to PC
Defeated first executes instruction, and shifts ideal money or equipment to control the personage in game, cause user in gaming by wealth
Produce loss.
According to the present embodiment, be first from server execute instruction after, available first executes instruction source
The information of terminal, if the information of source terminal is not consistent with the information of target terminal, determine this first execute instruction in the presence of danger
Danger, not executes.Only in the case where the information of source terminal is consistent with the information of target terminal, the received is just executed
One executes instruction, to guarantee execute first, to execute instruction be from target terminal.
Fig. 6 shows the schematic flow diagram of the local program control method of another embodiment according to the present invention, such as Fig. 6 institute
Show, on the basis of embodiment shown in Fig. 1, above-mentioned local program control method further include:
S6 is executed instruction described first and is stored with the information association of first pending operation;
S7, when described program triggers the first pending operation again, inquiry whether there is and the described first pending behaviour
Make associated first to execute instruction, and if it exists, according to described first execute instruction processing described program trigger again first to
Execute operation.
According to the present embodiment, receive for the first time first execute instruction after, first can be executed instruction with first wait hold
Row operation associated storage, thus in program (later for the first time any time) first pending operation of triggering again, it can be direct
It transfers first and executes instruction the first pending operation of processing, avoid being communicated with server or target terminal again, to subtract
Few power consumption simultaneously improves efficiency.
Fig. 7 shows the schematic flow diagram of teleprogram control method according to an embodiment of the invention, such as Fig. 7 institute
Show, which includes:
P1 receives the information of the first pending operation from subscriber's main station;
P2 shows the information of first pending operation;
P3 identifies the operation to the information of first pending operation, is executed instruction with generating first;
P4 is executed instruction described first and is transmitted to the subscriber's main station.
Embodiment shown in Fig. 7 is corresponding with embodiment illustrated in fig. 1, and teleprogram control method shown in Fig. 7 can answer
For the target terminal in embodiment illustrated in fig. 1.
Such as target terminal is mobile phone, subscriber's main station is PC.PC runs program by script, when the journey
When sequence triggers the first pending operation, and the predetermined registration operation in first pending operation and script is instructed and is mismatched, then a
The information of first pending operation can be transmitted to the mobile phone of user by people's computer, which can show the first pending behaviour
The information of work, and identify that user for the operation of the information input of the first pending operation, executes instruction, into one to generate first
This first can be executed instruction and be transmitted to PC by step, executed instruction by PC according to first and continued to control program fortune
Row.
Similarly with embodiment illustrated in fig. 1, according to the present embodiment, such as when above procedure is game, when game triggering the
When one pending operation, script can be determined by the first pending operation and predetermined registration operation instructions match, if the two and mismatching
The first pending operation can not be handled, then the information of the first pending operation can be transmitted, to the mobile phone of user so as to user
Learn that game triggers the first pending operation in time.And then user can input for the first pending operation in mobile phone
One executes instruction, and first is executed instruction and is transmitted to PC, and PC is allowed to execute instruction place according to first
The first pending operation is managed, to avoid script that from can not handling the first pending operation and game is caused to be published or chance of loss etc.
Problem.
Fig. 8 shows the schematic flow diagram of teleprogram control method in accordance with another embodiment of the present invention, such as Fig. 8 institute
Show, on the basis of the embodiment shown in fig. 7, the carrier of the information of first pending operation is picture, then in identification to institute
Before the operation for stating the information of the first pending operation, further includes:
P5 parses the picture, to obtain the information of the first pending operation.
In the case where the carrier of the information of the first pending operation is picture, due to the screen ruler of PC and mobile phone
Very little difference, in the information, such as character, icon etc. that user computer can be told by user, be likely difficult in mobile phone by with
It differentiates at family.
According to this embodiment, it can parse the picture of the carrier of the information as the first pending operation, to obtain the
The information of one pending operation is differentiated in order to provide user is given convenient for user.
Fig. 9 shows the schematic flow diagram of teleprogram control method in accordance with another embodiment of the present invention, such as Fig. 9 institute
Show, on the basis of the embodiment shown in fig. 7, the step receives the packet of the first pending operation from subscriber's main station
It includes:
P11 receives the information for the first pending operation from the subscriber's main station that server is sent,
The step is executed instruction described first to be transmitted to the subscriber's main station and includes:
First executes instruction and the information of the subscriber's main station described in P41, Xiang Suoshu server transport, so that the clothes
Business device, which is executed instruction according to the information of the subscriber's main station by described first, is transmitted to the subscriber's main station.
Similarly with embodiment illustrated in fig. 4, since PC does not have the dialcom function of similar mobile phone generally, one
As also without automatically turning on the permissions of communications applications, therefore PC is generally difficult to directly be communicated with mobile phone.But by
In game running in PC, and there is communication connection in game client and game server, therefore can pass through personal electricity
Brain controls game, the information of the first pending operation is transmitted to game server by game client, and further by swimming
Play server is transmitted to the mobile phone of user.Further, the mobile phone of user can also execute instruction first and be transmitted to the game
Server, and the game client in PC is transmitted to by game server, it is carried out by game client or PC
Parsing.
According to the present embodiment, in the information for the first pending operation from subscriber's main station for receiving server transmission
Afterwards, first first can be executed instruction and is transmitted to server, such as the corresponding server of program, and held by the server by first
Row instruction is further transmitted to subscriber's main station, so that the information of the first pending operation can smoothly be transmitted to target end
It holds, and first to execute instruction can smoothly be transmitted to PC.
Figure 10 shows the schematic flow diagram of teleprogram control method in accordance with another embodiment of the present invention, such as Figure 10
Shown, on the basis of embodiment shown in Fig. 9, before the information for showing first pending operation, the method is also wrapped
It includes:
P6 obtains the information for carrying out source host of the information of first pending operation;
P7, judge it is described come source host information whether be consistent with the information of the subscriber's main station, if being consistent, show institute
State the information of the first pending operation.
Similarly with embodiment illustrated in fig. 5, since there may be wind for the information from server the first pending operation of reception
Danger.Such as criminal can transmit the first pending behaviour from server to user mobile phone by the number of acquisition user mobile phone
The information of work, if user has fed back first and has executed instruction for the information, and first execute instruction in include game account
Information, it would be possible that cause user in gaming by property loss.
According to the present embodiment, after being the information of the first pending operation from server, available first wait hold
The information of row operation carrys out the information of source host, if the information for carrying out source host is not consistent with the information of subscriber's main station, determine this
The information of one pending operation is dangerous, does not show the information of the first pending operation.Only the information of carrying out source host with
In the case that the information of subscriber's main station is consistent, the information of the first pending operation is just shown.To guarantee user feedback institute foundation
The information of the first pending operation be derived from user terminal.
Figure 11 shows the schematic flow diagram of the teleprogram control method of another embodiment according to the present invention, such as Figure 11
It is shown, on the basis of the embodiment shown in fig. 7, above-mentioned teleprogram control method further include:
P8 is executed instruction described first and is stored with the information association of first pending operation;
P9, when receiving the information of the first pending operation again, inquiry whether there is and the described first pending behaviour
Make associated first to execute instruction, and if it exists, then execute instruction described first and be transmitted to the subscriber's main station.
According to the present embodiment, after being executed instruction for the first time according to the information of the first pending operation feedback first, can incite somebody to action
First execute instruction with the information association of the first pending operation store, thus in the letter for receiving the first pending operation again
When breath, it can directly be executed instruction to subscriber's main station transmission first, avoid the information for parsing the first pending operation again, thus
It reduces power consumption and improves efficiency.
Figure 12 shows the schematic block diagram of local program control device according to an embodiment of the invention, such as Figure 12 institute
Show, which includes:
Program running unit 121 runs program by script, wherein the script is for controlling described program according to pre-
If operational order is run;
First transmission unit 122, described program trigger the first pending operation when, and first pending operation with
The predetermined registration operation instructs in unmatched situation, and the information of first pending operation is transmitted to target terminal;
First receiving unit 123 receives first from the target terminal and executes instruction, wherein described program operation
Unit is also used to execute instruction processing first pending operation according to described first.
Figure 13 shows the schematic block diagram of local program control device in accordance with another embodiment of the present invention, such as Figure 13 institute
Show, on the basis of embodiment as shown in figure 12, first transmission unit 122 includes:
Subelement 1221 is intercepted, when described program triggers the first pending operation, intercepts the operation interface of described program
To generate picture, wherein the operation interface includes the information of first pending operation;
Transmission subelement 1222 is used for the picture transfer to the target terminal.
Figure 14 shows the schematic block diagram of the local program control device of another embodiment according to the present invention, such as Figure 14 institute
Show, on the basis of embodiment as shown in figure 13, first transmission unit 121 further include:
Subelement 1223 is compressed, for compressing the picture,
Wherein, the transmission subelement 1222 is used for compressed picture transfer to the target terminal.
Preferably, first transmission unit 121 be used for the first pending operation described in server transport information with
And the information of the target terminal, so that the information of first pending operation is transmitted to the target end by the server
End,
First from the target terminal that first receiving unit 123 is used to receive the server sender is held
Row instruction.
Figure 15 shows the schematic block diagram of the local program control device of another embodiment according to the present invention, such as Figure 15 institute
Show, on the basis of embodiment as shown in figure 12, above-mentioned local program control device further include:
First acquisition unit 124, for obtaining the information for the source terminal that described first executes instruction;
First judging unit 125, judges whether the information of the source terminal is consistent with the information of the target terminal,
Wherein, described program running unit 121 is consistent in the information of the source terminal with the information of the target terminal
When, processing first pending operation is executed instruction according to described first.
Figure 16 shows the schematic block diagram of the local program control device of another embodiment according to the present invention, such as Figure 16 institute
Show, on the basis of embodiment as shown in figure 12, above-mentioned local program control device further include:
First associated storage unit 126, for executing instruction the information with first pending operation by described first
Associated storage;
First query unit 127, when described program triggers the first pending operation again, inquiry with the presence or absence of with it is described
First pending operation associated first executes instruction,
Wherein, described program running unit 121 refers in the presence of the first execution associated with first pending operation
When enabling, processing described program is executed instruction according to described first and triggers the first pending operation again.
Figure 17 shows the schematic block diagrams of teleprogram control device according to an embodiment of the invention, such as Figure 17 institute
Show, which includes:
Second receiving unit 171, for receiving the information of the first pending operation from subscriber's main station;
Display unit 172, for showing the information of first pending operation;
Recognition unit 173 is referred to for identification to the operation of the information of first pending operation with generating first and executing
It enables;
Second transmission unit 174 is transmitted to the subscriber's main station for executing instruction described first.
Figure 18 shows the schematic block diagram of teleprogram control device in accordance with another embodiment of the present invention, such as Figure 18 institute
Show, on the basis of embodiment as shown in figure 17, teleprogram control device 17 further include:
Resolution unit 175 parses the picture when the carrier of the information of first pending operation is picture, with
Obtain the information of the first pending operation.
Preferably, second receiving unit 171 is used to receive first from the subscriber's main station of server transmission
The information of pending operation,
Second transmission unit 174 is used to execute instruction to described in the server transport first and described use householder
The information of machine, so that the server, which is executed instruction according to the information of the subscriber's main station by described first, is transmitted to the user
Host.
Figure 19 shows the schematic block diagram of the teleprogram control device of another embodiment according to the present invention, such as Figure 19 institute
Show, on the basis of embodiment as shown in figure 17, teleprogram control device 17 further include:
Second acquisition unit 176, the information for carrying out source host of the information for obtaining first pending operation;
Second judgment unit 177, for judge it is described come source host information and the subscriber's main station information whether phase
Symbol,
Wherein, when carrying out the information of source host described in the display unit 172 and being consistent with the information of the subscriber's main station, display
The information of first pending operation.
Figure 20 shows the schematic block diagram of the teleprogram control device of another embodiment according to the present invention, such as Figure 20 institute
Show, on the basis of embodiment as shown in figure 17, above-mentioned teleprogram control device 17 further include:
Second associated storage unit 178 executes instruction the information association with first pending operation by described first
Storage;
Second query unit 179 receives the information of the first pending operation in second receiving unit 171 again
When, inquiry is executed instruction with the presence or absence of associated with first pending operation first,
Wherein, second transmission unit 174 refers in the presence of the first execution associated with first pending operation
When enabling, described first is executed instruction and is transmitted to the subscriber's main station.
The invention also provides a kind of program control system, including above-mentioned local program control device 12 and above-mentioned long-range
Presetting apparatus 17.
The invention also provides following technical solutions:
A1, a kind of local program control method, comprising:
Program is run by script, wherein the script instructs operation according to predetermined registration operation for controlling described program;
When described program triggers the first pending operation, and first pending operation and the predetermined registration operation instruct
In unmatched situation, the information of first pending operation is transmitted to target terminal;
Receive first executing instruction from the target terminal, according to described first execute instruction processing described first to
Execute operation.
A2, local program control method according to a1, the step are pending to target terminal transmission described first
The information of operation includes:
When described program triggers the first pending operation, the operation interface of described program is intercepted to generate picture, by institute
Picture transfer is stated to the target terminal,
Wherein, the operation interface includes the information of first pending operation.
A3, the local program control method according to A2, the step is by the picture transfer to the target terminal
Include:
Compress the picture;
By compressed picture transfer to the target terminal.
A4, the local program control method according to any one of A1 to A3, the step are passed to the target terminal
The information of defeated first pending operation includes:
To the information of the first pending operation described in server transport and the information of the target terminal, so that the clothes
The information of first pending operation is transmitted to the target terminal by business device,
What the step received from the target terminal first executes instruction and includes:
First from the target terminal for receiving the server sender executes instruction.
A5, local program control method according to a4 receive coming from for the server sender in the step
The first of the target terminal executes instruction includes: later
Obtain the information for the source terminal that described first executes instruction;
Judge whether the information of the source terminal is consistent with the information of the target terminal, if being consistent, according to
First executes instruction processing first pending operation.
A6, the local program control method according to any one of A1 to A3, further includes:
Described first is executed instruction and is stored with the information association of first pending operation;
When described program triggers the first pending operation again, inquiry whether there is and the first pending operation phase
Associated first executes instruction, and if it exists, executing instruction processing described program according to described first, to trigger first again pending
Operation.
B1, a kind of teleprogram control method, comprising:
Receive the information of the first pending operation from subscriber's main station;
Show the information of first pending operation;
It identifies the operation to the information of first pending operation, is executed instruction with generating first;
Described first is executed instruction and is transmitted to the subscriber's main station.
B2, the teleprogram control method according to B1, the carrier of the information of first pending operation is figure
Piece, then before identification is to the operation of the information of first pending operation, further includes:
The picture is parsed, to obtain the information of the first pending operation.
B3, the teleprogram control method according to B1 or B2, the step receive from subscriber's main station first to
Executing the information operated includes:
The information for the first pending operation from the subscriber's main station that server is sent is received,
The step is executed instruction described first to be transmitted to the subscriber's main station and includes:
It is executed instruction and the information of the subscriber's main station to described in the server transport first, so that the server
Described first is executed instruction according to the information of the subscriber's main station and is transmitted to the subscriber's main station.
B4, the teleprogram control method according to B3, before the information for showing first pending operation,
The method also includes:
Obtain the information for carrying out source host of the information of first pending operation;
Judge it is described come source host information whether be consistent with the information of the subscriber's main station, if being consistent, display described in
The information of first pending operation.
B5, the teleprogram control method according to B1 or B2, further includes:
Described first is executed instruction and is stored with the information association of first pending operation;
When receiving the information of the first pending operation again, inquiry whether there is and the first pending operation phase
Associated first executes instruction, and if it exists, then executes instruction described first and is transmitted to the subscriber's main station.
C1, a kind of local program control device, comprising:
Program running unit runs program by script, wherein the script is for controlling described program according to default behaviour
Make instruction operation;
First transmission unit, when described program triggers the first pending operation, and first pending operation and institute
It states predetermined registration operation to instruct in unmatched situation, the information of first pending operation is transmitted to target terminal;
First receiving unit receives first from the target terminal and executes instruction, wherein described program running unit
It is also used to execute instruction processing first pending operation according to described first.
C2, the local program control device according to C1, first transmission unit include:
Subelement is intercepted, when described program triggers the first pending operation, intercepts the operation interface of described program with life
At picture, wherein the operation interface includes the information of first pending operation;
Transmission subelement is used for the picture transfer to the target terminal.
C3, the local program control device according to C2, first transmission unit further include:
Subelement is compressed, for compressing the picture,
Wherein, the transmission subelement is used for compressed picture transfer to the target terminal.
C4, the local program control device according to any one of C1 to C3, first transmission unit are used for clothes
Business device transmits the information of first pending operation and the information of the target terminal, so that the server is by described the
The information of one pending operation is transmitted to the target terminal,
First from the target terminal that first receiving unit is used to receive the server sender executes
Instruction.
C5, the local program control device according to C4, further includes:
First acquisition unit, for obtaining the information for the source terminal that described first executes instruction;
First judging unit, judges whether the information of the source terminal is consistent with the information of the target terminal,
Wherein, described program running unit is when the information of the source terminal is consistent with the information of the target terminal,
Processing first pending operation is executed instruction according to described first.
C6, the local program control device according to any one of C1 to C3, further includes:
First associated storage unit, for executing instruction the information association with first pending operation by described first
Storage;
First query unit, when described program triggers the first pending operation again, inquiry is with the presence or absence of with described the
One pending operation associated first executes instruction,
Wherein, described program running unit is executed instruction in the presence of associated with first pending operation first
When, processing described program, which is executed instruction, according to described first triggers the first pending operation again.
D1, a kind of teleprogram control device, comprising:
Second receiving unit, for receiving the information of the first pending operation from subscriber's main station;
Display unit, for showing the information of first pending operation;
Recognition unit is executed instruction for identification to the operation of the information of first pending operation with generating first;
Second transmission unit is transmitted to the subscriber's main station for executing instruction described first.
D2, the teleprogram control device according to D1, further includes:
Resolution unit parses the picture when the carrier of the information of first pending operation is picture, to obtain
The information of first pending operation.
D3, the teleprogram control device according to D1 or D2, second receiving unit is for receiving server hair
The information for the first pending operation from the subscriber's main station sent,
Second transmission unit is used to execute instruction to described in the server transport first and the subscriber's main station
Information so that the server, which executes instruction to be transmitted to described first according to the information of the subscriber's main station, described uses householder
Machine.
D4, the teleprogram control device according to D3, further includes:
Second acquisition unit, the information for carrying out source host of the information for obtaining first pending operation;
Second judgment unit, for judge it is described come source host information whether be consistent with the information of the subscriber's main station,
Wherein, when carrying out the information of source host described in the display unit and being consistent with the information of the subscriber's main station, institute is shown
State the information of the first pending operation.
D5, the teleprogram control device according to D1 or D2, further includes:
Second associated storage unit is executed instruction described first and is deposited with the information association of first pending operation
Storage;
Second query unit, when second receiving unit receives the information of the first pending operation again, inquiry
It is executed instruction with the presence or absence of associated with first pending operation first,
Wherein, second transmission unit is executed instruction in the presence of associated with first pending operation first
When, described first is executed instruction and is transmitted to the subscriber's main station.
E1, a kind of program control system, extremely including local program control device and D1 described in any one of C1 to C6
Teleprogram control device described in any one of D5.
In conclusion according to the technical solution of the present invention, when the first pending operation of applications trigger, if first is pending
Operation is instructed with the predetermined registration operation in script and is mismatched, then the information of the first pending operation can be transmitted to target terminal,
So that the user of target terminal learns the first pending operation of the applications trigger in subscriber's main station in time, and then timely feedback
One executes instruction to using controlling, and suffers a loss to avoid the interests of user.
It should be noted that provided herein algorithm and formula not with any certain computer, virtual system or other equipment
It is intrinsic related.Various general-purpose systems can also be used together with example based on this.As described above, this kind of system is constructed
The required structure of system is obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can be with
Using various programming languages realize summary of the invention described herein, and the description that language-specific is done above be in order to
Disclose preferred forms of the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the present invention and help to understand one or more of various aspects of the present invention,
In the above description of the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method and apparatus of the disclosure should not be construed to reflect an intention that i.e. institute
Claimed invention requires features more more than feature expressly recited in each claim.More precisely,
If claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself
Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize one in web portal security detection device according to an embodiment of the present invention
The some or all functions of a little or whole components.The present invention is also implemented as executing method as described herein
Some or all device or device programs (for example, computer program and computer program product).Such realization
Program of the invention can store on a computer-readable medium, or may be in the form of one or more signals.This
The signal of sample can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or mentions in any other forms
For.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.