Movatterモバイル変換


[0]ホーム

URL:


CN108664342A - Extend method, system and storage medium based on WEB specification small routine operational capabilities - Google Patents

Extend method, system and storage medium based on WEB specification small routine operational capabilities
Download PDF

Info

Publication number
CN108664342A
CN108664342ACN201810403402.4ACN201810403402ACN108664342ACN 108664342 ACN108664342 ACN 108664342ACN 201810403402 ACN201810403402 ACN 201810403402ACN 108664342 ACN108664342 ACN 108664342A
Authority
CN
China
Prior art keywords
server
terminal
active task
processor active
resource file
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
CN201810403402.4A
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.)
Guangzhou Baiguoyuan Information Technology Co Ltd
Original Assignee
Guangzhou Baiguoyuan Information 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 Guangzhou Baiguoyuan Information Technology Co LtdfiledCriticalGuangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN201810403402.4ApriorityCriticalpatent/CN108664342A/en
Publication of CN108664342ApublicationCriticalpatent/CN108664342A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The present invention relates to software fields, and in particular to a kind of method, apparatus, system, storage medium and terminal of the extension based on WEB specification small routine operational capabilities, the method be applied to include first terminal, server and servo terminal system, including:Operation of the first terminal in response to user in the small routine generates processor active task and uploads onto the server;The processor active task includes pending resource file and the processing mode to the resource file;The server receives the processor active task distributing the processor active task to servo terminal;The servo terminal obtains the processor active task from the server, obtain the resource file and the processing mode to the resource file, start local specified application and handle the resource file generation file destination according to the processing mode, the file destination is uploaded to the server;The file destination is back to the first terminal by the server.The present invention extends the operational capability of small routine.

Description

Extend method, system and storage medium based on WEB specification small routine operational capabilities
Technical field
The present invention relates to software application fields, and in particular to a kind of side of the extension based on WEB specification small routine operational capabilitiesMethod, device, system, storage medium and terminal.
Background technology
Small routine is a kind of " program " for being finished to walk, exempting from installation risen along with mobile Internet, and application at present is mostWide small routine is the wechat small routine of Tencent's publication, and wechat small routine is the application development frame of Tencent's publicationSmall routine is placed in wechat and runs by frame, using javascript language developments, is finished and walks, and exempts to install, easy to use.But the deficiency of such small routine is, because its exploitation is to be based on WEB specifications, one built using HTML, CSS and JS etc.Frame is covered, is developed using javascript language, it, should due to being to use javascript language developmentsClass small routine just cannot directly use the operating system SDK of mobile terminal, allow the function that some native applications programs possess cannotIt is realized in small routine, thus the operational capability of current small routine is relatively low, can not provide the function as native applications program, thereforeThere is an urgent need for a kind of lower solutions of solution small routine operational capability at present.
Invention content
To overcome, the small routine operational capability of the above technical problem, the especially prior art based on WEB specifications is relatively low, functionLimited problem, spy propose following technical scheme:
In a first aspect, the present invention provides a kind of method of the extension based on WEB specification small routine operational capabilities, it is applied to packetThe system for including first terminal, server and servo terminal, including:
Operation of the first terminal in response to user in the small routine generates processor active task and uploads onto the server;The processor active task includes pending resource file and the processing mode to the resource file;
The server receives the processor active task distributing the processor active task to servo terminal;
The servo terminal obtains the processor active task from the server, obtains the resource file and to the resourceThe processing mode of file starts local specified application and handles the resource file generation target according to the processing modeThe file destination is uploaded to the server by file;
The file destination is back to the first terminal by the server..
Further, the small routine is associated with the specified application, described to start the specified using journey of localSequence handles the resource file according to the processing mode and generates file destination, including:
Servo terminal start local in the associated specified application of the small routine;
It parses the processor active task and obtains the resource file and the processing mode to the resource file;
The specified application is controlled using the operating system SDK of servo terminal according to described in processing mode processingResource file generates file destination.
Further, after the server receives the processor active task, further include:The processor active task is sorted, it is rawAt the processor active task with serial number;
The servo terminal obtains the processor active task from the server, including:
The processor active task of server described in the servo terminal polling;
Receive the processor active task that server issues successively according to the serial number of processor active task;
Or,
The processor active task is pushed to each servo terminal by the server successively according to the serial number of processor active task, described to watchIt takes terminal and the small routine offer operational capability is provided.
Further, the processor active task includes task feature, and the server receives the processor active task with will be describedProcessor active task is distributed to servo terminal, including:
The server obtains the task feature of each processor active task;
The task feature that servo terminal can be handled is obtained, the corresponding operation of servo terminal coupling is characterized as according to the taskTask.
Further, the server receives the processor active task distributing the processor active task to servo terminal, packetIt includes:
Server calculates the operand according to the processor active task;
Obtain the operational capability of servo terminal;
It is the corresponding processor active task of servo terminal coupling according to the operand and the operational capability.
Second aspect, the present invention provide a kind of extend from the angle of first terminal and are based on WEB specification small routine operational capabilitiesMethod, including:
Operation of the first terminal in response to user in the small routine generates processor active task and uploads onto the server;It is describedProcessor active task includes pending resource file and the processing mode to the resource file;
First terminal receives the file destination that server returns, and the file destination starts local finger by servo terminalDetermine to be uploaded to the server, the servo terminal after application program handles the resource file generation according to the processing modeThe processor active task is obtained from the server to obtain the resource file and to the processing mode of the resource file.
The third aspect, the present invention provide a kind of system of the extension based on WEB specification small routine operational capabilities, including the first endEnd, server and servo terminal, it is characterised in that:
The first terminal generates processor active task and uploads to clothes for the operation in response to user in the small routineBusiness device;The processor active task includes pending resource file and the processing mode to the resource file;
The server, for receiving the processor active task distributing the processor active task to servo terminal;
The servo terminal obtains the resource file and to institute for obtaining the processor active task from the serverThe processing mode for stating resource file starts local specified application and handles the resource file life according to the processing modeAt file destination, the file destination is uploaded to the server;
The server is additionally operable to the file destination being back to the first terminal.
Fourth aspect, the present invention also provides a kind of device of the extension based on WEB specification small routine operational capabilities, feature existsIn, including:
Respond module:For the operation in response to user in the small routine, generates processor active task and upload onto the server;The processor active task includes pending resource file and the processing mode to the resource file;
Receiving module:File destination for receiving server return, the file destination start this by servo terminalThe specified application on ground handles after the resource file generates according to the processing mode and is uploaded to the server, described to watchIt takes terminal and from the server obtains the processor active task to obtain the resource file and to the processing side of the resource fileFormula.
5th aspect, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediumOn be stored with computer program, the program realized when being executed by processor above-mentioned extension be based on WEB specification small routine operation energyThe method of power.
6th aspect, the present invention also provides a kind of terminal, the terminal include one or more processors, memory,One or more application program, wherein one or more of application programs be stored in the memory and be configured as byOne or more of processors execute, and one or more of programs are configured to carry out above-mentioned extension and are based on WEB specificationsThe method of small routine operational capability.
Compared with prior art, the present invention having the advantages that:
The small routine based on WEB specifications that the present invention provides a kind of from first terminal initiates processor active task, passes through clothesWu Qi intermediaries, by processor active task entrust to servo terminal native applications program complete calculation process, and return handling result toFirst terminal allows the small routine on first terminal that can be extended small indirectly using the function of native applications program in servo terminalThe operational capability of program, the limitation of operating system SDK can not be used by having broken small routine, and more functions are added for small routine,In conjunction with the operational capability easy to use and servo terminal of small routine, the user experience using small routine is improved, and be not required toApplication program in servo terminal is rewritten in server end, it also need not be by the application program small routine in servo terminalSDK is rewritten, and can the function of native applications be quickly supplied to small routine.
It is also possible to which capable of flexibly being handled according to the task feature of processor active task, servo terminal for task is specialSign is servo terminal coupling processor active task appropriate, and the processor active task of different task feature is distributed to different servo terminals,It allows servo terminal that can handle corresponding processor active task according to the condition of itself, selection, can also be nonidentity operation characteristic matchingDifferent reward values, reward provide the servo terminal of operational capability.
It is also possible to be flexibly that servo is whole according to the operational capability of the operand of processor active task, servo terminalEnd matches processor active task appropriate, allows the higher servo terminal processes of performance are complicated to spend higher processor active task, makes performance relatively lowThe lower processor active task of the complicated degree of servo terminal processes, improve the treatment effeciency of processor active task, while it is better to give userUsage experience will not wait for too long of time or processing failure because the too low servo terminal of performance is matched to.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following descriptionObviously, or practice through the invention is recognized.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodimentsObviously and it is readily appreciated that, wherein:
Fig. 1 is an embodiment flow diagram of method of the present invention extension based on WEB specification small routine operational capabilities;
Fig. 2 is an embodiment schematic diagram of system of the present invention extension based on WEB specification small routine operational capabilities;
Fig. 3 is an application scenarios embodiment schematic diagram of the present invention extension based on WEB specification small routine operational capabilities;
Fig. 4 is another embodiment schematic diagram of method of the present invention extension based on WEB specification small routine operational capabilities
Fig. 5 is an embodiment schematic diagram of device of the present invention extension based on WEB specification small routine operational capabilities;
Fig. 6 is an example structure schematic diagram of terminal of the present invention.
Specific implementation mode
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 endSame or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attachedThe embodiment of figure description is exemplary, and is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " oneIt is a ", " described " and "the" may also comprise plural form.It is to be further understood that is used in the specification of the present invention arrangesDiction " comprising " refer to there are the feature, integer, step, operation, but it is not excluded that presence or addition it is one or more otherFeature, integer, step, operation.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technologyTerm and scientific terminology), there is meaning identical with the general understanding of the those of ordinary skill in fields of the present invention.Also answerIt should be appreciated that those terms such as defined in the general dictionary, it should be understood that have in the context of the prior artThe consistent meaning of meaning otherwise will not containing with idealization or too formal and unless by specific definitions as hereJustice is explained.
It will be understood by those skilled in the art that the concepts such as server used herein above, high in the clouds, remote network devices, toolThere is effects equivalent comprising but it is not limited to computer, network host, single network server, multiple network server collection or moreThe cloud that a server is constituted.Here, cloud is by being based on a large amount of computers or network server of cloud computing (Cloud Computing)It constitutes, wherein cloud computing is one kind of Distributed Calculation, and one be made of the computer collection of a group loose couplings is super virtualComputer.In the embodiment of the present invention, any communication party can be passed through between remote network devices, terminal device and WNS serversFormula realizes communication, including but not limited to, the mobile communication based on 3GPP, LTE, WIMAX, the meter based on TCP/IP, udp protocolThe network communication of calculation machine 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 " of the invention, " application program ", " application software " and classIt is the same concept well known to those skilled in the art like the concept of statement, refers to being instructed by series of computation machine and related dataThe computer software for being suitable for electronics operation of the organic construction of resource.Unless specified, this name itself is not by programming languageType, 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 appointThe terminal of what form is limited.
In one embodiment, the present invention provides a kind of method of the extension based on WEB specification small routine operational capabilities, applicationIn the system including first terminal 21, server 22 and servo terminal 23 as shown in Figure 2, which does not mean that objective generationThe equipment that can be seen in boundary, and refer to that the realization of the program is constituted by first terminal 21, server 22 with servo terminal 23System, on first terminal 21 operation have small routine develop based on WEB specifications, be equipped in servo terminal 23 specified using journeySequence, the servo terminal are preferably mobile phone, and tablet computer class mobile terminal, server 22 is as first terminal 21 and servo endThe intermediary communicated between end 23.In the present invention, what the small routine based on the exploitation of WEB specifications was issued with current TencentIt is illustrated for wechat small routine.As shown in Figure 1, the method for the extension based on WEB specification small routine operational capabilities includesFollowing steps:
S100:Operation of the first terminal in response to user in the small routine generates processor active task and uploads to clothesBusiness device;The processor active task includes pending resource file and the processing mode to the resource file.
User operates in small routine, at this time operation of the first terminal in response to user in the small routine, rawIt uploads onto the server at processor active task, or for operation request, the processor active task is comprising pending resource file and to instituteThe processing mode of resource file is stated, such as user will carry out a photo P in small routine the processing of " addition A filters ", shinePiece P is the pending resource file, and addition A filters are the processing mode to the resource file.
S200:The server receives the processor active task distributing the processor active task to servo terminal.
After the server receives the processor active task, it is stored in server storage system, and generates an operation and appointsBusiness is put into waiting list distributing the processor active task to servo terminal, and more preferably, the queue serial number for returning to processor active task suppliesThe small routine of first terminal is for future reference.
S300:The servo terminal obtains the processor active task from the server, obtains the resource file and to instituteThe processing mode for stating resource file starts local specified application and handles the resource file life according to the processing modeAt file destination, the file destination is uploaded to the server.
In the present embodiment, operational capability is provided for the small routine of first terminal by servo terminal, handles first terminalThe processor active task that small routine generates is appointed specifically, servo terminal obtains the processor active task from the server from the operationPending resource file and the processing mode to the resource file can be got in business, are then started the specified of local and are answeredThe resource file is handled according to the processing mode with program and generate file destination, complete user and needed in small routine to moneyThe file destination is uploaded to the server by the handling result of source file after generating file destination.
Specifically, described start local specified application according to the processing mode processing resource file generationFile destination, including:
Servo terminal start local in the associated specified application of the small routine;
It parses the processor active task and obtains the resource file and the processing mode to the resource file;
The specified application is controlled using the operating system SDK of servo terminal according to described in processing mode processingResource file generates file destination.
In one embodiment, the servo terminal is Android mobile terminal, and operating system is Android systemsSystem, the API provided by Android AccessibilityService start the specified application in local automatically;It parses the processor active task and obtains the resource file and the processing mode to the resource file;Described specify is automatically controlled to answerThe resource file is handled according to the processing mode generate file destination with program using the operating system SDK of servo terminal,It is realized using operating system SDK such as servo terminal and picture addition filter is handled;Finally the file destination is uploaded to describedServer.In another embodiment, the operating system of the servo terminal is IOS systems, by XCUITest orUIAutomation frames start the specified application in local automatically;It parses the processor active task and obtains the resource fileAnd the processing mode to the resource file;Automatically control the operating system SDK that the specified application uses servo terminalThe resource file, which is handled, according to the processing mode generates file destination;The file destination is finally uploaded to the serviceDevice.
S400:The file destination is back to the first terminal by the server.
After server receives the file destination of first terminal return, identifies the processor active task and complete, by the targetFile returns to first terminal, and user can view in first terminal obtained by oneself operation on small routine to resource fileThe result arrived.Preferably, file destination is returned to the small routine on first terminal by server, and user can be in small routineOn be immediately seen the file destination, and user, which will not obviously experience the function on small routine, to be completed using servo terminal,It gives user preferably to experience, such as user can be immediately seen the knot for oneself adding picture P A filters on small routineFruit.In the present embodiment, file destination can also be back to first terminal by server otherwise, such as can be depositNetwork storage, cloud storage send Email, send short message, return to the modes such as user's hyperlink, the present invention does not limit thisIt is fixed.
The present embodiment proposes that a kind of small routine based on WEB specifications from first terminal initiates processor active task, passes through clothesWu Qi intermediaries, by processor active task entrust to servo terminal native applications program complete calculation process, and return handling result toFirst terminal allows the small routine on first terminal that can be extended small indirectly using the function of native applications program in servo terminalThe operational capability of program, the limitation of operating system SDK can not be used by having broken small routine, and more functions are added for small routine,In conjunction with the operational capability easy to use and servo terminal of small routine, the user experience using small routine is improved, and be not required toApplication program in servo terminal is rewritten in server end, it also need not be by the application program small routine in servo terminalSDK is rewritten, and can the function of native applications be quickly supplied to small routine.
In above-described embodiment, after the server receives the processor active task, further include:
Server sorts the processor active task, generates the processor active task with serial number;
The servo terminal obtains the processor active task from the server, including:
The processor active task of server described in the servo terminal polling;
Receive the processor active task that server issues successively according to the serial number of processor active task;
Or,
The processor active task is pushed to each servo terminal by the server successively according to the serial number of processor active task, described to watchIt takes terminal and the small routine offer operational capability is provided.
In the embodiment of the present invention, the first terminal not only refers to a terminal, and refers to all being able to carry out this hairThe terminal of bright function, when the quantity of first terminal is on the increase, thing followed processor active task is also on the increase, serverIt after receiving processor active task, needs to be ranked up each processor active task, generates the processor active task with serial number with preferablyThe processor active task is distributed to servo terminal.
Also, a kind of mode that the servo terminal obtains processor active task from server is:The servo terminal polling instituteState the processor active task of server;The processor active task that server issues successively according to the serial number of processor active task is received, servo terminal is notBreak to whether server poll has a processor active task, server receives after the poll of servo terminal then by processor active task according to serial numberIt is handed down to servo terminal successively, the serial number of the processor active task is ranked up according to the submission time of processor active task, to reach firstThe effect first handled is submitted, the stand-by period of first terminal user is reduced, it is unofficial specified which, which is suitable for servo terminal,Terminal, the terminal of specified application as described in being equipped with can be used as processor active task as described in servo terminal to server poll.Further, after the completion of servo terminal to server obtains the processor active task simultaneously, corresponding reward can be obtained, to encourageMore unofficial designated terminals provide operational capability as servo terminal for the small routine.
The servo terminal from server obtain processor active task another way be:The server is according to processor active taskSerial number the processor active task is pushed into each servo terminal successively;Server is watched to multiple successively according to the serial number of processor active taskTerminal push processor active task is taken, it is official's designated terminal that the method, which is suitable for servo terminal, and the servo terminal is configured as instituteIt states small routine and operational capability is provided.
Specifically, a kind of embodiment of the present invention, the processor active task includes task feature, described in the server receptionProcessor active task distributing the processor active task to servo terminal, including:
The server obtains the task feature of each processor active task;
The task feature that servo terminal can be handled is obtained, the corresponding operation of servo terminal coupling is characterized as according to the taskTask.
In the present embodiment, each processor active task includes certain task feature, and the servo terminal will be handledTask feature upload onto the server, the server gets the task feature that servo terminal can be handled, according to the spySign is the corresponding processor active task of servo terminal coupling.For example, providing a variety of work(such as picture processing, video processing on small routineCan, the processor active task of picture processing has corresponded to a kind of task feature, and the processor active task of video processing has corresponded to another task spySign, and servo terminal C1 only provides a picture to server statement and handles a corresponding task feature, servo terminal C1 is to server ShenBright offer video handles corresponding task feature and obtains the operation then after server receives the processor active task of first terminalThe task of task is characterized in picture processing, then servo terminal C1 is given by the processor active task is to be allocated, when server receives theAfter the processor active task of one terminal, the obtaining the processor active task of the task is characterized in video processing, then the processor active task is to be allocatedGive servo terminal C2.Further, the different size of reward value of each task characteristic matching, when servo terminal is completed to correspond toAfter the processor active task of task feature, the corresponding reward value of task feature can be obtained.
Further, a kind of embodiment of the invention, the server receive the processor active task to appoint the operationBusiness is distributed to servo terminal, including:
Server calculates the operand according to the processor active task;
Obtain the operational capability of servo terminal;
It is the corresponding processor active task of servo terminal coupling according to the operand and the operational capability.
Different user is different for complicated degree of the operation in small routine, when complicated degree is higher, the operation of generationThe operand of required by task is bigger, and the present embodiment calculates the operand of each processor active task in server, and obtains eachThe operational capability of a servo terminal, or be operation power, then the operand is that servo terminal coupling is corresponding with operational capabilityProcessor active task, allow the higher processor active task of the complicated degree of the higher servo terminal processes of performance, allow the lower servo terminal of performanceComplicated lower processor active task of degree is handled, improves the treatment effeciency of processor active task, while giving the better usage experience of user, noToo long of time or processing failure can be waited for because the too low servo terminal of performance is matched to.
Following application scenarios for elaborating the embodiment of the present invention again, as shown in figure 3, the present invention apply it is small in such as wechatIn the resource files such as applet process picture, audio and video, word that program etc. is developed based on WEB specifications, for handling pictureIt illustrates, for example, user starts small routine " sweet potato animation camera " on first terminal, utilizes small routine " sweet potato animation phaseThe filter function provided on machine " is added picture P the processing of A filters, and the small routine of first terminal " will carry out picture PAddition A filters processing " generates processor active task and is sent to server (flow in Fig. 3 representated by 1);Server receives the fortuneAfter calculation task, when servo terminal (the servo mobile phone in Fig. 3) obtains processor active task (in Fig. 3 by way of poll to serverFlow representated by 2), the processor active task is handed down to servo terminal (flow in Fig. 3 representated by 3) by server;Servo is wholeEnd obtains resource file and the processing mode to the resource file described in processor active task, then starts local and little Cheng automaticallySequence " sweet potato animation camera " associated application program " sweet potato animation camera " controls the specified application and uses servo terminalOperating system SDK handle the resource file according to the processing mode and generate the file destination (stream in Fig. 3 representated by 4Journey), then file destination is uploaded to server (flow in Fig. 3 representated by 5), file destination is returned to by last serverOne terminal (flow in Fig. 3 representated by 6) is completed to be added the processing of A filters to picture P on small routine.The present embodiment withFor processing picture, it is illustrated how handle picture using remote application, the method can also be used to processing video style and moveShifting, character translation etc. are various to need the file of terminal local application processing or information, those skilled in the art can be according to this hairIt is bright to replace the application program of servo terminal local as needed in fact, by rewriting the automatic control program of servo terminal, comeThe file or information for realizing other types such as processing audio and video, word, extend the operational capability based on WEB specification small routines.
As shown in Fig. 2, the embodiment of the present invention provides a kind of system of the extension based on WEB specification small routine operational capabilities, packetFirst terminal, server and servo terminal are included, the first terminal is used for the operation in response to user in the small routine,Processor active task is generated to upload onto the server;Comprising pending resource file and to the resource file in the processor active taskProcessing mode;The server, for receiving the processor active task distributing the distribution task to servo terminal;It is described to watchTerminal is taken, for obtaining the processor active task from the server, obtains the resource file and the place to the resource fileReason mode starts local specified application and handles the resource file generation file destination according to the processing mode, willThe file destination is uploaded to the server;The server is additionally operable to the file destination being back to first terminal.
From the first terminal angle of user's operation, in one embodiment, as shown in figure 4, the present invention provides oneMethod of the kind extension based on WEB specification small routine operational capabilities, includes the following steps:
S10:Operation of the first terminal in response to user in the small routine generates processor active task and uploads onto the server;Include pending resource file and the processing mode to the resource file in the processor active task;
S20:First terminal receives the file destination that server returns, and the file destination is started local by servo terminalSpecified application handled after the resource file generates according to the processing mode and be uploaded to the server, the servoTerminal from the server obtains the processor active task to obtain the resource file and to the processing mode of the resource file.
For example, user starts small routine " sweet potato animation camera " on first terminal, small routine " sweet potato animation phase is utilizedThe filter function provided on machine " is added picture P the processing of A filters, and the small routine of first terminal " will carry out picture PAddition A filters processing " generates processor active task and is sent to server;After server receives the processor active task, when servo terminalProcessor active task is obtained to server by way of poll, the processor active task is handed down to servo terminal by server;Servo is wholeEnd obtains resource file and the processing mode to the resource file described in processor active task, then starts local and little Cheng automaticallySequence " sweet potato animation camera " associated application program " sweet potato animation camera " controls the specified application and uses servo terminalOperating system SDK handle the resource file according to the processing mode and generate file destination, then file destination is uploaded toFile destination is returned to first terminal by server, last server, and completion is added A filters on small routine to picture PProcessing.The present embodiment is for handling picture, it is illustrated how handles picture using remote application, the method can also be used toThe various files or information for needing terminal local application processing such as processing video Style Transfer, character translation, people in the artMember according to the present invention can replace the application program of servo terminal local as needed in fact, by rewriting servo terminalAutomatic control program, to realize that the file or information of other types such as processing audio and video, word, extension are based on WEB specifications little ChengThe operational capability of sequence.
As shown in figure 5, in another embodiment, the present invention provides a kind of extensions to be based on WEB specification small routine operationsThe device of ability, which is characterized in that including:
Respond module 10:For the operation in response to user in the small routine, generates processor active task and upload to serviceDevice;Include pending resource file and the processing mode to the resource file in the processor active task
Receiving module 20:File destination for receiving server return, the file destination are started by servo terminalLocal specified application handles after the resource file generates according to the processing mode and is uploaded to the server, describedServo terminal obtains the processor active task to obtain the resource file and the processing to the resource file from the serverMode.
In another embodiment, the present invention provides a kind of computer readable storage medium, computer-readable storage mediumsComputer program is stored in matter, which realizes the method for processing video frequency described in above-described embodiment when being executed by processor.ItsIn, the computer readable storage medium include but not limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM,And magneto-optic disk), ROM (Read-Only Memory, read-only memory), (Random AcceSS Memory, store RAM immediatelyDevice), EPROM (EraSable Programmable Read-Only Memory, Erarable Programmable Read only Memory),(Electrically EraSable Programmable Read-Only Memory, electric erazable programmable is read-only to be deposited EEPROMReservoir), flash memory, magnetic card or light card.It is, storage device includes by equipment (for example, computer, mobile phone) with energyAny medium for the form storage or transmission information enough read can be read-only memory, disk or CD etc..
A kind of computer readable storage medium provided in an embodiment of the present invention, above-mentioned first terminal, server, servo is wholeThe achieved function in end be stored in same storage medium, it can be achieved that first terminal in response to user in the small routineOperation, generate processor active task upload onto the server;The processor active task is comprising pending resource file and to the resourceThe processing mode of file;Server receives the processor active task distributing the processor active task to servo terminal;The servoTerminal obtains the processor active task from the server, obtains the resource file and the processing mode to the resource file,Start local specified application and handle the resource file generation file destination according to the processing mode, by the targetFile is uploaded to the server;The file destination is back to the first terminal by the server.
On the other hand, a kind of computer readable storage medium provided in an embodiment of the present invention will be achieved by first terminalFunction is stored in same storage medium the operation, it can be achieved that in response to user in the small routine, generates on processor active taskPass to server;The processor active task includes pending resource file and the processing mode to the resource file;Receive clothesThe file destination that business device returns, the file destination start local specified application according to the processing by servo terminalMode, which is handled, is uploaded to the server after the resource file generates, the servo terminal obtains the fortune from the serverCalculation task is to obtain the resource file and to the processing mode of the resource file.It is a kind of from first terminal by providingSmall routine based on WEB specifications initiates processor active task and processor active task is entrusted to the primary of servo terminal by server intermediaryApplication program completes calculation process, and returns to handling result to first terminal, and the small routine on first terminal can be used indirectlyThe function of native applications program in servo terminal, extends the operational capability of small routine, and operation can not be used by having broken small routineThe limitation of system SDK adds more functions, in conjunction with the operation energy easy to use and servo terminal of small routine for small routinePower improves the user experience using small routine, and need not rewrite the application program in servo terminal in server end,Application program in servo terminal small routine SDK need not be rewritten, can the function of native applications be quickly supplied to little ChengSequence.In addition, computer readable storage medium provided by the invention can also be achieved flexibly task feature, the servo according to processor active taskThe task that terminal can be handled is characterized as servo terminal coupling processor active task appropriate, by the processor active task of different task feature pointThe different servo terminal of dispensing allows servo terminal that can handle corresponding processor active task according to itself condition, selection, can be withFor the different reward value of nonidentity operation characteristic matching, reward provides the servo terminal of operational capability.In addition, meter provided by the inventionCalculation machine readable storage medium storing program for executing can also be achieved the flexible operand according to processor active task, the operational capability of servo terminal is servo terminalProcessor active task appropriate is matched, allows the higher servo terminal processes of performance are complicated to spend higher processor active task, makes performance lowerThe complicated lower processor active task of degree of servo terminal processes, improves the treatment effeciency of processor active task, while giving user preferably to makeWith experience, too long of time or processing failure will not be waited for because the too low servo terminal of performance is matched to.
Computer readable storage medium provided in an embodiment of the present invention may be implemented above-mentioned extension and be based on WEB specifications little ChengThe embodiment of the method for sequence operational capability, concrete function realize the explanation referred in embodiment of the method, and details are not described herein.
In addition, in another embodiment, the present invention also provides a kind of terminals, as shown in fig. 6, the terminal may includeOne or more than one processor 601 further include memory 602, WiFi (wireless fidelity, Wireless Fidelity)It is circuit 603, RF (Radio Frequency, radio frequency) circuit 604, voicefrequency circuit 605, sensor 606, output equipment 607, defeatedEnter equipment 608, power supply 609, processor 601 is the control centre of terminal, utilizes various interfaces and the above each section of connection.It will be understood by those skilled in the art that the restriction of terminal structure shown in Fig. 6 not structure paired terminal, may include than diagramMore or fewer components either combine certain components or different components arrangement.
WiFi circuitry 603 can provide WLAN or internet access to the user;It may include antenna, WiFi moduleDeng.RF circuits 604 can receive and send messages, or signal sends and receivees in communication process;It may include antenna, at least one putsBig device, tuner, one or more oscillators, coupler, duplexer etc..The audio data that voicefrequency circuit 605 can will receiveIt is converted into electric signal, is transferred to loud speaker, also the voice signal that microphone is collected audio data can be converted to, issue processor601 processing;Loud speaker, microphone, earphone interface etc. can be arranged in it.Sensor 606 can be used for incuding outer signals, and issue placeDevice 601 is managed to handle;It may include motion sensor, optical sensor etc..Output equipment 607 can be used for showing various signals;It canFor using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-EmittingDiode, Organic Light Emitting Diode) etc. forms configure display panel.Input equipment 604 can be used for inputting the letters such as number and characterBreath;It can be physical button, touch panel etc..Power supply 609 can be that terminal each section is powered, and pass through power-supply management system and processing609 logical connection of device;It may include one or more direct current or AC power, charging system, power supply status indicatorEqual components.Memory 602 can be used for storing software program and module;It can be computer readable storage medium, be specificallyHard disk, flash memory etc..Processor is the control centre of terminal, by running or executing the software program being stored in memory 602And/or module, and the data for being stored in memory 602 are called, execute terminal various functions, processing terminal data.
As one embodiment, terminal includes:One or more processors 601, memory 602, one or more applicationProgram, wherein one or more of application programs are stored in memory 602 and are configured as by one or more ofProcessor 601 executes, and one or more of programs are configured to carry out the extension WEB specification small routines described in above exampleThe method of operational capability.One or more processors 603 shown in Fig. 6 are able to carry out, realize and respond mould shown in Fig. 5The function of block 10, receiving module 20.
A kind of terminal provided in an embodiment of the present invention generates, it can be achieved that operation in response to user in the small routineProcessor active task is uploaded onto the server;The processor active task includes pending resource file and the processing side to the resource fileFormula;The file destination that server returns is received, the file destination starts local specified application by servo terminal and pressesIt is uploaded to the server after being generated according to the processing mode processing resource file, the servo terminal is from the serverThe processor active task is obtained to obtain the resource file and to the processing mode of the resource file.It is a kind of from the by providingThe small routine based on WEB specifications in one terminal initiates processor active task and processor active task is entrusted to servo by server intermediaryThe native applications program of terminal completes calculation process, and returns to handling result to first terminal, allows small routine on first terminalCan indirectly use servo terminal on native applications program function, extend the operational capability of small routine, broken small routine withoutMethod uses the limitation of operating system SDK, more functions is added for small routine, in conjunction with the easy to use and servo of small routineThe operational capability of terminal improves the user experience using small routine, and need not take the application program in servo terminalBusiness device end is rewritten, and need not also be rewritten the small routine SDK of the application program in servo terminal, can be quickly by native applicationsFunction is supplied to small routine.In addition, terminal provided by the invention can also be achieved flexibly task feature, the servo according to processor active taskThe task that terminal can be handled is characterized as servo terminal coupling processor active task appropriate, by the processor active task of different task feature pointThe different servo terminal of dispensing allows servo terminal that can handle corresponding processor active task according to itself condition, selection, can be withFor the different reward value of nonidentity operation characteristic matching, reward provides the servo terminal of operational capability.In addition, end provided by the inventionEnd can also be achieved the flexible operand according to processor active task, the operational capability of servo terminal is the operation appropriate of servo terminal couplingTask allows the higher servo terminal processes of performance are complicated to spend higher processor active task, makes the lower servo terminal processes of performance numerousThe lower processor active task of miscellaneous degree, improves the treatment effeciency of processor active task, while giving the better usage experience of user, will not be because ofIt is matched to the too low servo terminal of performance and waits for too long of time or processing failure.
The side of the extension WEB specification small routine operational capabilities of above-mentioned offer may be implemented in terminal provided in an embodiment of the present inventionThe embodiment of method, concrete function realize the explanation referred in embodiment of the method, and details are not described herein.
The above is only some embodiments of the present invention, it is noted that for the ordinary skill people of the artFor member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answeredIt is considered as protection scope of the present invention.

Claims (10)

CN201810403402.4A2018-04-282018-04-28Extend method, system and storage medium based on WEB specification small routine operational capabilitiesPendingCN108664342A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810403402.4ACN108664342A (en)2018-04-282018-04-28Extend method, system and storage medium based on WEB specification small routine operational capabilities

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810403402.4ACN108664342A (en)2018-04-282018-04-28Extend method, system and storage medium based on WEB specification small routine operational capabilities

Publications (1)

Publication NumberPublication Date
CN108664342Atrue CN108664342A (en)2018-10-16

Family

ID=63781529

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810403402.4APendingCN108664342A (en)2018-04-282018-04-28Extend method, system and storage medium based on WEB specification small routine operational capabilities

Country Status (1)

CountryLink
CN (1)CN108664342A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110865855A (en)*2019-11-182020-03-06百度在线网络技术(北京)有限公司Applet processing method and related device
CN111339031A (en)*2020-02-252020-06-26广州拉卡拉信息技术有限公司Task processing method and device, electronic equipment and computer readable storage medium
CN111815291A (en)*2020-07-202020-10-23上海上咨工程造价咨询有限公司Cloud computing-based engineering cost multi-calculation management method and system and storage medium thereof
CN112217711A (en)*2020-09-142021-01-12武汉理工大学Method and system for calling local function by WeChat client

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20010044819A1 (en)*1997-11-072001-11-22International Business Machines CorporationRelay server for unsigned applets
US6747754B1 (en)*1999-07-222004-06-08Panasonic Communications Co., Ltd.Image processing apparatus and its status information notifying method
CN101557551A (en)*2009-05-112009-10-14成都市华为赛门铁克科技有限公司Cloud service accessing method, device and communication system thereof for mobile terminal
CN103607431A (en)*2013-10-312014-02-26小米科技有限责任公司Mobile terminal resource processing method, apparatus and equipment thereof
CN103995748A (en)*2014-05-152014-08-20乐视致新电子科技(天津)有限公司Intelligent terminal task processing method and system
CN107045508A (en)*2016-02-052017-08-15腾讯科技(深圳)有限公司The treating method and apparatus of application program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20010044819A1 (en)*1997-11-072001-11-22International Business Machines CorporationRelay server for unsigned applets
US6747754B1 (en)*1999-07-222004-06-08Panasonic Communications Co., Ltd.Image processing apparatus and its status information notifying method
CN101557551A (en)*2009-05-112009-10-14成都市华为赛门铁克科技有限公司Cloud service accessing method, device and communication system thereof for mobile terminal
CN103607431A (en)*2013-10-312014-02-26小米科技有限责任公司Mobile terminal resource processing method, apparatus and equipment thereof
CN103995748A (en)*2014-05-152014-08-20乐视致新电子科技(天津)有限公司Intelligent terminal task processing method and system
CN107045508A (en)*2016-02-052017-08-15腾讯科技(深圳)有限公司The treating method and apparatus of application program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110865855A (en)*2019-11-182020-03-06百度在线网络技术(北京)有限公司Applet processing method and related device
CN110865855B (en)*2019-11-182023-10-27百度在线网络技术(北京)有限公司 Mini program processing methods and related equipment
CN111339031A (en)*2020-02-252020-06-26广州拉卡拉信息技术有限公司Task processing method and device, electronic equipment and computer readable storage medium
CN111815291A (en)*2020-07-202020-10-23上海上咨工程造价咨询有限公司Cloud computing-based engineering cost multi-calculation management method and system and storage medium thereof
CN111815291B (en)*2020-07-202024-05-31上海上咨工程造价咨询有限公司Project cost multi-calculation management method and system based on cloud computing and storage medium thereof
CN112217711A (en)*2020-09-142021-01-12武汉理工大学Method and system for calling local function by WeChat client

Similar Documents

PublicationPublication DateTitle
CN108664342A (en)Extend method, system and storage medium based on WEB specification small routine operational capabilities
EP4033340B1 (en)Session message display method and apparatus, and electronic device and storage medium
JP2022518127A (en) Resource scheduling methods and equipment, electronic devices and recording media
US20110214115A1 (en)Method and appartus for providing a high level mobile virtual machine
CN112579048B (en)Applet integration method, device, electronic equipment and storage medium
CN109327490A (en)A kind of method and apparatus for disposing cloud service component
CN114327349B (en)Smart card determining method and device, storage medium and electronic device
CN109395395A (en)Game running method and Related product
CN109032693A (en)Method and device for loading display information, electronic equipment and readable storage medium
CN115098107B (en) Code generation method and device for neural network tasks
CN111367502A (en)Numerical value processing method and device
CN113760968A (en)Data query method, device, system, electronic equipment and storage medium
EP3374860B1 (en)Communicating information about an update of an application
CN110083466A (en)A kind of data transmission method and device of small routine
CN109766489A (en)Data processing method, client, server and computer readable storage medium
CN113891441B (en) Network connection method, device and electronic device
CN109285028A (en)Business data processing method and device, storage medium and electronic equipment
CN116737761A (en)Asynchronous reconciliation processing method, device, equipment and storage medium
CN112394944B (en)Distributed development method, device, storage medium and computer equipment
US8219668B2 (en)Resource property aggregation in a multi-provider system
CN109522492A (en)A kind of webpage content display control method, device, equipment and storage medium
CN105653290B (en)Data interactive method and system
CN110531952B (en)Voice skill processing method, device and equipment
CN113572816A (en) Device control processing method, device, storage medium and electronic device
WO2018010318A1 (en)Method and device for releasing application function display component

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp