CN103713946A - Operating instruction dispatching method and device - Google Patents

Operating instruction dispatching method and device Download PDF

Info

Publication number
CN103713946A
CN103713946A CN201310747280.8A CN201310747280A CN103713946A CN 103713946 A CN103713946 A CN 103713946A CN 201310747280 A CN201310747280 A CN 201310747280A CN 103713946 A CN103713946 A CN 103713946A
Authority
CN
China
Prior art keywords
operational order
operating terminal
mobile terminal
operational
operating
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
CN201310747280.8A
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.)
Kingsoft Guangzhou Network Technology Co Ltd
Original Assignee
Kingsoft Guangzhou Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kingsoft Guangzhou Network Technology Co Ltd filed Critical Kingsoft Guangzhou Network Technology Co Ltd
Priority to CN201310747280.8A priority Critical patent/CN103713946A/en
Publication of CN103713946A publication Critical patent/CN103713946A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention discloses an operating instruction dispatching method and device. The method includes the steps that an operating instruction dispatching device located at the side of an operating terminal is used for monitoring operating instructions. The operating instructions include the operating instruction from a mobile terminal and/or the operating instruction input on the operating terminal by a user. The operating instruction from the mobile terminal is used for instructing the operating terminal to execute a first-kind target action, and the operating instruction input on the operating terminal by the user is used for instructing the mobile terminal to execute a second-kind target action. After the first operating instruction is monitored, a first thread which is idle at present in the operating terminal is called to execute the first operating instruction. In the executing process of the first operating instruction, if the second operating instruction is monitored, a second thread which is idle at present in the operating terminal is called to execute the second operating instruction. Thus, in the executing process of one operating instruction, the other arrived operating instruction can also be processed in time.

Description

A kind of operational order dispatching method and device
Technical field
The present invention relates to Computer Applied Technology field, particularly a kind of operational order dispatching method and device.
Background technology
In recent years, the mobile terminals such as mobile phone, panel computer are fast-developing, greatly enriched people's life, and mobile terminal can be realized the several functions that comprises that periodic traffic, audio frequency and video are play, taken pictures and surf the web.
User conventionally directly controls mobile terminal and realizes above-mentioned functions.In addition, in prior art, also exist utilize operating terminal and mobile terminal connected in series, carry out operational order scheduling, to realize the method for the various functions of mobile terminal.
Take computer and mobile phone as example, computer expert crosses USB(Universal Serial Bus, USB (universal serial bus)) be connected with mobile phone, when the operational order that user inputs on computers being detected, control mobile phone and carry out target action that should operational order, for example, after the operational order of calling that computer detection is inputted on computers to user, control mobile phone dialing phone, thereby realize the function of calling on computers; Or, when detect from mobile phone operational order time, be presented on computer screen, for example, computer detection during to cell phone incoming call, is presented at " incoming call " on computer screen.
Yet according to existing operational order dispatching method, computer only can or be processed from the operational order of mobile terminal side the operational order of user's input at synchronization, cannot meet some actual user's requests.Such as: cannot realize and in user's communication process, obtain new incoming call message or carry out other operations such as note transmission.
Summary of the invention
The embodiment of the invention discloses a kind of operational order dispatching method and device, to reach operating terminal side, process the object of many tasks simultaneously.Technical scheme is as follows:
An operational order dispatching method, the method comprises:
The operational order dispatching device that is positioned at operating terminal side is monitored operational order, and described operational order comprises: from the operational order of mobile terminal, and/or, the operational order that user inputs on operating terminal; Wherein, the described operational order from mobile terminal, is used to indicate described operating terminal and carries out the action of first kind target, and the operational order that described user inputs on operating terminal is used to indicate described mobile terminal and carries out the action of Equations of The Second Kind target;
Listen to after the first operational order, call the first operational order described in the first thread execution of current free time in described operating terminal;
In the implementation of the first operational order, if listen to the second operational order, call the second operational order described in the second thread execution of current free time in described operating terminal.
An operational order dispatching device, this device comprises:
Module is monitored in instruction, and for operational order is monitored, described operational order comprises: from the operational order of mobile terminal, and/or, the operational order that user inputs on operating terminal; Wherein, the described operational order from mobile terminal, is used to indicate described operating terminal and carries out the action of first kind target, and the operational order that described user inputs on operating terminal is used to indicate described mobile terminal and carries out the action of Equations of The Second Kind target;
Thread dispatching module, for after listening to the first operational order, calls the first operational order described in the first thread execution of current free time in described operating terminal;
In the implementation of the first operational order, if listen to the second operational order, call the second operational order described in the second thread execution of current free time in described operating terminal.
In technique scheme, the embodiment of the present invention is passed through the operational order from mobile terminal, and/or, the operational order that user inputs on operating terminal is monitored, and after listening to the first operational order, call the first operational order described in the first thread execution of current free time in described operating terminal; In the implementation of the first operational order, if listen to the second operational order, call the second operational order described in the second thread execution of current free time in described operating terminal; Make operating terminal in carrying out the process of an operational order, for newly arrived another operational order, also can process in time.For example user, when calling, also can receive new call reminding or carry out the operations such as note transmission, has solved operating terminal side and cannot process the problem of many tasks simultaneously, thereby met consumers' demand better.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The process flow diagram of a kind of operational order dispatching method that Fig. 1 provides for the embodiment of the present invention;
The structural representation of a kind of operational order dispatching device that Fig. 2 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, a kind of operational order dispatching method process flow diagram providing for the embodiment of the present invention, the method is applied in operating terminal and mobile terminal communication system connected in series, wherein, operating terminal can (for example be realized several functions according to the operational order indicating mobile terminal of user's input, call, send note etc.), can be the terminal device of desktop computer, notebook computer and any energy fitting operation instruction scheduling device; Mobile terminal is to have several functions (for example converse, receive/send short messages, audio frequency play etc.), and the operational order that can send according to operating terminal, carry out the equipment of multinomial action (playing video file etc.), can be the terminal devices such as mobile phone, panel computer, specifically comprise the following steps:
S101, snoop-operations instruction, described operational order comprises: from the operational order of mobile terminal, and/or, the operational order that user inputs on operating terminal;
Wherein, the described operational order from mobile terminal, is used to indicate described operating terminal and carries out the action of first kind target, and the operational order that described user inputs on operating terminal is used to indicate described mobile terminal and carries out the action of Equations of The Second Kind target.
It should be noted that, described first kind target action is the action of carrying out from the operational order indication operating terminal of mobile terminal, such as: caller identification and note prompting etc.; The action of described Equations of The Second Kind target is the action that operational order indicating mobile terminal that user inputs on operating terminal is carried out, such as: phone is dialed, note transmission and video, audio frequency broadcasting etc.The computer of take is example as operating terminal and mobile phone as the communication system of mobile terminal composition connected in series, when mobile phone has incoming call, computer side listens to the operational order from " caller identification " of mobile phone, afterwards " incoming call " information is presented on computer screen, this caller identification is exactly described first kind target action; Or computer side listens to user about sending after the operational order of note, and this instruction is sent to mobile phone, mobile phone is carried out the action that sends note, and the action of this transmission note is exactly described Equations of The Second Kind target action.
S102, listens to after the first operational order, calls the first operational order described in the first thread execution of current free time in described operating terminal;
In embodiments of the present invention, described the first operational order can be the operational order from mobile terminal, or the operational order inputted on operating terminal of user.After listening to described the first operational order, call the first operational order described in the first thread execution of current free time in described operating terminal.For example, when listening to cell phone incoming call words, the first thread electricity prompting in the future of calling the current free time is presented on computer screen; Or when listening to note that user inputs on computers and send instruction, the First Line process control mobile phone that calls the current free time carries out note transmission.
S103, in the implementation of the first operational order, if listen to the second operational order, calls the second operational order described in the second thread execution of current free time in described operating terminal.
In embodiments of the present invention, described the second operational order can be the operational order from mobile terminal equally, or the operational order inputted on operating terminal of user.
Still the computer of take is example as operating terminal and mobile phone as the communication system of mobile terminal composition connected in series, in the process that user is receiving calls, listen to the operational order from " the note prompting " of mobile phone, call the second thread of current free time note is reminded and is presented on computer screen.
In addition, be understandable that, in the embodiment of the present invention, all right multiple communication operation of executed in parallel, such as user removes to check cell phone address book or short message content in the process receiving calls, at this, repeats no more.
From above-described embodiment, can find out, the embodiment of the present invention is passed through the operational order from mobile terminal, and/or the operational order that user inputs on operating terminal is monitored, and after listening to the first operational order, call the first operational order described in the first thread execution of current free time in described operating terminal; In the implementation of the first operational order, if listen to the second operational order, call the second operational order described in the second thread execution of current free time in described operating terminal; Make operating terminal in carrying out the process of an operational order, for newly arrived operational order, also can process in time, for example user is when calling, also can receive new call reminding or carry out the operations such as note transmission, solved operating terminal side and cannot process the problem of many tasks simultaneously, thereby met consumers' demand better.
In another embodiment of the present invention, section, may monitor a plurality of operational orders that simultaneously arrive at one time, calls the thread of the current free time of respective amount and carries out respectively described a plurality of operational order.
Still the communication system of computer and mobile phone composition connected in series of take illustrates as example, for example, monitor cell phone incoming call and user simultaneously and in computer end input, send the operational order of note, call the thread of two current free time and carry out respectively described operational order, call reminding is presented on computer screen, and control sending short message by mobile phone, thereby carry out when having realized a plurality of task.
In addition, being understandable that, listening to a plurality of operational orders that the same time period arrives simultaneously, can be the in the situation that of the free time, can be also that system is being carried out in the situation of one or more operational orders in system, and the embodiment of the present invention does not limit this.
In another embodiment of the present invention, number of threads for operation command has in limited time, if all threads are simultaneously all in executable operations instruction, the operational order that surpasses number of threads just can not be processed in time, wait in line, once there be the thread free time to get off, could process the operational order of waiting in line.
In view of this queuing phenomena, the present invention introduces the treatment mechanism of operational order priority, this priority can be by user need to set voluntarily according to oneself.Still the communication system that mobile phone and daisy chain form of take illustrates as example, for example, when user waits for important cell phone incoming call or short message, can be set to from the operational order of mobile phone the operational order that priority is high, further, can also carry out refinement to the high operational order of priority, as " caller identification " being set to the operational order of the first priority, next is " note prompting ", like this when occurring that operational order is queued up, just can to operational order, carry out priority queueing according to the predefined priority of user, determine processing sequence, once there be the thread free time to get off, the operational order that execution priority is immediately high, fully met users ' individualized requirement.
In addition, be understandable that, when user need to guarantee when the operational order of computer end input obtains preferentially carrying out, operational order that also can computer end input is set to the instruction that priority is high, at this, repeats no more.
In another embodiment, mobile terminal can also send to the operational order of operating terminal side to be encrypted to mobile terminal side, or operating terminal sends to the operational order of mobile terminal side to be encrypted to operating terminal side.For example can carry out gz encryption or utilize Secure Hash Algorithm to be encrypted operational order, can also utilize any applicable cipher mode of prior art to be encrypted operation, to reach the object that improves Information Security, repeat no longer one by one here.
In addition, mobile terminal can also send to the operational order of operating terminal side to compress processing to mobile terminal side, or operating terminal sends to the operational order of mobile terminal side to compress processing to operating terminal side, to improve the transfer rate of information.
It should be noted that, above embodiment take the communication system of computer and mobile phone composition connected in series to illustrate as example, but the method that the embodiment of the present invention provides is not limited to this, the communication system forming such as other mobile terminal such as other operating terminals such as notebook computer and panel computer, can apply the method that the embodiment of the present invention provides, realize the object that multi-thread concurrent is processed multitask.
Shown in Figure 2, the embodiment of the present invention also provides a kind of operational order dispatching device, this application of installation, in operating terminal and mobile terminal communication system connected in series, and is positioned at described operating terminal side, and this device comprises: module 201 and thread dispatching module 202 are monitored in instruction;
Wherein, module 201 is monitored in described instruction, and for operational order is monitored, described operational order comprises: from the operational order of mobile terminal, and/or the operational order inputted on operating terminal of user; Wherein, the described operational order from mobile terminal, is used to indicate described operating terminal and carries out the action of first kind target, and the operational order that described user inputs on operating terminal is used to indicate described mobile terminal and carries out the action of Equations of The Second Kind target.
Described thread dispatching module 202, for after listening to the first operational order, calls the first operational order described in the first thread execution of current free time in described operating terminal; In the implementation of the first operational order, if listen to the second operational order, call the second operational order described in the second thread execution of current free time in described operating terminal.
In one embodiment of the invention, described thread dispatching module 202, if also for listen to a plurality of operational orders in the same period simultaneously, calls the thread of the current free time of respective amount in described operating terminal and carries out respectively described a plurality of operational order.
It should be noted that, described thread dispatching module 202 listens to a plurality of operational orders that the same time period arrives simultaneously, can be the in the situation that of the free time, can be that system is being carried out in the situation of one or more operational orders in system, the embodiment of the present invention limit this yet.
In one embodiment of the invention, when the quantity of operational order surpasses the number of threads of current free time, described thread dispatching module 202 is according to default operational order priority, to the processing of sorting of described a plurality of operational orders.
It should be noted that, operational order priority can be by need to set according to user voluntarily, for example can be set to from the operational order of mobile terminal the operational order that priority is higher, can user be set at the operational order of operating terminal input the operational order that priority is higher, the embodiment of the present invention does not limit this yet.
In addition, be understandable that, can also, to the operational order from the same side (mobile terminal side or operating terminal side), according to task type corresponding to operational order, carry out the further segmentation of priority.
In one embodiment of the invention, mobile terminal can also send to the operational order of operating terminal side to be encrypted to mobile terminal side, or operating terminal sends to the operational order of mobile terminal side to be encrypted to operating terminal side.For example can carry out gz encryption or utilize Secure Hash Algorithm to be encrypted operational order, can utilize any applicable cipher mode of prior art to be encrypted operation, to reach the object that improves Information Security, repeat no longer one by one here.
In another embodiment of the present invention, mobile terminal can also send to the operational order of operating terminal side to compress processing to mobile terminal side, or operating terminal sends to the operational order of mobile terminal side to compress processing to operating terminal side, to improve the transfer rate of information.
While for convenience of description, describing above device, with function, being divided into various modules describes respectively.Certainly, when implementing the application, the function of each module can be realized in same or a plurality of software and/or hardware.
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually referring to, each embodiment stresses is the difference with other embodiment.Especially, for device embodiment, because it is substantially similar in appearance to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment is to come the hardware that instruction is relevant to complete by program, described program can be stored in computer read/write memory medium, here alleged storage medium, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. an operational order dispatching method, the method is applied to, in operating terminal and mobile terminal communication system connected in series, it is characterized in that, comprises:
The operational order dispatching device that is positioned at operating terminal side is monitored operational order, and described operational order comprises: from the operational order of mobile terminal, and/or, the operational order that user inputs on operating terminal; Wherein, the described operational order from mobile terminal, is used to indicate described operating terminal and carries out the action of first kind target, and the operational order that described user inputs on operating terminal is used to indicate described mobile terminal and carries out the action of Equations of The Second Kind target;
Listen to after the first operational order, call the first operational order described in the first thread execution of current free time in described operating terminal;
In the implementation of the first operational order, if listen to the second operational order, call the second operational order described in the second thread execution of current free time in described operating terminal.
2. method according to claim 1, is characterized in that, also comprises:
If listen to a plurality of operational orders in the same period simultaneously, call the thread of the current free time of respective amount in described operating terminal and carry out respectively described a plurality of operational order.
3. method according to claim 2, is characterized in that, when the quantity of described a plurality of operational orders surpasses the number of threads of current free time, according to default operational order priority, to the processing of sorting of described a plurality of operational orders.
4. according to the method described in claim 1-3 any one, it is characterized in that, described operational order is the operational order through encryption.
5. according to the method described in claim 1-3 any one, it is characterized in that, described operational order is the operational order of processing through overcompression.
6. an operational order dispatching device, this application of installation, in operating terminal and mobile terminal communication system connected in series, and is positioned at described operating terminal, it is characterized in that, comprising:
Module is monitored in instruction, and for operational order is monitored, described operational order comprises: from the operational order of mobile terminal, and/or, the operational order that user inputs on operating terminal; Wherein, the described operational order from mobile terminal, is used to indicate described operating terminal and carries out the action of first kind target, and the operational order that described user inputs on operating terminal is used to indicate described mobile terminal and carries out the action of Equations of The Second Kind target;
Thread dispatching module, for after listening to the first operational order, calls the first operational order described in the first thread execution of current free time in described operating terminal;
In the implementation of the first operational order, if listen to the second operational order, call the second operational order described in the second thread execution of current free time in described operating terminal.
7. device according to claim 6, it is characterized in that, if described thread dispatching module also for listen to a plurality of operational orders in the same period simultaneously, is called the thread of the current free time of respective amount in described operating terminal and is carried out respectively described a plurality of operational order.
8. device according to claim 7, it is characterized in that, described thread dispatching module also for, when the quantity of described a plurality of operational orders surpasses the number of threads of current free time, according to default operational order priority, to the processing of sorting of described a plurality of operational orders.
9. according to the device described in claim 6-8 any one, it is characterized in that, described operational order is the operational order through encryption.
10. according to the device described in claim 6-8 any one, it is characterized in that, described operational order is the operational order of processing through overcompression.
CN201310747280.8A 2013-12-30 2013-12-30 Operating instruction dispatching method and device Pending CN103713946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310747280.8A CN103713946A (en) 2013-12-30 2013-12-30 Operating instruction dispatching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310747280.8A CN103713946A (en) 2013-12-30 2013-12-30 Operating instruction dispatching method and device

Publications (1)

Publication Number Publication Date
CN103713946A true CN103713946A (en) 2014-04-09

Family

ID=50406949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310747280.8A Pending CN103713946A (en) 2013-12-30 2013-12-30 Operating instruction dispatching method and device

Country Status (1)

Country Link
CN (1) CN103713946A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131180A (en) * 2016-07-08 2016-11-16 深圳市沃特沃德股份有限公司 The processing method of the many concurrent requests of intelligent terminal, Apparatus and system
CN110088723A (en) * 2017-03-24 2019-08-02 西部数据技术公司 For the system and method to submitting queue and completion queue to be handled and make arbitration
US11487434B2 (en) 2017-03-24 2022-11-01 Western Digital Technologies, Inc. Data storage device and method for adaptive command completion posting
US11635898B2 (en) 2017-03-24 2023-04-25 Western Digital Technologies, Inc. System and method for adaptive command fetch aggregation

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131180A (en) * 2016-07-08 2016-11-16 深圳市沃特沃德股份有限公司 The processing method of the many concurrent requests of intelligent terminal, Apparatus and system
CN110088723A (en) * 2017-03-24 2019-08-02 西部数据技术公司 For the system and method to submitting queue and completion queue to be handled and make arbitration
CN110088723B (en) * 2017-03-24 2022-09-23 西部数据技术公司 System and method for processing and arbitrating commit and completion queues
US11487434B2 (en) 2017-03-24 2022-11-01 Western Digital Technologies, Inc. Data storage device and method for adaptive command completion posting
US11635898B2 (en) 2017-03-24 2023-04-25 Western Digital Technologies, Inc. System and method for adaptive command fetch aggregation

Similar Documents

Publication Publication Date Title
CN110233742B (en) Group establishing method, system, terminal and server
CN109857551B (en) Service resource scheduling method and device based on cloud computing and electronic equipment
CN106547578A (en) The loading method and device of terminal applies APP
CN107731231B (en) Method for supporting multi-cloud-end voice service and storage device
CN103313216A (en) Message prompt method, system and device for communication account
US20240089228A1 (en) Information display method, apparatus, and electronic device
CN103713946A (en) Operating instruction dispatching method and device
CN104375753A (en) Display control method, display control device and electronic device
CN111800462A (en) Micro-service instance processing method and device, computer equipment and storage medium
CN104063131A (en) Application display method and device and user terminal
WO2019040158A1 (en) Notification api of conferencing client for external devices
CN104079542A (en) Information processing method and device management server
CN113721807A (en) Information display method and device, electronic equipment and storage medium
CN103986824A (en) Data display method and system of electronic equipment
CN102333280A (en) Business secret key renewing method and system and business processing server
CN104346563A (en) Information processing method and electronic equipment
US20240104671A1 (en) Method and apparatus for group management, electronic device, and storage medium
CN114138506A (en) Message queue scheduling method and device, equipment, medium and product thereof
CN106101458A (en) A kind of call processing method and electronic equipment
CN112929254A (en) Message processing method and device and electronic equipment
CN110297707A (en) A kind of method for message transmission and device
CN104038642A (en) Method and device for responding to incoming call
CN111190731A (en) Cluster task scheduling system based on weight
CN107402816B (en) Method, device, terminal and storage medium for adjusting work queue of touch screen
JP2013517731A (en) Method and system for establishing a communication channel between a predetermined number of selected devices, and device and server configured for use in the system

Legal Events

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

Application publication date: 20140409