CN110197354A - Method and device is signed in measurement instrument dispatching - Google Patents
Method and device is signed in measurement instrument dispatching Download PDFInfo
- Publication number
- CN110197354A CN110197354A CN201910441240.8A CN201910441240A CN110197354A CN 110197354 A CN110197354 A CN 110197354A CN 201910441240 A CN201910441240 A CN 201910441240A CN 110197354 A CN110197354 A CN 110197354A
- Authority
- CN
- China
- Prior art keywords
- dispatching
- terminal device
- information
- signed
- location information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
- G06Q10/0833—Tracking
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Economics (AREA)
- Radar, Positioning & Navigation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Remote Sensing (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Computer Networks & Wireless Communication (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Telephone Function (AREA)
Abstract
Method and device is signed for the present invention provides a kind of dispatching of measurement instrument, this method comprises: terminal device scans two-dimension code image, wherein shown two-dimensional barcode information is used to indicate the dispatching destination of measurement instrument to be signed in two-dimension code image;Terminal device obtains the first location information that destination is dispensed corresponding to two-dimensional barcode information;Terminal device positions the position that terminal device is currently located, and obtains second location information;In the case where falling into target range threshold value at a distance from first location information is between second location information, terminal device determines that measurement instrument to be signed for signs for success.Through the invention, the authenticity for solving the problems, such as that order electronics is signed in the related technology is relatively difficult to guarantee, and then has achieved the effect that the authenticity for ensuring that order electronics is signed for.
Description
Technical field
The present invention relates to computer fields, sign for method and device in particular to a kind of dispatching of measurement instrument.
Background technique
Electronics signs for referring in dispatching link through handhold mobile terminal equipment (PDA POS) storage dispatching order information,
Dispatching destination is reached, by handhold mobile terminal equipment acquisition, recognition and verification receipt information, dispatching is completed and signs for business processing
A kind of information-based means.
Electronics is signed for being widely used in industry fields such as electric business, logistics at present, such as when reception Jingdone district express delivery, as long as user
It signs on the POS of Jingdone district courier, user no longer needs to the process for waiting papery receipt of tearing, looking for pen, signature.
But current electronics signs for mode and causes the authenticity signed for difficult by copying and forging during signing for confirmation
To ensure.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
Method and device is signed for the embodiment of the invention provides a kind of dispatching of measurement instrument, at least to solve the relevant technologies
In order electronics is signed in the related technology authenticity the problem of being relatively difficult to guarantee.
According to one embodiment of present invention, provide a kind of dispatching of measurement instrument signs for method, comprising:
Terminal device scans two-dimension code image, wherein shown two-dimensional barcode information is for referring in the two-dimension code image
Show the dispatching destination of measurement instrument to be signed for;
The terminal device obtains the first location information of the dispatching destination corresponding to the two-dimensional barcode information;
The position that the terminal device is currently located the terminal device positions, and obtains second location information;
The case where falling into target range threshold value at a distance from the first location information is between the second location information
Under, the terminal device determines that the measurement instrument to be signed for signs for success.
Optionally, the terminal device obtains the first position of the dispatching destination corresponding to the two-dimensional barcode information
Information includes:
The terminal device parses the two-dimension code image, obtains the two-dimensional barcode information, wherein the two-dimensional barcode information
It is obtained after using target secret key pair two-dimensional code data to be encrypted, the two-dimensional code data is used to indicate the dispatching purpose
The mark on ground;
The terminal device is decrypted using two-dimensional barcode information described in the pre-stored target secret key pair, obtains institute
State two-dimensional code data;
The terminal device obtains the first location information corresponding to the mark of the dispatching destination.
Optionally, the terminal device obtains the first location information packet corresponding to the mark of the dispatching destination
It includes:
The terminal device obtains target latitude and longitude information corresponding to target dispatching order from dispatching ordering system,
In, the target dispatching order is dispatching order corresponding to the measurement instrument to be signed for, and the dispatching ordering system is used
There is the order to be dispensed and destination latitude and longitude information of corresponding relationship in record;
The target latitude and longitude information is determined as the first location information by the terminal device.
Optionally, it is positioned in the position that the terminal device is currently located the terminal device, obtains second
After confidence breath, the method also includes:
The target range threshold value is not fallen at a distance from the first location information is between the second location information
In the case where, the terminal device determines that the measurement instrument to be signed for signs for failure;
The terminal device display reminding information, wherein the prompt information is for prompting the current institute of the terminal device
Position not within the scope of the dispatching corresponding to the dispatching destination, and the measurement instrument to be signed for can not be signed
It receives.
According to another embodiment of the invention, provide a kind of dispatching of measurement instrument signs for device, is applied to terminal
Equipment, comprising:
Scan module, for scanning the two-dimensional code picture, wherein shown two-dimensional barcode information is used in the two-dimension code image
In the dispatching destination for indicating measurement instrument to be signed for;
Module is obtained, for obtaining the first location information of the dispatching destination corresponding to the two-dimensional barcode information;
Locating module, the position for being currently located to the terminal device position, and obtain second location information;
First determining module, for falling into mesh at a distance from the first location information is between the second location information
In the case where subject distance threshold value, determine that the measurement instrument to be signed for signs for success.
Optionally, the acquisition module includes:
Resolution unit obtains the two-dimensional barcode information for parsing the two-dimension code image, wherein the two dimensional code letter
Breath is obtained after being encrypted using target secret key pair two-dimensional code data, and the two-dimensional code data is used to indicate the dispatching mesh
Ground mark;
Decryption unit is obtained for being decrypted using two-dimensional barcode information described in the pre-stored target secret key pair
The two-dimensional code data;
Acquiring unit, for obtaining the first location information corresponding to the mark of the dispatching destination.
Optionally, the acquiring unit includes:
Subelement is obtained, for obtaining target longitude and latitude letter corresponding to target dispatching order from dispatching ordering system
Breath, wherein the target dispatching order is dispatching order corresponding to the measurement instrument to be signed for, the dispatching order system
System is for recording order to be dispensed and destination latitude and longitude information with corresponding relationship;
Subelement is determined, for the target latitude and longitude information to be determined as the first location information.
Optionally, described device further include:
Second determining module, for not fallen at a distance from the first location information is between the second location information
In the case where the target range threshold value, determine that the measurement instrument to be signed for signs for failure;
Display module is used for display reminding information, wherein the prompt information is for prompting the current institute of the terminal device
Position not within the scope of the dispatching corresponding to the dispatching destination, and the measurement instrument to be signed for can not be signed
It receives.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, meter is stored in the storage medium
Calculation machine program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
According to still another embodiment of the invention, a kind of electronic device, including memory and processor are additionally provided, it is described
Computer program is stored in memory, the processor is arranged to run the computer program to execute any of the above-described
Step in embodiment of the method.
Through the invention, pass through terminal device scans two-dimension code image, wherein shown two dimensional code in two-dimension code image
Information is used to indicate the dispatching destination of measurement instrument to be signed for;Terminal device obtains dispatching mesh corresponding to two-dimensional barcode information
Ground first location information;Terminal device positions the position that terminal device is currently located, and obtains second location information;
In the case where falling into target range threshold value at a distance from first location information is between second location information, terminal device determine to
The measurement instrument signed for signs for successful mode, and terminal device obtains corresponding to two-dimensional barcode information after scanning the two-dimensional code picture
The first location information of destination is dispensed, and the position that terminal device is currently located is positioned to obtain second position letter
Breath, by determine the distance between first location information and second location information whether fall into target range threshold value, come determine to
Whether the measurement instrument signed for can sign for success.Therefore, can solve order electronics is signed in the related technology authenticity compared with
The problem of being difficult to guarantee achievees the effect that the authenticity for ensuring that order electronics is signed for.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware configuration frame of the mobile terminal for signing for method of measurement instrument dispatching of the embodiment of the present invention
Figure;
Fig. 2 is the flow chart for signing for method of measurement instrument dispatching according to an embodiment of the present invention;
Fig. 3 is a kind of flow chart of two dimensional code symmetric cryptography of optional embodiment according to the present invention;
Fig. 4 is the structural block diagram for signing for device of measurement instrument dispatching according to an embodiment of the present invention;
Fig. 5 is the schematic diagram for signing for method of the measurement instrument dispatching of alternative embodiment according to the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting
In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment of the method provided by the embodiment of the present application one can be in mobile terminal, terminal or similar fortune
It calculates and is executed in device.For running on mobile terminals, Fig. 1 is a kind of signing for for measurement instrument dispatching of the embodiment of the present invention
The hardware block diagram of the mobile terminal of method.As shown in Figure 1, mobile terminal 10 may include one or more (only shows in Fig. 1
One out) (processor 102 can include but is not limited to Micro-processor MCV or programmable logic device FPGA etc. to processor 102
Processing unit) and memory 104 for storing data, optionally, above-mentioned mobile terminal can also include being used for communication function
Transmission device 106 and input-output equipment 108.It will appreciated by the skilled person that structure shown in FIG. 1 is only
Signal, does not cause to limit to the structure of above-mentioned mobile terminal.For example, mobile terminal 10 may also include than shown in Fig. 1 more
More perhaps less component or with the configuration different from shown in Fig. 1.
Memory 104 can be used for storing computer program, for example, the software program and module of application software, such as this hair
The corresponding computer program of enabling method of piler in bright embodiment, processor 102 are stored in memory 104 by operation
Interior computer program realizes above-mentioned method thereby executing various function application and data processing.Memory 104 can
Including high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or
Other non-volatile solid state memories of person.In some instances, memory 104 can further comprise remote relative to processor 102
The memory of journey setting, these remote memories can pass through network connection to mobile terminal 10.The example of above-mentioned network includes
But be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of mobile terminal 10 provide.In an example, transmitting device 106 includes a Network adaptation
Device (Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments to
It can be communicated with internet.In an example, transmitting device 106 can for radio frequency (Radio Frequency, referred to as
RF) module is used to wirelessly be communicated with internet.
Provide a kind of dispatching of measurement instrument in the present embodiment signs for method, and Fig. 2 is according to an embodiment of the present invention
The flow chart for signing for method of measurement instrument dispatching, as shown in Fig. 2, the process includes the following steps:
Step S202, terminal device scans two-dimension code image, wherein shown two-dimensional barcode information is used in two-dimension code image
In the dispatching destination for indicating measurement instrument to be signed for;
Step S204, terminal device obtain the first location information that destination is dispensed corresponding to two-dimensional barcode information;
Step S206, terminal device position the position that terminal device is currently located, and obtain second location information;
Step S208, the case where target range threshold value is fallen at a distance from first location information is between second location information
Under, terminal device determines that measurement instrument to be signed for signs for success.
Optionally, in the present embodiment, above-mentioned two-dimension code image can be, but not limited to print by printing device and open
It is affixed on dispatching destination, or can be configured to show the display screen of the two-dimension code image in dispatching destination.
Optionally, in the present embodiment, above-mentioned two-dimensional barcode information can be, but not limited to include: dispense destination address,
Dispense the number of destination, the title for dispensing destination etc..
Optionally, in the present embodiment, place is that location information can be, but not limited to indicate using latitude and longitude information.
Optionally, in the present embodiment, above-mentioned terminal device can be, but not limited to include dispatching personnel hand-held set, hand
Machine, tablet computer, intelligent wearable device etc..
Through the above steps, terminal device obtains dispatching purpose corresponding to two-dimensional barcode information after scanning the two-dimensional code picture
The first location information on ground, and the position that terminal device is currently located is positioned to obtain second location information, by true
Determine whether the distance between first location information and second location information fall into target range threshold value, to determine metering to be signed for
Whether utensil can sign for success.Therefore, it can solve the authenticity that order electronics is signed in the related technology to ask compared with what is be difficult to guarantee
Topic, achievees the effect that the authenticity for ensuring that order electronics is signed for.
Optionally, two-dimensional barcode information can be, but not limited to be in advance it is encrypted, encryption has been stored in advance in terminal device
Code key, cipher mode is to provide the server of two-dimensional barcode information and terminal device was negotiated.To ensure the safety of delivery process
Property.
Such as: in above-mentioned steps S204, terminal device parses two-dimension code image, obtains two-dimensional barcode information, wherein two dimension
Code information is obtained after being encrypted using target secret key pair two-dimensional code data, and two-dimensional code data is used to indicate dispatching destination
Mark;Terminal device is decrypted using pre-stored target secret key pair two-dimensional barcode information, obtains two-dimensional code data;Terminal
Equipment obtains first location information corresponding to the mark of dispatching destination.
In an optional embodiment, Fig. 3 is that a kind of two dimensional code of optional embodiment according to the present invention is symmetrical
The flow chart of encryption generally signs for ground as shown in figure 3, two dimensional code plaintext P refers to not by the two dimensional code clear data of encryption
Power supply unit coding.Key K is the password for encrypting plaintext, and in a symmetric encryption algorithm, encrypting with the key of decryption is phase
With.Key is that recipient and sender negotiate to generate, but cannot otherwise will lead to key directly in transmission over networks and let out
Leakage.If AES encryption function is E, then C=E (K, P), wherein P be two dimensional code in plain text, K is key, and C is ciphertext.That is, handle
Two dimensional code plaintext P and key K is inputted as the parameter of encryption function, then encryption function E can export ciphertext C.Ciphertext C is encrypted
Function treated data.If AES decryption function is D, then P=D (K, C), wherein C is ciphertext, and K is key, and P is that two dimensional code is bright
Text.That is, inputting using ciphertext C and key K as the parameter of decryption function, then decryption function can export two dimensional code plaintext P.
Optionally, the dispatching destination of each order to be dispensed is had recorded in the dispatching ordering system that terminal device is connected
Destination latitude and longitude information, terminal device can from dispatching ordering system in obtain target dispatching order corresponding to target warp
Latitude information is as first location information.
Such as: terminal device obtains target latitude and longitude information corresponding to target dispatching order from dispatching ordering system,
Wherein, target dispatching order is dispatching order corresponding to measurement instrument to be signed for, and dispatching ordering system has for recording
The order to be dispensed and destination latitude and longitude information of corresponding relationship;Target latitude and longitude information is determined as first position by terminal device
Information.
Optionally, if the distance between first location information and second location information do not fall within target range threshold value,
Indicate that terminal device does not reach dispatching destination, order can not be signed for safely, and terminal device can pass through display reminding information
Come the position that prompt terminal equipment is currently located do not dispensing within the scope of dispatching corresponding to destination, and meter to be signed for
Tool can not be signed for.
Such as: after above-mentioned steps S208, do not fallen at a distance from first location information is between second location information
In the case where target range threshold value, terminal device determines that measurement instrument to be signed for signs for failure;Terminal device display reminding letter
Breath, wherein position of the prompt information for prompt terminal equipment to be currently located is not dispensing dispatching range corresponding to destination
Interior and to be signed for measurement instrument can not be signed for.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Additionally provide a kind of dispatching of measurement instrument in the present embodiment signs for device, is applied to terminal device, the device
For realizing above-described embodiment and preferred embodiment, the descriptions that have already been made will not be repeated.As used below, term
The combination of the software and/or hardware of predetermined function may be implemented in " module ".Although device is preferably described in following embodiment
It is realized with software, but the realization of the combination of hardware or software and hardware is also that may and be contemplated.
Fig. 4 is the structural block diagram for signing for device of measurement instrument dispatching according to an embodiment of the present invention, as shown in figure 4, should
Device includes:
Scan module 42, for scanning the two-dimensional code picture, wherein shown two-dimensional barcode information is used in two-dimension code image
Indicate the dispatching destination of measurement instrument to be signed for;
Module 44 is obtained, for obtaining the first location information for dispensing destination corresponding to two-dimensional barcode information;
Locating module 46 obtains second location information for positioning to the position that terminal device is currently located;
First determining module 48, for falling into target range at a distance from first location information is between second location information
In the case where threshold value, determine that measurement instrument to be signed for signs for success.
Optionally, obtaining module includes:
Resolution unit obtains two-dimensional barcode information for parsing two-dimension code image, wherein two-dimensional barcode information is to use target
What secret key pair two-dimensional code data obtained after being encrypted, two-dimensional code data is used to indicate the mark of dispatching destination;
Decryption unit obtains two-dimentional yardage for being decrypted using pre-stored target secret key pair two-dimensional barcode information
According to;
Acquiring unit, for obtaining first location information corresponding to the mark of dispatching destination.
Optionally, acquiring unit includes:
Subelement is obtained, for obtaining target longitude and latitude letter corresponding to target dispatching order from dispatching ordering system
Breath, wherein it is dispatching order corresponding to measurement instrument to be signed for that target, which dispenses order, and dispatching ordering system is for recording tool
There are the order to be dispensed and destination latitude and longitude information of corresponding relationship;
Subelement is determined, for target latitude and longitude information to be determined as first location information.
Optionally, above-mentioned apparatus further include:
Second determining module, for not falling within target range at a distance from first location information is between second location information
In the case where threshold value, determine that measurement instrument to be signed for signs for failure;
Display module is used for display reminding information, wherein prompt information is used for the position that prompt terminal equipment is currently located
Not within the scope of the dispatching corresponding to dispatching destination, and measurement instrument to be signed for can not be signed for.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any
Combined form is located in different processors.
It is described in detail below with reference to alternative embodiment of the present invention.
What alternative embodiment of the present invention provided a kind of dispatching of measurement instrument signs for method, and Fig. 5 is optional according to the present invention
The schematic diagram for signing for method of the measurement instrument dispatching of embodiment, as shown in figure 5, this method includes below scheme:
The first step, handheld terminal barcode scanning: dispatching personnel carrying hand-held mobile terminal reaches dispatching destination and signs for locating, and passes through
Place's two dimensional code is signed in hand-held mobile terminal scanning.
Second step, obtains dispatching destination longitude and latitude: the dispatching order that electronics is signed for is carried out according to dispatching personnel, from dispatching
Current order destination latitude and longitude information (MLonA, MLatA) is inquired in ordering system.
Third step obtains hand-held mobile terminal longitude and latitude: obtaining current handheld mobile terminal by GPS module built in equipment
Latitude and longitude information (MLonB, MLatB).
4th step, calculate from deviating from the position: server end calculates hand-held mobile terminal uploading position and dispatching destination is signed for
Locate position, according to the benchmark of 0 degree of warp, the positive value (Longitude) of east longitude degree of learning from else's experience, west longitude degree of learning from else's experience negative value (-
Longitude), north latitude takes 90- latitude value (90-Latitude), and south latitude takes 90+ latitude value (90+Latitude), then by upper
It states the two o'clock after processing and is counted as (MLonA, MLatA) and (MLonB, MLatB).So derived according to triangle, it is available
Calculate the following formula of two o'clock distance:
C=sin (MLatA) * sin (MLatB) * cos (MLonA-MLonB)+cos (MLatA) * cos (MLatB)
Distance=R*Arccos (C) * Pi/180
5th step, judgement: according to formula calculated result, end value >=2Km then deviates, hand-held mobile terminal prompt
It is not signing in range and can not signed for.End value≤2Km does not deviate then, and hand-held mobile terminal prompt is signed for into
Function.
By this alternative embodiment, the destination receipt information that generating can be included to two dimensional code before two dimensional code is encrypted
Information processing only just can be parsed correctly by hand-held mobile terminal application program, avoid information leakage;Dispatching is completed to pass through
When hand-held mobile terminal barcode scanning is signed for, current handheld terminal location information can be verified and sign for whether ground physical location occurs partially
From, if deviation distance beyond setting range, then can not be signed for, guarantee sign for the authentic and valid of process.
The papery that this alternative embodiment solves measurement instrument dispatching signs for the information delay of confirmation, dispenses to measurement instrument
It realizes whole process supervision, so that measurement instrument dispatching is signed for work efficient in time, provide and a kind of metering is reinforced based on two-dimension code safe
The electronic counter-sign system of utensil dispatching.
The system includes dispensing the two-dimensional code generation module of job order, hand-held mobile terminal, prefecture-level company's electronics to sign for marking
Label read the two-dimensional barcode information of measurement instrument dispatching job order by hand-held mobile terminal to obtain the measurement instrument bound therewith
Assets distribution information, and it is more right with dispatching task progress;Company, cities and counties device is obtained by the GPS positioning of hand-held mobile terminal
Tool receives address, and it is compared with the recruiting unit of dispatching task;Pass through the bar code identification facility of hand-held mobile terminal
Scanning recognition signs for label based on the electronics that two dimensional code is reinforced, and matches the appliance device recruiting unit of dispatching task;By hand-held
Mobile terminal reports the reception confirmation message of measurement instrument dispatching task in time, has effectively standardized measurement instrument distribution activity.
Warehouse is received with address and range of receiving maintenance, acquisition positioning company, counties and cities is received to company, cities and counties measurement instrument
Latitude and longitude information is reduced because signing for the problem of cannot normally handling etc. caused by position inaccurate.
Hand-held mobile terminal position longitude and latitude geography information and dispatching are obtained by the GPS positioning of hand-held mobile terminal
Mesh the place's of signing for information upload onto the server end, the warp that server end is configured according to the power supply unit acquisition of information database of upload
The geographical location that latitude information is put as a purpose, server end are signed for calculating the position that hand-held mobile terminal uploads and dispatching mesh
Locate position, according to the benchmark of 0 degree of warp, the positive value (Longitude) of east longitude degree of learning from else's experience, west longitude degree of learning from else's experience negative value (-
Longitude), north latitude takes 90- latitude value (90-Latitude), and south latitude takes 90+ latitude value (90+Latitude), then by upper
It states the two o'clock after processing and is counted as (MLonA, MLatA) and (MLonB, MLatB).So derived according to triangle, it is available
Calculate the following formula of two o'clock distance:
C=sin (MLatA) * sin (MLatB) * cos (MLonA-MLonB)+cos (MLatA) * cos (MLatB)
Distance=R*Arccos (C) * Pi/180
Calculate two o'clock distance, thus calculate hand-held mobile terminal position and dispense mesh sign for place position apart from model
It encloses, more than 2 kilometers, prompt dispatching receives position and do not receive address range in company, cities and counties on hand-held mobile terminal.
In this alternative embodiment, it is to pass through benefit that the electronics of the dispatching task two dimensional code and company, cities and counties that provide, which signs for label,
With asymmetric cryptographic technique, in addition digital signature, Digital Envelope Technology, transmission and authentication method are complete especially by following process
At data encapsulation: signing for the raw information that label uses to the electronics of dispatching task two dimensional code and company, cities and counties and use privately owned add
Even if key carries out, encryption forms unique encryption information write-in two dimensional code and electronics is signed for the encryption information in label and revealed
It goes out, outside can not also recover raw information without grasping key;Data verification: store encrypted electronic mark in the server
The private cipher key of label, what server received to send over determines whether for legal electronic tag data, then passes through key solution
It is in one's hands just to be signed for the raw information transmission that label uses by close initial data out for the electronics for dispensing task two dimensional code and company, cities and counties
It holds in palm machine terminal, for guaranteeing the safety of information.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein
The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps
Calculation machine program:
S1, terminal device scans two-dimension code image, wherein shown two-dimensional barcode information is used to indicate in two-dimension code image
The dispatching destination of measurement instrument to be signed for;
S2, terminal device obtain the first location information that destination is dispensed corresponding to two-dimensional barcode information;
S3, terminal device position the position that terminal device is currently located, and obtain second location information;
S4, in the case where target range threshold value is fallen at a distance from first location information is between second location information, eventually
End equipment determines that measurement instrument to be signed for signs for success.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read-
Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard
The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory
There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method
Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device
It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1, terminal device scans two-dimension code image, wherein shown two-dimensional barcode information is used to indicate in two-dimension code image
The dispatching destination of measurement instrument to be signed for;
S2, terminal device obtain the first location information that destination is dispensed corresponding to two-dimensional barcode information;
S3, terminal device position the position that terminal device is currently located, and obtain second location information;
S4, in the case where target range threshold value is fallen at a distance from first location information is between second location information, eventually
End equipment determines that measurement instrument to be signed for signs for success.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment
Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein
Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or
Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc.
With replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (10)
1. method is signed in a kind of measurement instrument dispatching characterized by comprising
Terminal device scans two-dimension code image, wherein in the two-dimension code image shown two-dimensional barcode information be used to indicate to
The dispatching destination for the measurement instrument signed for;
The terminal device obtains the first location information of the dispatching destination corresponding to the two-dimensional barcode information;
The position that the terminal device is currently located the terminal device positions, and obtains second location information;
In the case where falling into target range threshold value at a distance from the first location information is between the second location information, institute
It states terminal device and determines that the measurement instrument to be signed for signs for success.
2. the method according to claim 1, wherein the terminal device obtains corresponding to the two-dimensional barcode information
The first location information of the dispatching destination include:
The terminal device parses the two-dimension code image, obtains the two-dimensional barcode information, wherein the two-dimensional barcode information is to make
It is obtained after being encrypted with target secret key pair two-dimensional code data, the two-dimensional code data is used to indicate the dispatching destination
Mark;
The terminal device is decrypted using two-dimensional barcode information described in the pre-stored target secret key pair, obtains described two
Tie up code data;
The terminal device obtains the first location information corresponding to the mark of the dispatching destination.
3. according to the method described in claim 2, it is characterized in that, the terminal device obtains the mark of the dispatching destination
The corresponding first location information includes:
The terminal device obtains target latitude and longitude information corresponding to target dispatching order from dispatching ordering system, wherein
The target dispatching order is dispatching order corresponding to the measurement instrument to be signed for, and the dispatching ordering system is for remembering
Record the order to be dispensed and destination latitude and longitude information with corresponding relationship;
The target latitude and longitude information is determined as the first location information by the terminal device.
4. according to the method in any one of claims 1 to 3, which is characterized in that in the terminal device to the terminal
The position that equipment is currently located is positioned, after obtaining second location information, the method also includes:
The feelings of the target range threshold value are not fallen at a distance from the first location information is between the second location information
Under condition, the terminal device determines that the measurement instrument to be signed for signs for failure;
The terminal device display reminding information, wherein the prompt information is for prompting the terminal device to be currently located
Position is not within the scope of the dispatching corresponding to the dispatching destination, and the measurement instrument to be signed for can not be signed for.
5. device is signed in a kind of measurement instrument dispatching, which is characterized in that be applied to terminal device, comprising:
Scan module, for scanning the two-dimensional code picture, wherein shown two-dimensional barcode information is for referring in the two-dimension code image
Show the dispatching destination of measurement instrument to be signed for;
Module is obtained, for obtaining the first location information of the dispatching destination corresponding to the two-dimensional barcode information;
Locating module, the position for being currently located to the terminal device position, and obtain second location information;
First determining module, for fallen at a distance from the first location information is between the second location information target away from
In the case where threshold value, determine that the measurement instrument to be signed for signs for success.
6. device according to claim 5, which is characterized in that the acquisition module includes:
Resolution unit obtains the two-dimensional barcode information for parsing the two-dimension code image, wherein the two-dimensional barcode information is
It is obtained after being encrypted using target secret key pair two-dimensional code data, the two-dimensional code data is used to indicate the dispatching destination
Mark;
Decryption unit is obtained described for being decrypted using two-dimensional barcode information described in the pre-stored target secret key pair
Two-dimensional code data;
Acquiring unit, for obtaining the first location information corresponding to the mark of the dispatching destination.
7. device according to claim 6, which is characterized in that the acquiring unit includes:
Subelement is obtained, for obtaining target latitude and longitude information corresponding to target dispatching order from dispatching ordering system,
In, the target dispatching order is dispatching order corresponding to the measurement instrument to be signed for, and the dispatching ordering system is used
There is the order to be dispensed and destination latitude and longitude information of corresponding relationship in record;
Subelement is determined, for the target latitude and longitude information to be determined as the first location information.
8. device according to any one of claims 5 to 7, which is characterized in that described device further include:
Second determining module, it is described for not fallen at a distance from the first location information is between the second location information
In the case where target range threshold value, determine that the measurement instrument to be signed for signs for failure;
Display module is used for display reminding information, wherein the prompt information is for prompting the terminal device to be currently located
Position is not within the scope of the dispatching corresponding to the dispatching destination, and the measurement instrument to be signed for can not be signed for.
9. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer
Program is arranged to execute method described in any one of Claims 1-4 when operation.
10. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory
Sequence, the processor are arranged to run the computer program to execute side described in any one of Claims 1-4
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910441240.8A CN110197354A (en) | 2019-05-24 | 2019-05-24 | Method and device is signed in measurement instrument dispatching |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910441240.8A CN110197354A (en) | 2019-05-24 | 2019-05-24 | Method and device is signed in measurement instrument dispatching |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110197354A true CN110197354A (en) | 2019-09-03 |
Family
ID=67753076
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910441240.8A Pending CN110197354A (en) | 2019-05-24 | 2019-05-24 | Method and device is signed in measurement instrument dispatching |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110197354A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110852691A (en) * | 2019-12-19 | 2020-02-28 | 进佳科技(国际)有限公司 | Mail sign-in confirming system with receiver preset sign-in information |
CN110991583A (en) * | 2019-12-05 | 2020-04-10 | 贵州电网有限责任公司 | Power equipment management system based on APP and two-dimensional code and operation method thereof |
CN113269489A (en) * | 2021-05-19 | 2021-08-17 | 北京京东振世信息技术有限公司 | Signing method, signing device, terminal equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090124302A1 (en) * | 2000-12-22 | 2009-05-14 | Terahop Networks, Inc. | WIRELESS READER TAGS (WRTs) WITH SENSOR COMPONENTS IN ASSET MONITORING AND TRACKING SYSTEMS |
CN105354733A (en) * | 2015-10-21 | 2016-02-24 | 百度在线网络技术(北京)有限公司 | Acknowledgement authentication method and apparatus |
CN108805476A (en) * | 2017-04-27 | 2018-11-13 | 北京京东尚科信息技术有限公司 | Electronics signs for method and apparatus |
CN109377126A (en) * | 2018-10-11 | 2019-02-22 | 苏州亮磊知识产权运营有限公司 | Method and its system are signed in a kind of express delivery based on information sharing in advance |
-
2019
- 2019-05-24 CN CN201910441240.8A patent/CN110197354A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090124302A1 (en) * | 2000-12-22 | 2009-05-14 | Terahop Networks, Inc. | WIRELESS READER TAGS (WRTs) WITH SENSOR COMPONENTS IN ASSET MONITORING AND TRACKING SYSTEMS |
CN105354733A (en) * | 2015-10-21 | 2016-02-24 | 百度在线网络技术(北京)有限公司 | Acknowledgement authentication method and apparatus |
CN108805476A (en) * | 2017-04-27 | 2018-11-13 | 北京京东尚科信息技术有限公司 | Electronics signs for method and apparatus |
CN109377126A (en) * | 2018-10-11 | 2019-02-22 | 苏州亮磊知识产权运营有限公司 | Method and its system are signed in a kind of express delivery based on information sharing in advance |
Non-Patent Citations (2)
Title |
---|
陈振国: "《物联网环境下信任模型及其应用研究》", 31 March 2019, 北京交通大学出版社 * |
马骏等: "《物流组织与业务创新》", 31 October 2010, 中国物资出版社 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110991583A (en) * | 2019-12-05 | 2020-04-10 | 贵州电网有限责任公司 | Power equipment management system based on APP and two-dimensional code and operation method thereof |
CN110991583B (en) * | 2019-12-05 | 2022-04-15 | 贵州电网有限责任公司 | Power equipment management system based on APP and two-dimensional code and operation method thereof |
CN110852691A (en) * | 2019-12-19 | 2020-02-28 | 进佳科技(国际)有限公司 | Mail sign-in confirming system with receiver preset sign-in information |
CN113269489A (en) * | 2021-05-19 | 2021-08-17 | 北京京东振世信息技术有限公司 | Signing method, signing device, terminal equipment and storage medium |
CN113269489B (en) * | 2021-05-19 | 2024-03-08 | 北京京东振世信息技术有限公司 | Signing method and device, terminal equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103703480B (en) | Systems and methods for electronically signing for a delivered package | |
US10115069B2 (en) | Authenticating parcel consignees with indicia decoding devices | |
CN110197354A (en) | Method and device is signed in measurement instrument dispatching | |
CA2808267C (en) | Method for the verifiable delivery of an article | |
CN105678365B (en) | Two-dimensional code electronic ticket generating method and system, verification method and verification terminal | |
CN104495545B (en) | Electronic elevator maintenance supervision and management system and method for elevator maintenance based on dynamic two-dimensional codes | |
CN107392522A (en) | A kind of logistics information processing method and system | |
CN103198390A (en) | Goods picking and goods delivering reservation information data processing method and system based on two-dimensional code | |
BG64913B1 (en) | Method for verifying the validity of digital franking notes | |
CN110717698B (en) | Goods position tracking method, goods position tracking device, logistics management system and storage medium | |
CN103699989A (en) | Payment platform and payment method on basis of intelligent equipment | |
CN103929411B (en) | Information displaying method, terminal, safety server and system | |
CN106022673A (en) | Logistics information security encryption method based on identity authentication and system based on identity authentication | |
CN103178961B (en) | Safe information interaction method and related device | |
CN104050431A (en) | Self-signing method and self-signing device for RFID chips | |
CN105959265A (en) | Electronic form filling system and method thereof | |
CN108431865A (en) | It is limited in exposure delivery of relevant information in delivery process | |
CN107743065A (en) | Battery uses verification method, battery system and automobile | |
CN107358279B (en) | Express receiving and dispatching system and express receiving and dispatching method based on RFID | |
CN110519274A (en) | Block chain information transmission method, device, equipment and storage medium | |
EP1738509A2 (en) | System and method for session provision | |
CN108960724B (en) | Logistics method and system | |
CN104303198A (en) | Method and System for Enhancing the Security of Electronic Transactions | |
CN108334927A (en) | A kind of NFC receives single label and its method of payment | |
JP2006184980A (en) | Information distribution system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190903 |