CN109639826A - A kind of data transmission method, terminal device and server - Google Patents
A kind of data transmission method, terminal device and server Download PDFInfo
- Publication number
- CN109639826A CN109639826A CN201910008714.XA CN201910008714A CN109639826A CN 109639826 A CN109639826 A CN 109639826A CN 201910008714 A CN201910008714 A CN 201910008714A CN 109639826 A CN109639826 A CN 109639826A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- data packet
- server
- user characteristic
- data
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data redirection of data network streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
- H04L67/5651—Reducing the amount or size of exchanged application data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present application discloses a kind of data transmission method, terminal device and server, for terminal device when to server upload user characteristic, improves the overall transfer speed for uploading data.The embodiment of the present application method includes: that terminal device obtains uploading instructions;The terminal device obtains at least two user characteristic datas of period 1;The terminal device packages at least two user characteristic datas of the period 1, obtains the first data packet;First data packet is sent to server according to the uploading instructions by the terminal device, is used to indicate the server and is saved first data packet in preset memory space.
Description
Technical field
This application involves field of data transmission more particularly to a kind of data transmission methods, terminal device and server.
Background technique
Face recognition technology is one kind of biometrics identification technology, can be applied in mobile terminal device, and people is used for
It with the interaction of equipment, can also apply in attendance and security, deploy to ensure effective monitoring and control of illegal activities for recording personnel's attendance data and carrying out face.Its
In, facial attendance checking system can be divided into the terminal device of face data acquisition and the server of storage face data, terminal device
It needs for the face data of acquisition to be uploaded in server and save.Later, when needed, it then by server will deposit
The face data of storage is handed down to terminal device.
In the prior art, for terminal device when carrying out upload face data, data transmission shows as terminal device will be facial
Data upload one by one, and upload procedure each time requires to interact with server and transmission speed is slow.And it is uploading
When multiple face datas, interaction times are more, then the speed for being presented as that data integrally upload is slow.It is (several particularly with big face data
100000 human face datas) when, the defect is particularly evident.
It is one it can be seen that how to effectively improve the terminal device uploading speed whole when uploading multiple face datas
A urgent problem to be solved.
Summary of the invention
The embodiment of the present application provides a kind of data transmission method, terminal device and server, to improve terminal device
In upload user characteristic, the transmission speed for uploading data entirety is improved.
In view of this, the embodiment of the present application first aspect provides a kind of data transmission method, may include:
Terminal device obtains uploading instructions;
At least two user characteristic datas of terminal device acquisition period 1;
The terminal device packages at least two user characteristic datas of the period 1, obtains the first data packet;
First data packet is sent to server according to the uploading instructions by the terminal device, is used to indicate the server and is existed
First data packet is saved in preset memory space.
Optionally, in some embodiments of the present application, the terminal device is according to the uploading instructions by first data packet
It is sent to before server, this method further include:
At least two user characteristic datas of terminal device acquisition second round;
The terminal device packages at least two user characteristic datas of the second round, obtains the second data packet.
Optionally, in some embodiments of the present application, this method further include:
The terminal device sends to the server and reads instruction;
The terminal device receives first data packet that the server is sent according to reading instruction;
The terminal device carries out de-packaging operation to first data packet, obtains at least two user characteristics of the period 1
Data.
Optionally, in some embodiments of the present application, this method further include:
The terminal device compresses first data packet, obtains the first compressed package;
First data packet is sent to server according to the uploading instructions by the terminal device, comprising:
First compressed package is sent to the server according to the uploading instructions by the terminal device.
The embodiment of the present application second aspect provides a kind of data transmission method, may include:
The first data packet that server receiving terminal equipment is sent, first data packet is by the terminal device to the period 1
At least two user characteristic datas package after obtain;
The server saves first data packet in preset memory space.
Optionally, in some embodiments of the present application, this method further include:
The server receives the reading instruction of terminal device transmission;
The server instructs to the terminal device according to the reading and sends first data packet, to indicate the terminal device
Unpacking processing is carried out to first data packet, and obtains at least two user characteristic datas of the period 1.
Optionally, in some embodiments of the present application, the first data packet which sends, packet
It includes:
The server receives the first compressed package of terminal device transmission, first compressed package by the terminal device to this
One data packet obtains after being compressed.
The embodiment of the present application third aspect provides a kind of terminal device, may include:
Acquiring unit, for obtaining uploading instructions;Obtain at least two user characteristic datas of period 1;
Processing unit packages at least two user characteristic datas to the period 1, obtains the first data
Packet;
Transmission unit is used to indicate the service for first data packet to be sent to server according to the uploading instructions
Device saves first data packet in preset memory space.
Optionally, in some embodiments of the present application,
The acquiring unit is also used to obtain at least two user characteristic datas of second round;
The processing unit is also used to package at least two user characteristic datas of the second round, obtains second
Data packet.
Optionally, in some embodiments of the present application,
The transmission unit is also used to send to the server and reads instruction;
The acquiring unit is also used to receive first data packet that the server is sent according to reading instruction;
The processing unit is also used to carry out de-packaging operation to first data packet, obtains at least two of the period 1
User characteristic data.
Optionally, in some embodiments of the present application,
The processing unit is also used to compress first data packet, obtains the first compressed package;
The transmission unit, specifically for first compressed package is sent to the server according to the uploading instructions.
The embodiment of the present application fourth aspect provides a kind of server, may include:
Transmit-Receive Unit, for the first data packet that receiving terminal apparatus is sent, first data packet is by the terminal device pair
At least two user characteristic datas of period 1 obtain after packaging;
Storage unit, for saving first data packet in preset memory space.
Optionally, in some embodiments of the present application,
The Transmit-Receive Unit is also used to receive the reading instruction of terminal device transmission;It is instructed according to the reading to the terminal
Equipment sends first data packet, to indicate that the terminal device carries out unpacking processing to first data packet, and obtain this
At least two user characteristic datas in one period.
Optionally, in some embodiments of the present application,
The Transmit-Receive Unit, specifically for receiving the first compressed package of terminal device transmission, first compressed package is by the end
End equipment obtains after compressing to first data packet.
The 5th aspect of the embodiment of the present application additionally provides a kind of terminal device, may include:
At least one processor, at least one processor, at least one transceiver;At least one processor, this is at least
One memory and at least one transceiver are coupled by line traffic, the terminal device by least one transceiver and
Device except the terminal device communicates, and at least one processor is for storing program instruction, at least one processor
For executing the program instruction stored in at least one processor, so that the terminal device is executed as in the embodiment of the present application
The method being somebody's turn to do in first aspect and any optional way.
The 6th aspect of the embodiment of the present application additionally provides another server, may include:
At least one processor, at least one processor, at least one transceiver;At least one described processor, it is described
At least one processor and at least one described transceiver are coupled by line traffic, the server by it is described at least one
Transceiver is communicated with the device except the server, at least one processor for storing program instruction, it is described extremely
A few processor is used to execute the described program instruction stored in at least one processor, so that the server executes
The method as described in second aspect in the embodiment of the present application and any optional way.
The 7th aspect of the embodiment of the present application additionally provides a kind of computer storage medium, including instruction, when it is in computer
When upper operation, so that computer executes the method as described in aforementioned first aspect or second aspect and any optional way.
The embodiment of the present application eighth aspect additionally provides a kind of computer program product comprising instruction, when it is in computer
When upper operation, so that computer executes the method as described in aforementioned first aspect or second aspect and any optional way.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
When terminal device gets at least two user characteristic data of period 1, the terminal device first to this first
At least two user characteristic datas in period package operation, obtain the first data packet, when uploading, by first data packet
It is uploaded to server, realizes that primary interaction can upload multiple user characteristic datas.Therefore work as and need to upload the more of period 1
When a user characteristic data, can effectively less terminal device and server interaction times, thus improve terminal device upload
The transmission speed of user characteristic data entirety.
Detailed description of the invention
Fig. 1 is a kind of one embodiment schematic diagram of data transmission method in the embodiment of the present application;
Fig. 2 is a kind of one embodiment schematic diagram of terminal device in the embodiment of the present application;
Fig. 3 is a kind of one embodiment schematic diagram of server in the embodiment of the present application;
Fig. 4 is a kind of another embodiment schematic diagram of terminal device in the embodiment of the present application;
Fig. 5 is a kind of another embodiment schematic diagram of server in the embodiment of the present application.
Specific embodiment
With biometrics identification technology, such as the continuous development of face recognition technology and fingerprint identification technology, application
Scene is also more and more extensive, and common for example applies in attendance and safety-security area.Pass through terminal device, such as attendance recorder, intelligence
Camera etc. acquires the user characteristic data of user, and the finger print information of the user characteristic data such as user, the face of face are believed
Breath or iris information etc., and be uploaded in server and store.It deploys to ensure effective monitoring and control of illegal activities when needing to identify corresponding user or carrying out specific people
When, then the user characteristic data of storage is handed down to by terminal device by server, carry out subsequent processing.And with application scenarios
Increasingly wider, the user characteristic data that terminal device needs to acquire is more and more, the corresponding data volume for needing to transmit and handle
Also increasing, so that the development to technology also has higher requirement.
Based on this, the embodiment of the present application provides a kind of method of data transmission, for terminal device to server
When passing user characteristic data, transmission speed when user characteristic data uploads is improved.
It should be noted that in the embodiment of the present application, terminal device can be attendance recorder, intelligent video camera head or other can
The equipment for acquiring user characteristic data, server can be any equipment with storage and data read-write capability, terminal device
With the form of server, it is not specifically limited in the embodiment of the present application.
Below referring in particular to an implementation of the method that Fig. 1, Fig. 1 are a kind of data transmission provided in the embodiment of the present application
It illustrates and is intended to, may include:
101, terminal device obtains uploading instructions.
In the present embodiment, terminal device can obtain user characteristic data in several ways in the process of running, such as
Data are directly acquired, or receive the user characteristic data that other equipment are sent.The user characteristic data can be the finger of user
Line information, facial information or iris information etc., the corresponding terminal device can be comprising fingerprint identification module, face data
The arbitrary equipment of acquisition module or iris recognition module.After terminal device obtains user characteristic data, this can be temporarily stored in
Ground.Terminal device generates uploading instructions after being responsive to user's operation or receiving the request of other equipment.The uploading instructions
The identification information for needing the user characteristic data uploaded, the identification information such as temporal information, user characteristic data can be carried
Corresponding user information etc..
102, terminal device obtains at least two user characteristic datas of period 1.
In the present embodiment, the user characteristic data that terminal device is uploaded according to identification information from local determining needs, and
The user characteristic data uploaded can will be needed to be divided into multiple periods, each cycle all includes at least two user characteristic datas, tool
The quantity of body each cycle user characteristic data can be preset.Later, terminal device obtains at least two use of period 1
Family characteristic.
103, terminal device packages at least two user characteristic datas of the period 1, obtains the first data
Packet.
In the present embodiment, after terminal device obtains at least two user characteristic datas of period 1, terminal device is carried out
At least two user characteristic data groups of the period 1, are bundled by group package operation as the first data packet by group package operation.
Optionally, in some possible implementations, terminal device obtains at least two user characteristics of period 1
After data, at least two user characteristic datas of the period 1 can be encrypted, be obtained encrypted first week
The user characteristic data of phase.By encryption, the safety of data storage and transmission is improved.
Further, terminal device packages to the user characteristic data of the encrypted period 1, obtains first
Data packet.
Optionally, after terminal gets the first data packet, which can be compressed to obtain the first compression
Packet, and then reduce by first data packet the space occupied.
104, terminal device sends the first data packet to server according to uploading instructions.
In the present embodiment, the address of server can be carried in uploading instructions, terminal device to the period 1 at least
After two user characteristic datas package, the first obtained data packet is sent to by corresponding service according to the address of server
In device.
Optionally, in some possible implementations, if terminal device has carried out compression processing to the first data packet,
The first obtained compressed package is sent to server by terminal device.It should be noted that reducing the first data packet by compression
Size, reduce the first data packet required memory space in terminal device and server, and improve first number
According to the upper transfer efficiency of packet.
Optionally, in some possible implementations, terminal device is when sending the first data packet to server, terminal
At least two user characteristic datas of equipment available second round to be uploaded, and at least two use of the second round
Family characteristic packages, and obtains the second data packet.
In the present embodiment, it can be executed by the way of asynchronous between each step.The first data packet is passed on the terminal device
In the process, terminal device can be packaged with asynchronous at least two user characteristic datas to second round to be uploaded, thus
After the completion of the user characteristic data of period 1 uploads, it is ensured that the second data packet can be uploaded in time.Specifically, the step with
Step 102: the user characteristic data and step 103 of terminal device acquisition period 1: user of the terminal device to the period 1
The process that the first data packet is obtained in characteristic group packet is similar, and details are not described herein again.
It should be noted that before at least two user characteristic data group packets to second round, can also to this second
At least two user characteristic datas in period are encrypted, and at least two users of the second round after decryption spy
Sign data package, and obtain the second data packet.
It should be noted that can also compress, obtain to the second data packet after terminal device obtains the second data packet
Second compressed package, the process and terminal device in step 103 optional step are similar to the process of the first data packet compressing, herein not
It repeats again.
105, server saves the first data packet in preset memory space.
In the present embodiment, after terminal receives the first data packet, first data packet is saved in preset memory space.
Optionally, in some possible implementations, terminal, can be to first number after receiving the first data packet
Unpacking processing is carried out according to packet, obtains and save at least two user characteristic datas of the period 1.
In the present embodiment, after server receives the first data packet, unpacking processing can be carried out to first data packet, from
And obtain and save at least two user characteristic datas of the period 1.
Optionally, in some possible implementations, if server executes after unpacking, the user of obtained period 1
Characteristic is encryption data, then server is using decipherment algorithm corresponding with terminal device to the user characteristics of the period 1
Data are decrypted, and save the user characteristic data obtained after decryption.
Optionally, in some possible implementations, if it is the first compressed package that server, which receives, server can
To decompress to first compressed package, the first data packet is obtained, then de-packaging operation is carried out to the first data packet.
Optionally, in some possible implementations, after server successfully saves the user characteristic data of period 1,
It can be sent to terminal device and upload success response.
Optionally, in some possible implementations, terminal device is in the upload success for receiving terminal device transmission
After response, the second data packet is sent to server by terminal device.It should be noted that terminal to server sends the second data
In the process and step 104 of packet, the process that terminal to server sends the first data packet is similar, and details are not described herein again.
106, terminal device sends to server and reads instruction.
In the present embodiment, when terminal device is responsive to user's operation or receives the request of other equipment, it can be generated
Read instruction, the reading instruction in carry reading in need period 1 user characteristic data identification information, such as when
Between information, corresponding user information of user characteristic data etc..
107, server sends the first data packet to terminal device according to reading instruction.
In the present embodiment, after server receives reading instruction, can according to read in instruction the identification information that carries from
Corresponding first data packet is searched in preset memory space, and first data packet is sent to terminal device.
Optionally, in some possible implementations, if the user characteristic data that server is determined according to identification information
For multiple user characteristic datas of dispersion, then server can package to multiple user characteristic data, obtain the first number
According to packet.
Optionally, it in some possible implementations, in order to improve the safety of the first transmission of data packets, is taking
Before business device sends the first data packet to terminal device according to reading instruction, server can be encrypted first data packet
Processing, obtains encrypted first data packet, and encrypted first data packet is sent to terminal device.
Optionally, in some possible implementations, in order to realize faster efficiency of transmission, in server according to reading
It instructs before sending the first data packet to terminal device, server can carry out compression processing to first data packet, obtain the
One compressed package, and first compressed package is sent to terminal device.
108, terminal device carries out de-packaging operation to the first data packet, saves the period 1 obtained by de-packaging operation
At least two user characteristic datas.
In the present embodiment, after terminal receives the first data packet, unpacking processing can be carried out to first data packet, and will
At least two user characteristic datas of the period 1 obtained by de-packaging operation are saved into preset storage location.
It should be noted that step 106 to step 108 is optional step.
Optionally, in some possible implementations, terminal device carries out de-packaging operation to the first data packet, saves warp
At least two user characteristic datas for the period 1 that de-packaging operation obtains are crossed, while terminal device receives server according to reading
Instruct the second data packet sent.
Further, terminal device carries out de-packaging operation to the second data packet received, and preservation is obtained by de-packaging operation
At least two user characteristic datas of the second round arrived.
Further, if it is the second compressed package that terminal device, which receives, before unpacking, terminal device to this second
Compressed package executes decompression operations, obtains the second data packet.
Further, if after unpacking, at least two user characteristic datas of obtained second round are encryption data, then eventually
End equipment can be decrypted it, and save at least two user characteristic datas of the second round after decryption.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
When terminal device gets at least two user characteristic data of period 1, the terminal device first to this first
At least two user characteristic datas in period package operation, obtain the first data packet.When uploading, by first data packet
It is uploaded to server, realizes that primary interaction can upload multiple user characteristic datas.Therefore work as and need to upload multiple user characteristics
When data, can effectively less terminal device and server interaction times, to improve terminal device upload user characteristic
According to whole transmission speed.
It is below one embodiment schematic diagram of terminal device in the embodiment of the present application referring in particular to Fig. 2, Fig. 2, can wrap
It includes:
Acquiring unit 201, for obtaining uploading instructions;Obtain at least two user characteristic datas of period 1;
Processing unit 202 packages at least two user characteristic datas to the period 1, obtains the first number
According to packet;
Transmission unit 203 is used to indicate the clothes for first data packet to be sent to server according to the uploading instructions
Business device saves first data packet in preset memory space.
Optionally, in some embodiments of the present application,
Acquiring unit 201 is also used to obtain at least two user characteristic datas of second round;
Processing unit 202 is also used to package at least two user characteristic datas of the second round, obtains second
Data packet.
Optionally, in some embodiments of the present application,
Transmission unit 203 is also used to send to the server and reads instruction;
Acquiring unit 201 is also used to receive first data packet that the server is sent according to reading instruction;
Processing unit 202 is also used to carry out de-packaging operation to first data packet, obtains at least two of the period 1
User characteristic data.
Optionally, in some embodiments of the present application,
Processing unit 202 is also used to compress first data packet, obtains the first compressed package;
Transmission unit 203, specifically for first compressed package is sent to the server according to the uploading instructions.
It is below one embodiment schematic diagram of server in the embodiment of the present application referring in particular to Fig. 3, Fig. 3, may include:
Transmit-Receive Unit 301, for the first data packet that receiving terminal apparatus is sent, first data packet is by the terminal device
It is obtained after packaging at least two user characteristic datas of period 1;
Storage unit 302, for saving first data packet in preset memory space.
Optionally, in some embodiments of the present application,
Transmit-Receive Unit 301 is also used to receive the reading instruction of terminal device transmission;It is instructed according to the reading to the terminal
Equipment sends first data packet, to indicate that the terminal device carries out unpacking processing to first data packet, and obtain this
At least two user characteristic datas in one period.
Optionally, in some embodiments of the present application,
Transmit-Receive Unit 301, specifically for receiving the first compressed package of terminal device transmission, first compressed package is by the end
End equipment obtains after compressing to first data packet.
Below referring in particular to Fig. 4, Fig. 4 is another embodiment schematic diagram of terminal device in the embodiment of the present application, can be with
Include:
At least one processor 401, at least one processor 402, at least one transceiver 403 are described at least one
It manages device 401, at least one processor 402 and at least one described transceiver 403 to couple by line traffic, the terminal
Equipment is communicated by least one transceiver 403 with the device except the terminal device, at least one processor 402
For storing program instruction, at least one described processor 401 is for executing the institute stored in at least one processor 402
Program instruction is stated, so that the terminal device executes in embodiment as shown in Figure 1 and terminal device is held in any optional way
Capable method.
It is below another embodiment schematic diagram of server in the embodiment of the present application referring in particular to Fig. 5, Fig. 5, can wrap
It includes:
At least one processor 501, at least one processor 502, at least one transceiver 503 are described at least one
It manages device 501, at least one processor 502 and at least one described transceiver 503 to couple by line traffic, the service
Device is communicated by least one transceiver 503 with the device except the server, and at least one processor 502 is used for
Program instruction is stored, at least one described processor 501 is for executing the journey stored in at least one processor 502
Sequence instruction, so that the server executes in embodiment as shown in Figure 1 and method performed by server in any optional way.
The embodiment of the present application also provides a kind of computer storage mediums, including instruction, when run on a computer,
So that computer executes method described in embodiment as illustrated in the foregoing fig. 1 and any optional way.
The embodiment of the present application also provides a kind of computer program products comprising instruction, when it runs on computers
When, so that computer executes method described in embodiment as illustrated in the foregoing fig. 1 and any optional way.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or
It partly generates according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated meter
Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium
In, or from a computer readable storage medium to another computer readable storage medium transmit.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before
Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of data transmission method characterized by comprising
Terminal device obtains uploading instructions;
The terminal device obtains at least two user characteristic datas of period 1, and the user characteristic data includes user's
Facial information, finger print information or iris information;
The terminal device packages at least two user characteristic datas of the period 1, obtains the first data packet;
First data packet is sent to server according to the uploading instructions by the terminal device, is used to indicate the service
Device saves first data packet in preset memory space.
2. the method according to claim 1, wherein the terminal device is at least two of the period 1
User characteristic data packages, and after obtaining the first data packet, the terminal device is according to the uploading instructions by described
One data packet is sent to before server, the method also includes:
The terminal device obtains at least two user characteristic datas of second round;
The terminal device packages at least two user characteristic datas of the second round, obtains the second data packet.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
The terminal device sends to the server and reads instruction;
The terminal device receives the server according to first data packet for reading instruction and sending;
The terminal device carries out de-packaging operation to first data packet, and at least two users for obtaining the period 1 are special
Levy data.
4. method according to claim 1 or 2, which is characterized in that the method also includes:
The terminal device compresses first data packet, obtains the first compressed package;
First data packet is sent to server according to the uploading instructions by the terminal device, comprising:
First compressed package is sent to the server according to the uploading instructions by the terminal device.
5. a kind of data transmission method characterized by comprising
The first data packet that server receiving terminal equipment is sent, first data packet is by the terminal device to the period 1
At least two user characteristic datas package after obtain;
The server saves first data packet in preset memory space.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
The server receives the reading instruction that the terminal device is sent;
The server instructs to the terminal device according to the reading and sends first data packet, to indicate the end
End equipment carries out unpacking processing to first data packet, and obtains at least two user characteristic datas of the period 1.
7. method according to claim 5 or 6, which is characterized in that the first of the server receiving terminal equipment transmission
Data packet, comprising:
The server receives the first compressed package that the terminal device is sent, and first compressed package is by the terminal device pair
First data packet obtains after being compressed.
8. a kind of terminal device characterized by comprising
Acquiring unit, for obtaining uploading instructions;Obtain at least two user characteristic datas of period 1;
Processing unit packages at least two user characteristic datas to the period 1, obtains the first data packet;
Transmission unit is used to indicate the clothes for first data packet to be sent to server according to the uploading instructions
Business device saves first data packet in preset memory space.
9. a kind of server characterized by comprising
Transmit-Receive Unit, for the first data packet that receiving terminal apparatus is sent, first data packet is by the terminal device pair
At least two user characteristic datas of period 1 obtain after packaging;
Storage unit, for saving first data packet in preset memory space.
10. a kind of computer program product, including instruction, when run on a computer, so that computer executes such as right
It is required that any one of 1 to 4, alternatively, method described in any one of claim 5 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910008714.XA CN109639826A (en) | 2019-01-04 | 2019-01-04 | A kind of data transmission method, terminal device and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910008714.XA CN109639826A (en) | 2019-01-04 | 2019-01-04 | A kind of data transmission method, terminal device and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109639826A true CN109639826A (en) | 2019-04-16 |
Family
ID=66057898
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910008714.XA Pending CN109639826A (en) | 2019-01-04 | 2019-01-04 | A kind of data transmission method, terminal device and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109639826A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101764671A (en) * | 2008-12-23 | 2010-06-30 | 北大方正集团有限公司 | File transmission method and business processing method, equipment and system in server |
US20100228875A1 (en) * | 2009-03-09 | 2010-09-09 | Robert Linwood Myers | Progressive download gateway |
CN104639393A (en) * | 2015-01-07 | 2015-05-20 | 烽火通信科技股份有限公司 | Passive optical network flow whole-network acquisition device and passive optical network flow whole-network acquisition method |
CN105549897A (en) * | 2015-06-30 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Data processing method and device |
CN106529464A (en) * | 2016-10-28 | 2017-03-22 | 信利光电股份有限公司 | Iris characteristic acquisition module group and electronic device |
CN106603686A (en) * | 2016-12-23 | 2017-04-26 | 郑州云海信息技术有限公司 | File transmission method based on distributed storage system |
CN108574735A (en) * | 2018-04-11 | 2018-09-25 | 努比亚技术有限公司 | Data processing method, terminal and computer readable storage medium |
CN109040786A (en) * | 2018-09-03 | 2018-12-18 | 锐捷网络股份有限公司 | Transmission method, device, system and the storage medium of camera data |
-
2019
- 2019-01-04 CN CN201910008714.XA patent/CN109639826A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101764671A (en) * | 2008-12-23 | 2010-06-30 | 北大方正集团有限公司 | File transmission method and business processing method, equipment and system in server |
US20100228875A1 (en) * | 2009-03-09 | 2010-09-09 | Robert Linwood Myers | Progressive download gateway |
CN104639393A (en) * | 2015-01-07 | 2015-05-20 | 烽火通信科技股份有限公司 | Passive optical network flow whole-network acquisition device and passive optical network flow whole-network acquisition method |
CN105549897A (en) * | 2015-06-30 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Data processing method and device |
CN106529464A (en) * | 2016-10-28 | 2017-03-22 | 信利光电股份有限公司 | Iris characteristic acquisition module group and electronic device |
CN106603686A (en) * | 2016-12-23 | 2017-04-26 | 郑州云海信息技术有限公司 | File transmission method based on distributed storage system |
CN108574735A (en) * | 2018-04-11 | 2018-09-25 | 努比亚技术有限公司 | Data processing method, terminal and computer readable storage medium |
CN109040786A (en) * | 2018-09-03 | 2018-12-18 | 锐捷网络股份有限公司 | Transmission method, device, system and the storage medium of camera data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105934753A (en) | Sharing video in a cloud video service | |
CN110955541B (en) | Data processing method, device, chip, electronic equipment and readable storage medium | |
CN111191267B (en) | Model data processing method, device and equipment | |
CN111586050A (en) | Audio file transmission method and device, storage medium and electronic equipment | |
CN108650287A (en) | Upgrade method, equipment and the computer-readable medium of terminal device in Internet of Things | |
CN106648445B (en) | Data storage method and device for web crawler | |
WO2022001092A1 (en) | Data processing method and apparatus, and device | |
CN104067627B (en) | Method, device, system and computer-readable medium that a kind of video is redirected | |
CN108012049A (en) | Video analysis method and its device | |
CN108200572A (en) | Switching method, the apparatus and system of terminal | |
CN111569417A (en) | Peripheral data transmission method and system for cloud games | |
CN109450960A (en) | Processing method, device, equipment, system and the medium of IPsec agreement | |
CN109639826A (en) | A kind of data transmission method, terminal device and server | |
CN109150969A (en) | Data transmission method, sorter, terminating machine and data transmission system | |
CN105262491A (en) | Data compression method, data compression system, data decompression method, data decompression system and communication equipment | |
CN108668048B (en) | The processing method and system of image data, storage medium, processor | |
CN109962888A (en) | A kind of anti-tamper business access method, client and server | |
CN107592337A (en) | A kind of method and device of unmanned aerial vehicle (UAV) control device and communication of mobile terminal | |
CN109711512A (en) | Two-dimensional code generation method and device | |
CN108156239A (en) | The method and device that a kind of collaborative synchronizing white is shown | |
CN108921773A (en) | Human body tracking processing method, device, equipment and system | |
CN113938436B (en) | Method and device for identifying service type of data | |
CN116302739A (en) | Method, system, device and storage medium for testing and verifying JPEG compression encryption module | |
CN110177360A (en) | A kind of method and apparatus for being bound with wearable device | |
CN101566975B (en) | Method for communication with safe mobile memory apparatus |
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 1301, No.132, Fengqi Road, phase III, software park, Xiamen City, Fujian Province Applicant after: Xiamen Entropy Technology Co.,Ltd. Address before: 361000, Xiamen three software park, Fujian Province, 8 North Street, room 2001 Applicant before: XIAMEN ZKTECO INFORMATION TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190416 |
|
RJ01 | Rejection of invention patent application after publication |