Detailed Description
In the express logistics industry, in order to avoid the problem that the privacy of a receiver is revealed when recipient information is pasted on package outsourcing in a plaintext form, an express logistics consignment method using a two-dimensional code is provided.
In one scheme, when a sender delivers a package, recipient information (including the name, the mobile phone number, the address and the like of the recipient) can be filled in through a client, and then the client can automatically generate a two-dimensional code by using the recipient information filled in by the sender; or the client side can encrypt the addressee information filled by the sender, then generate a two-dimensional code based on the encrypted addressee information, send the two-dimensional code to an express company, and print and paste the two-dimensional code on a package by the express company; when the courier dispatches the package, the courier can check the information of the addressee by scanning the two-dimensional code to dispatch the package.
In another scheme, the client generates a two-dimensional code based on the addressee information filled by the sender, an effective time length can be preset, and a courier scans the two-dimensional code within the effective time length to normally check the addressee information and the addressee information; when the effective duration is exceeded, the courier scans the two-dimensional code again, and the information of the sender and the receiver cannot be checked.
However, the express logistics consignment method based on the two-dimensional code shown above still has the following defects:
on one hand, no matter the two-dimensional code is generated by directly using the recipient information or the two-dimensional code is generated by using the encrypted recipient information, since the information used for generating the two-dimensional code is the recipient information, the courier can directly check the recipient information and steal the recipient information in a copying or screenshot way. Similarly, if the recipient does not process the package outer package after signing for the package, but directly discards the package outer package, the privacy of the recipient may still be leaked.
On the other hand, effective duration is set for the two-dimensional code generated based on the recipient information filled by the sender, although the risk of recipient privacy disclosure can be reduced to some extent, the time duration of the effective duration is not easy to control due to the time period of logistics delivery of different express companies and the difference of the recipient addresses in the regions; if the effective time is set to be too long, the recipient still can discard the outer package at will, and the privacy of the user is leaked; if the effective time period is set to be short, the problem that the courier has not finished sending the package and the two-dimensional code is invalid can be caused.
In view of the above, the present application provides a logistics dispatch method based on an intelligent barcode, wherein when a dispatch person dispatches a package, the dispatch person can scan the intelligent barcode arranged on the package through a dispatch client, scan the barcode into a corresponding target page, and dynamically request recipient information from a dispatch server; when the code scanner is identified as a legal delivery user through the user identification of the code scanner carried in the request, the delivery server side can return the recipient information to the delivery client side, and then the delivery client side desensitizes the privacy information contained in the recipient information and displays the desensitized privacy information on the target page; meanwhile, after the receiver signs for the package, the intelligent bar code can be actively scanned through a universal scanning client, the delivery server is triggered to issue the failure verification code, and the receiver can actively fail the intelligent bar code by inputting the received failure verification code after the scanning client jumps to the target page;
on one hand, the delivery client dynamically requests the recipient information from the delivery server after scanning the intelligent bar code, the information used for generating the intelligent bar code is no longer the recipient information, and the recipient information is returned to the delivery client only when the delivery client identifies that the code scanner is a legal delivery user through the user identification of the code scanner carried in the request, so that the safety of the recipient information can be ensured to the maximum extent;
in the second aspect, when the delivery client requests the recipient information from the delivery server, a display mode is adopted for desensitizing and displaying the recipient privacy information contained in the recipient information, so that the recipient privacy leakage caused by malicious stealing of the recipient information by a courier during the delivery process of the package can be effectively avoided;
in the third aspect, after the recipient successfully signs the package, the intelligent bar code can be actively disabled by scanning the intelligent bar code again, the effective duration of the intelligent bar code can be set without any need, and therefore the problem that the recipient privacy is revealed because the recipient discards package outer packages at will after signing the package can be effectively avoided.
The present application is described below with reference to specific embodiments and specific application scenarios.
Referring to fig. 1, fig. 1 is a method for logistics dispatch based on smart bar code according to an embodiment of the present application, the method includes the following steps:
step 101, in response to the scanning operation of a delivery user for an intelligent bar code arranged on a package, a delivery client scans the code to enter a target page corresponding to the intelligent bar code and sends a recipient information acquisition request to a delivery server;
102, in response to a recipient information acquisition request sent by a delivery client, a delivery server returns recipient information corresponding to the intelligent bar code to the delivery client;
103, receiving recipient information returned by the delivery server by a delivery client, desensitizing recipient privacy information contained in the recipient information, and displaying the desensitized recipient information to the delivery user on the target page;
step 104, the scanning client responds to the scanning operation of the intelligent bar code after the recipient signs the package, scans the code to enter a target page corresponding to the intelligent bar code, and sends a bar code invalidation request to a delivery server;
step 105, the dispatch server side responds to a bar code invalidation request sent by the scanning client side and sends an invalidation verification code to the receiver;
step 106, the scanning client side obtains the failure verification code input by the receiver in the target page, and uploads the failure verification code to the delivery server side;
and step 107, the dispatch server receives the failure verification code uploaded by the scanning client, verifies the failure verification code, and sets the intelligent bar code to be failed when the failure verification code passes verification.
Referring to fig. 2, fig. 2 is a schematic diagram of another intelligent barcode-based logistics dispatch method according to an embodiment of the present application, where the method includes the following steps:
step 201, in response to the scanning operation of a delivery user for an intelligent bar code arranged on a package, a delivery client scans the code to enter a target page corresponding to the intelligent bar code and sends a recipient information acquisition request to a delivery server; the intelligent bar code is generated based on a URL address corresponding to the recipient information; the recipient information acquisition request comprises an HTTP request corresponding to the URL address;
step 202, receiving a recipient information acquisition request sent by a dispatch server side in response to a dispatch client side, and determining whether the received recipient information acquisition request carries a user identifier of a code scanner;
step 203, if the received recipient information acquisition request carries the user identification of the code scanner, identifying whether the code scanner is a legal delivery user or not based on the user identification, and returning corresponding recipient information to the delivery client when identifying that the code scanner is the legal delivery user;
and 204, receiving the recipient information returned by the delivery server by the delivery client, desensitizing the recipient privacy information contained in the recipient information, and displaying the desensitized recipient information to the delivery user on the target page. The delivery client can be special client software for the physical distribution packages developed by express companies; for example, an object item APP.
The dispatch server may be a server for providing services to a dispatch client, a server cluster, or a logistics dispatch platform built based on the server cluster.
The intelligent bar code can comprise a one-dimensional bar code (commonly called bar code), a two-dimensional bar code (commonly called two-dimensional bar code), or a bar code which is derived based on the one-dimensional bar code and the two-dimensional bar code and adopts other decoding modes; in this example, the intelligent barcode may be generated by using the access address of the recipient information instead of directly using the recipient information as the generation information of the intelligent barcode;
in one embodiment, the smart barcode may be a barcode generated based on a URL (Uniform Resource Locator) address of the recipient information. In this case, the recipient information acquisition request may be an HTTP request corresponding to the URL address.
The addressee information filled by the sender when sending the package can be uniformly stored in an addressee information database at the side of the dispatch server. The service server can respectively generate an accessible URL address for each piece of recipient information stored in the database based on the own access domain name information, the storage directory of the recipient information, the file name and other information.
After the corresponding URL address is generated for each recipient information stored in the database, the dispatch server may further generate a corresponding intelligent barcode for each recipient information according to the generated URL address. When a package sent by a sender arrives at an express company, the express company can print an intelligent bar code generated based on a URL address of recipient information of the package, and then the intelligent bar code is pasted on an outer package of the package for logistics transportation.
In the logistics delivery stage, when a delivery person delivers a package, the delivery person can use the delivery client to scan the intelligent bar code, obtain a corresponding URL address, scan the code to enter a target page corresponding to the URL address, construct an HTTP request based on the URL address and send the HTTP request to the delivery server, so as to request the recipient information corresponding to the URL address from the delivery server.
In the illustrated embodiment, in order to fully authenticate the identity of the dispatch personnel, when the dispatch client constructs an HTTP request based on the URL address, the HTTP request may also carry the user identifier of the dispatch personnel; for example, the user identifier may be a login account used by a dispatcher when the dispatcher logs into the dispatch client.
In this case, after the dispatch client scans the smart barcode, the dispatch client may obtain a login account of the dispatch client, then construct an HTTP request based on the scanned URL address and the obtained login account, and then send the HTTP request to the dispatch server, so that the dispatch server may identify whether the scanner is a valid dispatch client based on the login account carried in the HTTP request after receiving the HTTP request.
Of course, in practical applications, the generation information used for generating the smart barcode may be a unique identifier (e.g., a character string) corresponding to the URL address of the recipient information, in addition to the URL address of the recipient information described above.
In this case, after the dispatch personnel uses the dispatch client to scan the intelligent barcode, the dispatch client may construct an inquiry request based on the special identifier, and transmit the special identifier to the dispatch server, and the dispatch server may inquire the corresponding URL address based on the special identifier, and then return the inquired recipient information corresponding to the URL address to the dispatch client, and the detailed implementation process is not described in detail.
The following description will be given taking as an example a barcode generated based on the URL address of the recipient information as the smart barcode.
In this example, after receiving an HTTP request sent by a dispatch client by scanning an intelligent barcode on a package, a dispatch server may first detect whether the HTTP request carries a login account (i.e., a user identifier of a scanner) used by a dispatch person to log in the dispatch client; if the HTTP request carries a login account, the HTTP request is a receiver information acquisition request sent by a delivery person through scanning the intelligent bar code by a delivery client;
in this case, the dispatch server may parse the HTTP request, obtain the URL address carried in the HTTP request, and the login account used by the dispatch personnel to log in the dispatch client.
On one hand, the dispatch server can match the login account number carried in the HTTP request with the login account number of the legal dispatch personnel in the system to identify whether the dispatch personnel corresponding to the login account number are legal dispatch personnel;
on the other hand, if the dispatch personnel corresponding to the login account carried in the HTTP request is identified as legal dispatch personnel, the URL address carried in the HTTP request may be further analyzed, and the recipient information indicated by the URL address may be read from the recipient information database and then returned to the dispatch client.
In this example, after the delivery client scans the smart barcode arranged on the package, scans the barcode and enters a target page corresponding to the URL address of the smart barcode, if the HTTP request is constructed to successfully request the corresponding recipient information from the delivery server, the delivery client may display the received recipient information in the target page after receiving the recipient information returned by the delivery server, so that the delivery personnel may complete delivery by viewing the displayed recipient information in the target page.
Further, in order to improve the information security when the recipient information is displayed in the target page, before displaying the recipient information returned by the delivery server in the target page, the delivery client may perform desensitization processing on the recipient privacy information (such as the name and the mobile phone number of the recipient) included in the recipient information, and then display the desensitized recipient information in the target page.
Desensitization processing is carried out on the recipient information, and the desensitization processing refers to a process of converting sensitive data (such as recipient names and mobile phone numbers) which are easy to leak in the recipient information into unreal data which are not easy to leak based on a certain rule; for example, taking the information such as the name of the recipient, the mobile phone number and the like contained in the recipient information as an example, when the delivery client performs desensitization processing on the information such as the name of the recipient, the mobile phone number and the like, the special characters can be adopted to replace the key characters in the name of the recipient and the mobile phone number; for example, desensitization of the recipient name "zhang san" may be handled as "zhang xi", or the number of digits specified in the recipient phone number may be masked instead using special characters.
In addition, in order to further prevent the dispatching personnel from stealing the information of the addressees by illegal means, when the desensitized information of the addressees is displayed to the dispatching personnel on the target page by the dispatching client, the screenshot function of the terminal equipment (such as a smart phone) where the dispatching client is located can be synchronously forbidden; and forbidding the copying operation of the receiver information displayed in the target page.
By the method, on one hand, the privacy data contained in the recipient information is desensitized, so that the information safety of the recipient information during display can be improved; on the other hand, when the recipient information is displayed, the screenshot function of the terminal equipment where the delivery client is located is forbidden, and the copying operation aiming at the recipient information displayed in the target page is forbidden, so that delivery personnel can be fundamentally prevented from intercepting the recipient information through illegal means such as screenshot, copying and the like.
In this example, because the dispatch person still needs to normally contact the recipient based on the contact information in the recipient information in the dispatch process, after desensitization processing is performed on the privacy information in the recipient information, the dispatch person may not completely check information such as the contact information reserved by the recipient in the recipient information, and thus the problem that normal contact with the recipient cannot be performed is caused.
In order to deal with the problem, when the code of the delivery client enters the target page and the desensitized receiver information is displayed on the target page, a user option for automatically calling the receiver can be synchronously output in the target page; for example, the user option may be a "call recipient" function button output in the user interface of the dispatch client.
When the sender needs to normally contact the receiver, the user option can be triggered; for example, a courier may click on the user option; after the dispatch client detects the trigger operation of the dispatch personnel for the user option, the dispatch client can automatically initiate a call to the receiver based on the contact information of the receiver which is not desensitized and is stored in advance by the dispatch client, so that the dispatch personnel can still normally contact the receiver after the contact information of the receiver is desensitized.
The dispatch client side can automatically send a call to the receiver and then synchronously clear the call record when the call is ended, wherein the dispatch client side usually leaves a call record of response in the dispatch client side when the call is started to the receiver, so that the reason that a dispatcher can further prevent the dispatcher from illegally obtaining the contact way of the receiver is further avoided.
Therefore, by the method, the situation that the contact information of the addressee cannot be obtained by the addressee in the whole dispatching process can be ensured, and the privacy of the addressee is ensured to the maximum extent.
In this example, except that the dispatch personnel can actively request the recipient information from the dispatch server by scanning the intelligent barcode through the dispatch client, the recipient can also actively scan the intelligent barcode to trigger the dispatch server to disable the intelligent barcode after signing for the package, so that the user privacy disclosure possibly caused by the recipient discarding the package outer package at will can be avoided.
Specifically, when the delivery personnel successfully deliver the package to the recipient, and after the recipient finishes signing, the recipient can actively scan the intelligent bar code arranged on the package through the scanning client to trigger the delivery server to disable the intelligent bar code.
The scanning client may refer to client software for scanning the smart barcode; for example, the scanning client may be a universal scanning APP; that is, in this example, for the recipient, a universal code scanning tool can be used, that is, the invalidation operation for the intelligent barcode can be completed without separately developing corresponding client software for the recipient.
After a recipient uses a scanning client to actively scan the intelligent bar code arranged on the package, the scanning client can still obtain the URL address corresponding to the intelligent bar code at the moment, the code is scanned into the target page corresponding to the URL address, and then an HTTP request is constructed based on the URL address and sent to a delivery server, so that invalid operation aiming at the intelligent bar code is actively initiated to the delivery client.
Compared with the HTTP request constructed by the dispatch client after the dispatch personnel uses the dispatch client to scan the intelligent bar code, the HTTP request constructed by the scanning client can not carry the user identification of the code scanner (namely the dispatch personnel) in the HTTP request constructed by the scanning client after the receiver uses the scanning client to scan the intelligent bar code.
In this example, after receiving the HTTP request sent by the scanning client, the dispatch server may still detect whether the HTTP request carries a login account (i.e., a user identifier of the scanner) used by a dispatch person to log in the dispatch client; if the HTTP request carries a login account, the HTTP request is a receiver information acquisition request sent by a delivery person through scanning the intelligent bar code by a delivery client; on the contrary, if the HTTP request does not carry the login account, it indicates that the HTTP request is a barcode invalidation request issued by the recipient through scanning the smart barcode by the scanning client.
Of course, in addition to the above-described implementation that the dispatch server may distinguish whether the received HTTP request is a recipient information acquisition request or a barcode invalidation request based on whether the received HTTP request carries a login account of a scanner, in practical applications, the dispatch server may also distinguish the identity of a barcode scanner based on the type of the login account carried in the HTTP request, and further determine whether the received HTTP request is a recipient information acquisition request or a barcode invalidation request;
for example, in one embodiment, the dispatch server may enable different account systems for the dispatch person and the recipient, and the dispatch person and the recipient may respectively log in the dispatch client using different login accounts; for example, a courier may use an account number inside a courier company, while a recipient may use an online registered public account number.
In this case, both the delivery person and the recipient can use a special delivery client developed by an express company to complete the scanning operation of the intelligent barcode, and after the scanning is completed, both the delivery person and the recipient can carry a login account used for logging in the delivery client in the constructed HTTP request; on the side of the dispatch server, the identity of the code scanner can be determined based on the type of the login account carried in the HTTP request, and then the type of the received HTTP request is determined; for example, if the login account carried in the HTTP request is an internal account of an express company, it may be determined that the HTTP request is a normal recipient information acquisition request; conversely, if the login account carried in the HTTP request is a public account registered online by the recipient, it may be determined that the HTTP request is a barcode deactivation request.
In this example, after determining that the received HTTP request is a barcode failure request, the dispatch server:
on one hand, the invalid flow of the intelligent bar code can be immediately triggered, and a failure verification code is issued to the receiver based on the contact way reserved by the receiver in the receiver information;
for example, the dispatch service side can randomly generate a failure verification code based on a certain random algorithm, then obtain a mobile phone number reserved by a receiver in the receiver information, and send the generated failure verification code to the receiver in the form of a short message.
On the other hand, prompt information for prompting the receiver to input the failure verification in the target page and a corresponding input component can be returned to the scanning client; for example, the prompt may be a text prompt to "please enter received validation" and the input component may be a corresponding input box.
In this example, after receiving the prompt message and the input component issued by the delivery server, the scanning client may display the received prompt message and the input component to the recipient in the target page to prompt the recipient to input the received invalidation identifying code in the target page to complete the invalidation operation of the intelligent barcode.
After the receiver receives the invalidation verification code issued by the delivery server, the received invalidation verification code can be input into the bar code invalidation page, and the scanning client can obtain the invalidation verification code input by the receiver in the target page, and then submit the obtained invalidation verification code to the delivery server for further verification.
In this example, after receiving the failure verification code submitted by the scanning client, the delivery server can verify that the failure verification code submitted by the recipient through the scanning client is consistent with the failure verification code issued to the recipient by the delivery server; if the two are consistent, the failure verification code passes verification at the moment, and the dispatch service end can set the intelligent bar code to be failed locally.
When the intelligent bar code is set to be invalid, the delivery server side can directly delete the information of the addressee corresponding to the intelligent bar code, and can also mark the information of the addressee corresponding to the intelligent bar code as an invalid state;
for example, in one implementation, after the validation of the invalidation validation code passes, the dispatch server may search recipient information corresponding to the URL of the intelligent barcode in a recipient information database, and then directly delete the searched recipient information to invalidate the intelligent barcode;
in another implementation manner, after the validation of the invalidation validation code is passed, the delivery server may also mark recipient information corresponding to the URL address of the intelligent barcode stored in the recipient information database as an invalidation state to invalidate the intelligent barcode.
In this example, after the recipient signs for the package, the intelligent barcode is successfully set as invalid through the above-shown intelligent barcode invalidation process, and after the dispatch server receives again the HTTP request sent by the user through the dispatch client or the scanning client scanning the intelligent barcode, the dispatch server may first determine whether the intelligent barcode is invalid;
for example, the dispatch server may determine whether the recipient information corresponding to the URL address requested by the HTTP request can be found in the recipient information database; if the corresponding recipient information cannot be found, the intelligent bar code is in an invalid state; similarly, the dispatch server may also determine whether the recipient information corresponding to the URL address requested by the HTTP request, stored in the recipient information database, is marked as an invalid state; if yes, the intelligent bar code is in an invalid state.
In this example, if the smart barcode is set to be invalid, the dispatch server may return a prompt message that the smart barcode is invalid to the dispatch client or the scanning client, so that the dispatch client or the scanning client may display the prompt message on a target page after scanning the code into the target page corresponding to the smart barcode.
Of course, if the smart barcode is not set to be invalid, for the received HTTP request sent by the dispatch client, the dispatch server may still normally return the corresponding recipient information to the dispatch client according to the implementation process shown above;
correspondingly, for the received HTTP request sent by the dispatch client, the dispatch client may also normally execute the invalid flow for the intelligent barcode according to the implementation process shown above, and the specific implementation process is not described again.
According to the embodiments, in the technical scheme shown in the application, when a delivery person delivers a package, the delivery person can scan the intelligent bar code arranged on the package through the delivery client, scan the intelligent bar code into the corresponding target page, and dynamically request the recipient information from the delivery server; when the code scanner is identified as a legal delivery user through the user identification of the code scanner carried in the request, the delivery server side can return the recipient information to the delivery client side, and then the delivery client side desensitizes the privacy information contained in the recipient information and displays the desensitized privacy information on the target page; meanwhile, after the receiver signs for the package, the intelligent bar code can be actively scanned through a universal scanning client, the delivery server is triggered to issue the failure verification code, and the receiver can actively fail the intelligent bar code by inputting the received failure verification code after scanning the code of the client and entering the target page;
on one hand, the delivery client dynamically requests the recipient information from the delivery server after scanning the intelligent bar code, the information used for generating the intelligent bar code is no longer the recipient information, and the recipient information is returned to the delivery client only when the delivery client identifies that the code scanner is a legal delivery user through the user identification of the code scanner carried in the request, so that the safety of the recipient information can be ensured to the maximum extent;
in the second aspect, when the delivery client requests the recipient information from the delivery server, a display mode is adopted for desensitizing and displaying the recipient privacy information contained in the recipient information, so that the recipient privacy leakage caused by malicious stealing of the recipient information by a courier during the delivery process of the package can be effectively avoided;
on the other hand, after the recipient successfully signs the package, the intelligent bar code can be actively disabled by scanning the intelligent bar code again, the effective duration of the intelligent bar code can be set without any need, and therefore the problem that the recipient privacy is revealed because the recipient discards package outer packages at will after signing the package can be effectively avoided.
Corresponding to the method embodiment, the application also provides an embodiment of the device.
Referring to fig. 3, the present application provides a logistics dispatching device 30 based on intelligent bar codes, which is applied to a dispatching server; referring to fig. 4, the hardware architecture related to the dispatch server of the logistics dispatch device 30 based on the intelligent barcode generally includes a CPU, a memory, a non-volatile memory, a network interface, an internal bus, and the like; taking a software implementation as an example, the logistics hardware dispatching device 30 based on the smart barcode can be generally understood as a computer program loaded in a memory, and a logic device formed by combining software and hardware after being run by a CPU, where the device 30 includes:
the first returning module 301 is configured to, in response to a recipient information obtaining request sent by a delivery client after scanning is performed on an intelligent barcode arranged on a package, return recipient information corresponding to the intelligent barcode to the delivery client, so that after the delivery client scans a code into a target page corresponding to the intelligent barcode, desensitize recipient privacy information included in the recipient information and display the desensitized recipient privacy information on the target page;
the first sending module 302 is used for responding to a bar code invalidation request sent by a scanning client after a recipient signs the package and scans the intelligent bar code, and sending an invalidation verification code to the recipient, so that the recipient inputs the invalidation verification code on a target page after the scanning client scans the code and enters the target page corresponding to the intelligent bar code;
the first invalidation module 303 receives the invalidation authentication code uploaded by the scanning client and input by the recipient, performs authentication on the invalidation authentication code, and sets the smart barcode to be invalidated when the invalidation authentication code passes authentication.
In this example, the intelligent barcode is generated based on a URL address corresponding to the recipient information; the recipient information acquisition request and the barcode invalidation request comprise HTTP requests corresponding to the URL address; the recipient information acquisition request carries a user identifier of a code scanner;
the first returning module 301 is specifically configured to:
determining whether the received HTTP request carries the user identification of the code scanner;
and if the received HTTP request carries the user identification of the code scanner, identifying whether the code scanner is a legal delivery user or not based on the user identification, and returning corresponding recipient information to the delivery client when the code scanner is identified to be the legal delivery user.
In this example, the first sending module 302 is specifically configured to:
if the received HTTP request does not carry the user identification of the code scanner; or carrying a user identifier, identifying that the code scanner is a legal recipient user based on the user identifier, and sending a failure verification code to the recipient based on the contact way of the recipient recorded in the recipient information.
In this example, the first failure module 303 is specifically configured to:
marking the recipient information as a failure state;
or deleting the recipient information.
In this example, the first returning module 301 is further configured to:
when a recipient information acquisition request sent by a delivery client after scanning is executed on an intelligent bar code arranged on a package is received, determining whether the intelligent bar code is invalid or not;
and if the intelligent bar code is invalid, returning a prompt message that the intelligent bar code is invalid to the dispatch client, so that the dispatch client displays the prompt message on a target page after scanning the code and entering the target page corresponding to the intelligent bar code.
Referring to fig. 5, the present application provides a logistics dispatching device 50 based on intelligent barcode, applied to a dispatching server; referring to fig. 6, a hardware architecture related to a dispatch server of the logistics dispatch device 50 carrying the intelligent barcode generally includes a CPU, a memory, a non-volatile memory, a network interface, an internal bus, and the like; taking a software implementation as an example, the logistics hardware dispatching device 50 based on the smart barcode can be generally understood as a computer program loaded in a memory, and a logic device formed by combining software and hardware after being run by a CPU, where the device 50 includes:
a first receiving module 501, configured to receive a recipient information obtaining request sent by a delivery client after scanning an intelligent barcode disposed on a package; the intelligent bar code is generated based on a URL address corresponding to the recipient information; the recipient information acquisition request comprises an HTTP request corresponding to the URL address;
the determining module 502 is configured to determine, in response to the recipient information obtaining request sent by a dispatch client, whether the received recipient information obtaining request carries a user identifier of a code scanner;
a second returning module 503, if the received recipient information obtaining request carries the user identifier of the code scanner, identifying whether the code scanner is a legal delivery user based on the user identifier, and returning corresponding recipient information to the delivery client when the code scanner is identified to be the legal delivery user, so that the delivery client performs desensitization processing on the recipient privacy information contained in the recipient information and displays the information on the target page after the code scanning enters the target page corresponding to the intelligent barcode.
In this example, the first receiving module 501 further:
receiving a bar code invalidation request sent by a scanning client after a receiver signs the package and scans the intelligent bar code; wherein the barcode invalidation request comprises an HTTP request corresponding to the URL address;
the apparatus 50 further comprises:
a second sending module 504 (not shown in fig. 5), configured to send a failure verification code to the recipient in response to the barcode failure request sent by the scanning client, so that the recipient inputs the failure verification code on a target page corresponding to the smart barcode after the barcode is scanned by the scanning client into the target page;
and a second invalidation module 505 (not shown in fig. 5) for receiving the invalidation authentication code uploaded by the scanning client and input by the recipient, performing authentication on the invalidation authentication code, and setting the smart barcode to be invalidated when the invalidation authentication code passes authentication.
In this example, the second sending module 504:
if the received bar code invalidation request does not carry the user identification of the code scanner; or carrying a user identifier, identifying that the code scanner is a legal recipient user based on the user identifier, and sending a failure verification code to the recipient based on the contact way of the recipient recorded in the recipient information.
Referring to fig. 7, the present application provides a logistics dispatching device 70 based on intelligent bar code, applied to a dispatching client; referring to fig. 8, the hardware architecture related to the dispatch client of the logistics dispatch device 70 based on the intelligent barcode generally includes a CPU, a memory, a non-volatile memory, a network interface, an internal bus, and the like; taking a software implementation as an example, the logistics hardware dispatching device 70 based on the smart barcode can be generally understood as a computer program loaded in a memory, and a logic device formed by combining software and hardware after being run by a CPU, where the device 70 includes:
the third sending module 701 is used for responding to the scanning operation of the delivery user on the intelligent bar code arranged on the package, scanning the code to enter a target page corresponding to the intelligent bar code, and sending a receiver information acquisition request to the delivery server;
a second receiving module 702, configured to receive recipient information returned by the dispatch server, and perform desensitization processing on recipient privacy information included in the recipient information;
the display module 703 is configured to display the desensitized recipient information to the dispatch user on the target page.
In this example, the intelligent barcode is generated based on a URL address corresponding to the recipient information; the recipient information acquisition request comprises an HTTP request corresponding to the URL address; wherein, the recipient information acquisition request carries the user identification of the delivery user
The third sending module 701 is specifically configured to:
acquiring a user identifier of the dispatch user;
generating an HTTP request based on the URL address corresponding to the recipient information and the user identification of the delivery user;
and sending the generated HTTP request to the dispatch server.
In this example, the display module 703 is further configured to:
when the desensitized recipient information is displayed to the dispatch user on the target page, the screenshot function of the terminal equipment where the dispatch client is located is forbidden; and disabling a copy operation for recipient information displayed in the target page.
In this example, the recipient privacy information includes a contact address of the recipient;
the display module 703 is further configured to:
outputting a user option for automatically calling a recipient in the target page;
and when the triggering operation of the delivery user for the user option is detected, automatically initiating a call to the recipient based on the contact way of the recipient, and clearing a call record when the call is finished.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.