CN107229485A - It is a kind of to solve the slow method of gathered data class software closing velocity - Google Patents
It is a kind of to solve the slow method of gathered data class software closing velocity Download PDFInfo
- Publication number
- CN107229485A CN107229485A CN201610169508.3A CN201610169508A CN107229485A CN 107229485 A CN107229485 A CN 107229485A CN 201610169508 A CN201610169508 A CN 201610169508A CN 107229485 A CN107229485 A CN 107229485A
- Authority
- CN
- China
- Prior art keywords
- gathered data
- software
- data
- background service
- service process
- 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
Abstract
The present invention discloses a kind of slow method of solution gathered data class software closing velocity, comprises the following steps:Set up a background service process, and set up a communication interface between platform service processes and gathered data software with interface in the rear, the background service process is used to upload onto the server the data for being received from the gathered data software;The data of collection are passed to the background service process by the gathered data software by the communication interface;When user clicks on the X button of the gathered data software interface, the gathered data software is immediately out of service, the background service process by reception, the data from the gathered data software collection upload onto the server.
Description
Technical field
The present invention relates to computer application field, gathered data class software is solved in particular to one kind
The slow method of closing velocity.
Background technology
Acquisition software is typically all to upload data to server after software is closed after gathered data, in number
According to amount than it is larger when, or network speed it is slow when, acquisition software be accomplished by wait a period of time process can just move back
Go out, influence Consumer's Experience that so can be serious in the case where having with interface.With the increasing of gathered data amount
Greatly, closing velocity will be increasingly slower, and general technical solution is the one or more threads of increase,
There is thread to go to upload data, uploading speed can be improved using the method for thread to a certain extent, but by
Need for waiting thread to complete just exit in main program.The effect actually when data volume is big nor
It is highly desirable.
The content of the invention
The present invention provides a kind of solution gathered data class software closing velocity slow method, general to solve
The problem of closing velocity with interface collection class software is slow.
To reach above-mentioned purpose, slow the invention provides a kind of solution gathered data class software closing velocity
Method, comprises the following steps:
A background service process is set up, and platform service processes and the gathered data with interface are soft in the rear
A communication interface is set up between part, the background service process is soft for that will be received from the gathered data
The data of part upload onto the server;
The data of collection are passed to the background service by the gathered data software by the communication interface
Process;
When user clicks on the X button of the gathered data software interface, the gathered data software is
When it is out of service, the background service process is by reception, number from the gathered data software collection
According to uploading onto the server.
Further, when user-initiated actions system, the background service process is automatic in system background
Operation.
Further, when user opens the gathered data software, automatically turn on and the background service
The communication connection of process.
The present invention is used to upload data by introducing a background service process, in gathered data software with after
A communication interface is set up between platform service processes, so original gathered data class software is only responsible for collection
Data, give background service process, background service process handle connects by communication interface the data transfer of collection
The gathered data received is uploaded onto the server.Compared with prior art, it is many in technical scheme
The flow of one local process communication, but due to being communicated between general local process relative to the speed of network service
The time is substantially negligible for degree, generally original data acquisition software after so adjusting
Background service process the two things need to be gathered and transfer data to, user can be clearly felt that a bit
X button software is hit to be shut off at once;Meanwhile, background service process be usually without interface, with
Run with system operation, when data are uploaded system cpu may take it is larger, but
The other times background service for not uploading data carries out also going to take cpu, is unaware for user
, so as to solve the problem of general closing velocity with interface collection class software is slow, improve user's body
Test.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to reality
The accompanying drawing used required for applying in example or description of the prior art is briefly described, it should be apparent that, below
Accompanying drawing in description is only some embodiments of the present invention, for those of ordinary skill in the art,
On the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the slow method flow of the solution gathered data class software closing velocity of one embodiment of the invention
Figure.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the invention, and
The embodiment being not all of.Based on the embodiment in the present invention, those of ordinary skill in the art are not paying
Go out the every other embodiment obtained under the premise of creative work, belong to the scope of protection of the invention.
Fig. 1 is the slow method flow of the solution gathered data class software closing velocity of one embodiment of the invention
Figure;Comprise the following steps as illustrated, solving the slow method of gathered data class software closing velocity:
S110, sets up a background service process, and platform service processes and the collection with interface in the rear
A communication interface is set up between data software, the background service process is used to that the collection will to be received from
The data of data software upload onto the server;
S120, the gathered data software by the data of collection by the communication interface pass to it is described after
Platform service processes;
S130, when user clicks on the X button of the gathered data software interface, the gathered data
Software is immediately out of service, the background service process by reception, adopt from the gathered data software
The data of collection upload onto the server.
The present invention is used to upload data by introducing a background service process, in gathered data software with after
A communication interface is set up between platform service processes, so original gathered data class software is only responsible for collection
Data, give background service process, background service process handle connects by communication interface the data transfer of collection
The gathered data received is uploaded onto the server.Compared with prior art, it is many in technical scheme
The flow of one local process communication, but due to being communicated between general local process relative to the speed of network service
The time is substantially negligible for degree, generally original data acquisition software after so adjusting
Background service process the two things need to be gathered and transfer data to, user can be clearly felt that a bit
X button software is hit to be shut off;Meanwhile, background service process is usually, without interface, to follow and be
System operation and run, when upload data system cpu may take it is larger, but on not
The other times background service for passing data carries out also going to take cpu, is unaware for user,
So as to solve the problem of general closing velocity with interface collection class software is slow, Consumer's Experience is improved.
Further, when user-initiated actions system, background service process is automatic in system background operation.
Further, when user opens the gathered data software, automatically turn on and the background service
The communication connection of process.
It is below the flow of a specific embodiment of the invention:
【1】Set up a background service process;
【2】The Code transformations of upload gathered data in the acquisition software at original tape interface are entered to background service
Journey, the acquisition software at original tape interface is only gathered, and the work uploaded is not done;
【3】A kind of interprocess communication machine is set up between band interface acquisition software and background service process
System;
【4】Gathered data software constantly gathers related data, enters while transferring data to background service
Journey, in regular hour piece interval, background service process uploads onto the server the data received.
【5】When user clicks on the X button of gathered data software interface, gathered data software stops at once
Only run, the data do not uploaded onto the server are continued to upload onto the server by background service process.
One of ordinary skill in the art will appreciate that:During accompanying drawing is the schematic diagram of one embodiment, accompanying drawing
Module or necessary to flow not necessarily implements the present invention.
One of ordinary skill in the art will appreciate that:The module in device in embodiment can be according to implementation
Example description is distributed in the device of embodiment, can also be carried out respective change and is disposed other than the present embodiment
In one or more devices.The module of above-described embodiment can be merged into a module, can also be further
Split into multiple submodule.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than to it
Limitation;Although the present invention is described in detail with reference to the foregoing embodiments, the ordinary skill of this area
Personnel should be understood:It can still modify to the technical scheme described in previous embodiment, or
Equivalent substitution is carried out to which part technical characteristic;And these modifications or replacement, do not make relevant art
The essence of scheme departs from the spirit and scope of technical scheme of the embodiment of the present invention.
Claims (3)
1. a kind of solve the slow method of gathered data class software closing velocity, it is characterised in that including following
Step:
A background service process is set up, and platform service processes and the gathered data with interface are soft in the rear
A communication interface is set up between part, the background service process is soft for that will be received from the gathered data
The data of part upload onto the server;
The data of collection are passed to the background service by the gathered data software by the communication interface
Process;
When user clicks on the X button of the gathered data software interface, the gathered data software is
When it is out of service, the background service process is by reception, number from the gathered data software collection
According to uploading onto the server.
2. according to claim 1 solve the slow method of gathered data class software closing velocity, it is special
Levy and be, when user-initiated actions system, the background service process is automatic in system background operation.
3. according to claim 1 solve the slow method of gathered data class software closing velocity, it is special
Levy and be, when user opens the gathered data software, automatically turn on and the background service process
Communication connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610169508.3A CN107229485A (en) | 2016-03-23 | 2016-03-23 | It is a kind of to solve the slow method of gathered data class software closing velocity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610169508.3A CN107229485A (en) | 2016-03-23 | 2016-03-23 | It is a kind of to solve the slow method of gathered data class software closing velocity |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107229485A true CN107229485A (en) | 2017-10-03 |
Family
ID=59932608
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610169508.3A Pending CN107229485A (en) | 2016-03-23 | 2016-03-23 | It is a kind of to solve the slow method of gathered data class software closing velocity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107229485A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018176177A1 (en) * | 2017-04-01 | 2018-10-04 | 福建福昕软件开发股份有限公司 | Method for resolving problem of slow shutdown speed of data collection software |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002015008A (en) * | 2000-06-29 | 2002-01-18 | Casio Comput Co Ltd | Method and system for data store and forward processing |
CN1939036A (en) * | 2004-06-08 | 2007-03-28 | 国际商业机器公司 | Optimized concurrent data download within a grid computing environment |
CN101365213A (en) * | 2008-09-24 | 2009-02-11 | 金蝶软件(中国)有限公司 | Method, apparatus and system for remote data submission |
CN104407920A (en) * | 2014-12-23 | 2015-03-11 | 浪潮(北京)电子信息产业有限公司 | Data processing method and system based on inter-process communication |
-
2016
- 2016-03-23 CN CN201610169508.3A patent/CN107229485A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002015008A (en) * | 2000-06-29 | 2002-01-18 | Casio Comput Co Ltd | Method and system for data store and forward processing |
CN1939036A (en) * | 2004-06-08 | 2007-03-28 | 国际商业机器公司 | Optimized concurrent data download within a grid computing environment |
CN101365213A (en) * | 2008-09-24 | 2009-02-11 | 金蝶软件(中国)有限公司 | Method, apparatus and system for remote data submission |
CN104407920A (en) * | 2014-12-23 | 2015-03-11 | 浪潮(北京)电子信息产业有限公司 | Data processing method and system based on inter-process communication |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018176177A1 (en) * | 2017-04-01 | 2018-10-04 | 福建福昕软件开发股份有限公司 | Method for resolving problem of slow shutdown speed of data collection software |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE112018002466T5 (en) | DEVIATING EQUALIZATION AT LOWER DATA RATES | |
CN108021986A (en) | Electronic device, multi-model sample training method and computer-readable recording medium | |
CN110807128B (en) | Video preloading method, device, equipment and storage medium | |
US20150339175A1 (en) | Method and device for starting external application program in browser | |
CN106846065A (en) | A kind of data processing method and device | |
DE112015005151T5 (en) | Short lived applications | |
DE102015002365A1 (en) | PRIORITY-BASED CONTEXT PRESENTATION | |
CN105446594B (en) | A kind of the pushed information display methods and system of locking screen interface | |
CN109274747A (en) | Market gateway system and its processing method | |
DE102016206832A1 (en) | Apparatus and method for controlling the reception of data | |
CN106034159A (en) | Serial output system and method of the same | |
CN104102508A (en) | FlexRay bus-based multimachine program online upgrade method | |
CN104580293B (en) | For the methods, devices and systems of remote control management and control strategy | |
DE102019135572A1 (en) | PERFORMANCE STATE MANAGEMENT FOR COMMUNICATION CONNECTION LINES | |
CN106095115A (en) | A kind of application program scheduling processing method and processing device | |
CN109767110A (en) | A kind of risk control system optimization method, device, equipment and storage medium | |
CN107229485A (en) | It is a kind of to solve the slow method of gathered data class software closing velocity | |
WO2013169179A2 (en) | Social intelligence architecture | |
CN106506676A (en) | Document transmission processing method and aid system | |
CN105808324A (en) | Method for improving fluency of system and mobile terminal | |
DE112016005989T5 (en) | RELIABLE END TO END PROTOCOL WITH ROBUST WINDOW STATUS OVERFLOW MANAGEMENT OUTSIDE THE ORDER AND A MULTI-NODE SYSTEM THROUGH USE THEREOF | |
CN110147481A (en) | Media content method for pushing, device and storage medium | |
CN109217994A (en) | Data transmission method, device and computer readable storage medium | |
CN208386579U (en) | A kind of 1553B bus detection system based on Ethernet | |
CN104714634B (en) | A kind of remote input method and system |
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: 20171003 |
|
RJ01 | Rejection of invention patent application after publication |