CN110275762A - Calculation method, server, mobile terminal and device - Google Patents
Calculation method, server, mobile terminal and device Download PDFInfo
- Publication number
- CN110275762A CN110275762A CN201910360922.6A CN201910360922A CN110275762A CN 110275762 A CN110275762 A CN 110275762A CN 201910360922 A CN201910360922 A CN 201910360922A CN 110275762 A CN110275762 A CN 110275762A
- Authority
- CN
- China
- Prior art keywords
- calculating
- mobile terminal
- server
- project
- task
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application discloses calculation method, server, mobile terminal and devices, the method comprise the steps that server receives task issue terminal is cut into several computational item purpose calculating tasks in advance;Several computational item purposes are at least partly distributed at least one mobile terminal so that mobile terminal handles corresponding calculating project by server.By the above-mentioned means, the application can effectively utilize mobile terminal processing flood tide calculating task, data computational efficiency is improved.
Description
Technical field
This application involves data computing technique fields, more particularly to calculation method, server, mobile terminal and device.
Background technique
With the development of information technology, a large amount of data are produced, by the way that these data are carried out calculating analysis and be excavated,
Available some valuable information.Data have penetrated into each current industry and operation function field, become important
The factor of production.
Summary of the invention
The application, can be effective mainly solving the technical problems that provide calculation method, server, mobile terminal and device
Ground handles flood tide calculating task using mobile terminal, improves data computational efficiency.
In order to solve the above technical problems, the technical solution that the application uses is: providing a kind of calculation method, comprising:
Server receives task issue terminal and is cut into several computational item purpose calculating tasks in advance;
Several computational item purposes are at least partly distributed at least one mobile terminal so that mobile terminal by server
Processing is corresponding to calculate project.
In order to solve the above technical problems, another technical solution that the application uses is: providing a kind of calculation method, wrap
It includes:
The calculating project of acquisition for mobile terminal server distribution, it is pre- that calculating project is that server receives task issue terminal
It is first cut into transmitted after several computational item purpose calculating tasks;
Mobile terminal handles calculating project to obtain processing result;
Mobile terminal sends processing result to server.
In order to solve the above technical problems, another technical solution that the application uses is: providing a kind of server, including place
Device and telecommunication circuit are managed, processor couples telecommunication circuit;
Telecommunication circuit is cut into several computational item purpose calculating tasks for receiving task issue terminal in advance;
Processor is used to several computational item purposes being at least partly distributed at least one mobile terminal so that mobile
Terminal processes calculate project accordingly.
In order to solve the above technical problems, another technical solution that the application uses is: a kind of mobile terminal is provided, including
Processor and telecommunication circuit, processor couple telecommunication circuit;
Telecommunication circuit is used to obtain the calculating project of server distribution, and calculating project is that server receives task publication eventually
Transmitted by holding after being cut into several computational item purpose calculating tasks in advance;
Processor is for handling calculating project to obtain calculated result;
Telecommunication circuit is further used for sending calculated result to server.
In order to solve the above technical problems, another technical solution that the application uses is: providing a kind of with store function
Device, be stored with program data, program data, which can be performed, realizes above-mentioned the application calculation method.
Compared with prior art, the beneficial effect of the application is: being appointed by the calculating that task issue terminal calculates flood tide
Business carries out cutting, and such server can be corresponding multiple by calculating task when receiving the calculating task of task issue terminal
Calculating project is distributed to multiple mobile terminals and handles respectively, and the computing capability for effectively utilizing the mobile terminal free time is calculated,
To improve the computational efficiency of calculating task.
Detailed description of the invention
Fig. 1 is the structural schematic block diagram of the application computing system embodiment;
Fig. 2 is the flow diagram of the application calculation method first embodiment;
Fig. 3 is the flow diagram of the application calculation method second embodiment;
Fig. 4 is the flow diagram of the application calculation method 3rd embodiment;
Fig. 5 is the flow diagram of the application calculation method fourth embodiment;
Fig. 6 is the flow diagram of the 5th embodiment of the application calculation method;
Fig. 7 is the flow diagram of the application calculation method sixth embodiment;
Fig. 8 is the schematic block circuit diagram of the application server first embodiment;
Fig. 9 is the schematic block circuit diagram of the application server second embodiment;
Figure 10 is the schematic block circuit diagram of the application mobile terminal embodiment;
Figure 11 is the structural schematic block diagram for the Installation practice that the application has store function.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiment is only a part of the embodiment of the application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
Present inventor has found by long-term research, with the development of information technology, produces many data,
By the way that these data are carried out calculating analysis and be excavated, available some valuable information.But there is Pang for some
The matter of fundamental importance count evidence calculating analysis project for, be not often available single computer complete at the right time calculate point
Analysis.Mobile terminal often has more management in idle time ability as the huge group on internet, these idle processing energy
Power has very big potentiality to be exploited and value.To solve these problems, the application proposes following examples.
Refering to fig. 1, Fig. 1 is the structural schematic block diagram of the application computing system embodiment.As shown in Figure 1, the present embodiment meter
Calculation system includes task issue terminal 11, server 12 and mobile terminal 13.
In the present embodiment, task issue terminal 11, e.g. mobile phone, computer etc., task issue terminal 11 can will be counted
Calculation task is cut into several calculating projects, and sends calculating task to server 12.In some embodiments, task publication is whole
End 11 for example may include processor and telecommunication circuit.Processing can be used before sending calculating task in task issue terminal 11
Calculating task is cut into several calculating projects by device.Then task issue terminal 11 can pass through telecommunication circuit and server 12
Between communicated, to server 12 send calculating task.In some embodiments, task issue terminal 11 can also be loaded with down
Corresponding task release module issues calculating task to server 12 by task release module.
The calculating task that task issue terminal 11 is issued can be certain tasks with biggish calculation amount, e.g. seek
Hidden black hole is looked for, exploration extraterrestrial wise life that may be present, Mason's prime number more than 1000 myriabits number is found or seeks
Look for and find the task of the surprising calculation amounts of needs such as the more efficiently drug of Fight against AIDS virus.These flood tide calculating tasks
It can not be completed in the acceptable time range of user of task issue terminal 11 by single personal computer.Task issue terminal 11
It, can also be to calculating task income cutting before issuing calculating task.For example, task issue terminal 11 can appoint according to calculating
The demand of business perhaps calculating logic or can also using certain algorithms the calculating task that these flood tides calculate is cut into it is several
A relatively small number of calculating project of calculation amount, so as to use different equipment respectively to each calculating project calculated with
Improve computational efficiency.
In the present embodiment, server 12 can receive the calculating task of the publication of task issue terminal 11, and appoint calculating
Business is distributed at least one mobile terminal 13, so that mobile terminal 13 can handle corresponding calculating project.Server 12, such as
Task management module can be set, interacted by task management module and task issue terminal 11 and mobile terminal 13.
In some embodiments, server 12 can also receive mobile terminal 13 and handle the processing result that corresponding calculating project generates,
Then it carries out each computational item purpose processing result of calculating task to be aggregated to form calculated result, and calculated result is sent to
Task issue terminal 11.
In the present embodiment, mobile terminal 13, e.g. mobile phone, laptop, tablet computer etc. can be on the move
The equipment used.Mobile terminal 13 can receive the calculating project of the distribution of server 12 and handle corresponding calculating project.For example,
Mobile terminal 13 may include processor and telecommunication circuit, and telecommunication circuit is used to obtain the calculating project of server distribution, processing
Device is for handling calculating project to obtain processing result.In some embodiments, mobile terminal 13 can be by downloading computational item
The corresponding computing module of mesh is to handle corresponding calculating project.Mobile terminal 13 can will calculate project after having handled calculating project
Processing result be sent to server 12.Such as processing result can be sent to server by telecommunication circuit.
Task issue terminal 11, server 12 in the more embodiments and the application computing system of the application computing system
And the more multi-functional description being referred in following each embodiment of the application calculation method of mobile terminal 13.
Referring to Fig.2, the application calculation method first embodiment includes:
S101: calculating task is cut into several calculating projects by task issue terminal.
In the present embodiment, the calculating task of task issue terminal for example can be certain calculating having compared with intensive
Task.Task issue terminal will can have the calculating task compared with intensive to be cut into several calculating projects in advance.One
In a little embodiments, calculating task can be carried out cutting according to certain calculating logics by task issue terminal.
It in some embodiments, can also be right after calculating task is cut into several calculating projects by task issue terminal
Each calculating project is numbered, such as Task001, Task002 ....When being numbered, task issue terminal can be according to
Each calculating project is numbered according to the calculating logic of calculating task in order to be arranged to calculated result.In some implementations
In example, task issue terminal can also establish calculating project list, by each computational item purpose number after cutting, summary info
And particular content associates.Computational item purpose summary info, e.g. computational item purpose type, calculation amount or other phases
Close information.Be conducive to be managed calculating project by the way that calculating project is numbered, while can also be convenient for task publication eventually
Hold subsequent arrangement calculated result.
S102: several calculating projects are sent to server by task issue terminal.
In the present embodiment, several calculating projects that task issue terminal can be formed cutting calculating task are sent to
Server.In some embodiments, these calculating projects can be successively sent to server by task issue terminal, or can also
Server is sent jointly to be packaged.
In some embodiments, server can also judge to appoint when receiving the calculating project that task issue terminal is sent
Whether the calculating project that issue terminal is sent of being engaged in is complete.For example, task issue terminal is before sending calculating project, it can be preparatory
The computational item purpose number that notice server will be sent, after server receives the calculating project of task issue terminal transmission,
Whether statistics calculating project has corresponding number.
Alternatively, task issue terminal can in advance be numbered calculating project, after server receives calculating project, sentence
Whether the computational item purpose number that disconnecting receives is complete and correct.In a specific application scenarios, for example, the project of calculating has
100, number is Task001, Task002 ... Task100 respectively, and server receives the calculating of task issue terminal transmission
After project, checks that whole computational item purpose numbers are complete, then confirm that whole calculating projects receive successfully.If server inspection lacks
A certain number, such as lack Task051 and Task068, then server judges that calculating project lacks.In some embodiments, it takes
The calculating project missing that business device judgement receives, or receive calculating project but lack it is corresponding when calculating content, can be with
Notice task issue terminal retransmits the part lacked and calculates project.So it may insure that server receives complete calculating
Task.
In some embodiments, task issue terminal can only send whole computational items when issuing calculating task
Part in mesh calculates project to server.It can also for some calculating projects for being related to personal secrets or important technological problems
Not send, be conducive to the data and technical security of protection task issue terminal in this way.
S103: several computational item purposes are at least partly distributed at least one mobile terminal by server.
In the present embodiment, several computational item purposes of calculating task can be at least partly distributed at least by server
One mobile terminal.For example, server can be distributed to the different calculating project of each mobile terminal, such multiple mobile terminals
Corresponding calculating project can be individually handled simultaneously, be conducive to improve computational efficiency.Alternatively, server can also distribute it is wherein more
A calculating project gives a mobile terminal, the e.g. biggish mobile terminal of computing capability, can so make full use of mobile whole
The computing capability at end.Alternatively, some calculating project can also be distributed to multiple mobile terminals by server, so as to effectively
Guarantee the accuracy of calculated result.
In some embodiments, server can also record each calculating when distributing calculating project to mobile terminal
The corresponding mobile terminal of project.For example, server can close mobile terminal with corresponding one or more calculating projects
Connection.Alternatively, calculating project can also be associated by server with corresponding one or more mobile terminals.So be conducive to
A certain mobile terminal, which breaks down, can not continue to find corresponding calculating project rapidly when calculating, and be redistributed to other shiftings
Dynamic terminal processes, it is ensured that each calculating project can be completed.
S104: mobile terminal processing is corresponding to calculate project.
In the present embodiment, after calculating project is distributed to mobile terminal by server, mobile terminal be can handle accordingly
Calculating project.For example, mobile terminal can use the computing capability processing calculating project of cpu idle, alternatively, for some random
The fragment of rule calculates, and also can use GPU and carries out calculation processing.In some embodiments, mobile terminal has distributed multiple calculating
When project, corresponding multiple calculating projects can be successively handled, or multiple calculating projects can also be handled simultaneously.
In some embodiments, it is corresponding can will to calculate project when distributing calculating project to mobile terminal for server
Calculation method is sent to mobile terminal together.It can use phase after receiving the calculating project that server is distributed to mobile terminal
The calculation method answered handles calculating project.In some embodiments, when multiple computational item purpose calculation methods are identical,
Once computing method can be only sent to mobile terminal when distributing multiple calculating projects to same mobile terminal.In other implementations
In example, when multiple computational item purpose calculation methods are different, server can send each corresponding calculating of calculating project
Method is to mobile terminal, so that mobile terminal can be according to the corresponding calculating project of corresponding calculation method processing.
The present embodiment carries out cutting by the calculating task that task issue terminal calculates flood tide, and such server is receiving
To task issue terminal calculating task when the corresponding multiple calculating projects of calculating task can be distributed to multiple mobile terminals
It handles respectively, the computing capability for effectively utilizing the mobile terminal free time is calculated, to improve the computational efficiency of calculating task.
In the above-described embodiments, the sequence of S101 to S104 is the description order in the present embodiment, is not limited to this reality
Apply the sequence of the method for example in the process of implementation.Under the premise of can be realized this programme, certain steps can be with reversed order.
Refering to Fig. 3, the application calculation method second embodiment is on the basis of the application calculation method first embodiment
It is further described, therefore details are not described herein for the present embodiment step identical as the application calculation method first embodiment.This reality
Applying example includes:
S201: calculating task is cut into several calculating projects by task issue terminal.
S202: several calculating projects are sent to server by task issue terminal.
S203: server shows several calculating projects by being located at the client run on mobile terminal.
In the present embodiment, server shows several calculating projects of calculating task to mobile terminal.Such as server
Several corresponding calculating projects of calculating task can be distributed to the client run on mobile terminal, so that mobile terminal can
To show that corresponding several calculate project by local client.
In some embodiments, several calculating projects can be sent in the form of a list in mobile terminal by server
The client of upper operation, such terminal easy to remove carry out orderly displaying by running local client.
In some embodiments, server can only client from at least partly mobile terminal to accredited members show
Several calculate project.Such as mobile terminal is applied for the registration of by the user end to server of downloading installation, when registration, can mention
For corresponding computing capability, identity information, security information etc., server is verified to the registration information that mobile terminal provides
And allow mobile terminal by being registered as accredited members after being proved to be successful.Server can be to the movement for becoming accredited members
The client run in terminal sends calculating project to be shown.It, can be effective by showing calculating project to accredited members
Ground guarantees the safety of computational item purpose and high efficiency.
In some embodiments, server can also show that the corresponding calculating of calculating project is needed when showing calculating project
It asks.Calculating demand, e.g. calculating content, the time started, calculate duration, the energy of consumption, confidence level and safe Shen at calculation amount
At least one of in bright.In some embodiments, calculating demand can also include calculating project number and calculating project name.
By showing that computational item purpose calculates demand, so that mobile terminal can be calculated when selecting calculating project according to computational item purpose
Demand, selection meet the calculating project of calculating demand.So be conducive to what mobile terminal selection matched with itself computing capability
Calculating project avoids the computational efficiency for selecting the excessive and impossible calculating project of some calculation amounts to influence calculating task.
In a specific application scenarios, such as calculating task is to predict the weather, and task issue terminal will predict the weather
Calculating task be cut into this five calculating projects of temperature, relative humidity, air quality, wind direction wind-force, precipitation.Server can
To show that this five computational item purposes calculate demands by the client on mobile terminal, e.g. calculating content, calculation amount and
Time started.For example, calculating project name: temperature;It calculates content: the temperature and its variation tendency of the previous moon is analyzed
With the temperature range of estimated tomorrow;Calculation amount: 1G;Time started: 10 points of that morning.
S204: mobile terminal reception chooses at least one computational item purpose and selects/execute instruction, and sends and select to server
It selects/executes instruction.
In the present embodiment, mobile terminal can receive choose at least one computational item purpose select/execute instruction.Choosing
It selects/executes instruction, such as can be the local client of mobile terminal demand is calculated according to computational item purpose and voluntarily select properly
Calculating project and generate selection/execute instruction.Alternatively, the local client run on selection mobile terminal can also be clicked
At least one calculating project in the calculating project of displaying and generate selection/execute instruction.
In some embodiments, mobile terminal is selected/is executed instruction to server transmission.For example, mobile terminal can lead to
Local client is crossed to select/execute instruction to server transmission.The selection/execute instruction may include computational item purpose title,
Number, calculating content etc. can identify selected computational item purpose information, to distinguish with other calculating projects.
S205: server response is selected/is executed instruction and then is distributed to the calculating project selected corresponding mobile whole
End.
In the present embodiment, after receiving and selecting/execute instruction, response is selected/is executed instruction and then will meter server
Calculation project is distributed to corresponding mobile terminal.For example, calculating project can be distributed to accordingly by server in form of a message
Mobile terminal.Message may include computational item purpose number, the return address of calculated result or computational item purpose parameter etc..
In some embodiments, if there is multiple mobile terminals to select same calculating project, server can be by this
Calculating project is distributed to multiple mobile terminals.Multiple mobile terminals handle same calculating project and may insure to complete calculating project,
And be conducive to improve counting accuracy.Alternatively, server can also according to receive the sequencing for selecting/executing instruction will be by
The calculating project of selection is distributed to the selection that is initially received/execute instruction corresponding mobile terminal, thus other mobile terminals
It can handle other calculating projects.
In some embodiments, server can also receive select/execute instruction after the calculating project that will be selected
It is marked, so that the user of mobile terminal can abandon the labeled calculating project of selection after seeing label again.So have
Conducive to avoiding multiple mobile terminals from repeating that the same calculating project is selected to result in waste of resources and reduce computational efficiency.
S206: mobile terminal receives the corresponding computing module of calculating project selected that server is sent.
In the present embodiment, server can respond after the selection for receiving mobile terminal/execute instruction and select/hold
Row instructs and the corresponding computing module of calculating project selected is sent to mobile terminal.Mobile terminal receives server and sends
Computing module after can use computing module and handle corresponding calculating project.Computing module, such as can be software installation packet,
It, can be with runs software to be calculated accordingly after mobile terminal downloading installation.Or computing module is also possible to calculating project
Data and corresponding algorithm, corresponding algorithm is run by local client and is calculated.
In some embodiments, each calculating project of calculating task can correspond to identical computing module.Mobile terminal
Available computing module and the corresponding data of calculating project or parameter are to handle corresponding calculating project.In other implementations
In example, each computational item purpose computing module of calculating task can be different, each acquisition for mobile terminal it is selected each
The corresponding computing module of calculating project is to perform corresponding processing.
S207: mobile terminal judges whether that corresponding calculating project can be completed.
In the present embodiment, after mobile terminal receives the calculating project that server is distributed, it can be determined that whether can complete
It is corresponding to calculate project.
In some embodiments, it may result in mobile terminal the case where certain bursts and be unable to complete corresponding computational item
Mesh.For example, mobile terminal is not connect due to network or equipment fault etc. when receiving the calculating project of server distribution
It receives complete computational item purpose data and is unable to complete corresponding calculating project.Alternatively, mobile terminal is in the corresponding meter of processing
Calculating project can not be continued to complete due to computing capability shortcoming or failure when calculation project etc..Alternatively, the use of mobile terminal
Person is reluctant to handle corresponding calculating project and force to stop calculating project for some reason.The situation of these bursts can all to move
Dynamic terminal is unable to complete corresponding calculating project.
In some embodiments, can mobile terminal may determine that complete corresponding calculating project.For example, mobile terminal can
To judge whether the computational item purpose data received are complete when receiving the calculating project that server is sent, and then it is confirmed whether
It can complete corresponding calculating project.Alternatively, mobile terminal can monitor ongoing calculating project, whether calculating project is judged
Interrupting or stopping occurs, to be confirmed whether that corresponding calculating project can be completed.Alternatively, can mobile terminal judgement defined
Corresponding calculating project is completed in time.The shape of burst can be quickly coped with by checking computational item purpose disposition in time
Condition avoids influencing computational item purpose processing speed.
S208: if can, confirmation message is sent to server.
In the present embodiment, it if mobile terminal judgement can be completed to calculate project accordingly, can also be sent to server true
Recognize message.For example, mobile terminal can be true to server transmission confirmation message after receiving complete computational item purpose data
Recognize and receives complete computational item purpose data.Alternatively, mobile terminal judges current mobile terminal after receiving calculating project
Computing capability is able to satisfy computational item purpose and calculates demand, can send confirmation message to server.
In some embodiments, mobile terminal can send confirmation message to server by local client.Certain
In the case of, mobile terminal is unable to complete corresponding computational item purpose, can also send to server and be unable to complete corresponding calculating
The message of project, so that server handles corresponding calculating project in time.
S209: server judges whether to receive the confirmation message of mobile terminal sending.
In the present embodiment, server is after distributing calculating project, it can be determined that whether receives mobile terminal sending
Confirmation message.
For example, in some embodiments, when since server can be set the preset interval having distributed certain calculating project
Between, monitor the confirmation message that corresponding mobile terminal is sent whether is received in the time range.In a specific applied field
Jing Zhong, such as preset time range are 10 minutes, certain is calculated project by server, and e.g. Task009 is distributed to a certain movement
The time of terminal is at 10 points in the morning 30 minutes on April 1st, 19, the monitoring server time start after whether received within 10 minutes
The confirmation message of mobile terminal.
In some embodiments, since certain calculating projects are larger or network speed causes acquisition for mobile terminal to calculate project more slowly
Time it is longer, server can the timing since the complete corresponding computational item object time point of acquisition for mobile terminal, avoid out
The judgement of existing mistake.
S210: if not having, corresponding mobile terminal pair is shown again by being located at the client run on mobile terminal
The calculating project answered.
In the present embodiment, if server judgement is not received by the confirmation message of mobile terminal transmission, can not will have
There is calculating project handled by the corresponding mobile terminal of the confirmation message received to re-start displaying, such as is moved by operating in
Client in dynamic terminal re-starts displaying.These calculating projects are handled to which other mobile terminals can reselect,
Or server can distribute these calculating projects again, keeping away exempt item processing delay reduces computational efficiency.
In some embodiments, server is when judgement is not received by the confirmation message of mobile terminal sending, Ke Yixiang
Mobile terminal issues inquiry message to ask whether that confirmation handles corresponding calculating project to mobile terminal.For example, above-mentioned specific
Application scenarios in, server judges to be not received by the corresponding mobile terminal of Task009 in preset time range and issues
Confirmation message, then inquiry message can be issued to the corresponding mobile terminal of Task009.It so can be to avoid due to network failure
Etc. reasons server be not received by confirmation message that mobile terminal has been sent from and repeat to show that calculating project causes resource unrestrained
Take.
In some embodiments, some calculating project may be distributed to multiple mobile terminals and be calculated, when wherein certain
When one mobile terminal does not issue confirmation message, server receives the confirmation that other corresponding mobile terminals issue in judgement and disappears
After breath, the calculating project can be no longer shown again.
S211: mobile terminal handles corresponding calculating project using computing module.
In the present embodiment, mobile terminal can use corresponding computing module and handle corresponding calculating project.
In some embodiments, calculating project identical for some computing modules, the available meter of mobile terminal
Module is calculated, and obtains the corresponding parameter of selected one or more calculating projects, by being passed to corresponding parameter using calculating
The resume module one or more calculating project.
In further embodiments, when not identical for each corresponding computing module of calculating project, or it is mobile whole
When multiple computational item purpose computing module differences selected by end, the available multiple calculating projects of mobile terminal are corresponding
Computing module, to handle corresponding calculating project respectively.In some embodiments, these computing modules can be run simultaneously to mention
Computationally efficient.
In the above-described embodiments, the sequence of S201 to S211 is the description order in the present embodiment, is not limited to this reality
Apply the sequence of the method for example in the process of implementation.Under the premise of can be realized this programme, certain steps can be with reversed order.
Refering to Fig. 4, the application calculation method 3rd embodiment is on the basis of the application calculation method first embodiment
It is further described, therefore details are not described herein for the present embodiment step identical as the application calculation method first embodiment.This reality
Applying example includes:
S301: calculating task is cut into several calculating projects by task issue terminal.
S302: several calculating projects are sent to server by task issue terminal.
S303: several computational item purposes are at least partly distributed at least one mobile terminal by server.
S304: mobile terminal processing is corresponding to calculate project.
S305: mobile terminal sends corresponding computational item purpose processing result to server.
It in the present embodiment, can be by computational item purpose processing result after mobile terminal has handled corresponding calculating project
It is sent to server.For example, processing result can be fed back to server by local client by mobile terminal.
In some embodiments, mobile terminal successively handles multiple calculating projects, can be when completing a calculating project
Corresponding processing result is sent to server.Or handled whole can also be sent when completing whole calculating projects
Computational item purpose processing result.
In some embodiments, calculating project has corresponding number, and mobile terminal, can also be right when sending processing result
The corresponding number of processing result configuration, or configuration are identically numbered.Such as calculating project number is Task005, mobile terminal can
It is Result_Task005 to configure corresponding processing result number.By carrying out corresponding number to processing result convenient for service
Device is distinguished and is managed to processing result.
S306: server is summarized processing result to obtain calculated result.
In the present embodiment, it when server receives the processing result of mobile terminal return, can correspond at mobile terminal
The calculating project of reason, summarizes the processing result received, to obtain the calculated result of calculating task.It will e.g. calculate
Several computational item purpose processing results of task, which summarize, is packed into calculated result.Either by certain specific algorithms into
Row forms calculated result after calculating.
In some embodiments, it is numbered to calculate project, computational item purpose number can be corresponded to and carry out processing result
It arranges in an orderly manner, convenient for management.In some embodiments, server can also tie each calculating project and its corresponding processing
Fruit shape is at table listings.For there is the same calculating project of multiple mobile terminal processing, it can correspond to and save multiple mobile terminals
The processing result of transmission.When processing result is consistent, a processing result can also be only saved.
In some embodiments, server, can also be to the same meter of multiple mobile processing in aggregation process result
Verification is compared in the result of calculation project.When the processing result that examination to each mobile terminal is sent is consistent, one can be saved
Part processing result can so save memory space and improve transmission calculated result to the transmission speed of task issue terminal.When
When server examination is inconsistent to processing result, server can save multiple processing result, and when sending calculated result
It is sent to task issue terminal together.
In some embodiments, task issue terminal can also send to calculate to server and appoint when issuing calculating task
The combination algorithm of each computational item purpose processing result of business.Server is receiving whole computational item purpose processing results
When, the combination algorithm can be used and calculate the processing result of each project to form calculated result.
S307: calculated result is sent to task issue terminal by server.
In the present embodiment, the calculated result summarized can be sent to task issue terminal by server, to appoint
Business issue terminal can be used to calculated result.
In some embodiments, server can also give corresponding reward to computational item purpose mobile terminal is completed.
For example, server can send the reward such as integral or token to the account of the corresponding mobile terminal of processing result received.
The enthusiasm that mobile terminal user participates in processing calculating task can effectively be increased by way of calculating with compensation.
In the above-described embodiments, the sequence of S301 to S307 is the description order in the present embodiment, is not limited to this reality
Apply the sequence of the method for example in the process of implementation.Under the premise of can be realized this programme, certain steps can be with reversed order.This
Embodiment can be in conjunction with above-mentioned the application calculation method the first embodiment or the second embodiment.
Refering to Fig. 5, the application calculation method fourth embodiment is on the basis of the application calculation method first embodiment
It is further described, therefore details are not described herein for the present embodiment step identical as the application calculation method first embodiment.This reality
Applying example includes:
S401: server receives the registration request of task issue terminal and passes through registration request.
In the present embodiment, task issue terminal can also send registration to server and ask before issuing calculating task
It asks.Registration request, e.g. request allow to issue calculating task.Server is after the registration request for receiving task issue terminal
Registration request can be passed through.Application for registration is proposed to server in advance by task issue terminal, and calculating is appointed convenient for server
The publication of business is managed and controls.
For example, task issue terminal, which can be downloaded, is equipped with corresponding client, is issued and infused by user end to server
Volume request.In some embodiments, task issue terminal can send corresponding information to service when proposing registration request
Device, e.g. identity information, security information, the simplified summary of calculating task etc..Server is receiving task issue terminal
First task issue terminal can be verified when registration request, can so exclude the registration request of some malice.
In some embodiments, the information list of task issue terminal can also be arranged in server, save in information list
The information of the task issue terminal of each registration, e.g. number, identity information, history calculating task, confidence level etc..Pass through
The registration request of reception task issue terminal simultaneously establishes the information that information list saves task issue terminal, is conducive to server pair
Task issue terminal is managed.
S402: server sends task release module to task issue terminal.
In the present embodiment, server can be sent after the registration by task issue terminal to task issue terminal
Corresponding task release module.Task release module is, for example, the plug-in unit run on the client, or is also possible to independent fortune
Capable software.In some embodiments, task issue terminal is received to be installed in after task release module and be used
In equipment, so that task issue terminal can issue calculating task by task release module.
S403: calculating task is cut into several calculating projects by task issue terminal.
S404: task issue terminal issues several calculating projects by task release module.
In the present embodiment, task issue terminal can issue calculating task, or publication meter by task release module
Several of calculation task calculate project.
In some embodiments, task release module can be equipped with the publication template of corresponding calculating task.Task publication
Terminal, can be according to the corresponding computational item purpose parameter of template-setup when issuing calculating task by task release module.Example
Such as, parameter may include calculating project name, number, general introduction, calculation amount, return address, security information, reward value etc..
In some embodiments, task issue terminal can also provide each computational item when issuing calculating task
The corresponding reward of mesh.It, can be by server to corresponding mobile terminal when task issue terminal receives calculated result
Account sends corresponding reward.
S405: several computational item purposes are at least partly distributed at least one mobile terminal by server.
S406: mobile terminal processing is corresponding to calculate project.
In the above-described embodiments, the sequence of S401 to S406 is the description order in the present embodiment, is not limited to this reality
Apply the sequence of the method for example in the process of implementation.Under the premise of can be realized this programme, certain steps can be with reversed order.This
Embodiment can be in conjunction with above-mentioned the application calculation method first embodiment, second embodiment and/or 3rd embodiment.
Refering to Fig. 6, the 5th embodiment of the application calculation method, using server as executing subject, comprising:
S501: server receives task issue terminal and is cut into several computational item purpose calculating tasks in advance.
S502: several computational item purposes are at least partly distributed at least one mobile terminal so that mobile by server
Terminal processes calculate project accordingly.
In the above-described embodiments, the sequence of S501 to S502 is the description order in the present embodiment, is not limited to this reality
Apply the sequence of the method for example in the process of implementation.Under the premise of can be realized this programme, certain steps can be with reversed order.This
Embodiment is referred to above-mentioned the application calculation method first embodiment~4th in fact about the more multi-step and content of server
Example is applied, details are not described herein.
Refering to Fig. 7, the application calculation method sixth embodiment, using mobile terminal as executing subject, comprising:
S601: the calculating project of acquisition for mobile terminal server distribution.
In the present embodiment, calculating project is that server receives task issue terminal and is cut into several computational items in advance
Transmitted by after purpose calculating task.
S602: mobile terminal handles calculating project to obtain processing result.
S603: mobile terminal sends processing result to server.
In the above-described embodiments, the sequence of S601 to S603 is the description order in the present embodiment, is not limited to this reality
Apply the sequence of the method for example in the process of implementation.Under the premise of can be realized this programme, certain steps can be with reversed order.This
Embodiment is referred to above-mentioned the application calculation method first embodiment~5th about the more multi-step and content of mobile terminal
Embodiment, details are not described herein.
Refering to Fig. 8, the application server first embodiment, server includes processor 21 and telecommunication circuit 22, processor
21 coupling telecommunication circuits 22.
Wherein, telecommunication circuit 22 is appointed for receiving task issue terminal and being cut into several computational item purposes in advance and calculate
Business.Processor 21 is used to several computational item purposes being at least partly distributed at least one mobile terminal so that mobile terminal
Processing is corresponding to calculate project.
In the present embodiment, processor 21 can also be known as CPU (Central Processing Unit, central processing list
Member).Processor 21 may be a kind of IC chip, the processing capacity with signal.Processor 21 can also be general place
Manage device, digital signal processor (DSP), specific integrated circuit (ASIC), field programmable gate array (FPGA) or other can
Programmed logic device, discrete gate or transistor logic, discrete hardware components.General processor can be microprocessor or
Person's processor is also possible to any conventional processor etc..
Above-mentioned the application calculation method first is referred to about more implementation procedures of server etc. in the present embodiment to implement
Example~sixth embodiment.
Refering to Fig. 9, the application server second embodiment, server includes receiving module 31, distribution module 32, summarizes mould
Block 33 and sending module 34.Receiving module 31, distribution module 32, summarizing module 33 and sending module 34 are connected with each other.
Wherein, receiving module 31 is appointed for receiving task issue terminal and being cut into several computational item purposes in advance and calculate
Business.Distribution module 32 is used to several calculating projects being distributed at least one mobile terminal so that mobile terminal processing is corresponding
Calculating project.Summarizing module 33 be used for receives and mobile terminal transmission corresponding computational item purpose processing result and will be several
A computational item purpose processing result summarizes to form calculated result.Sending module 34 is used to for calculated result to be sent to task publication
Terminal.
Module may or may not be physically separated as illustrated by the separation member, show as module
Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks
On unit.Some or all of the modules therein can be selected to realize the mesh of present embodiment scheme according to the actual needs
's.
In addition, each functional module can integrate in one processing unit in the present embodiment, it is also possible to each unit list
It is solely physically present, can also be integrated in one unit with two or more units.Above-mentioned integrated unit can both use
Formal implementation of hardware can also be realized in the form of software functional units.
About each module is more multi-functional or more modules etc. are referred to above-mentioned the application calculating side in the present embodiment
Method first embodiment~sixth embodiment.
Refering to fig. 10, in the application mobile terminal embodiment, mobile terminal includes processor 41 and telecommunication circuit 42, processing
Device 41 couples telecommunication circuit 42.
Wherein, telecommunication circuit 42 is used to obtain the calculating project of server distribution, and calculating project is that server reception is taken office
Business issue terminal is cut into transmitted after several computational item purpose calculating tasks in advance.Processor 41 is for handling computational item
Mesh is to obtain processing result.Telecommunication circuit 42 is further used for sending processing result to server.
Above-mentioned the application calculation method first is referred in fact about more implementation procedures of mobile terminal etc. in the present embodiment
Apply example~sixth embodiment.
Refering to fig. 11, the application has the device in the Installation practice of store function, is stored with program data, program number
According to that can be performed to realize step involved in above-mentioned the application calculating method first embodiment~sixth embodiment.Referring in particular to
The application calculation method first embodiment~sixth embodiment, details are not described herein.
If method involved in the application calculation method first embodiment~sixth embodiment is with SFU software functional unit
Form realize and when sold or used as an independent product, can store in a computer readable storage medium.Base
In such understanding, the technical solution of the application substantially the part that contributes to existing technology or the technical side in other words
The all or part of case can be embodied in the form of software products, which is stored in a storage device
In, including some instructions use is so that a computer equipment (can be personal computer, server or the network equipment etc.)
Or processor (processor) executes all or part of the steps of each embodiment method of the present invention.And device 51 above-mentioned
It include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random
Access Memory), the various media that can store program code such as magnetic or disk, or the computer including storage medium
Deng other devices.
The foregoing is merely presently filed embodiments, are not intended to limit the scope of the patents of the application, all to utilize this
Equivalent structure or equivalent flow shift made by application specification and accompanying drawing content, it is relevant to be applied directly or indirectly in other
Technical field similarly includes in the scope of patent protection of the application.
Claims (14)
1. a kind of calculation method characterized by comprising
Server receives task issue terminal and is cut into several computational item purpose calculating tasks in advance;
Several described computational item purposes are at least partly distributed at least one mobile terminal so that described by the server
Mobile terminal processing is corresponding to calculate project.
2. the method according to claim 1, wherein
Several described computational item purposes are at least partly distributed at least one mobile terminal so that described by the server
Include: before the corresponding calculating project of mobile terminal processing
The server show several described calculating projects by being located at the client that runs on the mobile terminal so that
The mobile terminal selection is corresponding to calculate project;
The selection for the client that the server reception is run on the mobile terminal/execute instruction;
Several described computational item purposes are at least partly distributed at least one mobile terminal so that described by the server
Mobile terminal handles corresponding calculating project
The server responds the calculating project for selecting/executing instruction and then will be selected and is distributed to corresponding movement eventually
End.
3. according to the method described in claim 2, it is characterized in that,
The server responds the calculating project for selecting/executing instruction and then will be selected and is distributed to corresponding mobile terminal
Include:
The server the corresponding computing module of calculating project selected is sent to corresponding mobile terminal so that
The mobile terminal handles the calculating project selected using the computing module.
4. according to the method described in claim 2, it is characterized in that,
The server show several described calculating projects by being located at the client that runs on the mobile terminal so that
The mobile terminal selects the corresponding calculating project to include:
The server shows that several described computational item purposes calculate by being located at the client run on the mobile terminal
For demand so that mobile terminal selection meets the calculating project of the calculating demand, the calculating demand includes in calculating
At least one of in appearance, calculation amount, time started, calculating duration, the energy of consumption, confidence level and safety statement.
5. according to the method described in claim 2, it is characterized in that, server response described selected/is executed instruction in turn
The calculating project selected is distributed to after corresponding mobile terminal further include:
The server judges whether to receive the confirmation message that corresponding mobile terminal issues;
If it is not, then the server by being located at the client that runs on the mobile terminal shows corresponding shifting again
The dynamic corresponding calculating project of terminal.
6. the method according to claim 1, wherein the method also includes:
The server receives the corresponding computational item purpose processing result that the mobile terminal is sent respectively;
Several computational item purpose processing results are carried out being aggregated to form calculated result to be sent to the task by the server
Issue terminal.
7. the method according to claim 1, wherein
The server receives before task issue terminal is cut into several computational item purpose calculating tasks in advance
The server receives the registration request of the task issue terminal and by the registration request;
The server sends task release module to task issue terminal;
The server reception task issue terminal is cut into several computational item purpose calculating tasks in advance and includes:
The server receives the task issue terminal and is cut into several in advance by what the task release module was issued
Computational item purpose calculating task.
8. a kind of calculation method characterized by comprising
The calculating project of acquisition for mobile terminal server distribution, the calculating project are that the server receives task publication eventually
Transmitted by holding after being cut into several computational item purpose calculating tasks in advance;
The mobile terminal handles the calculating project to obtain processing result;
The mobile terminal sends the processing result to the server.
9. according to the method described in claim 8, it is characterized in that, the calculating project of acquisition for mobile terminal server distribution
Before further include:
The mobile terminal shows several calculating projects of the server using local client;
The mobile terminal reception chooses at least one computational item purpose and selects/execute instruction, and sends institute to the server
It states and selects/execute instruction.
10. according to the method described in claim 9, it is characterized in that,
The calculating project of acquisition for mobile terminal server distribution includes:
The mobile terminal receives the server and responds described at least one described computational item for selecting/executing instruction and send
The corresponding computing module of mesh;
The mobile terminal handles the calculating project to obtain processing result
The mobile terminal handles corresponding calculating project using the computing module.
11. according to the method described in claim 8, it is characterized in that, the computational item of acquisition for mobile terminal server distribution
After mesh further include:
Can the mobile terminal judgement complete the calculating project;
If can, the mobile terminal sends confirmation message to the server.
12. a kind of server, which is characterized in that including processor and telecommunication circuit, the processor couples the telecommunication circuit;
The telecommunication circuit is cut into several computational item purpose calculating tasks for receiving task issue terminal in advance;
The processor is used to several described calculating projects being distributed at least one mobile terminal so that described mobile whole
End processing is corresponding to calculate project.
13. a kind of mobile terminal, which is characterized in that including processor and telecommunication circuit, the processor couples the communication electricity
Road;
The telecommunication circuit is used to obtain the calculating project of server distribution, and the calculating project is that the server reception is taken office
Business issue terminal is cut into transmitted after several computational item purpose calculating tasks in advance;
The processor is for handling the calculating project to obtain processing result;
The telecommunication circuit is further used for sending the processing result to the server.
14. a kind of device with store function, which is characterized in that be stored with program data, described program data can be held
Row is to realize method as described in any one of claim 1 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910360922.6A CN110275762A (en) | 2019-04-30 | 2019-04-30 | Calculation method, server, mobile terminal and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910360922.6A CN110275762A (en) | 2019-04-30 | 2019-04-30 | Calculation method, server, mobile terminal and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110275762A true CN110275762A (en) | 2019-09-24 |
Family
ID=67960286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910360922.6A Pending CN110275762A (en) | 2019-04-30 | 2019-04-30 | Calculation method, server, mobile terminal and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110275762A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475269A (en) * | 2020-04-02 | 2020-07-31 | 北京代码乾坤科技有限公司 | Physical settlement sanction method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105760240A (en) * | 2014-12-16 | 2016-07-13 | 航天信息股份有限公司 | Distributed task processing method and device |
CN108287764A (en) * | 2018-01-31 | 2018-07-17 | 上海携程商务有限公司 | Distributed task dispatching method and its system, storage medium, electronic equipment |
CN108364198A (en) * | 2018-02-12 | 2018-08-03 | 南京邮电大学 | A kind of online motivational techniques of mobile crowdsourcing based on social networks |
US20180260253A1 (en) * | 2017-03-09 | 2018-09-13 | Microsoft Technology Licensing, Llc | Rules based decomposition of tasks for resource allocation |
CN108898492A (en) * | 2018-07-17 | 2018-11-27 | 北京猎户星空科技有限公司 | A kind of crowdsourcing task implementation method and apparatus and system based on alliance's chain |
CN109656699A (en) * | 2018-12-14 | 2019-04-19 | 平安医疗健康管理股份有限公司 | Distributed computing method, device, system, equipment and readable storage medium storing program for executing |
-
2019
- 2019-04-30 CN CN201910360922.6A patent/CN110275762A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105760240A (en) * | 2014-12-16 | 2016-07-13 | 航天信息股份有限公司 | Distributed task processing method and device |
US20180260253A1 (en) * | 2017-03-09 | 2018-09-13 | Microsoft Technology Licensing, Llc | Rules based decomposition of tasks for resource allocation |
CN108287764A (en) * | 2018-01-31 | 2018-07-17 | 上海携程商务有限公司 | Distributed task dispatching method and its system, storage medium, electronic equipment |
CN108364198A (en) * | 2018-02-12 | 2018-08-03 | 南京邮电大学 | A kind of online motivational techniques of mobile crowdsourcing based on social networks |
CN108898492A (en) * | 2018-07-17 | 2018-11-27 | 北京猎户星空科技有限公司 | A kind of crowdsourcing task implementation method and apparatus and system based on alliance's chain |
CN109656699A (en) * | 2018-12-14 | 2019-04-19 | 平安医疗健康管理股份有限公司 | Distributed computing method, device, system, equipment and readable storage medium storing program for executing |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475269A (en) * | 2020-04-02 | 2020-07-31 | 北京代码乾坤科技有限公司 | Physical settlement sanction method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11902318B2 (en) | Network visualization, intrusion detection, and network healing | |
CN108540536B (en) | Block chain-based network mass service processing method, equipment and storage medium | |
CN105577602B (en) | Data push method and device based on open application programming interface | |
CN110210229B (en) | Method and system for evaluating vulnerability of power grid information physical system and storage medium | |
CN107294808A (en) | The methods, devices and systems of interface testing | |
CN111258867B (en) | Public cloud dial testing method and device | |
CN110213233B (en) | Simulation method and simulation platform for defending against power grid distributed denial of service attack and establishment method thereof | |
CN112529577A (en) | Block chain cross-chain system and method based on excitation treatment | |
CN105677451A (en) | Load balancing method and equipment used for multiple processes | |
CN109508987A (en) | A kind of construction method, system and the associated component of block chain | |
CN115941363A (en) | Network communication security analysis method based on http protocol | |
CN112631800A (en) | Kafka-oriented data transmission method and system, computer equipment and storage medium | |
Shao et al. | Blockchain-based SDN security guaranteeing algorithm and analysis model | |
CN109995787A (en) | A kind of data processing method and relevant device | |
CN102404345A (en) | Distributed attack prevention method and device | |
CN110275762A (en) | Calculation method, server, mobile terminal and device | |
CN110515819A (en) | Performance test methods, electronic equipment, scheduling system and medium | |
CN117176802B (en) | Full-link monitoring method and device for service request, electronic equipment and medium | |
CN113129002A (en) | Data processing method and equipment | |
CN116582267B (en) | Data encryption system, method and device, storage medium and electronic equipment | |
CN110188995A (en) | Unit load cooperates with spare Optimal Configuration Method and system, equipment, storage medium | |
CN113344743B (en) | Fault hazard index calculation and vulnerability assessment method for smart power grid | |
CN107092532B (en) | Remote calling method and remote calling device | |
CN110971565A (en) | Source network load system vulnerability evaluation method and system based on malicious attack modeling | |
CN108322336A (en) | Intelligent management and system towards domestic autonomous controllable server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190924 |
|
RJ01 | Rejection of invention patent application after publication |