CN106572138A - Instruction transmission method, instruction execution method, client and server - Google Patents

Instruction transmission method, instruction execution method, client and server Download PDF

Info

Publication number
CN106572138A
CN106572138A CN201510657346.3A CN201510657346A CN106572138A CN 106572138 A CN106572138 A CN 106572138A CN 201510657346 A CN201510657346 A CN 201510657346A CN 106572138 A CN106572138 A CN 106572138A
Authority
CN
China
Prior art keywords
client
instructions
instruction
server
cancel
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.)
Pending
Application number
CN201510657346.3A
Other languages
Chinese (zh)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510657346.3A priority Critical patent/CN106572138A/en
Publication of CN106572138A publication Critical patent/CN106572138A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the application discloses an instruction transmission method, an instruction execution method, a client and a server. The instruction transmission method comprises that the client generates an instruction to be executed in response to a user's first operation on the client; if the client detects a user's second operation on the client within a preset time length after the generation of the instruction to be executed, the client refuse to transmit the instruction to be executed to the server. The instruction transmission method solves the problem that the instruction to be executed on the server cannot be cancelled.

Description

Instruction sending method, instruction executing method, client and server
Technical field
The application is related to Internet technical field, and more particularly to a kind of instruction triggers sending method, instruction are performed Method, client and server.
Background technology
Button is usually provided with the mobile terminal of conventional art.Each default input instruction of button correspondence, User is by click keys come the input of triggering command.For touch screen terminal, user is by clicking on screen Button control carrys out the input of triggering command.
When user thinks cancel an order, it is typically due to client and has sent an instruction to server, and server Perform immediately generally for the instruction for receiving;So, user cannot cancel the instruction having been carried out.Cause This is necessary to propose a kind of new triggering command mode, solution must not cancel an order problem.
The content of the invention
The purpose of the embodiment of the present application is to provide a kind of instruction triggers sending method, instruction executing method, client End and server, to solve the problems, such as prior art in cannot cancel the instructions to be performed of server.
To solve above-mentioned technical problem, instruction triggers sending method, instruction execution that the embodiment of the present application is provided What method, client and server were realized in:
A kind of instruction sending method, including:
In response to user's the first operation on the client, the client generates instructions to be performed;
If the client generate it is described it is instructions to be performed after preset duration in do not detect user at this The second operation in client, refuses to send described instructions to be performed to server.
A kind of instruction sending method, including:
In response to user's the first operation on the client, the client generates instructions to be performed;
Will be described instructions to be performed to server transmission;
If the client generate it is described it is instructions to be performed after preset duration in detect user in the visitor The second operation on the end of family, generates to cancel the cancellation instruction instructions to be performed and send out to server Send.
A kind of instruction executing method, including:
Server receives first behaviour of the client end response of client transmission in user on the client It is instructions to be performed that work is generated;
Receive it is described it is instructions to be performed after preset duration in, if the server do not receive it is described It is described instructions to be performed to cancel that second operation of the client end response in user on the client is generated Cancellation instruction, then perform described instructions to be performed.
A kind of client, including:
Instruction generation unit, for the first operation in response to user on the client, generates instructions to be performed;
Transmitting element, for generate it is described it is instructions to be performed after preset duration in detect user in the visitor When on the end of family second operates, refuse to send described instructions to be performed to server.
A kind of client, including:
Instruction generation unit, for the first operation in response to user on the client, generates instructions to be performed;
First transmitting element, for will it is described it is instructions to be performed to server send;
Second transmitting element, for generate it is described it is instructions to be performed after preset duration in detect user and exist When in the client second operates, generate and instructed and to service to cancel the cancellation instructions to be performed Device sends.
A kind of server, including:
Receiving unit, for receiving the client end response of client transmission in user on the client It is instructions to be performed that first operation is generated;
Performance element, for receive it is described it is instructions to be performed after preset duration in, if receiving institute State client end response in user on the client second operation generate to cancel the pending finger The cancellation instruction of order, then perform described to cancel the cancellation instruction instructions to be performed.
The technical scheme provided from above the embodiment of the present application, the embodiment of the present application is generated in client and treated After execute instruction, by client detect generate it is described it is instructions to be performed after preset duration in user exist The second operation in the client, and according to the result (such as detecting the second operation) of detecting determining whether Need to be performed the server that is sent to instructions to be performed of above-mentioned generation;Or the embodiment of the present application is in visitor Family end generates instructions to be performed and is sent to after server, and by client detecting the pending finger is being generated The user in preset duration after order the second operation on the client, and be according to the result determination of detecting It is no to generate to cancel the cancellation instruction instructions to be performed and send to server, so as to cancel server Perform above-mentioned operation instructions to be performed.Therefore, the embodiment of the present application is solved cannot cancel treating on server The problem of execute instruction.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to implementing Example or the accompanying drawing to be used needed for description of the prior art are briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments described in the application, for those of ordinary skill in the art, Without having to pay creative labor, can be with according to these other accompanying drawings of accompanying drawings acquisition
The flow chart of the instruction sending method based on client that Fig. 1 is provided for the embodiment of the application one;
The flow chart of the instruction sending method based on client that Fig. 2 is provided for the embodiment of the application one;
The flow chart of the instruction executing method based on server that Fig. 3 is provided for the embodiment of the application one;
The module diagram of the client to instruct transmission that Fig. 4 is provided for the embodiment of the application one;
The module diagram of the client to instruct transmission that Fig. 5 is provided for the embodiment of the application one;
The module diagram of the server to instruct execution that Fig. 6 is provided for the embodiment of the application one.
Specific embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, below in conjunction with this Accompanying drawing in application embodiment, is clearly and completely described to the technical scheme in the embodiment of the present application, Obviously, described embodiment is only some embodiments of the present application, rather than the embodiment of whole.Base Embodiment in the application, those of ordinary skill in the art are obtained under the premise of creative work is not made The every other embodiment for obtaining, should all belong to the scope of the application protection.
Fig. 1 is a kind of embodiment of the instruction sending method based on client that the application is provided, including:
S110:In response to user's the first operation on the client, the client generates instructions to be performed.
The client can be computer or mobile phone etc..Client can be by carrying out instruction friendship with server Mutually, and by server the specific data processing transactions in instructing to realize the Internet accordingly are performed.
In the data processing transactions in needing to realize the Internet, can be passed through using the user of above-mentioned client Carry out above-mentioned first operation on the client to trigger client instructions to be performed, pending finger of generation Order can be instruction or the information for treating to send to server and performed by the server.Specifically, it is above-mentioned First operation may, for example, be the operation of the click specific keys that user is carried out on the client or by touching The mode of touching clicks on operation of (or slip) touching display screen etc..
S120:If the client generate it is described it is instructions to be performed after preset duration in detect user and exist The second operation in the client, refuses to send described instructions to be performed to server.
In the embodiment of the present application, client generate this treat to server send it is instructions to be performed after, visitor It is instructions to be performed that family end does not send this to server immediately.Assume the above-mentioned generation time instructions to be performed Point is t1, then time point t can be preset1One section of preset duration afterwards is (such as:5s) on to send State the wait period of instruction.Above-mentioned client is existed by presetting above-mentioned preset duration by client detecting Whether user carries out on the client the second operation in above-mentioned preset duration, and if so, then client refusal will It is instructions to be performed to send to server, if it is not, then user end to server to send this instructions to be performed and by taking It is engaged in device to perform.The application is realized in one section of preset duration after generation is instructions to be performed, makes the client The user at end has the authority for cancelling the transmission instructions to be performed.
Preferably, above-mentioned second operation can be the operation that user rocks the client.If the client exists Generate it is described it is instructions to be performed after preset duration in detect after the operation that user rocks the client, refuse Absolutely to server send it is described it is instructions to be performed before, methods described also includes:Judge that the client is rocked Axial distance whether exceed preset value;Wherein, the preset value may be greater than 10mm.Then, refuse Send described instructions to be performed to server, including:If the axial distance that the client is rocked exceedes default Value, refuses to send described instructions to be performed to server.Wherein, in above-mentioned preset duration, can enable The client is (such as:Mobile phone) on to monitor the client sensing manager in vibrations (Vibrator) The monitoring task of action.Usually, the axial distance of sensor movement can be 9.8~10mm in client. A preset value more than 10mm can be preset (such as:13rd, 14,15), if active client The axial distance of middle sensor movement is more than the preset value, then judge the client in vibrating state (by with The shaking motion at family is produced), client is being detected after vibrating state, client can terminate above-mentioned Wait period does not send above-mentioned pending instruction to server.Additionally, client can be by ejecting Show corresponding message in frame to point out current instructions to be performed being cancelled of user to send or currently treat Process affairs and be cancelled execution.
Fig. 2 is another kind of embodiment of the instruction sending method based on client that the application is provided, and is wrapped Include:
S210:In response to user's the first operation on the client, the client generates instructions to be performed.
Step S210 is referred to the particular content of above-mentioned steps S110, is no longer repeated herein.
S220:Client sends described instructions to be performed to server.
In the present embodiment, after generation is instructions to be performed, client does not wait one section of preset duration, But it is immediately that this is instructions to be performed to server.Wherein, server can be to receive this instructions to be performed This is not immediately performed afterwards instructions to be performed, and be to wait for one section of preset duration.
S230:If client detects user in the client in the preset duration after generation is instructions to be performed On the second operation, generate to cancel cancellation instruction instructions to be performed and send to server.
In the present embodiment, generate it is above-mentioned it is instructions to be performed after, if using client user need cancel work as Front execution instructions to be performed, then can be by carrying out on the client the second operation to generate to take The cancellation for disappearing instructions to be performed is instructed and is transmitted to server.If server connects in above-mentioned preset duration The cancellation instruction is received, then refusal performs above-mentioned instructions to be performed;Conversely, then terminating in above-mentioned preset duration Perform afterwards above-mentioned instructions to be performed.Similarly, above-mentioned second operation can be that user rocks the client Operation.
A kind of embodiment of the instruction executing method based on server that Fig. 3 is provided for the application, including: S310:Server receives first behaviour of the client end response of client transmission in user on the client It is instructions to be performed that work is generated.
Step S310 is referred to the particular content of above-mentioned steps S110.
S320:Receive it is described it is instructions to be performed after preset duration in, if the server is received It is described pending to cancel that second operation of the client end response in user on the client is generated The cancellation instruction of instruction, then perform described to cancel the cancellation instruction instructions to be performed.
Step S320 is referred to the particular content of above-mentioned steps S230.
Embodiments herein is described as a example by the scene withholdd below with reference to cancellation.
In the embodiment shown in above-mentioned Fig. 1, if application scenarios are to cancel the affairs withholdd in the Internet, User carries out after the first operation on the client and generates after pending instruction of withholing, and the instruction of withholing can be with It is retained on the client, and waits one section of preset duration.Client is by monitoring in the preset duration Whether user carries out the second operation (such as rocking client), if listening to, refuses to be sent to server and is somebody's turn to do Withhold instruction;If not hearing, above-mentioned instruction of withholing is sent to server after above-mentioned preset duration terminates.
In the embodiment shown in above-mentioned Fig. 2 and Fig. 3, if application scenarios are to cancel the thing withholdd in the Internet It is engaged in, then user carries out after the first operation on the client and generates after pending instruction of withholing, the finger of withholing Order is not existed side by side as reservation send to server on the client, and server is after the instruction of withholing is received Can not be immediately performed, and be to wait for one section of preset duration.Client is used by monitoring in the preset duration Whether family carries out the second operation (such as rocking client), if listening to, user end to server sends and takes Disappear instruction of withholing, and server is withholdd after instruction receiving the cancellation, is withholdd instruction in response to the cancellation, end Only currently withhold affairs;If conversely, do not hear, client does not send cancellation and withholds instruction to server, Server judges not received in preset duration cancellation and withholds after instruction, triggers holding for above-mentioned instruction of withholing OK, so as to completing affairs of currently withholing.By said process, the embodiment of the present application is solved cannot cancel clothes Problem instructions to be performed on business device.The client and server that the embodiment of the present application described below is provided Technical scheme.Because following client and servers are based on above-mentioned instruction sending method and the instruction side of execution Method, therefore the particular technique details of the client and server is referred to above-mentioned instruction sending method and instruction The particular content of execution method.
The module diagram of the client to instruct transmission that Fig. 4 is provided for the embodiment of the application one, including:
Instruction generation unit 111, for the first operation in response to user on the client, generates pending Instruction;
Second judging unit 112, for judging whether the axial distance that the client is rocked exceedes preset value; Wherein, the preset value is more than 10mm;
Then, second transmitting element specifically for:
If the axial distance that the client is rocked exceedes preset value, send described to cancel to server State cancellation instruction instructions to be performed.The transmitting element is particularly used in server and sends described to take Disappear the cancellation instruction instructions to be performed;
First judging unit 113, for generate it is described it is instructions to be performed after preset duration in detect use Family on the client second operation when, refuse to server send it is described instructions to be performed;
Preferably, first judging unit specifically for:
Generate it is described it is instructions to be performed after preset duration in detect the operation that user rocks the client When, refuse to send described instructions to be performed to server;
Display unit 114, for generating the message of prompting refusal transmission instructions to be performed and showing.
Preferably, in the concrete scene of the present embodiment, it is described it is instructions to be performed can be treat to server send out The instruction of withholing sent.
The module diagram of the client to instruct transmission that Fig. 5 is provided for the embodiment of the application one, including:
Instruction generation unit 211, for the first operation in response to user on the client, generates pending Instruction;
First transmitting element 212, for will it is described it is instructions to be performed to server send;
Judging unit 213, for judging whether the axial distance that the client is rocked exceedes preset value;Its In, the preset value is more than 10mm;
Then, second transmitting element specifically for:
If the axial distance that the client is rocked exceedes preset value, send described to cancel to server State cancellation instruction instructions to be performed.The transmitting element is particularly used in server and sends described to take Disappear the cancellation instruction instructions to be performed;
Second transmitting element 214, for generate it is described it is instructions to be performed after preset duration in detect use During the second operation on the client of family, generate to cancel the cancellation instruction instructions to be performed and to Server sends;
Preferably, second transmitting element specifically for:
If generate it is described it is instructions to be performed after preset duration in detect the behaviour that user rocks the client Make, send described to cancel the cancellation instruction instructions to be performed to server;
Display unit 215, for generating the prompting message for cancelling instructions to be performed and showing.
Preferably, in the concrete scene of the present embodiment, it is described it is instructions to be performed treat to server send Withhold instruction, described to cancel instruction be the cancellation instruction of withholing for cancelling action of currently withholing.
The module diagram of the server to instruct execution that Fig. 6 is provided for the embodiment of the application one, including:
First receiving unit 311, for receive client transmission the client end response in user in the visitor It is instructions to be performed that the first operation on the end of family is generated;
Second receiving unit 312, for receive the client end response in user on the client second What operation was generated instructs to cancel the cancellation instructions to be performed
Performance element 313, for receive it is described it is instructions to be performed after preset duration in, if receive Described wait to hold cancelling to what second operation of the client end response in user on the client was generated The cancellation instruction of row instruction, then perform described to cancel the cancellation instruction instructions to be performed;
Preferably, the performance element specifically for:
Receive it is described it is instructions to be performed after preset duration in, if not receiving the client end response What the operation for rocking the client in user was generated instructs to cancel the cancellation instructions to be performed, then hold Row is described to cancel the cancellation instruction instructions to be performed.
Preferably, in the concrete scene of the present embodiment, it is described it is instructions to be performed treat to server send Withhold instruction, described to cancel instruction be the cancellation instruction of withholing for cancelling action of currently withholing.
In sum, the embodiment of the present application is existed after client generation is instructions to be performed by client detecting Generate it is described it is instructions to be performed after preset duration in user on the client second operation, and according to The result (such as detecting the second operation) of detecting is determining the need for instructions to be performed of above-mentioned generation It is sent to server to be performed;Or the embodiment of the present application is generated instructions to be performed and is sent to clothes in client Business device after, by client detect generate it is described it is instructions to be performed after preset duration in user in the visitor The second operation on the end of family, and determine whether that generation is described instructions to be performed to cancel according to the result of detecting Cancellation instruction and send to server, perform above-mentioned operation instructions to be performed so as to cancel server.Therefore, The embodiment of the present application solves the problems, such as to cancel instructions to be performed on server.
It is changing on hardware for the improvement of a technology can be distinguished clearly in the nineties in 20th century Improvement on entering (for example, to the improvement of the circuit structures such as diode, transistor, switch) or software is (right In the improvement of method flow).However, with the development of technology, the improvement of current many method flows is Jing can be considered as directly improving for hardware circuit.Designer is nearly all by by improved method flow It is programmed in hardware circuit to obtain corresponding hardware circuit.Therefore, it cannot be said that method flow Improvement cannot be realized with hardware entities module.For example, PLD (Programmable Logic Device, PLD) (for example field programmable gate array (Field Programmable Gate Array, FPGA it is exactly)) such a integrated circuit, its logic function is determined by user to device programming.By setting Meter personnel are voluntarily programmed a digital display circuit " integrated " on a piece of PLD, without asking chip manufacturing Manufacturer is designing and make special IC chip.And, nowadays, replacement manually makes integrated electricity Road chip, this programming also uses " logic compiler (logic compiler) " software instead to realize mostly, it Software compiler used is similar when writing with program development, and the source code before compiling is also handy Writing, this is referred to as hardware description language (Hardware Description to specific programming language Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、 Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL (Ruby Hardware Description Language) etc., that what is most commonly used at present is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art also will be apparent to the skilled artisan that only need to by method flow with above-mentioned several hardware description languages slightly Programming in logic is simultaneously programmed in integrated circuit, it is possible to be readily available the hardware for realizing the logical method flow process Circuit.
Controller can be implemented in any suitable manner, and for example, controller can take such as microprocessor Or processor and storage can be by computer readable program code (such as softwares of (micro-) computing device Or firmware) computer-readable medium, gate, switch, special IC (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, controller Example include but is not limited to following microcontroller:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20 and Silicone Labs C8051F320, Memory Controller is also implemented as depositing A part for the control logic of reservoir.It is also known in the art that except with pure computer-readable program Code means are realized beyond controller, can cause to control by the way that method and step is carried out into programming in logic completely Device is with the shape of gate, switch, special IC, programmable logic controller (PLC) and embedded microcontroller etc. Formula is realizing identical function.Therefore this controller is considered a kind of hardware component, and to bag in it The structure that the device for realizing various functions for including can also be considered as in hardware component.Or or even, can be with To be used to realizing that the device of various functions is considered as not only being the software module of implementation method but also can be hardware Structure in part.
System, device, module or unit that above-described embodiment is illustrated, specifically can be by computer chip or reality Body is realized, or is realized by the product with certain function.
For convenience of description, it is divided into various units with function when describing apparatus above to describe respectively.Certainly, The function of each unit can be realized in same or multiple softwares and/or hardware when the application is implemented.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or knot Close the form of the embodiment in terms of software and hardware.And, the present invention can be adopted and wherein wrapped at one or more Computer-usable storage medium containing computer usable program code (including but not limited to disk memory, CD-ROM, optical memory etc.) on implement computer program form.
The present invention is produced with reference to method according to embodiments of the present invention, equipment (system) and computer program The flow chart and/or block diagram of product is describing.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or square frame and flow chart and/or the flow process in block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedded The processor of formula datatron or other programmable data processing devices is producing a machine so that by calculating The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one The device of the function of specifying in individual flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable datas process to set In the standby computer-readable memory for working in a specific way so that in being stored in the computer-readable memory Instruction produce and include the manufacture of command device, command device realization is in one flow process or multiple of flow chart The function of specifying in one square frame of flow process and/or block diagram or multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing devices, made Obtain and series of operation steps is performed on computer or other programmable devices to produce computer implemented place Reason, so as to the instruction performed on computer or other programmable devices is provided for realizing in flow chart one The step of function of specifying in flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output Interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory And/or the form, such as read only memory (ROM) or flash memory (flash RAM) such as Nonvolatile memory (RAM).It is interior Deposit be computer-readable medium example.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by appointing What method or technique is realizing information Store.Information can be computer-readable instruction, data structure, program Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other The random access memory (RAM) of type, read only memory (ROM), the read-only storage of electrically erasable Device (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, tape magnetic rigid disk is stored or other Magnetic storage apparatus or any other non-transmission medium, can be used to store the letter that can be accessed by a computing device Breath.Define according to herein, computer-readable medium does not include temporary computer readable media (transitory Media), such as the data signal and carrier wave of modulation.
Also, it should be noted that term " including ", "comprising" or its any other variant are intended to non-row His property is included, so that a series of process, method, commodity or equipment including key elements not only includes Those key elements, but also including other key elements being not expressly set out, or also include for this process, The intrinsic key element of method, commodity or equipment.In the absence of more restrictions, by sentence " including One ... " key element that limits, it is not excluded that including the process of the key element, method, commodity or setting Also there is other identical element in standby.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey Sequence product.Therefore, the application can using complete hardware embodiment, complete software embodiment or with reference to software and The form of the embodiment of hardware aspect.And, the application can be adopted and wherein include calculating at one or more Machine usable program code computer-usable storage medium (including but not limited to disk memory, CD-ROM, Optical memory etc.) on implement computer program form.
The application can be described in the general context of computer executable instructions, example Such as program module.Usually, program module includes performing particular task or realizes particular abstract data type Routine, program, object, component, data structure etc..This can also in a distributed computing environment be put into practice Application, in these distributed computing environment, by the remote processing devices connected by communication network come Execution task.In a distributed computing environment, program module may be located at including local including storage device In remote computer storage medium.
Each embodiment in this specification is described by the way of progressive, phase homophase between each embodiment As part mutually referring to, what each embodiment was stressed be it is different from other embodiment it Place.For especially for system embodiment, because it is substantially similar to embodiment of the method, so description Fairly simple, related part is illustrated referring to the part of embodiment of the method.
Embodiments herein is the foregoing is only, the application is not limited to.For this area skill For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle Any modification, equivalent substitution and improvements of work etc., within the scope of should be included in claims hereof.

Claims (27)

1. a kind of instruction sending method, it is characterised in that include:
In response to user's the first operation on the client, the client generates instructions to be performed;
If the client generate it is described it is instructions to be performed after preset duration in detect user in the visitor The second operation on the end of family, refuses to send described instructions to be performed to server.
2. the method for claim 1, it is characterised in that if the client is being treated described in generate User's the second operation on the client is detected in preset duration after execute instruction, is refused to server Send described instructions to be performed, including:
If the client generate it is described it is instructions to be performed after preset duration in detect user and rock this The operation of client, refuses to send described instructions to be performed to server.
3. method as claimed in claim 2, it is characterised in that if the client is being treated described in generate After the operation that user rocks the client is detected in preset duration after execute instruction, refuse to server Send it is described it is instructions to be performed before, methods described also includes:
Judge whether the axial distance that the client is rocked exceedes preset value;Wherein, the preset value is more than 10mm;
Then, refuse to send described instructions to be performed to server, including:
If the axial distance that the client is rocked exceedes preset value, refuse to send described pending to server Instruction.
4. the method for claim 1, it is characterised in that refuse to server send described in wait to hold After row instruction, methods described also includes:
Client generates the message of prompting refusal transmission instructions to be performed and shows.
5. the method for claim 1, it is characterised in that it is described it is instructions to be performed be to treat to service The instruction of withholing that device sends.
6. a kind of instruction sending method, it is characterised in that include:
In response to user's the first operation on the client, the client generates instructions to be performed;
Will be described instructions to be performed to server transmission;
If the client generate it is described it is instructions to be performed after preset duration in detect user in the visitor The second operation on the end of family, generates to cancel the cancellation instruction instructions to be performed and send out to server Send.
7. method as claimed in claim 6, it is characterised in that if the client is being treated described in generate User's the second operation on the client is detected in preset duration after execute instruction, is sent to server To cancel the cancellation instruction instructions to be performed, including:
If the client generate it is described it is instructions to be performed after preset duration in detect user and rock this The operation of client, sends described to cancel the cancellation instruction instructions to be performed to server.
8. method as claimed in claim 7, it is characterised in that if the client is being treated described in generate After the operation that user rocks the client is detected in preset duration after execute instruction, send to server It is described to cancel the cancellation instruction instructions to be performed before, methods described also includes:
Judge whether the axial distance that the client is rocked exceedes preset value;Wherein, the preset value is more than 10mm;
Then, send described to cancel the cancellation instruction instructions to be performed to server, including:
If the axial distance that the client is rocked exceedes preset value, send described to cancel to server State cancellation instruction instructions to be performed.
9. method as claimed in claim 6, it is characterised in that send described to cancel to server After the cancellation instruction instructions to be performed, methods described also includes:
Client generates the prompting message for cancelling instructions to be performed and shows.
10. method as claimed in claim 6, it is characterised in that it is described it is instructions to be performed be to treat to service The instruction of withholing that device sends, described cancellation instructs the cancellation of withholing for being to cancel action of currently withholing to instruct.
11. a kind of instruction executing methods, it is characterised in that include:
Server receives first behaviour of the client end response of client transmission in user on the client It is instructions to be performed that work is generated;
Receive it is described it is instructions to be performed after preset duration in, if the server receives the visitor It is described instructions to be performed to cancel that second operation of the family end in response to user on the client is generated Cancel instruction, then perform described to cancel the cancellation instruction instructions to be performed.
12. methods as claimed in claim 11, it is characterised in that described instructions to be performed receiving In preset duration afterwards, if the server receives the client end response in user on the client The second operation generate to cancel the cancellation instruction instructions to be performed, then perform described to cancel The cancellation instruction instructions to be performed, including:
Receive it is described it is instructions to be performed after preset duration in, if the server receives the visitor Family end in response to user rock the client operation generate to cancel the cancellation instructions to be performed Instruction, then perform described to cancel the cancellation instruction instructions to be performed.
13. methods as claimed in claim 11, it is characterised in that it is described it is instructions to be performed be to treat to clothes The instruction of withholing that business device sends, the cancellation instruction is that the cancellation of withholing for cancelling action of currently withholing refers to Order.
14. a kind of clients, it is characterised in that include:
Instruction generation unit, for the first operation in response to user on the client, generates instructions to be performed;
First judging unit, for generate it is described it is instructions to be performed after preset duration in detect user and exist When in the client second operates, refuse to send described instructions to be performed to server.
15. clients as claimed in claim 14, it is characterised in that first judging unit is concrete For:
Generate it is described it is instructions to be performed after preset duration in detect the operation that user rocks the client When, refuse to send described instructions to be performed to server.
16. clients as claimed in claim 15, it is characterised in that the client also includes:
Second judging unit, for judging whether the axial distance that the client is rocked exceedes preset value;Its In, the preset value is more than 10mm;
Then, the transmitting element specifically for:
If the axial distance that the client is rocked exceedes preset value, refuse to send described pending to server Instruction.
17. clients as claimed in claim 14, it is characterised in that the client also includes:
Display unit, for generating the message of prompting refusal transmission instructions to be performed and showing.
18. clients as claimed in claim 14, it is characterised in that it is described it is instructions to be performed be treat to The instruction of withholing that server sends.
19. a kind of clients, it is characterised in that include:
Instruction generation unit, for the first operation in response to user on the client, generates instructions to be performed;
First transmitting element, for will it is described it is instructions to be performed to server send;
Second transmitting element, for generate it is described it is instructions to be performed after preset duration in detect user and exist When in the client second operates, generate and instructed and to service to cancel the cancellation instructions to be performed Device sends.
20. clients as claimed in claim 19, it is characterised in that second transmitting element is concrete For:
If generate it is described it is instructions to be performed after preset duration in detect the behaviour that user rocks the client Make, send described to cancel the cancellation instruction instructions to be performed to server.
21. clients as claimed in claim 19, it is characterised in that the client also includes:
Judging unit, for judging whether the axial distance that the client is rocked exceedes preset value;Wherein, The preset value is more than 10mm;
Then, second transmitting element specifically for:
If the axial distance that the client is rocked exceedes preset value, send described to cancel to server State cancellation instruction instructions to be performed.
22. clients as claimed in claim 19, it is characterised in that the client also includes:
Display unit, for generating the prompting message for cancelling instructions to be performed and showing.
23. clients as claimed in claim 19, it is characterised in that it is described it is instructions to be performed be treat to The instruction of withholing that server sends, the cancellation instruction is that the cancellation of withholing for cancelling action of currently withholing refers to Order.
24. a kind of servers, it is characterised in that include:
Receiving unit, for receiving the client end response of client transmission in user on the client It is instructions to be performed that first operation is generated;
Performance element, for receive it is described it is instructions to be performed after preset duration in, if receiving institute State client end response in user on the client second operation generate to cancel the pending finger The cancellation instruction of order, then perform described to cancel the cancellation instruction instructions to be performed.
25. servers as claimed in claim 24, it is characterised in that the server also includes:
Second receiving unit, for receiving the client end response the second operation in user on the client What is generated instructs to cancel the cancellation instructions to be performed.
26. servers as claimed in claim 24, it is characterised in that the performance element specifically for:
Receive it is described it is instructions to be performed after preset duration in, if not receiving the client end response What the operation for rocking the client in user was generated instructs to cancel the cancellation instructions to be performed, then hold Row is described to cancel the cancellation instruction instructions to be performed.
27. servers as claimed in claim 24, it is characterised in that it is described it is instructions to be performed be treat to The instruction of withholing that server sends, the cancellation instruction is that the cancellation of withholing for cancelling action of currently withholing refers to Order.
CN201510657346.3A 2015-10-13 2015-10-13 Instruction transmission method, instruction execution method, client and server Pending CN106572138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510657346.3A CN106572138A (en) 2015-10-13 2015-10-13 Instruction transmission method, instruction execution method, client and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510657346.3A CN106572138A (en) 2015-10-13 2015-10-13 Instruction transmission method, instruction execution method, client and server

Publications (1)

Publication Number Publication Date
CN106572138A true CN106572138A (en) 2017-04-19

Family

ID=58508243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510657346.3A Pending CN106572138A (en) 2015-10-13 2015-10-13 Instruction transmission method, instruction execution method, client and server

Country Status (1)

Country Link
CN (1) CN106572138A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756386A (en) * 2018-09-07 2019-05-14 启迪云控(北京)科技有限公司 Communication optimization method, apparatus based on the collaboration of cloud net vehicle
CN111399910A (en) * 2020-03-12 2020-07-10 支付宝(杭州)信息技术有限公司 User instruction processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972476A (en) * 2005-11-25 2007-05-30 华为技术有限公司 A sending method for short message
CN103067613A (en) * 2013-01-31 2013-04-24 广东欧珀移动通信有限公司 Short message processing method and device and mobile terminal
CN104112200A (en) * 2014-04-01 2014-10-22 杨筑平 Kinetic protection and on-site tracking method
CN104123651A (en) * 2013-04-26 2014-10-29 腾讯科技(深圳)有限公司 Network transaction system operation instruction recognition processing method and system
CN104661193A (en) * 2013-11-18 2015-05-27 沈阳晨讯希姆通科技有限公司 Information transmitting method for mobile terminal and mobile terminal
CN104766200A (en) * 2015-04-02 2015-07-08 深圳票联金融服务有限公司 Hand-controlled payment method and hand-controlled payment system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972476A (en) * 2005-11-25 2007-05-30 华为技术有限公司 A sending method for short message
CN103067613A (en) * 2013-01-31 2013-04-24 广东欧珀移动通信有限公司 Short message processing method and device and mobile terminal
CN104123651A (en) * 2013-04-26 2014-10-29 腾讯科技(深圳)有限公司 Network transaction system operation instruction recognition processing method and system
CN104661193A (en) * 2013-11-18 2015-05-27 沈阳晨讯希姆通科技有限公司 Information transmitting method for mobile terminal and mobile terminal
CN104112200A (en) * 2014-04-01 2014-10-22 杨筑平 Kinetic protection and on-site tracking method
CN104766200A (en) * 2015-04-02 2015-07-08 深圳票联金融服务有限公司 Hand-controlled payment method and hand-controlled payment system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756386A (en) * 2018-09-07 2019-05-14 启迪云控(北京)科技有限公司 Communication optimization method, apparatus based on the collaboration of cloud net vehicle
CN109756386B (en) * 2018-09-07 2021-09-28 启迪云控(北京)科技有限公司 Communication optimization method and device based on cloud network vehicle cooperation
CN111399910A (en) * 2020-03-12 2020-07-10 支付宝(杭州)信息技术有限公司 User instruction processing method and device

Similar Documents

Publication Publication Date Title
US11042276B2 (en) Instant-messaging-based picture sending method and device
CN106796526B (en) JSON style sheet language transformation
KR101657379B1 (en) Method and apparatus for providing data entry content to a remote environment
CN109214632A (en) A kind of risk control method and equipment
CN104965722B (en) A kind of method and device of display information
CN107203465A (en) System interface method of testing and device
CN107480001A (en) System recovery method and device
CN107102950A (en) A kind of applied program testing method and device
CN108958587A (en) split screen processing method, device, storage medium and electronic equipment
CN107479868A (en) A kind of interface loading method, device and equipment
CN110032409A (en) A kind of client screen adaptation method, device and electronic equipment
CN106572138A (en) Instruction transmission method, instruction execution method, client and server
CN107835114A (en) A kind of information processing method, equipment and computer-readable medium
CN106708555B (en) A kind of method and apparatus loading plug-in unit
CN107678805A (en) The call method and device of a kind of application programming interfaces
CN111294377A (en) Network request sending method of dependency relationship, terminal device and storage medium
CN107016262A (en) Application program right management method and client
CN110427237A (en) A kind of method, apparatus and electronic equipment across application access target pages
CN105893020A (en) Screen recording starting method, screen recording starting device and mobile terminal
CN103051722B (en) A kind ofly determine the method whether page is held as a hostage and relevant device
KR102106484B1 (en) Information display method, terminal, and server
CN104851120B (en) The method and device of video processing
CN106708855A (en) Information display method and apparatus
US20140101309A1 (en) Dynamic and selective management of integration points using performance metrics
CN115525371A (en) Image semantic alignment method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170419