[go: up one dir, main page]

CN106227608A - A kind of data processing method, terminal and system - Google Patents

A kind of data processing method, terminal and system Download PDF

Info

Publication number
CN106227608A
CN106227608A CN201610756020.0A CN201610756020A CN106227608A CN 106227608 A CN106227608 A CN 106227608A CN 201610756020 A CN201610756020 A CN 201610756020A CN 106227608 A CN106227608 A CN 106227608A
Authority
CN
China
Prior art keywords
processing
processing region
mark
data
characterizes
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
CN201610756020.0A
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.)
SUZHOU PINNUO NEW MEDICAL TECHNOLOGY Co Ltd
Original Assignee
SUZHOU PINNUO NEW MEDICAL 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 SUZHOU PINNUO NEW MEDICAL TECHNOLOGY Co Ltd filed Critical SUZHOU PINNUO NEW MEDICAL TECHNOLOGY Co Ltd
Priority to CN201610756020.0A priority Critical patent/CN106227608A/en
Publication of CN106227608A publication Critical patent/CN106227608A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a kind of data processing method, terminal and system, by receiving the outside pending data sent, determine pending data volume, and detect local runtime mark;According to pending data volume and local runtime mark, calculate processing locality rate;According to processing locality rate, determine the first processing region in this locality, and determine the second processing region that remote server is corresponding, determine the operation order of the first processing region and the second processing region;According to operation order, order processes pending data by the second processing region that the first local processing region is corresponding with remote server.The scheme that the present invention provides can be effectively improved data-handling efficiency.

Description

A kind of data processing method, terminal and system
Technical field
The present invention relates to field of computer technology, particularly to a kind of data processing method, terminal and system.
Background technology
Data process and mainly extract and derived some characteristic value or meaning from substantial amounts of lengthy and jumbled abstract data The data of justice, such as: from substantial amounts of pictorial information or video information, obtain state change or the movement locus of a certain target.
The mode processed currently for medical apparatus and instruments data is mainly, and configures local host for medical apparatus and instruments, this landlord On machine, medical apparatus and instruments data are processed, and return result to medical personnel or patient.Along with medical apparatus and instruments is accurate Degree, the raising of accuracy, need data volume to be processed increase the most at double, on the contrary, local host processes the performance of data also Can not improve along with the increase processing data volume, meanwhile, in use, there is a certain degree of damage in performance to local host Consumption.
Therefore, existing this by the way of medical apparatus and instruments data are processed by local host, often result in data Treatment effeciency is relatively low.
Summary of the invention
Embodiments provide a kind of data processing method, terminal and system, it is possible to be effectively improved data and process Efficiency.
A kind of data processing method, including:
Receive the outside pending data sent, determine pending data volume, and detect local runtime mark;
According to described pending data volume and described local runtime mark, calculate processing locality rate;
According to described processing locality rate, determine the first processing region in described this locality, and determine described remote server pair The second processing region answered, determines the operation order of described first processing region and described second processing region;
According to described operation order, order is corresponding with described remote server by first processing region of described this locality Second processing region processes described pending data.
Preferably, described detection local runtime mark, including:
Obtain local runtime property parameters, described operation property parameters, including: running memory property value, CPU property value and Video card property value;
According to described running memory property value, CPU property value and video card property value, calculate local runtime mark.
Preferably, described calculating local runtime mark, including:
Utilize following computing formula (1), calculate local runtime mark;
Fi1N+γ2U+γ3K (1)
Wherein, FiCharacterize local runtime mark;γ1Characterize internal memory weight;N characterizes running memory property value;γ2Characterize CPU Weight;U characterizes CPU property value;γ3Characterize video card weight;K characterizes video card property value.
Preferably, said method farther includes: arrange local corresponding operation standard mark and normal data amount;
Described calculating processing locality rate, including:
According to following computing formula group (2), calculate processing locality rate;
&omega; = 100 % F i &GreaterEqual; F b , S i &le; S b &alpha; F i F b F i < F b , S i &le; S b &beta; S i S b F i &GreaterEqual; F b , S i > S b A &times; ( &alpha; F i F b ) + C ( &beta; S i S b ) F i < F b , S i > S b - - - ( 2 )
Wherein, ω characterizes processing locality rate;FiCharacterize local runtime mark;FbCharacterize operation standard mark;SiCharacterize and wait to locate Reason data volume;SbSignature criteria data volume;α characterizes mark affects coefficient;β characterizes data volume affects coefficient;A characterizes mark power Weight;C characterizes data volume weight.
Preferably, said method farther includes: the processing procedure of pending data is divided into science and engineering at least two Sequence, and total number of statistical disposition operation;
Described determine the first processing region in described this locality, determine the second processing region that described remote server is corresponding, Including:
According to following 3rd computing formula (3), calculate local runtime number;
Wherein, d characterizes local runtime number;M characterizes total number for the treatment of process;ω characterizes processing locality rate;
From the original position/final position of pending data handling procedure, according to local runtime number, sequentially selected target Treatment process, forms the first processing region, and wherein, the number of target treatment process is identical with local runtime number;
Using the processing procedure outside removing target treatment process as the second processing region.
Preferably, described order by first processing region of described this locality corresponding with described remote server second at Pending data described in reason regional processing, including:
When described first processing region is positioned at described processing procedure original position, processed by described first processing region Described pending data, generate the first intermediate data set, according to described second processing region, raw for described first intermediate data set Becoming the first teleinstruction, by described first teleinstruction, the second processing region called in described remote server processes institute State the first intermediate data set;
When described first processing region is positioned at the final position of processing procedure, according to described second processing region, for institute State pending data genaration the second teleinstruction, by described second teleinstruction, call in described remote server at second Pending data described in reason regional processing, generate the second intermediate data set;Institute is processed by first processing region of described this locality State the second intermediate data set.
A kind of terminal, is connected with the remote server of peripheral hardware, including:
Described pending data for receiving the pending data of outside transmission, and are transmitted by data transmission unit, Determine pending data volume;
Detection computing unit, is used for detecting local runtime mark, the pending number determined according to described data transmission unit According to amount and described local runtime mark, calculate processing locality rate;
Area division unit, for according to described detection computing unit calculated processing locality rate, single for processing Unit marks off the first processing region, and determines the second processing region that the remote server of described peripheral hardware is corresponding, determines described The operation order of one processing region and described second processing region;
Control unit, for the operation order determined according to described area division unit, at the first of sequential control this locality The second processing region that reason region is corresponding with the remote server of described peripheral hardware;
Described processing unit, for receiving the division of described area division unit, marks off the first processing region, and receives The control of described control unit, collaborative to described pending by described first processing region and the remote server of described peripheral hardware Data process.
Preferably, described detection computing unit, including: acquisition subelement and the first computation subunit, wherein,
Described acquisition subelement, is used for obtaining local runtime property parameters, described operation property parameters, including: in running Deposit property value, CPU property value and video card property value;
Described first computation subunit, belongs to for the running memory property value got according to described acquisition subelement, CPU Property value and video card property value, utilize following computing formula (1), calculate local runtime mark;
Fi1N+γ2U+γ3K (1)
Wherein, FiCharacterize local runtime mark;γ1Characterize internal memory weight;N characterizes running memory property value;γ2Characterize CPU Weight;U characterizes CPU property value;γ3Characterize video card weight;K characterizes video card property value.
Preferably, described detection computing unit, including:
Second computation subunit, for arranging operation standard mark and the normal data amount of this locality, and according to detecting The pending data volume that local runtime mark and described data transmission unit determine, utilizes following computing formula group (2), calculates this Ground handling rate;
&omega; = 100 % F i &GreaterEqual; F b , S i &GreaterEqual; S b &alpha; F i F b F i < F b , S i &GreaterEqual; S b &beta; S i S b F i &GreaterEqual; F b , S i < S b A &times; ( &alpha; F i F b ) + C ( &beta; S i S b ) F i < F b , S i < S b - - - ( 2 )
Wherein, ω characterizes processing locality rate;FiCharacterize local runtime mark;FbCharacterize operation standard mark;SiCharacterize and wait to locate Reason data volume;SbSignature criteria data volume;α characterizes mark affects coefficient;β characterizes data volume affects coefficient;A characterizes mark power Weight;C characterizes data volume weight.
Preferably, described area division unit, it is further used for:
Described processing unit is divided at least two treatment process, and total number of statistical disposition operation;According to following 3rd computing formula, calculates local runtime number;
3rd computing formula:
Wherein, d characterizes local runtime number;M characterizes total number for the treatment of process;ω characterizes processing locality rate;
From the original position/final position of pending data handling procedure, according to local runtime number, order is selected described Target treatment process in processing unit, forms the first processing region, wherein, the number of target treatment process and local runtime Number is identical.
A kind of data handling system, including: at least one any of the above-described described terminal, at least one medical apparatus and instruments and remote Journey server, wherein,
In at least one terminal described, each terminal, it is connected with a medical apparatus and instruments and described remote server respectively, For receiving the pending data that connected medical apparatus and instruments sends, according to described pending data, entered by the first processing region Row data process, and determine the second processing region of correspondence for described remote server, and control to call described remote server The second processing region;
Described remote server, during for receiving the control of described any terminal, receives the control of described terminal, calls Second processing region carries out data process.
Embodiments provide a kind of data processing method, terminal and system, by receive outside send wait locate Reason data, determine pending data volume, and detect local runtime mark;According to described pending data volume and described local runtime Mark, calculates processing locality rate;It is respectively allocated corresponding number for local and remote server according to calculating processing locality rate According to processing procedure, i.e. according to described processing locality rate, determine the first processing region in this locality, and determine described remote server pair The second processing region answered, determines the operation order of described first processing region and described second processing region;According to described fortune Row order, order processes institute by the second processing region that first processing region of described this locality is corresponding with described remote server Stating pending data, whole process realizes local and remote server collaborative process data, it is possible to is effectively improved data and processes Efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to These accompanying drawings obtain other accompanying drawing.
Fig. 1 is the flow chart of a kind of data processing method that one embodiment of the invention provides;
Fig. 2 is the flow chart of a kind of data processing method that another embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of terminal that one embodiment of the invention provides;
Fig. 4 is the structural representation of a kind of terminal that another embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of terminal that another embodiment of the present invention provides;
Fig. 6 is the structural representation of a kind of data handling system that one embodiment of the invention provides.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of not making creative work, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, embodiments provide a kind of data processing method, the method may comprise steps of:
Step 101: receive the outside pending data sent, determine pending data volume, and detect local runtime mark;
Step 102: according to pending data volume and local runtime mark, calculates processing locality rate;
Step 103: according to processing locality rate, determines the first processing region, and determines that remote server is corresponding in this locality Second processing region, determines the operation order of the first processing region and the second processing region;
Step 104: according to operation order, order passes through second that the first local processing region is corresponding with remote server Processing region processes pending data.
In the embodiment shown in fig. 1, by receiving the outside pending data sent, determine pending data volume, and Detection local runtime mark;According to described pending data volume and described local runtime mark, calculate processing locality rate;According to meter Calculate processing locality rate and be respectively allocated the data handling procedure of correspondence for local and remote server, be i.e. located according to described Reason rate, determines the first processing region, and determines the second processing region that described remote server is corresponding in this locality, determines described The operation order of one processing region and described second processing region;According to described operation order, order by described this locality the The second processing region that one processing region is corresponding with described remote server processes described pending data, and whole process realizes this Ground and remote server collaborative process data, it is possible to be effectively improved data-handling efficiency.
In an embodiment of the invention, in order to enable local runtime mark to embody local actual operation energy Power, detects the detailed description of the invention of local runtime mark in step 102, including: obtain local runtime property parameters, described operation Property parameters, including: running memory property value, CPU property value and video card property value;According to described running memory property value, CPU Property value and video card property value, calculate local runtime mark.Owing to the ability of process data of a computer is mainly by running Internal memory, CPU and video card determine, then by obtaining their property value, calculate local runtime mark according to their property value, Make local runtime mark can embody local data disposal ability.
In an embodiment of the invention, in order to ensure to calculate the accuracy of local runtime mark, calculate local runtime and divide The detailed description of the invention of number, including: utilize following computing formula (1), calculate local runtime mark;
Fi1N+γ2U+γ3K (1)
Wherein, FiCharacterize local runtime mark;γ1Characterize internal memory weight;N characterizes running memory property value;γ2Characterize CPU Weight;U characterizes CPU property value;γ3Characterize video card weight;K characterizes video card property value.
The effect difference undertaken in running due to internal memory, CPU and video card, then they are for local runtime The impact of ability is also by difference.The embodiment of the present invention, by repeatedly testing the process of Computer Vision, gives γ3It is 6.5, γ2It is 2.5, γ1Being 2, running memory property value is primarily to see the surplus ratio that running memory is current, CPU property value Being primarily to see the surplus ratio of CPU, video card property value is mainly for disposal ability one numerical value of imparting of video card, then, work as N= 10%, U=10%, K=1, then be 2.9 by above-mentioned computing formula (1) calculated local runtime mark.
In an embodiment of the invention, in order to calculate processing locality rate accurately, said method farther includes: Operation standard mark and the normal data amount of this locality are set;Calculate the detailed description of the invention of processing locality rate, including: according to following Computing formula group (2), calculates processing locality rate;
&omega; = 100 % F i &GreaterEqual; F b , S i &le; S b &alpha; F i F b F i < F b , S i &le; S b &beta; S i S b F i &GreaterEqual; F b , S i > S b A &times; ( &alpha; F i F b ) + C ( &beta; S i S b ) F i < F b , S i > S b - - - ( 2 )
Wherein, ω characterizes processing locality rate;FiCharacterize local runtime mark;FbCharacterize operation standard mark;SiCharacterize and wait to locate Reason data volume;SbSignature criteria data volume;α characterizes mark affects coefficient;β characterizes data volume affects coefficient;A characterizes mark power Weight;C characterizes data volume weight.I.e. run mark when local runtime mark not less than standard, and pending data volume is not more than mark During quasi-data volume, when local runtime mark runs mark less than standard and can treat by pending data all at processing locality When process data volume is not more than normal data amount, then only calculate processing locality rate etc. according to local runtime mark.Such as: run Standard score is 9, and normal data amount is 10G, and the local runtime mark that detection obtains is 5, and pending data volume is 20G, then root According to this formula:Calculate processing locality rate.
In an embodiment of the invention, in order to reasonably distribute processing region between local and remote server, Said method farther includes: the processing procedure of described pending data is divided at least two treatment process, and Statistics Division Total number of science and engineering sequence;The detailed description of the invention of step 104, including: according to following computing formula (3), calculate local runtime Number;
Wherein, d characterizes local runtime number;M characterizes total number for the treatment of process;ω characterizes processing locality rate;Characterize Round downwards;
From processing procedure original position/final position, according to science and engineering at local runtime number, sequentially selected target Sequence, forms the first processing region, and wherein, the number of target treatment process is identical with local runtime number;Target will be removed process Processing procedure outside operation is as the second processing region.Such as: data handling procedure is divided into 10 treatment process, above Calculated processing locality rate is 0.25, then be calculated local runtime number and beI.e. take downwards 2.5 Whole, in two treatment process of local runtime, remote server runs remaining 8 treatment process, in order to reduce local with Between remote server, the number of times of data exchange, can divide for this locality with the original position of data handling procedure or final position Join target treatment process, such as: data handling procedure corresponding treatment process order be: treatment process 1, treatment process 2, process Operation 3, treatment process 4, treatment process 5, treatment process 6, treatment process 7, treatment process 8, treatment process 9 and treatment process 10, determine with original position for this locality target treatment process for treatment process 1 and treatment process 2, correspondingly, remote server transport The treatment process of row is treatment process 3, treatment process 4, treatment process 5, treatment process 6, treatment process 7, treatment process 8, place Science and engineering sequence 9 and treatment process 10;When distributing target treatment process with the final position of data handling procedure, owing to number is 2, Then target treatment process is treatment process 9 and treatment process 10, and correspondingly, the treatment process that remote server runs is place's science and engineering Sequence 1, treatment process 2, treatment process 3, treatment process 4, treatment process 5, treatment process 6, treatment process 7 and treatment process 8.
In an embodiment of the invention, in order to process pending number according to the sequencing of each treatment process According to, the detailed description of the invention of step 105, including: when described first processing region is positioned at the data handling procedure of pending data Original position time, by described first processing region process described pending data, generate the first intermediate data set, according to institute State the second processing region, generate the first teleinstruction for described first intermediate data set, by described first teleinstruction, call The second processing region in described remote server processes described first intermediate data set;Such as: the first processing region includes place Science and engineering sequence 1 and treatment process 2, then order processes pending data by treatment process 1 and treatment process 2, obtains intermediate data Collection, then this intermediate data set is sent to remote server, by teleinstruction control remote server from treatment process 3 to from Science and engineering sequence 10 (the i.e. second processing region) this intermediate data set of sequential processing, and do not rerun treatment process 1 and treatment process 2.
When the final position of the processing procedure that described first processing region is positioned at pending data, at described second Reason region, for described pending data genaration the second teleinstruction, by described second teleinstruction, calls described remote service The second processing region in device processes described pending data, generates the second intermediate data set;At the first of described this locality Second intermediate data set described in reason regional processing.Such as: when the first processing region includes treatment process 9 and treatment process 10, then Directly pending data are sent to remote server, by the second teleinstruction, control remote server order by processing Operation 1 to treatment process 8 (the i.e. second processing region) processes pending data, obtains the second intermediate data set, then by this second Intermediate data set returns to this locality, local by treatment process 9 and this second intermediate data set for the treatment of process 10 sequential processing, shape Become final result.
Arrange as a example by the first processing region by the original position from the processing procedure of pending data, launch explanation local and Remote server is collaborative carries out data process, as in figure 2 it is shown, the method may comprise steps of:
Step 201: operation standard mark and the normal data amount of this locality are set;
Operation standard mark and normal data amount that this step is arranged are, it is ensured that while local data treatment effeciency, make Local runtime standard score that data can completely locally process and the normal data amount of data, it is necessary to meet simultaneously and run mark The normal data amount of quasi-mark and data just can make data completely locally process the overburden without causing this locality.
The data mentioned in the embodiment of the present invention process the program being mainly not up to a certain purpose and develop, and work as data volume Time bigger, local performance may not process by load data, and carries out the most on the remote server, makes the band to transmission Wide requirement is higher, and therefore, the embodiment of the present invention is based on this step, it is achieved data are on local terminal and remote server Distribution process.
Step 202: receive the outside pending data sent, determine pending data volume;
Such as: receiving the video data that the medical apparatus and instruments of makeups witch mirror class sends, this video data is this step Pending data, the size of video data such as 100M, then be the data volume of pending data.
Step 203: the processing procedure of pending data is divided at least two treatment process, and statistical disposition operation Total number;
According to the process step of pending data, data handling procedure can be divided into multiple places science and engineering in this step Sequence, such as: a certain data handling procedure is: the video data photographed by acquisition camera, target in analysis video data Postural change situation, this data handling procedure can be divided into collection operation, frame image features value abstraction process, extraction The eigenvalue gone out contrasts operation ..., postural change analysis procedure, result output operation etc., can divide for each action Go out a treatment process, add up total number of the treatment process marked off, such as: total number is 10, is designated as treatment process successively 1, treatment process 2, treatment process 3, treatment process 4, treatment process 5, treatment process 6, treatment process 7, treatment process 8, process Operation 9 and treatment process 10.
Step 204: obtain local runtime property parameters, runs property parameters, including: running memory property value, CPU attribute Value and video card property value;
The parameter affecting local computer operation mainly has running memory, CPU and video card, and running memory is the biggest, treatability Can be the best, the performance of CPU is the best, and process performance is the best, and video card is mainly used for image procossing, relates to the mistake of image procossing Journey, the performance of this video card will directly influence performance.
Step 205: according to running memory property value, CPU property value and video card property value, calculates local runtime mark;
This step mainly, utilizes following computing formula (1), calculates:
Fi1N+γ2U+γ3K (1)
Wherein, FiCharacterize local runtime mark;γ1Characterize internal memory weight;N characterizes running memory property value;γ2Characterize CPU Weight;U characterizes CPU property value;γ3Characterize video card weight;K characterizes video card property value.
Such as: the embodiment of the present invention, for processing video data, gives γ3It is 6.5, γ2It is 2.5, γ1It is 2, fortune Row memory attribute value is primarily to see the surplus ratio that running memory is current, and CPU property value is primarily to see the surplus ratio of CPU, and video card belongs to Property value mainly disposal ability for video card give a numerical value, then, as N=10%, U=10%, K=1, then by upper Stating computing formula (1) calculated local runtime mark is 2.9.
Step 206: according to pending data volume and local runtime mark, calculates processing locality rate;
The calculating process of this step is realized by following computing formula group (2):
&omega; = 100 % F i &GreaterEqual; F b , S i &le; S b &alpha; F i F b F i < F b , S i &le; S b &beta; S i S b F i &GreaterEqual; F b , S i > S b A &times; ( &alpha; F i F b ) + C ( &beta; S i S b ) F i < F b , S i > S b - - - ( 2 )
Wherein, ω characterizes processing locality rate;FiCharacterize local runtime mark;FbCharacterize operation standard mark;SiCharacterize and wait to locate Reason data volume;SbSignature criteria data volume;α characterizes mark affects coefficient;β characterizes data volume affects coefficient;A characterizes mark power Weight;C characterizes data volume weight.
I.e. run mark when local runtime mark not less than standard, and when pending data volume is not more than normal data amount, Can by pending data all at processing locality, i.e. when by computing formula group calculate processing locality rate be 100% time, Show that pending data can directly process in terminal, and without being transferred to remote server.When local runtime mark Run mark less than standard, and when pending data volume is not more than normal data amount, then only calculate this according to local runtime mark Ground handling rate etc..Such as: operation standard mark is 9, normal data amount is 10G, and the local runtime mark that detection obtains is 5, Pending data volume is 20G, then according to this formula:Calculate processing locality rate.
Step 207: according to processing locality rate, calculates local runtime number;
This step mainly utilizes following computing formula (3), carry out calculate local runtime number:
Wherein, d characterizes local runtime number;M characterizes total number for the treatment of process;ω characterizes processing locality rate;Table Levy and round downwards.
Such as: data handling procedure is divided into 10 treatment process, and the processing locality rate obtained calculated above is 0.25, Then being calculated local runtime number isI.e. round downwards 2.5, in two treatment process of local runtime.
Step 208: from the original position of data handling procedure, according to science and engineering at local runtime number, sequentially selected target Sequence, forms the first processing region;
In this step, the number of target treatment process is identical with local runtime number;Such as: data handling procedure is drawn Being divided into 10 treatment process, the local runtime number that obtains calculated above is 2, then from the original position of data handling procedure, sequentially Selected two treatment process are at local runtime, and treatment process order corresponding to data handling procedure is: treatment process 1, place's science and engineering Sequence 2, treatment process 3, treatment process 4, treatment process 5, treatment process 6, treatment process 7, treatment process 8, treatment process 9 and place Science and engineering sequence 10, determines that with original position for this locality target treatment process is for treatment process 1 and treatment process 2.
Step 209: using the data handling procedure outside removing target treatment process as the second processing region;
Such as: data handling procedure is divided into 10 treatment process, science and engineering at previous step selected two of order Sequence at local runtime, then runs the treatment process that remaining 8 treatment process, i.e. remote server are run in remote server For treatment process 3, treatment process 4, treatment process 5, treatment process 6, treatment process 7, treatment process 8, treatment process 9 and process Operation 10.
Step 210: process pending data by the first processing region, generate the first intermediate data set;
Such as: by treatment process 1 be Digital video resolution operation, treatment process 2 be frame image features gather operation, treat Process data are video data, then video data obtains each two field picture by Digital video resolution operation, and frame image features is adopted Collection operation gathers the eigenvalue of each two field picture, and the eigenvalue of this each two field picture is the first intermediate data that this step generates Collection.
Step 211: according to the second processing region, is that the first intermediate data set generates the first teleinstruction;
Which treatment process this first teleinstruction starts to process, such as: at 10 that above-mentioned steps is mentioned from for location In science and engineering sequence, treatment process 1 and treatment process 2 complete on the local computer, and remaining 8 treatment process is on the remote server Complete, then the first teleinstruction is and skips treatment process 1 and treatment process 2, directly data set will be sent to place in first Science and engineering sequence 3, calls treatment process 3 and follow-up treatment process processes data.
Step 212: by the first teleinstruction, calls the second processing region in remote server and processes the first intermediate data Collection, generates result;
With in 10 treatment process that above-mentioned steps is mentioned, treatment process 1 and treatment process 2 are the completeest Become, as a example by remaining 8 treatment process completes on the remote server, this step then pass sequentially through treatment process 3, treatment process 4, Treatment process 5, treatment process 6, treatment process 7, treatment process 8, treatment process 9 and the treatment process 10 spy to each two field picture Value indicative processes, thus realizes the collaborative process of local and remote server.
Step 213: result is returned to this locality by remote server.
Such as: when data handling procedure is to obtain the postural change of target in video by analysis video information, it is judged that mesh Whether mark is fallen down, then the result returned can be the title of the current posture of target such as fall down, sitting posture etc..
Step 208 to the implementation of step 213 can also be: terminates when the first processing region is positioned at data handling procedure During position, the second processing region is then from the beginning of the original position of data handling procedure.First, according to the second processing region, for treating Process data genaration the second teleinstruction, this second instruction: the data starting to call remote server from original position process Process.Then, by the second teleinstruction, the second processing region called in remote server processes pending data, generates Second intermediate data set;Second intermediate data set is returned to this locality, is processed in the middle of second by the first local processing region Data set, it is thus achieved that the final result of process.
By above-mentioned statement, when this data processing method is applied on makeups witch mirror, by makeups witch mirror Data carry out processing the state of the user that can quickly know makeups witch mirror and such as know mood by analysis facial expression, analyze The rgb value of image analyzes blood flow regime of user etc..
As it is shown on figure 3, the embodiment of the present invention provides a kind of terminal, including:
Described pending data for receiving the pending data of outside transmission, and are passed by data transmission unit 301 Defeated, determine pending data volume;
Detection computing unit 302, is used for detecting local runtime mark, according to treating that described data transmission unit 301 determines Process data volume and described local runtime mark, calculate processing locality rate;
Area division unit 303, for according to described detection computing unit 302 calculated processing locality rate, for place Reason dividing elements goes out the first processing region, and determines the second processing region that the remote server of peripheral hardware is corresponding, determines described the The operation order of one processing region and described second processing region;
Control unit 304, for the operation order determined according to area division unit 303, the first of sequential control this locality The second processing region that processing region is corresponding with the remote server of peripheral hardware;
Processing unit 305, for the division of receiving area division unit 303, marks off the first processing region, and receives control Pending data are processed by the control of unit 304 processed by the first processing region and the remote server of peripheral hardware are collaborative.
As shown in Figure 4, in an alternative embodiment of the invention, described detection computing unit 302, including: obtain subelement 401 With the first computation subunit 402, wherein,
Described acquisition subelement 401, is used for obtaining local runtime property parameters, described operation property parameters, including: run Memory attribute value, CPU property value and video card property value;
Described first computation subunit 402, for the running memory attribute got according to described acquisition subelement 401 Value, CPU property value and video card property value, utilize following computing formula (1), calculates local runtime mark;
Fi1N+γ2U+γ3K (1)
Wherein, FiCharacterize local runtime mark;γ1Characterize internal memory weight;N characterizes running memory property value;γ2Characterize CPU Weight;U characterizes CPU property value;γ3Characterize video card weight;K characterizes video card property value.
As it is shown in figure 5, in an alternative embodiment of the invention, described detection computing unit 302, including:
Second computation subunit 501, for arranging operation standard mark and the normal data amount of this locality, and according to detecting Local runtime mark and the pending data volume that determines of described data transmission unit 301, utilize following computing formula group (2), Calculate processing locality rate;
&omega; = 100 % F i &GreaterEqual; F b , S i &GreaterEqual; S b &alpha; F i F b F i < F b , S i &GreaterEqual; S b &beta; S i S b F i &GreaterEqual; F b , S i < S b A &times; ( &alpha; F i F b ) + C ( &beta; S i S b ) F i < F b , S i < S b - - - ( 2 )
Wherein, ω characterizes processing locality rate;FiCharacterize local runtime mark;FbCharacterize operation standard mark;SiCharacterize and wait to locate Reason data volume;SbSignature criteria data volume;α characterizes mark affects coefficient;β characterizes data volume affects coefficient;A characterizes mark power Weight;C characterizes data volume weight.
In an alternative embodiment of the invention, area division unit 303, it is further used for:
The data handling procedure of pending data is divided at least two treatment process, and total of statistical disposition operation Number;According to following computing formula (3), calculate local runtime number;
Wherein, d characterizes local runtime number;M characterizes total number for the treatment of process;ω characterizes processing locality rate;
Original position/the final position of the pending data handling procedure from processing unit, according to local runtime number, Sequentially selected target treatment process, forms the first processing region, wherein, the number of target treatment process and local runtime number phase With;
Using the treatment process outside removing target treatment process as the second processing region.
The contents such as the information between each unit in said apparatus is mutual, execution process, owing to implementing with the inventive method Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
As shown in Figure 6, the embodiment of the present invention provides a kind of data handling system, including: at least one is any of the above-described described Terminal 601, at least one medical apparatus and instruments 602 and remote server 603, wherein,
In at least one terminal 601 described, each terminal, respectively with a medical apparatus and instruments 602 and described remote service Device 603 is connected, and for receiving the pending data that connected medical apparatus and instruments 602 sends, according to described pending data, controls this The first processing region in ground carries out data process, and determines the second corresponding processing region for described remote server 603, and Control to call described remote server;
Described remote server 603, during for receiving the control of described any terminal 601, determines according to described terminal The second corresponding processing region, call the second processing region and carry out data process.
What deserves to be explained is, this medical apparatus and instruments can be makeups witch mirror, is i.e. used by the camera collection on makeups witch mirror The video information at family, this terminal is connected with makeups witch mirror, the video information of the camera collection user on acquisition makeups witch mirror, and Worked in coordination with by terminal and remote server and process this video information thus obtain the state of user and realize feedback to User Status Such as the pleasure, anger, sorrow, happiness etc. of the facial expression state representation of user, also in user video information, the change of user's posture judges Whether user falls down etc..
It addition, in order to make remote server have stronger data-handling capacity, the remote server in this system is permissible For cloud platform, work in coordination with terminal by the way of cloud computing and process data.
According to such scheme, various embodiments of the present invention, at least have the advantages that
1., by receiving the outside pending data sent, determine pending data volume, and detect local runtime mark;Root According to described pending data volume and described local runtime mark, calculate processing locality rate;According to calculate processing locality rate come for Local and remote server is respectively allocated the data handling procedure of correspondence, i.e. according to described processing locality rate, determines the in this locality One processing region, and determine the second processing region that described remote server is corresponding, determines described first processing region and described The operation order of the second processing region;According to described operation order, order is by first processing region of described this locality and described The second processing region that remote server is corresponding processes described pending data, and whole process realizes local and remote server association With processing data, it is possible to be effectively improved data-handling efficiency.
2. by obtaining local runtime property parameters, described operation property parameters, including: running memory property value, CPU belong to Property value and video card property value, these run property parameters can embody the runnability of local computer, i.e. according to running in Deposit property value, CPU property value and video card property value, calculate local runtime mark, make calculated local runtime score ratio relatively Embody process performance accurately, processing locality performance can be shown intuitively by calculating local runtime mark simultaneously.
3. by arranging the operation standard mark of this locality, normal data amount according to, local runtime mark and pending data, Calculate processing locality rate, be that local and remote server is respectively configured a certain proportion of place by calculated processing locality rate Reason region, so that pending data can process in local and remote server in distribution such that it is able to make local computer obtain To Appropriate application, reduce this locality load simultaneously.
4. by the processing region for the locally-assigned original position being positioned at data handling procedure or for locally-assigned position In the processing region of the final position of data handling procedure, so that pending data first then go to remotely take at processing locality Business device or elder generation process pending data at remote server and then go to processing locality, so that between this locality and remote server Reduce the process of data transmission as far as possible, thus be further ensured that the efficiency that data process.
It should be noted that in this article, the relational terms of such as first and second etc is used merely to an entity Or operation separates with another entity or operating space, and not necessarily require or imply existence between these entities or operation The relation of any this reality or order.And, term " includes ", " comprising " or its any other variant are intended to non- Comprising of exclusiveness, so that include that the process of a series of key element, method, article or equipment not only include those key elements, But also include other key elements being not expressly set out, or also include being consolidated by this process, method, article or equipment Some key elements.In the case of there is no more restriction, statement the key element " including " and limiting, do not arrange Except there is also other same factor in including the process of described key element, method, article or equipment.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be passed through The hardware that programmed instruction is relevant completes, and aforesaid program can be stored in the storage medium of embodied on computer readable, this program Upon execution, perform to include the step of said method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic disc or light In the various medium that can store program code such as dish.
Last it should be understood that the foregoing is only presently preferred embodiments of the present invention, it is merely to illustrate the skill of the present invention Art scheme, is not intended to limit protection scope of the present invention.All made within the spirit and principles in the present invention any amendment, Equivalent, improvement etc., be all contained in protection scope of the present invention.

Claims (10)

1. a data processing method, it is characterised in that including:
Receive the outside pending data sent, determine pending data volume, and detect local runtime mark;
According to described pending data volume and described local runtime mark, calculate processing locality rate;
According to described processing locality rate, determine the first processing region in described this locality, and determine that described remote server is corresponding Second processing region, determines the operation order of described first processing region and described second processing region;
According to described operation order, order by first processing region of described this locality corresponding with described remote server second Processing region processes described pending data.
Method the most according to claim 1, it is characterised in that described detection local runtime mark, including:
Acquisition local runtime property parameters, described operation property parameters, including: running memory property value, CPU property value and video card Property value;
According to described running memory property value, CPU property value and video card property value, calculate local runtime mark.
Method the most according to claim 2, it is characterised in that described calculating local runtime mark, including:
Utilize following first computing formula, calculate local runtime mark;
First computing formula:
Fi1N+γ2U+γ3K
Wherein, FiCharacterize local runtime mark;γ1Characterize internal memory weight;N characterizes running memory property value;γ2Characterize CPU power Weight;U characterizes CPU property value;γ3Characterize video card weight;K characterizes video card property value.
4. according to the arbitrary described method of claims 1 to 3, it is characterised in that farther include: arrange local corresponding operation Standard score and normal data amount;
Described calculating processing locality rate, including:
According to following second computing formula group, calculate processing locality rate;
Second computing formula group:
&omega; = 100 % F i &GreaterEqual; F b , S i &le; S b &alpha; F i F b F i < F b , S i &le; S b &beta; S i S b F i &GreaterEqual; F b , S i > S b A &times; ( &alpha; F i F b ) + C ( &beta; S i S b ) F i < F b , S i > S b
Wherein, ω characterizes processing locality rate;FiCharacterize local runtime mark;FbCharacterize operation standard mark;SiCharacterize pending number According to amount;SbSignature criteria data volume;α characterizes mark affects coefficient;β characterizes data volume affects coefficient;A characterizes fractional weight;C table Levy data volume weight.
Method the most according to claim 4, it is characterised in that farther include: the processing procedure of pending data is drawn It is divided at least two treatment process, and total number of statistical disposition operation;
Described determine the first processing region in described this locality, determine the second processing region that described remote server is corresponding, including:
According to following 3rd computing formula, calculate local runtime number;
3rd computing formula:
Wherein, d characterizes local runtime number;M characterizes total number for the treatment of process;ω characterizes processing locality rate;
From the original position/final position of pending data handling procedure, according to local runtime number, sequentially selected target processes Operation, forms the first processing region, and wherein, the number of target treatment process is identical with local runtime number;
Using the processing procedure outside removing target treatment process as the second processing region.
Method the most according to claim 5, it is characterised in that described order by first processing region of described this locality and The second processing region that described remote server is corresponding processes described pending data, including:
When described first processing region is positioned at described processing procedure original position, process described by described first processing region Pending data, generate the first intermediate data set, according to described second processing region, generate for described first intermediate data set One teleinstruction, by described first teleinstruction, calls the second processing region in described remote server and processes described the One intermediate data set;
When described first processing region is positioned at the final position of processing procedure, according to described second processing region, treat for described Process data genaration the second teleinstruction, by described second teleinstruction, call the second treatment region in described remote server Territory processes described pending data, generates the second intermediate data set;Described the is processed by first processing region of described this locality Two intermediate data sets.
7. a terminal, it is characterised in that be connected with the remote server of peripheral hardware, including:
Described pending data for receiving the pending data of outside transmission, and are transmitted, determine by data transmission unit Pending data volume;
Detection computing unit, is used for detecting local runtime mark, the pending data volume determined according to described data transmission unit With described local runtime mark, calculate processing locality rate;
Area division unit, for according to described detection computing unit calculated processing locality rate, dividing for processing unit Go out the first processing region, and determine the second processing region that the remote server of described peripheral hardware is corresponding, determine that described first processes The operation order of region and described second processing region;
Control unit, for the operation order determined according to described area division unit, the first treatment region that sequential control is local The second processing region that territory is corresponding with the remote server of described peripheral hardware;
Described processing unit, for receiving the division of described area division unit, marks off the first processing region, and receives described The control of control unit, collaborative to described pending data with the remote server of described peripheral hardware by described first processing region Process.
Terminal the most according to claim 7, it is characterised in that described detection computing unit, including: obtain subelement and the One computation subunit, wherein,
Described acquisition subelement, is used for obtaining local runtime property parameters, described operation property parameters, including: running memory belongs to Property value, CPU property value and video card property value;
Described first computation subunit, for the running memory property value got according to described acquisition subelement, CPU property value And video card property value, utilize following first computing formula, calculate local runtime mark;
First computing formula:
Fi1N+γ2U+γ3K
Wherein, FiCharacterize local runtime mark;γ1Characterize internal memory weight;N characterizes running memory property value;γ2Characterize CPU power Weight;U characterizes CPU property value;γ3Characterize video card weight;K characterizes video card property value;
And/or,
Described detection computing unit, including:
Second computation subunit, for arranging operation standard mark and the normal data amount of this locality, and according to this locality detected The pending data volume that operation mark and described data transmission unit determine, utilizes following second computing formula group, calculates this locality Handling rate;
Second computing formula group:
&omega; = 100 % F i &GreaterEqual; F b , S i &GreaterEqual; S b &alpha; F i F b F i < F b , S i &GreaterEqual; S b &beta; S i S b F i &GreaterEqual; F b , S i < S b A &times; ( &alpha; F i F b ) + C ( &beta; S i S b ) F i < F b , S i < S b
Wherein, ω characterizes processing locality rate;FiCharacterize local runtime mark;FbCharacterize operation standard mark;SiCharacterize pending number According to amount;SbSignature criteria data volume;α characterizes mark affects coefficient;β characterizes data volume affects coefficient;A characterizes fractional weight;C table Levy data volume weight.
Terminal the most according to claim 8, it is characterised in that described area division unit, is further used for:
Described processing unit is divided at least two treatment process, and total number of statistical disposition operation;According to the following 3rd Computing formula, calculates local runtime number;
3rd computing formula:
Wherein, d characterizes local runtime number;M characterizes total number for the treatment of process;ω characterizes processing locality rate;
From the original position/final position of pending data handling procedure, according to local runtime number, the selected described process of order Target treatment process in unit, forms the first processing region, wherein, the number of target treatment process and local runtime number phase With.
10. a data handling system, it is characterised in that including: the arbitrary described terminal of at least one claim 6 to 8, extremely A few medical apparatus and instruments and remote server, wherein,
In at least one terminal described, each terminal, it is connected with a medical apparatus and instruments and described remote server respectively, is used for Receive the pending data that the medical apparatus and instruments being connected sends, according to described pending data, by the first processing region number According to process, and determine the second processing region of correspondence for described remote server, and control to call the of described remote server Two processing regions;
Described remote server, during for receiving the control of described any terminal, receives the control of described terminal, calls second Processing region carries out data process.
CN201610756020.0A 2016-08-30 2016-08-30 A kind of data processing method, terminal and system Pending CN106227608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610756020.0A CN106227608A (en) 2016-08-30 2016-08-30 A kind of data processing method, terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610756020.0A CN106227608A (en) 2016-08-30 2016-08-30 A kind of data processing method, terminal and system

Publications (1)

Publication Number Publication Date
CN106227608A true CN106227608A (en) 2016-12-14

Family

ID=58071462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610756020.0A Pending CN106227608A (en) 2016-08-30 2016-08-30 A kind of data processing method, terminal and system

Country Status (1)

Country Link
CN (1) CN106227608A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032704A (en) * 2017-06-12 2018-12-18 深圳市中兴微电子技术有限公司 A kind of method and apparatus of data processing
CN109885413A (en) * 2019-02-20 2019-06-14 安徽省勤业科技服务有限公司 A kind of data managing method in cloud computing system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081676A (en) * 2011-01-28 2011-06-01 四川长虹佳华信息产品有限责任公司 Mobile wireless network based map analytic method by virtue of remote server
CN103139609A (en) * 2013-02-01 2013-06-05 深圳市深信服电子科技有限公司 Method and device for optimizing remote application video play

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081676A (en) * 2011-01-28 2011-06-01 四川长虹佳华信息产品有限责任公司 Mobile wireless network based map analytic method by virtue of remote server
CN103139609A (en) * 2013-02-01 2013-06-05 深圳市深信服电子科技有限公司 Method and device for optimizing remote application video play

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张海洲: "基于利用率和负载均衡的云资源调度算法研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032704A (en) * 2017-06-12 2018-12-18 深圳市中兴微电子技术有限公司 A kind of method and apparatus of data processing
CN109032704B (en) * 2017-06-12 2022-08-09 深圳市中兴微电子技术有限公司 Data processing method and device
CN109885413A (en) * 2019-02-20 2019-06-14 安徽省勤业科技服务有限公司 A kind of data managing method in cloud computing system

Similar Documents

Publication Publication Date Title
CN106796716B (en) For providing the device and method of super-resolution for low-resolution image
CN108197532B (en) The method, apparatus and computer installation of recognition of face
CN110188720A (en) A kind of object detection method and system based on convolutional neural networks
CN109299344A (en) Generation method of ranking model, and ranking method, device and equipment of search results
CN107808149A (en) A kind of face information mask method, device and storage medium
CN107688823A (en) A kind of characteristics of image acquisition methods and device, electronic equipment
CN107832802A (en) Quality of human face image evaluation method and device based on face alignment
CN105893390A (en) Application program processing method and electronic equipment
CN109684947A (en) Mark quality control method, device, computer equipment and storage medium
CN109919925A (en) Printed circuit board intelligent detecting method, system, electronic device and storage medium
CN105975980A (en) Method of monitoring image mark quality and apparatus thereof
CN110222171A (en) A kind of application of disaggregated model, disaggregated model training method and device
CN109558902A (en) A kind of fast target detection method
CN110503635A (en) A method for evaluating bone age in hand bone X-ray films based on heterogeneous data fusion network
CN109871762A (en) A kind of evaluation method and device of human face recognition model
CN110148117A (en) Power equipment defect identification method and device based on power image and storage medium
CN109740868A (en) A kind of medical institutions&#39; sort method and device based on first page of illness case
CN103309857B (en) A kind of taxonomy determines method and apparatus
CN106599291B (en) Data grouping method and device
CN112463859B (en) User data processing method and server based on big data and business analysis
CN109284700B (en) Method, storage medium, device and system for detecting multiple faces in image
CN111652073A (en) Video classification method, device, system, server and storage medium
CN107680686A (en) Processing method, device, computer equipment and the storage medium of disease forecasting probability
CN106227608A (en) A kind of data processing method, terminal and system
CN106557566B (en) A kind of text training method and device

Legal Events

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

Application publication date: 20161214