CN106687901A - Method for downloading data, mobile terminal and communication system - Google Patents

Method for downloading data, mobile terminal and communication system Download PDF

Info

Publication number
CN106687901A
CN106687901A CN201680002341.XA CN201680002341A CN106687901A CN 106687901 A CN106687901 A CN 106687901A CN 201680002341 A CN201680002341 A CN 201680002341A CN 106687901 A CN106687901 A CN 106687901A
Authority
CN
China
Prior art keywords
security device
information
data
mobile terminal
rule
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
CN201680002341.XA
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.)
Xiamen Zhongkong Biological Recognition Information Technology Co Ltd
Original Assignee
Xiamen Zhongkong Biological Recognition Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Zhongkong Biological Recognition Information Technology Co Ltd filed Critical Xiamen Zhongkong Biological Recognition Information Technology Co Ltd
Publication of CN106687901A publication Critical patent/CN106687901A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The embodiment of the invention discloses a method for downloading data, mobile terminal and communication system. The method includes monitoring shake information of a mobile terminal; if the shake information satisfies a predetermined rule, sending a downloading instruction to a security device, wherein the downloading instruction is used for requesting the security device to return data; and receiving the data returned after the security device receives the downloading instruction. Through the shake of the mobile terminal, data can be downloaded from the security device, various tedious operation such as a communication connection establishing process and application starting operation interface selection is not needed, thus, the operation complexity of downloading the data of the security device can be reduced, and the downloading efficiency of data can be improved.

Description

A kind of method for down loading of data, mobile terminal and communication system
Technical field
The present invention relates to communication technical field, more particularly to a kind of method for down loading of data, mobile terminal and communication system.
Background technology
Attendance recorder is the equipment for recording attendance information;When user checks card, original recorded data can be stored directly in and examine In diligent machine;These attendance informations are obtained if desired, can download attendance data after setting up communication connection with attendance recorder.It is former Beginning record data can generate corresponding form by attendance recorder according to pre-defined rule, it is also possible to carry out at other data processing acquisitions Reason result forms final attendance data.
Attendance data storage is difficult with attendance recorder, therefore would generally be downloaded in other equipment, for example:Hand The terminal devices such as machine, panel computer, computer;The download of attendance data can be included:Attendance data is downloaded caused by inquiry, also may be used With because the caused download of report printing data, can also be that other any reasons cause attendance data from attendance recorder to end The situation of end equipment transmission.
At present, the downloading mode of attendance data generally has following several:A kind of is using the implementation of wired connection, example Such as:By attendance recorder and computer by the way of wired connection, the corresponding management software of attendance recorder is run in computer, by operation Data in attendance recorder are downloaded to computer locally by management software, external equipment of the attendance recorder in the program similar to computer.
The implementation of above wired connection is more bothered, and another kind is the implementation for using wireless connection, for example: Application software is run on mobile terminal;After user is input into link order on the interface of application software, mobile terminal is to attendance recorder Connection request is sent, so as to set up the communication connection between mobile terminal and attendance recorder;Then user continues operation and application software, Attendance data is downloaded from attendance recorder.
In the implementation of above wireless connection, user's operation and application software is relatively complicated, and attendance data downloads inconvenience, Efficiency is relatively low.
The content of the invention
A kind of method for down loading of data, mobile terminal and communication system are the embodiment of the invention provides, is downloaded for reducing The operation complexity of the data in security device, improves the download efficiency of data.
On the one hand a kind of method for down loading of data is the embodiment of the invention provides, including:
That monitors mobile terminal rocks information;
If the information of rocking meets pre-defined rule, download instruction is sent to security device, the download instruction is used for Ask the security device returned data;
Receive the data that the security device is returned after the download instruction is received.
In a kind of optional implementation, if the information of rocking meets pre-defined rule, sent out to security device Sending download instruction includes:
The start-up operation interface when the information of rocking meets pre-defined rule, includes instruction input in the operation interface Dialog box;The Rule Information of target data to be downloaded is received by the instruction input dialog box, generation carries the rule The download instruction of information, the download instruction is sent to the security device;
The data that the reception security device is returned after the download instruction is received include:
Receive the data corresponding with the Rule Information that the security device is returned.
In a kind of optional implementation, the security device is attendance recorder;The rule of the target data to be downloaded Then information includes:
The Rule Information of attendance data to be downloaded;
The corresponding data of the Rule Information include:The corresponding attendance data of the Rule Information.
In a kind of optional implementation, the information of rocking of the monitoring mobile terminal includes:Receive acceleration sensor The acceleration information of the mobile terminal for obtaining.
In a kind of optional implementation, it is described monitoring mobile terminal rock information before, methods described also includes: Start and the matching used application software of the security device;
The information of rocking for monitoring mobile terminal, including:Receive what acceleration sensor was obtained by the application software The acceleration information of the mobile terminal.
In a kind of optional implementation, the information of rocking for monitoring mobile terminal, the information of rocking meets pre- Set pattern then, then sends download instruction to security device to be included:
The mobile terminal receives the acceleration information of acceleration sensor feedback, and pre- set pattern is met in the acceleration information Startup and the security device matching used application software when then, make the application software be sent to the security device and download Instruction.
It is described to send download instruction to security device in a kind of optional implementation, receive the security device and exist Receiving the data returned after the download instruction includes:
Call back function is called to perform by with the matching used application software of the security device:It is described to be sent out to security device Download instruction is sent, the data that the security device is returned after the download instruction is received are received.
It is described to include to security device transmission download instruction in a kind of optional implementation:
In the case where the mobile terminal and the security device are near field communication range, the mobile terminal is used The download instruction is sent to the security device by near-field communication.
In a kind of optional implementation, the Rule Information includes:User name, start/stop time information and classification gauge Then at least one in information.
In a kind of optional implementation, methods described also includes:
If the attendance data corresponding with the Rule Information that the security device is returned not is sky, the security protection is shown The attendance data corresponding with the Rule Information that equipment is returned;
Or, if the attendance data corresponding with the Rule Information that the security device is returned is sky, display is downloaded Result is empty or display failed download.
In a kind of optional implementation, before the transmission download instruction to security device, methods described is also wrapped Include:
By the Rule Information set with the matching used application software of the security device, reception user;
The Rule Information is sent to the security device;
The data that the reception security device is returned after the download instruction is received include:
Receive the data corresponding with the Rule Information that the security device is returned after the download instruction is received.
The two aspect embodiment of the present invention additionally provide a kind of mobile terminal, including:
Monitoring unit, information is rocked for monitor mobile terminal;
Information transmitting unit, if meeting pre-defined rule for the information of rocking, download instruction is sent to security device, The download instruction is used to ask the security device returned data;
Data receipt unit, for receiving the data that the security device is returned after the download instruction is received.
In a kind of optional implementation, also include:
Display unit, for the start-up operation interface when the information of rocking meets pre-defined rule, in the operation interface It is interior comprising instruction input dialog box;
Information receiving unit, the rule letter for receiving target data to be downloaded by the instruction input dialog box Breath;
Described information transmitting element, the download instruction of the Rule Information is carried for generating, and is sent out to the security device Send the download instruction;
The data receipt unit, for receiving the data corresponding with the Rule Information that the security device is returned.
In a kind of optional implementation, the security device is attendance recorder;The rule of the target data to be downloaded Then information includes:
The Rule Information of attendance data to be downloaded;
The corresponding data of the Rule Information include:The corresponding attendance data of the Rule Information.
In a kind of optional implementation, the monitoring unit, specifically for receiving described in acceleration sensor acquisition The acceleration information of mobile terminal.
In a kind of optional implementation, the mobile terminal also includes:
Software controlled unit, for starting and the matching used application software of the security device;
The monitoring unit, specifically for receiving the mobile terminal that acceleration sensor is obtained by the application software Acceleration information.
In a kind of optional implementation, the monitoring unit is specifically for receiving the acceleration that acceleration sensor feeds back Information;
Described information transmitting element, specifically for starting and the security protection when the acceleration information meets pre-defined rule The application software that coordinative composition of equipments is used, under making the application software control described information transmitting element be sent to the security device Carry instruction.
In a kind of optional implementation, described information transmitting element, specifically for the mobile terminal with it is described In the case that security device is in the near field communication range, the download instruction is sent to by the security device using near-field communication.
In a kind of optional implementation, the Rule Information includes:User name, start/stop time information and classification gauge Then at least one in information.
In a kind of optional implementation, the display unit, if be additionally operable to that the security device returns with it is described The corresponding attendance data of Rule Information is not sky, then show the work attendance corresponding with the Rule Information that the security device is returned Data;
Or, if the attendance data corresponding with the Rule Information that the security device is returned is sky, display is downloaded Result is empty or display failed download.
In a kind of optional implementation, described information transmitting element is additionally operable under the transmission to security device Before carrying instruction, the Rule Information is sent to the security device;The Rule Information is by supporting with the security device The application software for using, receives user's setting and obtains;
The data receipt unit, specifically for receiving what the security device was returned after the download instruction is received Data corresponding with the Rule Information.
Three aspects the embodiment of the invention provides a kind of mobile terminal, including:Wireless Telecom Equipment, storage device, treatment Device and display;The memory storage has executable program;The processor is used to run the executable program execution The method of any one provided in an embodiment of the present invention.
Four aspects the embodiment of the invention provides a kind of communication system, including:Mobile terminal and security device;The movement Terminal is the mobile terminal of any one provided in an embodiment of the present invention.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:It is complete by the rocking of mobile terminal Into from security device downloading data, it is not necessary to which it is various cumbersome that process and the selection of application start-up operation interface etc. are set up in communication connection Operation, therefore, it can reduce download security device data operation complexity, improve data download efficiency.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.
Fig. 1 is present invention method schematic flow sheet;
Fig. 2 is present invention method schematic flow sheet;
Fig. 3 is embodiment of the present invention mobile terminal structure schematic diagram;
Fig. 4 is embodiment of the present invention mobile terminal structure schematic diagram;
Fig. 5 is embodiment of the present invention mobile terminal structure schematic diagram;
Fig. 6 is embodiment of the present invention mobile terminal structure schematic diagram;
Fig. 7 is embodiment of the present invention mobile terminal structure schematic diagram figure.
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into One step ground is described in detail, it is clear that described embodiment is only some embodiments of the invention, rather than whole implementation Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made All other embodiment, belongs to the scope of protection of the invention.
A kind of method for down loading of data is the embodiment of the invention provides, the executive agent of the present embodiment is mobile terminal, example Such as:Mobile phone, panel computer etc., method flow as shown in figure 1, including:
101:That monitors mobile terminal rocks information;
The information of rocking is the information that mobile terminal is shaken generation, generally can be the information of acceleration, can be by adding Velocity sensor is obtained.The information of rocking meets pre-defined rule, can specifically rock, such as:Meet adding for shake feature Velocity information, or unidirectional prolonged acceleration information;How this sets depending on pre-defined rule, the embodiment of the present invention to this not Make uniqueness restriction.
102:If the above-mentioned information of rocking meets pre-defined rule, download instruction, above-mentioned download instruction are sent to security device For asking above-mentioned security device returned data;
In the present embodiment, download instruction can not carry any restricted information, for example:The number returned to security device According to the information for being limited, more specifically for example:The time period of security protection data, the object of security protection data, and security protection data are No exception etc..Here after download instruction sends, security device can return to predetermined any security protection data, for example:Acquiescence Time period security protection data, or whole security protection data etc..
In the present embodiment, if the above-mentioned information of rocking meets pre-defined rule, download instruction is sent to security device Including:
The start-up operation interface when the above-mentioned information of rocking meets pre-defined rule, includes instruction input in aforesaid operations interface Dialog box;The Rule Information of target data to be downloaded is received by above-mentioned instruction input dialog box, generation carries above-mentioned rule The download instruction of information, above-mentioned download instruction is sent to above-mentioned security device.
The start-up operation interface when the above-mentioned information of rocking meets pre-defined rule, includes instruction input in aforesaid operations interface Dialog box;
Operation interface can be the instruction input interface in the operation interface with the matching used application software of attendance recorder, Can be the operation interface of stand-alone development, the embodiment of the present invention is not construed as limiting to this.Instruction input dialog box is entered for user The interface of row instruction input.
In the present embodiment, security device can be for example:Gate inhibition, attendance recorder etc. are various with data recording function Security device, the demand embodiment of the present invention that mobile terminal has the data for downloading its storage just can apply to wherein.
More specifically, above-mentioned security device is attendance recorder, then the Rule Information of above-mentioned target data to be downloaded includes: The Rule Information of attendance data to be downloaded;The corresponding data of above-mentioned Rule Information include:The corresponding work attendance number of above-mentioned Rule Information According to.
User may need to download all attendance datas in attendance recorder, it is also possible to only need to download certain some specifically examine Diligent data, for example:Attendance data of the someone within certain a period of time;It can also be the work attendance number of exception in all attendance datas According to for example:Be late, leave early, the attendance data of no record.Specifically it is input into which kind of Rule Information can refer to according to the changes in demand of user Making input dialogue frame can accordingly provide these functions.
In addition it should be noted that, mobile terminal will to attendance recorder send Rule Information, it is necessary to set up communication link with attendance recorder Connect;This communication connection can be the communication connection of the communication connection, or near-field communication class for having communication link;Here Communication connection can be have send Rule Information demand in the case of bar set up, or set up before this.
103:Receive the data that above-mentioned security device is returned after above-mentioned download instruction is received.
Completed in the embodiment of the present invention, by the rocking of mobile terminal from security device downloading data, it is not necessary to communication link The various cumbersome operations of the process of foundation and the selection of application start-up operation interface etc. are connect, be therefore, it can reduce and downloaded security device Data operation complexity, improve data download efficiency.
Based on the number that the implementation on the input rule information in dialog box in previous embodiment, mobile terminal are received According to specific as follows:Receive the data corresponding with above-mentioned Rule Information that above-mentioned security device is returned.
User can flexibly control the data for needing by dialog box.It should be noted that not defeated without dialog box user Enter any data also possible, for example:System default downloads the data of some period (for example:Of that month work attendance), or Download total data.
More specifically, above-mentioned security device is attendance recorder;The Rule Information of above-mentioned target data to be downloaded includes:Treat down Carry the Rule Information of attendance data;
The corresponding data of above-mentioned Rule Information include:The corresponding attendance data of above-mentioned Rule Information.
Based on preceding description, attendance recorder should not be construed as to the embodiment of the present invention only as a citing of security device One property is limited.
Alternatively, the information of rocking of the monitoring mobile terminal includes:Receive the described mobile whole of acceleration sensor acquisition The acceleration information at end.
As a preferred implementation, the monitoring mobile terminal rock information before, methods described also includes: Start and the matching used application software of the security device;
The information of rocking for monitoring mobile terminal, including:Receive what acceleration sensor was obtained by the application software The acceleration information of the mobile terminal.
Data are rocked because the information of rocking for monitoring mobile terminal may need periodically to obtain, for the sensitivity of detection Consuming resource may be compared;By after application software is activated, it may be determined that have into the demand downloaded, now just go to obtain Take the acceleration information of acceleration sensor collection;The acceleration information of acceleration sensor collection can meet above-mentioned pre- set pattern Ability active feedback is to application software in the case of then, and goes periodically to obtain the acceleration information without application software, so as to save Save data processing resources, and energy-conservation.
In above example, application software can be pre-actuated, application software can not be pre-actuated in this embodiment, but It is used as starting trigger condition by the information of rocking, so can further reduces the operation of user, it is specific as follows:It is above-mentioned to rock information Meet pre-defined rule, then sending download instruction to security device includes:
Above-mentioned mobile terminal receives the acceleration information of acceleration sensor feedback, and pre- set pattern is met in above-mentioned acceleration information Startup and above-mentioned security device matching used application software when then, make above-mentioned application software be sent to above-mentioned security device and download Instruction.
Further, the embodiment of the present invention additionally provides the implementation at specific start-up operation interface, as follows:It is above-mentioned to peace Anti- equipment sends download instruction, and the data that the above-mentioned security device of reception is returned after above-mentioned download instruction is received include:
Call back function is called to perform by with the matching used application software of above-mentioned security device:It is above-mentioned to be sent out to security device Download instruction is sent, the data that above-mentioned security device is returned after above-mentioned download instruction is received are received.
In the present embodiment, will download during flow all focuses on call back function;Facilitate subsequent modification and control, and energy Enough it is efficiently completed whole flow process.
In the present embodiment, if security device supports that near-field communication so can be complete by way of near-field communication in itself Into the download of security protection data, complete that the situation that safeguard information is maliciously used can be reduced in a small range, it is specific as follows:It is above-mentioned Sending download instruction to security device includes:
In the case where above-mentioned mobile terminal and above-mentioned security device are near field communication range, above-mentioned mobile terminal is used Above-mentioned download instruction is sent to above-mentioned security device by near-field communication.
It is understood that the application scenarios based on near-field communication, mobile terminal can have corresponding identification card for body Part certification;Security device is it is determined that authentication is by just returning to security protection data.
More specifically, above-mentioned Rule Information includes:In user name, start/stop time information and classifying rules information at least One.
Further, the above method also includes:
If the attendance data corresponding with the Rule Information that the security device is returned not is sky, above-mentioned security protection is shown The attendance data corresponding with above-mentioned Rule Information that equipment is returned;
Or, if the attendance data corresponding with above-mentioned Rule Information that above-mentioned security device is returned is sky, display is downloaded Result is empty or display failed download.
In the present embodiment, classification information is that the information classified to attendance information can be for example:Abnormal information, just Normal information;Abnormal information can be:Be late, leave early, no record etc..Attendance data can be sometimes empty, not should be sometimes It is empty;In the case of can be for sky, can show that attendance data is sky, in the case where that can be directly displayed in the case of can not thinking sky Carry failure.
In the present embodiment, because the data that security device is returned can be the data that meet default rule, this acquiescence Rule can be set in advance, it is also possible to be set according to the custom or demand of oneself in advance by user, specific as follows: Before the transmission download instruction to security device, methods described also includes:
By the Rule Information set with the matching used application software of the security device, reception user;
The Rule Information is sent to the security device;
The data that the reception security device is returned after the download instruction is received include:
Receive the data corresponding with the Rule Information that the security device is returned after the download instruction is received.
Using this embodiment scheme, user can freely set the data of needs before downloading data, in downloading data When can only need to shake the data that mobile terminal can be realized needed for downloading oneself.
In subsequent embodiment, will be shaken with mobile phone and (rock the feelings that the acceleration in information shows as shaking characteristic Condition) mode be applied to the application scenarios such as safe burglar-proof gate inhibition and work attendance, be illustrated.Work(is shaken in embodiments of the present invention Bottom monitoring can be triggered, trigger event is judged whether according to the size that mobile phone shakes amplitude, data friendship is carried out between attendance recorder Mutually.This technology applies also for all security products with the application operated on mobile phone in addition to suitable for attendance recorder Data interaction between (Application, APP).The platform that APP is supported has the operating systems such as iOS and android.
In controller that current security protection manufacturer is produced and gate inhibition's security protection software, function is shaken with peace on mobile phone The scheme that anti-facility information interactive function is combined is blank.Brief, today rapidly and efficiently lived is being advocated, by simple behaviour The information exchange that work can be just completed between mobile phone terminal and equipment end is the prospect for having very much development.Embodiment of the present invention scheme is mainly divided It is three aspects:
1st, mobile phone shakes;
2nd, mobile phone and attendance recorder set up communication connection;
3rd, mobile phone sends to attendance recorder and instructs, attendance recorder passback attendance data.
Specific operation can directly be triggered by above flow, so as to reduce the complexity in user's operating process, used The download function of attendance data can be operated more easily.
More specifically, the embodiment of the present invention is mainly the instruction triggers operation between simplified mobile phone and attendance recorder, lifting is used The operating experience at family.Idiographic flow, refers to shown in Fig. 2, including:
201:Initialization mobile phone A PP, configures the trigger mechanism for shaking of system.
202:The trigger event that detection is shaken, and trigger the call back function of response.
203:Shaking inside the call back function of event response, (startTime) between receiving at the beginning of work attendance form, The parameters such as end time (endTime);
204:Mobile phone sends download instruction to attendance recorder, after then attendance recorder receives download instruction, generates XLS (Microsoft Excel) work attendance form, and work attendance form is returned into mobile phone A PP.
In this step, it can be to be opened using the off-line software of our company's independent research to send the related contents such as download instruction Hair kit (Software Development Kit, sdk) is operated.
205:Mobile phone A PP determines whether work attendance form meets the requirements, for example:Whether attendance data is included, if conformed to Ask display to download successfully, otherwise show failed download.
In addition, user can also be provided in call back function cancels the function of downloading.
At present, APP on the market for event triggering more than based on button click, can only for specific event Into the specific page, clicking on specific button could trigger.The present embodiment combines the project demands of safety-security area, and right In considering in the operation of user, a set of adaptation project demands are formd, and simplify the scheme of user's operation.The program is not only square User, the convenience and operating efficiency of also increased system.
In the embodiment above, following points explanation is gone back:
1st, mobile phone can directly set up communication connection with attendance recorder, or pass through router in same LAN Or other network equipments set up communication connection, and the work attendance number in attendance recorder is now downloaded using the APP being installed in mobile phone According to attendance data can be embodied in the form of form.
2nd, mobile phone can be sent to immediate communication tool software after form is downloaded to, it is also possible to be sent to the postal specified Case, can also be sent to the output equipment specified, for example:Printer.
3rd, mobile phone is after form is downloaded to, it is also possible to provide look facility in the interface of APP.
If the 4, also having communication connection between mobile phone and printer, such as:In same LAN;Mobile phone can be by under The form of load can be set up communication connection and form be sent into printer, by printer printing reports by APP.
5th, based on preceding description, mobile phone can use the communication connection directly set up with the communication connection mode of printer, It can also be LAN connection.
6th, based on introducing above, APP can provide the function of rule settings, i.e.,:The attendance data that setting attendance recorder is returned The condition of required satisfaction;Rule Information can be sent to attendance recorder by APP.
7th, on Rule Information, the Rule Information of individual can be directed to, it is also possible to Rule Information for department, also may be used With the Rule Information to all personnel.In addition, can point out whether to need to update for same category of Rule Information, for example: Whether the configured personnel's prompting for crossing Rule Information needs to update rule.
Below be between mobile phone and attendance recorder or other third party devices communicate to connect set up mode, Report downloading Use afterwards, and download the explanation of the rule settings of which kind of form etc..Based on this, those skilled in the art can also carry out it The setting that he applies, the embodiment of the present invention does not make uniqueness restriction to this.
The embodiment of the present invention additionally provides a kind of mobile terminal, as shown in figure 3, including:
Monitoring unit 301, information is rocked for monitor mobile terminal;
Information transmitting unit 304, if meeting pre-defined rule for the above-mentioned information of rocking, sends download and refers to security device Order, above-mentioned download instruction is used to ask above-mentioned security device returned data;
Data receipt unit 305, for receiving the data that above-mentioned security device is returned after above-mentioned download instruction is received.
The information of rocking is the information that mobile terminal is shaken generation, generally can be the information of acceleration, can be by adding Velocity sensor is obtained.The information of rocking meets pre-defined rule, can specifically rock, such as:Meet adding for shake feature Velocity information, or unidirectional prolonged acceleration information;How this sets depending on pre-defined rule, the embodiment of the present invention to this not Make uniqueness restriction.
In the present embodiment, download instruction can not carry any restricted information, for example:The number returned to security device According to the information for being limited, more specifically for example:Whether time period of security protection data, the object of security protection data and security protection data It is abnormal etc..Here after download instruction sends, security device can return to predetermined any security protection data, for example:Acquiescence The security protection data of time period, or whole security protection data etc..
Completed in the embodiment of the present invention, by the rocking of mobile terminal from security device downloading data, it is not necessary to communication link The various cumbersome operations of the process of foundation and the selection of application start-up operation interface etc. are connect, be therefore, it can reduce and downloaded security device Data operation complexity, improve data download efficiency.
Further, unit in dotted line frame as shown in Figure 3, as follows:Above-mentioned mobile terminal also includes:
Display unit 302, for the start-up operation interface when the above-mentioned information of rocking meets pre-defined rule, in aforesaid operations circle Instruction input dialog box is included in face;
Information receiving unit 303, the rule for receiving target data to be downloaded by above-mentioned instruction input dialog box Information;
Above- mentioned information transmitting element 304, specifically for will be used to generate the download instruction for carrying above-mentioned Rule Information, upwards State security device and send above-mentioned download instruction;
Above-mentioned data receipt unit 305, specifically for receiving the corresponding with above-mentioned Rule Information of above-mentioned security device return Data.
Operation interface can be the instruction input interface in the operation interface with the matching used application software of attendance recorder, Can be the operation interface of stand-alone development, the embodiment of the present invention is not construed as limiting to this.Instruction input dialog box is entered for user The interface of row instruction input.
In the present embodiment, security device can be for example:Gate inhibition, attendance recorder etc. are various with data recording function Security device, the demand embodiment of the present invention that mobile terminal has the data for downloading its storage just can apply to wherein.
In the embodiment of the present invention, mobile terminal rocks the startup that can just complete operation interface, and user only needs directly defeated Enter the data that Rule Information is obtained with needing, it is not necessary to which process and the selection of application start-up operation interface etc. are set up in communication connection Etc. various cumbersome operations, therefore, it can reduce the operation complexity of the data for downloading security device, improve the download effect of data Rate.
More specifically, above-mentioned security device is attendance recorder;The Rule Information of above-mentioned target data to be downloaded includes:
The Rule Information of attendance data to be downloaded;
The corresponding data of above-mentioned Rule Information include:The corresponding attendance data of above-mentioned Rule Information.
User may need to download all attendance datas in attendance recorder, it is also possible to only need to download certain some specifically examine Diligent data, for example:Attendance data of the someone within certain a period of time;It can also be the work attendance number of exception in all attendance datas According to for example:Be late, leave early, the attendance data of no record.Specifically it is input into which kind of Rule Information can refer to according to the changes in demand of user Making input dialogue frame can accordingly provide these functions.
In addition it should be noted that, mobile terminal will to attendance recorder send Rule Information, it is necessary to set up communication link with attendance recorder Connect;This communication connection can be the communication connection of the communication connection, or near-field communication class for having communication link;Here Communication connection can be have send Rule Information demand in the case of bar set up, or set up before this.
In the embodiment of the present invention, mobile terminal rocks the startup that can just complete operation interface, and user only needs directly defeated Enter the attendance data that Rule Information is obtained with needing, it is not necessary to which process and the choosing of application start-up operation interface are set up in communication connection Various cumbersome operations are selected etc., therefore, it can reduce the operation complexity for downloading attendance data, improve the download of attendance data Efficiency.
Alternatively, the monitoring unit 301, the acceleration specifically for receiving the mobile terminal that acceleration sensor is obtained Degree information.
As a preferred implementation, further, as shown in figure 4, above-mentioned mobile terminal also includes:
Software controlled unit 401, for starting and the matching used application software of above-mentioned security device;
Above-mentioned monitoring unit 301, specifically for receiving the above-mentioned movement that acceleration sensor is obtained by above-mentioned application software The acceleration information of terminal.
Data are rocked because the information of rocking for monitoring mobile terminal may need periodically to obtain, for the sensitivity of detection Consuming resource may be compared;By after application software is activated, it may be determined that have into the demand downloaded, now just go to obtain Take the acceleration information of acceleration sensor collection;The acceleration information of acceleration sensor collection can meet above-mentioned pre- set pattern Ability active feedback is to application software in the case of then, and goes periodically to obtain the acceleration information without application software, so as to save Save data processing resources, and energy-conservation.
In above example, application software can be pre-actuated, application software can not be pre-actuated in this embodiment, but It is used as starting trigger condition by the information of rocking, so can further reduces the operation of user, it is specific as follows:Above-mentioned monitoring unit 301, receive the acceleration information that acceleration sensor feeds back specifically for the application software by mobile terminal;
Above- mentioned information transmitting element 304, specifically for when above-mentioned acceleration information meets pre-defined rule start with it is above-mentioned The matching used application software of security device, makes above-mentioned application software control above- mentioned information transmitting element be sent out to above-mentioned security device Send download instruction.
In the present embodiment, if security device supports that near-field communication so can be complete by way of near-field communication in itself Into the download of security protection data, complete to reduce the situation that safeguard information maliciously used in a small range specific as follows:It is optional Ground, above- mentioned information transmitting element 304, specifically for above-mentioned mobile terminal with above-mentioned security device near field communication range In the case of, above-mentioned download instruction is sent to by above-mentioned security device using near-field communication.
It is understood that the application scenarios based on near-field communication, mobile terminal can have corresponding identification card for body Part certification;Security device is it is determined that just return to security protection data after authentication passes through;Correspondingly, attendance recorder is it is determined that authentication Attendance data is just returned by rear.
Alternatively, above-mentioned Rule Information includes:In user name, start/stop time information and classifying rules information at least one .
Further, above-mentioned display unit 302, if being additionally operable to the corresponding with the Rule Information of the security device return Attendance data be not sky, then show the attendance data corresponding with above-mentioned Rule Information that above-mentioned security device is returned;
Or, if the attendance data corresponding with above-mentioned Rule Information that above-mentioned security device is returned is sky, display is downloaded Result is empty or display failed download.
Further, described information transmitting element 304, was additionally operable to before the transmission download instruction to security device, The Rule Information is sent to the security device;The Rule Information is by soft with the matching used application of the security device Part, receives user's setting and obtains;
The data receipt unit 305, returns specifically for receiving the security device after the download instruction is received The data corresponding with the Rule Information returned.
In the present embodiment, classification information is that the information classified to attendance information can be for example:Abnormal information, just Normal information;Abnormal information can be:Be late, leave early, no record etc..Attendance data can be sometimes empty, not should be sometimes It is empty;In the case of can be for sky, can show that attendance data is sky, in the case where that can be directly displayed in the case of can not thinking sky Carry failure.
The embodiment of the present invention additionally provides another mobile terminal, as shown in figure 5, including:Wireless Telecom Equipment 501, deposit Storage equipment 502, processor 503 and display 504;Each hardware device can be communicated using bus above;
Wherein, storage device 502 can be stored with executable program;
Above-mentioned processor 503 then can be used for running above-mentioned executable program performing following method and step:
That monitors mobile terminal rocks information;If the above-mentioned information of rocking meets pre-defined rule, under being sent to security device Instruction is carried, above-mentioned download instruction is used to ask above-mentioned security device returned data;Receive above-mentioned security device receive it is above-mentioned The data returned after download instruction.
The information of rocking is the information that mobile terminal is shaken generation, generally can be the information of acceleration, can be by adding Velocity sensor is obtained.The information of rocking meets pre-defined rule, can specifically rock, such as:Meet adding for shake feature Velocity information, or unidirectional prolonged acceleration information;How this sets depending on pre-defined rule, the embodiment of the present invention to this not Make uniqueness restriction.
In the present embodiment, download instruction can not carry any restricted information, for example:The number returned to security device According to the information for being limited, more specifically for example:The time period of security protection data, the object of security protection data, and security protection data are No exception etc..Here after download instruction sends, security device can return to predetermined any security protection data, for example:Acquiescence Time period security protection data, or whole security protection data etc..
Completed in the embodiment of the present invention, by the rocking of mobile terminal from security device downloading data, it is not necessary to communication link The various cumbersome operations of the process of foundation and the selection of application start-up operation interface etc. are connect, be therefore, it can reduce and downloaded security device Data operation complexity, improve data download efficiency.
If the above-mentioned information of rocking meets pre-defined rule, sending download instruction to security device includes:
The start-up operation interface when the above-mentioned information of rocking meets pre-defined rule, includes instruction input in aforesaid operations interface Dialog box;The Rule Information of target data to be downloaded is received by above-mentioned instruction input dialog box, generation carries above-mentioned rule The download instruction of information, above-mentioned download instruction is sent to above-mentioned security device;
The data that the above-mentioned above-mentioned security device of reception is returned after above-mentioned download instruction is received include:
Receive the data corresponding with above-mentioned Rule Information that above-mentioned security device is returned.
Operation interface can be the instruction input interface in the operation interface with the matching used application software of attendance recorder, Can be the operation interface of stand-alone development, the embodiment of the present invention is not construed as limiting to this.Instruction input dialog box is entered for user The interface of row instruction input.
In the present embodiment, security device can be for example:Gate inhibition, attendance recorder etc. are various with data recording function Security device, the demand embodiment of the present invention that mobile terminal has the data for downloading its storage just can apply to wherein.
In the embodiment of the present invention, mobile terminal rocks the startup that can just complete operation interface, and user only needs directly defeated Enter the data that Rule Information is obtained with needing, it is not necessary to which process and the selection of application start-up operation interface etc. are set up in communication connection Etc. various cumbersome operations, therefore, it can reduce the operation complexity of the data for downloading security device, improve the download effect of data Rate.
More specifically, above-mentioned security device is attendance recorder;The Rule Information of above-mentioned target data to be downloaded includes:Treat down Carry the Rule Information of attendance data;
The corresponding data of above-mentioned Rule Information include:The corresponding attendance data of above-mentioned Rule Information.
User may need to download all attendance datas in attendance recorder, it is also possible to only need to download certain some specifically examine Diligent data, for example:Attendance data of the someone within certain a period of time;It can also be the work attendance number of exception in all attendance datas According to for example:Be late, leave early, the attendance data of no record.Specifically it is input into which kind of Rule Information can refer to according to the changes in demand of user Making input dialogue frame can accordingly provide these functions.
In addition it should be noted that, mobile terminal will to attendance recorder send Rule Information, it is necessary to set up communication link with attendance recorder Connect;This communication connection can be the communication connection of the communication connection, or near-field communication class for having communication link;Here Communication connection can be have send Rule Information demand in the case of bar set up, or set up before this.
More specifically, the data corresponding with above-mentioned Rule Information that the above-mentioned above-mentioned security device of reception is returned include:Receive The attendance data corresponding with above-mentioned Rule Information that above-mentioned attendance recorder is returned.
In the embodiment of the present invention, mobile terminal rocks the startup that can just complete operation interface, and user only needs directly defeated Enter the attendance data that Rule Information is obtained with needing, it is not necessary to which process and the choosing of application start-up operation interface are set up in communication connection Various cumbersome operations are selected etc., therefore, it can reduce the operation complexity for downloading attendance data, improve the download of attendance data Efficiency.
As a preferred implementation, above-mentioned monitoring mobile terminal rock information before, above-mentioned processor 503 also Can be used for running above-mentioned executable program performing following method and step:Start and the matching used application of above-mentioned security device Software;
Above-mentioned monitoring mobile terminal rocks information, including:Receive what acceleration sensor was obtained by above-mentioned application software The acceleration information of above-mentioned mobile terminal.
Data are rocked because the information of rocking for monitoring mobile terminal may need periodically to obtain, for the sensitivity of detection Consuming resource may be compared;By after application software is activated, it may be determined that have into the demand downloaded, now just go to obtain Take the acceleration information of acceleration sensor collection;The acceleration information of acceleration sensor collection can meet above-mentioned pre- set pattern Ability active feedback is to application software in the case of then, and goes periodically to obtain the acceleration information without application software, so as to save Save data processing resources, and energy-conservation.
In above example, application software can be pre-actuated, application software can not be pre-actuated in this embodiment, but It is used as starting trigger condition by the information of rocking, so can further reduces the operation of user, it is specific as follows:Above-mentioned monitoring movement Terminal rocks information, and the above-mentioned information of rocking meets pre-defined rule, then sending download instruction to security device includes:
The application software of above-mentioned mobile terminal receives the acceleration information of acceleration sensor feedback, in above-mentioned acceleration information Startup and the matching used application software of above-mentioned security device, make above-mentioned application software be set to above-mentioned security protection when meeting pre-defined rule Preparation send download instruction.
Further, the embodiment of the present invention additionally provides the implementation for downloading Row control, as follows:It is above-mentioned to be set to security protection Preparation send download instruction, and receiving the data that above-mentioned security device returns after above-mentioned download instruction is received includes:
Call back function is called to perform by with the matching used application software of above-mentioned security device:It is above-mentioned to be sent out to security device Download instruction is sent, the data that above-mentioned security device is returned after above-mentioned download instruction is received are received.
In the present embodiment, will download during flow all focuses on call back function;Facilitate subsequent modification and control, and energy Enough it is efficiently completed whole flow process.
In the present embodiment, if security device supports that near-field communication so can be complete by way of near-field communication in itself Into the download of security protection data, complete to reduce the situation that safeguard information maliciously used in a small range specific as follows:It is above-mentioned Above-mentioned Rule Information is sent into attendance recorder includes:
In the case where above-mentioned mobile terminal and above-mentioned attendance recorder are near field communication range, will be above-mentioned using near-field communication Rule Information is sent to above-mentioned attendance recorder.
It is understood that the application scenarios based on near-field communication, mobile terminal can have corresponding identification card for body Part certification;Attendance recorder is it is determined that authentication is by just returning to attendance data.
More specifically, above-mentioned Rule Information includes:In user name, start/stop time information and classifying rules information at least One.
Further, above-mentioned processor 503 can be also used for running above-mentioned executable program performing following method and step: If the attendance data corresponding with the Rule Information that the security device is returned not is sky, show that above-mentioned security device is returned Attendance data corresponding with above-mentioned Rule Information;
Or, if the attendance data corresponding with above-mentioned Rule Information that above-mentioned security device is returned is sky, display is downloaded Result is empty or display failed download.
In the present embodiment, classification information is that the information classified to safeguard information, particularly attendance information can be For example:Abnormal information, normal information;Abnormal information can be:Be late, leave early, no record etc..Attendance data sometimes can be Empty, not should be empty sometimes;In the case of can be for sky, can show that attendance data is sky, the situation of sky can not thought Under can directly display failed download.
The embodiment of the present invention additionally provides a kind of communication system, as shown in fig. 6, including:Mobile terminal 601 and security device 602;The mobile terminal 601 and security device 602 can set up communication connection by mobile network or WLAN, also may be used To set up connection by the way of near-field communication, can also be by other such as:The modes such as infrared connection set up connection, and the present invention is real Apply example and do not make uniqueness restriction to this.
The mobile terminal 601 can be any one mobile terminal provided in an embodiment of the present invention, and its concrete function can be with Reference method embodiment, its structure may be referred to apparatus embodiments;Security device 602 can be including any including attendance recorder The security device embodiment of the present invention is specifically which kind of security device does not make uniqueness restriction to it.
The embodiment of the present invention additionally provides another mobile terminal, as shown in fig. 7, for convenience of description, illustrate only with The related part of the embodiment of the present invention, particular technique details is not disclosed, and refer to present invention method part.The movement Terminal can be to include that mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant) etc. appoint Meaning mobile terminal, so that mobile terminal is as mobile phone as an example:
Fig. 7 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 7 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 710, memory 720, input block 730, display unit 740th, sensor 750, voicefrequency circuit 760, Wireless Fidelity (wireless fidelity, WiFi) module 770, processor 780, And the grade part of power supply 790.It will be understood by those skilled in the art that the handset structure shown in Fig. 7 is not constituted to mobile phone Limit, part more more or less than diagram can be included, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 7:
RF circuits 710 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, processed to processor 780;In addition, up data is activation will be designed to base station.Generally, RF circuits 710 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 710 can also be communicated by radio communication with network and other equipment. Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 720 can be used to store software program and module, and processor 780 is by running storage in memory 720 Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 720 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and use what is created according to mobile phone Data (such as voice data, phone directory etc.) etc..Additionally, memory 720 can include high-speed random access memory, can be with Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states Part.
Input block 730 can be used to receive the numeral or character information of input, and produce with the user of mobile phone set with And the relevant key signals input of function control.Specifically, input block 730 may include that contact panel 731 and other inputs set Standby 732.Contact panel 731, also referred to as touch-screen, user can be collected thereon or neighbouring touch operation (such as user uses The operation of any suitable object such as finger, stylus or annex on contact panel 731 or near contact panel 731), and root Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 731 may include touch detecting apparatus and touch Two parts of controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinates, then give processor 780, and the order sent of receiving processor 780 and can be performed.Furthermore, it is possible to using electricity The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 731.Except contact panel 731, input Unit 730 can also include other input equipments 732.Specifically, other input equipments 732 can include but is not limited to secondary or physical bond One or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 740 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 740 may include display panel 741, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 741.Further, contact panel 731 can cover display panel 741, when contact panel 731 detect it is thereon or attached After near touch operation, processor 780 is sent to determine the type of touch event, with preprocessor 780 according to touch event Type corresponding visual output is provided on display panel 741.Although in the figure 7, contact panel 731 and display panel 741 It is input and the input function that mobile phone is realized as two independent parts, but in some embodiments it is possible to by touch-control Panel 731 and display panel 741 be integrated and input that realize mobile phone and output function.
Mobile phone may also include at least one sensor 750, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 741, proximity transducer can close display panel 741 when mobile phone is moved in one's ear And/or backlight.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of accelerometer sensor Size, size and the direction of gravity are can detect that when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor of configuration, will not be repeated here.
Voicefrequency circuit 760, loudspeaker 761, microphone 762 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data conversion that road 760 will can receive, is transferred to loudspeaker 761, and sound is converted to by loudspeaker 761 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 762, is turned after being received by voicefrequency circuit 760 It is changed to voice data, then after voice data output processor 780 is processed, through RF circuits 710 to be sent to such as another mobile phone, Or export to memory 720 so as to further treatment voice data.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 770 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 7 shows WiFi module 770, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 780 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform software program of the storage in memory 720 and/or module, and call storage in memory 720 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 780 can be wrapped Include one or more processing units;Preferably, processor 780 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 780.
Mobile phone also includes the power supply 790 (such as battery) powered to all parts, it is preferred that power supply can be by power supply pipe Reason system is logically contiguous with processor 780, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also will not be repeated here including camera, bluetooth module etc..
In embodiments of the present invention, memory 720 can be stored with executable program;Above-mentioned processor 780 can then be used The step in preceding method embodiment is performed in above-mentioned executable program is run.I.e.:Step in preceding method embodiment can Based on the hardware configuration in the present embodiment, to be realized by way of the executable software of operation.
It is worth noting that, in above-mentioned mobile terminal embodiment, included unit is to enter according to function logic What row was divided, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each functional unit Specific name is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
In addition, one of ordinary skill in the art will appreciate that realizing all or part of step in above-mentioned each method embodiment The hardware that program be can be by instruct correlation is completed, and corresponding program can be stored in a kind of computer-readable recording medium In, storage medium mentioned above can be read-only storage, disk or CD etc..
The present invention preferably specific embodiment is these are only, but protection scope of the present invention is not limited thereto, it is any Those familiar with the art the change that can readily occur in or replaces in the technical scope that the embodiment of the present invention is disclosed Change, should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim Enclose and be defined.

Claims (23)

1. a kind of method for down loading of data, it is characterised in that including:
That monitors mobile terminal rocks information;
If the information of rocking meets pre-defined rule, download instruction is sent to security device, the download instruction is used to ask The security device returned data;
Receive the data that the security device is returned after the download instruction is received.
2. method according to claim 1, it is characterised in that if the information of rocking meets pre-defined rule, to peace Anti- equipment sends download instruction to be included:
The start-up operation interface when the information of rocking meets pre-defined rule, talks with the operation interface comprising instruction input Frame;The Rule Information of target data to be downloaded is received by the instruction input dialog box, generation carries the Rule Information Download instruction, send the download instruction to the security device;
The data that the reception security device is returned after the download instruction is received include:
Receive the data corresponding with the Rule Information that the security device is returned.
3. method according to claim 2, it is characterised in that the security device is attendance recorder;The target to be downloaded The Rule Information of data includes:
The Rule Information of attendance data to be downloaded;
The corresponding data of the Rule Information include:The corresponding attendance data of the Rule Information.
4. method according to claim 1, the information of rocking of the monitoring mobile terminal includes:Acceleration sensor is received to obtain The mobile terminal acceleration information.
5. method according to claim 4, it is characterised in that the monitoring mobile terminal rock information before, the side Method also includes:Start and the matching used application software of the security device;
The information of rocking for monitoring mobile terminal, including:Received described in acceleration sensor acquisition by the application software The acceleration information of mobile terminal.
6. method according to claim 1, it is characterised in that the monitoring mobile terminal rocks information, described to rock letter Breath meets pre-defined rule, then sending download instruction to security device includes:
The mobile terminal receives the acceleration information of acceleration sensor feedback, when the acceleration information meets pre-defined rule Startup and the matching used application software of the security device, make the application software send download to the security device and refer to Order.
7. method according to claim 1, it is characterised in that described to send download instruction to security device, receives the peace The data that anti-equipment is returned after the download instruction is received include:
Call back function is called to perform by with the matching used application software of the security device:Under the transmission to security device Instruction is carried, the data that the security device is returned after the download instruction is received are received.
8. according to claim 1 to 7 any one methods described, it is characterised in that described to send download instruction to security device Including:
In the case where the mobile terminal and the security device are near field communication range, the mobile terminal uses near field The download instruction is sent to the security device by communication.
9. according to Claims 2 or 3 methods described, it is characterised in that the Rule Information includes:User name, start/stop time letter Breath and classifying rules information at least one.
10. method according to claim 3, it is characterised in that methods described also includes:
If the attendance data corresponding with the Rule Information that the security device is returned not is sky, the security device is shown The attendance data corresponding with the Rule Information for returning;
Or, if the attendance data corresponding with the Rule Information that the security device is returned is sky, result is downloaded in display It is empty or display failed download.
11. according to claim 1,4,5,6 or 7 methods describeds, it is characterised in that send download instruction to security device described Before, methods described also includes:
By the Rule Information set with the matching used application software of the security device, reception user;
The Rule Information is sent to the security device;
The data that the reception security device is returned after the download instruction is received include:
Receive the data corresponding with the Rule Information that the security device is returned after the download instruction is received.
A kind of 12. mobile terminals, it is characterised in that including:
Monitoring unit, information is rocked for monitor mobile terminal;
Information transmitting unit, if meeting pre-defined rule for the information of rocking, download instruction is sent to security device, described Download instruction is used to ask the security device returned data;
Data receipt unit, for receiving the data that the security device is returned after the download instruction is received.
13. according to claim 12 mobile terminal, it is characterised in that the mobile terminal also includes:
Display unit, for the start-up operation interface when the information of rocking meets pre-defined rule, wraps in the operation interface Dialog box containing instruction input;
Information receiving unit, the Rule Information for receiving target data to be downloaded by the instruction input dialog box;
Described information transmitting element, the download instruction of the Rule Information is carried specifically for generation, is sent out to the security device Send the download instruction;
The data receipt unit, specifically for receiving the data corresponding with the Rule Information that the security device is returned.
14. according to claim 13 mobile terminal, it is characterised in that
The security device is attendance recorder;The Rule Information of the target data to be downloaded includes:
The Rule Information of attendance data to be downloaded;
The corresponding data of the Rule Information include:The corresponding attendance data of the Rule Information.
15. according to claim 12 mobile terminal, it is characterised in that
The monitoring unit, the acceleration information specifically for receiving the mobile terminal that acceleration sensor is obtained.
16. according to claim 15 mobile terminal, it is characterised in that the mobile terminal also includes:
Software controlled unit, for starting and the matching used application software of the security device;
The monitoring unit, specifically for receiving adding for the mobile terminal that acceleration sensor is obtained by the application software Velocity information.
17. according to claim 12 mobile terminal, it is characterised in that
The monitoring unit, the acceleration information specifically for receiving acceleration sensor feedback;
Described information transmitting element, specifically for starting and the security device when the acceleration information meets pre-defined rule Matching used application software, makes the application software control described information transmitting element send download to the security device and refers to Order.
18. according to claim 12 to 17 any one mobile terminal, it is characterised in that
Described information transmitting element, specifically for the feelings in the mobile terminal with the security device near field communication range Under condition, the download instruction is sent to by the security device using near-field communication.
19. according to claim 13 or 14 mobile terminal, it is characterised in that the Rule Information includes:User name, start-stop At least one in time information and classifying rules information.
20. according to claim 14 mobile terminal, it is characterised in that
The display unit, if the attendance data corresponding with the Rule Information for being additionally operable to the security device return is not Sky, then show the attendance data corresponding with the Rule Information that the security device is returned;
Or, if the attendance data corresponding with the Rule Information that the security device is returned is sky, result is downloaded in display It is empty or display failed download.
21. according to claim 12,15,16,17 or 18 mobile terminal, it is characterised in that
Described information transmitting element, was additionally operable to before the transmission download instruction to security device, was sent out to the security device Send the Rule Information;The Rule Information by with the matching used application software of the security device, receive user set Obtain;
The data receipt unit, specifically for receiving that the security device returns after the download instruction is received and institute State the corresponding data of Rule Information.
A kind of 22. mobile terminals, including:Wireless Telecom Equipment, storage device, processor and display;Characterized in that, institute Stating memory storage has executable program;The processor is used to run the executable program perform claim requirement 1~11 Method described in meaning one.
A kind of 23. communication systems, including:Mobile terminal and security device;Characterized in that,
The mobile terminal is the mobile terminal described in claim 12~22 any one.
CN201680002341.XA 2016-08-05 2016-08-05 Method for downloading data, mobile terminal and communication system Pending CN106687901A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/093577 WO2018023724A1 (en) 2016-08-05 2016-08-05 Data download method, mobile terminal, and communication system

Publications (1)

Publication Number Publication Date
CN106687901A true CN106687901A (en) 2017-05-17

Family

ID=58849666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680002341.XA Pending CN106687901A (en) 2016-08-05 2016-08-05 Method for downloading data, mobile terminal and communication system

Country Status (2)

Country Link
CN (1) CN106687901A (en)
WO (1) WO2018023724A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179805A (en) * 2007-12-24 2008-05-14 四川长城天讯数码技术有限公司 Method and system for downloading information of mobile terminal information
JP2011087026A (en) * 2009-10-14 2011-04-28 Alpine Electronics Inc Onboard radio communication system
CN102566796A (en) * 2011-12-07 2012-07-11 东蓝数码有限公司 Linear acceleration sensor based human-computer interactive detection and processing method for intelligent terminal
CN103634386A (en) * 2013-11-22 2014-03-12 北京奇虎科技有限公司 Method and device for downloading application by client end application program
CN104050548A (en) * 2014-07-10 2014-09-17 河南智业科技发展有限公司 System and method for work attendance management

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110076941A1 (en) * 2009-09-30 2011-03-31 Ebay Inc. Near field communication and network data/product transfer
CN103327452A (en) * 2013-07-11 2013-09-25 深圳市聚领信息科技有限公司 Method and device for quick sharing of software and information based on GPS (Global Positioning System)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179805A (en) * 2007-12-24 2008-05-14 四川长城天讯数码技术有限公司 Method and system for downloading information of mobile terminal information
JP2011087026A (en) * 2009-10-14 2011-04-28 Alpine Electronics Inc Onboard radio communication system
CN102566796A (en) * 2011-12-07 2012-07-11 东蓝数码有限公司 Linear acceleration sensor based human-computer interactive detection and processing method for intelligent terminal
CN103634386A (en) * 2013-11-22 2014-03-12 北京奇虎科技有限公司 Method and device for downloading application by client end application program
CN104050548A (en) * 2014-07-10 2014-09-17 河南智业科技发展有限公司 System and method for work attendance management

Also Published As

Publication number Publication date
WO2018023724A1 (en) 2018-02-08

Similar Documents

Publication Publication Date Title
CN105119806B (en) message updating method and device
CN107249074A (en) Application program quick start method, mobile terminal and computer-readable recording medium
CN104093123B (en) The information-pushing method of application program, device and system, mobile terminal
CN105739699B (en) A kind of control method and terminal device of message notifying
CN107395858A (en) A kind of reminding method of notification message, terminal and computer-readable recording medium
CN106412311B (en) A kind of data transmission method and terminal device
CN103544056B (en) Method, device and the terminal device of control task speed
CN104519197A (en) User login method, user login device and terminal devices
CN106227588A (en) The creation method of a kind of multi-instance object, device and mobile terminal
CN106056001A (en) Private data protection method and apparatus based on mobile terminal and mobile terminal
CN107592406A (en) Message display method, mobile terminal and the storage medium of mobile terminal
CN106371964A (en) Message prompting method and apparatus
CN106502716A (en) The method of mobile terminal and application installation, device
CN106341809A (en) Data transmission method and apparatus
CN105246075B (en) access point connection method and device
CN103744574A (en) Method and device for turning off alarm clock of mobile terminal and mobile terminal
CN104104656A (en) Account retrieving method and device
CN103491240A (en) Alarm clock sounding method, device and mobile terminal
CN108009031B (en) Application program control method and mobile terminal
CN104901992B (en) A kind of method and apparatus of resource transfers
CN105721282B (en) Message display method and device
CN106156596A (en) The method to set up of pattern lock, device and terminal
CN105940368A (en) Pattern lock unlocking method and terminal
CN106331302B (en) A kind of method and apparatus adding contact person
CN107148011B (en) Method, device and system for executing target service

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
CB02 Change of applicant information

Address after: Room 2002, No.8, Chengyi North Street, phase III, software park, Xiamen City, Fujian Province

Applicant after: Xiamen entropy based biometrics information technology Co.,Ltd.

Address before: 361000 area 02, unit 403, 32 guanri Road, phase II, software park, Xiamen City, Fujian Province

Applicant before: XIAMEN ZKTECO INFORMATION TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20170517

RJ01 Rejection of invention patent application after publication