Connection method and device for unmanned vehicle and code scanning gun, equipment and medium

By receiving the transmission instructions of the code scan gun and establishing a QR code connection, the problem of cumbersome connection between the unmanned vehicle and the code scan gun is solved, and the simultaneous connection between multiple code scan guns and the unmanned vehicle is realized and the code information is accurately transmitted. Improves operational efficiency.

CN119095195APending Publication Date: 2024-12-06BEIJING JINGDONG YUANSHENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411194879.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing unmanned vehicles and Bluetooth code scanning guns are cumbersome to operate, and it is impossible to achieve arbitrary switching between one shot and multiple code scanning guns in one car at the same time.

Method used

By receiving the transmission command of the QR code scan gun, the target QR code scan gun is determined and the reminder information is displayed; the QR code connection information is established to establish a connection with the QR code scan gun, and multiple QR code scan guns are connected to the unmanned vehicle at the same time to realize the code information Accurate transmission.

Benefits of technology

It simplifies the connection process between the unmanned vehicle and the code scanning gun, supports the simultaneous connection between multiple code scanning guns and the unmanned vehicle, improving operational efficiency and accurate transmission of code information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119095195A_ABST
    Figure CN119095195A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a connection method and device for an unmanned vehicle and a code scanning gun, equipment and a medium. In order to solve the problems that in the related technology, operation is tedious, and random switching of one gun to multiple vehicles and simultaneous loading of multiple code scanning guns of one vehicle cannot be achieved, the connection method of the unmanned vehicle and the code scanning gun comprises the steps that when a transmission instruction of any connected code scanning gun is received, the code scanning gun is determined as a target code scanning gun; and receiving code information transmitted by the at least one target code scanning gun.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of device connection and information transmission, and in particular to a method, device, equipment and medium for connecting an unmanned vehicle and a barcode scanning gun. Background Art

[0002] With the development of science and technology, unmanned vehicle delivery has been used in more and more scenarios. In related technologies, unmanned vehicles need to load express or goods when used in delivery scenarios and sales scenarios. Manually entering the express waybill number or product barcode is relatively inefficient. Therefore, a handheld Bluetooth barcode scanner is often used to quickly scan the goods for loading. The unmanned vehicle loads the goods and scans the barcode / QR code of the goods with a Bluetooth barcode scanner to enter the order number.

[0003] However, the relationship between Bluetooth barcode scanners and vehicles is limited by the application scenario, and generally does not adopt a one-to-one binding mode. The existing binding operation is based on the basic Bluetooth connection method, which is cumbersome to operate and cannot achieve arbitrary switching of one gun to multiple vehicles and simultaneous loading of multiple barcode scanners on one vehicle. Summary of the invention

[0004] The present disclosure provides a method, device, equipment and medium for connecting an unmanned vehicle and a barcode scanner to solve the technical problems in the related technology that the operation is cumbersome and it is impossible to switch one gun to multiple vehicles at will and load multiple barcode scanners on one vehicle at the same time. The technical solution of the present disclosure is as follows:

[0005] In a first aspect, an embodiment of the present disclosure provides a method for connecting an unmanned vehicle and a barcode scanner, which is applied to an unmanned vehicle and includes:

[0006] When receiving a transmission instruction from any connected barcode scanner, determining the barcode scanner as a target barcode scanner;

[0007] Receive code information transmitted by at least one target barcode scanner.

[0008] In a possible implementation, in the method provided by the embodiment of the present invention, upon receiving a transmission instruction from any connected barcode scanner, after determining that the barcode scanner is a target barcode scanner, the method further includes:

[0009] Display reminder information, which is used to indicate that the target barcode scanner will send code information to the unmanned vehicle.

[0010] In a possible implementation, in the method provided by the embodiment of the present invention, the method further includes:

[0011] Display the connection status of the unmanned vehicle and the QR code connection information. The QR code connection information is used to connect the barcode scanner that scans the QR code connection information to the unmanned vehicle;

[0012] Based on the QR code connection information, a connection is established with a barcode scanner that scans the QR code connection information.

[0013] In a second aspect, an embodiment of the present disclosure provides a method for connecting an unmanned vehicle to a barcode scanner, which is applied to the barcode scanner and includes:

[0014] Determine a target unmanned vehicle among at least one unmanned vehicle connected to the barcode scanner;

[0015] By scanning the QR code of the object to be scanned, the code information of the object is obtained;

[0016] Send the code information to the target unmanned vehicle.

[0017] In a possible implementation, in the method provided by an embodiment of the present invention, determining a target unmanned vehicle in at least one unmanned vehicle connected to a barcode scanner gun includes:

[0018] Display at least one unmanned vehicle currently connected to the barcode scanner;

[0019] In response to a selection operation by the user, a target unmanned vehicle selected by the user is determined.

[0020] In a possible implementation, in the method provided by an embodiment of the present invention, determining a target unmanned vehicle in at least one unmanned vehicle connected to a barcode scanner gun includes:

[0021] Get the location information of each unmanned vehicle connected to the barcode scanner;

[0022] Based on the location information of each unmanned vehicle, the unmanned vehicle closest to the barcode scanning gun is determined as the target unmanned vehicle.

[0023] In a possible implementation, in the method provided by an embodiment of the present invention, determining a target unmanned vehicle in at least one unmanned vehicle connected to a barcode scanner gun includes:

[0024] The unmanned vehicle that was last connected to the barcode scanner gun is determined to be the target unmanned vehicle.

[0025] In a possible implementation, in the method provided by the embodiment of the present invention, the method further includes:

[0026] Get the location information of each unmanned vehicle connected to the barcode scanner;

[0027] Based on the location information of each unmanned vehicle, if the distance between any first unmanned vehicle and the barcode scanner is smaller than the distance between the target unmanned vehicle and the barcode scanner, the user is asked whether to switch the target barcode scanner, and when the user instructs to switch, the first unmanned vehicle is determined as the target unmanned vehicle.

[0028] In a possible implementation, in the method provided in the embodiment of the present invention, the barcode scanner is connected to the unmanned vehicle in the following manner:

[0029] Scan the code information displayed by the unmanned vehicle to be connected;

[0030] A connection is established with the unmanned vehicle to be connected based on the code information.

[0031] In a possible implementation, in the method provided by the embodiment of the present invention, the method further includes:

[0032] When scanning the QR code displayed by any second unmanned vehicle connected to the barcode scanner, the connection with the second unmanned vehicle is disconnected.

[0033] In a possible implementation, in the method provided by the embodiment of the present invention, the method further includes:

[0034] When scanning the QR code displayed by the target unmanned vehicle, the connection with the second unmanned vehicle is disconnected.

[0035] In a possible implementation, in the method provided by the embodiment of the present invention, the method further includes:

[0036] When scanning any third unmanned vehicle other than the target unmanned vehicle, the third unmanned vehicle is determined as the target unmanned vehicle.

[0037] In a third aspect, the disclosed embodiment further provides a connection device between an unmanned vehicle and a barcode scanner, including:

[0038] A first determination unit is used to determine that the barcode scanner is a target barcode scanner when receiving a transmission instruction from any connected barcode scanner;

[0039] The receiving unit is used to receive code information transmitted by at least one target barcode scanner.

[0040] In a possible implementation, the device provided in the embodiment of the present invention further includes a display unit, which is used to:

[0041] Display reminder information, which is used to indicate that the target barcode scanner will send code information to the unmanned vehicle.

[0042] In a possible implementation manner, in the device provided by the embodiment of the present invention, the display unit is further used for:

[0043] Display the connection status of the unmanned vehicle and the QR code connection information. The QR code connection information is used to connect the barcode scanner that scans the QR code connection information to the unmanned vehicle;

[0044] Based on the QR code connection information, a connection is established with a barcode scanner that scans the QR code connection information.

[0045] In a fourth aspect, the disclosed embodiment further provides a connection device between an unmanned vehicle and a barcode scanning gun, including:

[0046] A determination unit, configured to determine a target unmanned vehicle among at least one unmanned vehicle connected to the barcode scanning gun;

[0047] A search unit, used to obtain code information of the object by scanning the QR code of the object to be scanned;

[0048] The sending unit is used to send the code information to the target unmanned vehicle.

[0049] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit is specifically configured to:

[0050] Display at least one unmanned vehicle currently connected to the barcode scanner;

[0051] In response to a selection operation by the user, a target unmanned vehicle selected by the user is determined.

[0052] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit is specifically configured to:

[0053] Get the location information of each unmanned vehicle connected to the barcode scanner;

[0054] Based on the location information of each unmanned vehicle, the unmanned vehicle closest to the barcode scanning gun is determined as the target unmanned vehicle.

[0055] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit is specifically configured to:

[0056] The unmanned vehicle that was last connected to the barcode scanner gun is determined to be the target unmanned vehicle.

[0057] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit is further configured to:

[0058] Get the location information of each unmanned vehicle connected to the barcode scanner;

[0059] Based on the location information of each unmanned vehicle, if the distance between any first unmanned vehicle and the barcode scanner is smaller than the distance between the target unmanned vehicle and the barcode scanner, the user is asked whether to switch the target barcode scanner, and when the user instructs to switch, the first unmanned vehicle is determined as the target unmanned vehicle.

[0060] In a possible implementation, in the device provided by the embodiment of the present invention, the barcode scanner is connected to the unmanned vehicle in the following manner:

[0061] Scan the code information displayed by the unmanned vehicle to be connected;

[0062] A connection is established with the unmanned vehicle to be connected based on the code information.

[0063] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit is further configured to:

[0064] When scanning the QR code displayed by any second unmanned vehicle connected to the barcode scanner, the connection with the second unmanned vehicle is disconnected.

[0065] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit is further configured to:

[0066] When scanning the QR code displayed by the target unmanned vehicle, the connection with the second unmanned vehicle is disconnected.

[0067] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit is further configured to:

[0068] When scanning any third unmanned vehicle other than the target unmanned vehicle, the third unmanned vehicle is determined as the target unmanned vehicle.

[0069] In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:

[0070] processor;

[0071] a memory for storing processor-executable instructions;

[0072] The processor is configured to execute instructions to implement the method of the first aspect.

[0073] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method of the first aspect when executed by a processor.

[0074] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, comprising a computer program / instructions, wherein the computer program / instructions implement the method described in the first aspect when executed by a processor.

[0075] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0076] In the embodiment of the present disclosure, when receiving a transmission instruction from any connected barcode scanner, the barcode scanner is first determined to be a target barcode scanner, and then the code information transmitted by at least one target barcode scanner is received. A connection scheme between an unmanned vehicle and a barcode scanner is provided, so that the unmanned vehicle supports simultaneous connection with multiple barcode scanners, and the code information is accurately transmitted to the unmanned vehicle.

[0077] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0079] Figure 1 A schematic diagram of the structure of a barcode scanning gun provided in an embodiment of the present disclosure;

[0080] Figure 2 A schematic diagram of a flow chart of a method for connecting an unmanned vehicle to a barcode scanner provided in an embodiment of the present disclosure;

[0081] Figure 3 A specific flow chart of a method for connecting an unmanned vehicle and a barcode scanner provided in an embodiment of the present disclosure

[0082] Figure 4 A flowchart of another method for connecting an unmanned vehicle to a barcode scanner provided in an embodiment of the present disclosure;

[0083] Figure 5 A schematic diagram of a specific process of connecting an unmanned vehicle and a barcode scanning gun provided in an embodiment of the present disclosure;

[0084] Figure 6 A schematic diagram of a specific process of another method for connecting an unmanned vehicle and a barcode scanner provided in an embodiment of the present disclosure;

[0085] Figure 7 A schematic diagram of a specific process of connecting an unmanned vehicle and a barcode scanning gun provided in another embodiment of the present disclosure;

[0086] Figure 8 A schematic diagram of a flow chart of a method for connecting a barcode scanner gun to an unmanned vehicle provided in an embodiment of the present disclosure;

[0087] Fig. 9 A schematic diagram of a specific process of connecting a barcode scanner gun and an unmanned vehicle provided in an embodiment of the present disclosure;

[0088] Fig.10 A schematic diagram of a specific process of another method for connecting a barcode scanner gun to an unmanned vehicle provided in an embodiment of the present disclosure;

[0089] Fig.11 A schematic diagram of a structure of a connection device between an unmanned vehicle and a barcode scanning gun provided in an embodiment of the present disclosure;

[0090] Fig.12 A schematic diagram of the structure of another device for connecting an unmanned vehicle and a barcode scanner provided in an embodiment of the present disclosure;

[0091] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0092] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0093] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0094] With the development of science and technology, unmanned vehicle delivery has been used in more and more scenarios. In related technologies, unmanned vehicles need to load express or goods when used in delivery scenarios and sales scenarios. Manually entering the express waybill number or product barcode is relatively inefficient. Therefore, a handheld Bluetooth barcode scanner is often used to quickly scan the goods for loading. The unmanned vehicle loads the goods and scans the barcode / QR code of the goods with a Bluetooth barcode scanner to enter the order number.

[0095] However, the relationship between Bluetooth barcode scanners and vehicles is limited by the application scenario, and generally does not adopt a one-to-one binding mode. At present, unmanned vehicles and Bluetooth barcode scanners are connected through Bluetooth communication on the vehicle side. When connecting, the unmanned vehicle side Android page needs to jump to "Settings-Bluetooth" to search and match the surrounding Bluetooth devices, which is complicated to operate. In actual operation, operators usually use a fixed barcode scanner, and the existing connection method cannot support the switching of barcode scanners in different vehicles.

[0096] The technical solutions provided by various embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings.

[0097] Figure 1 This is a structural schematic diagram of a barcode scanner provided in an embodiment of the present disclosure. The barcode scanner 10 includes a display screen 101 and operation buttons 102, wherein the operation buttons 102 include a device switching button 1021, an information switching button 1022, and an execution button 1023. The display screen 101 of the barcode scanner 10 displays the current scanning information action mode, the current scanning information action device number, and the number of connected devices.

[0098] (1) Action mode: divided into quick mode and accurate mode; the mode is switched by clicking the mode switch button 1022.

[0099] Quick mode: The information scanned by the Bluetooth barcode scanner is transmitted to the nearest unmanned vehicle; the functioning device changes according to the movement of the person and the vehicle.

[0100] Accurate mode: The Bluetooth barcode scanner has been bound to multiple vehicles. The barcode scanner can switch the button of the current vehicle by clicking the switch device button 1021. The button can be an "up" or "down" button, or other forms of buttons. The disclosed embodiment does not limit this. The selected vehicle also responds to send a reminder (voice reminder, interface reminder). After that, the scanned code information only applies to the vehicle. When scanning the code, the QR code is scanned by operating the scan code button 1023.

[0101] (2) Functional device: Displays the driverless vehicle number of the current scanned information.

[0102] (3) Number of connected devices: Displays the number of devices currently connected.

[0103] Figure 2 A flowchart of a method for connecting an unmanned vehicle to a barcode scanner provided in an embodiment of the present disclosure is shown in FIG. Figure 2 As shown, the method for connecting the unmanned vehicle with the barcode scanner gun may include the following steps:

[0104] S201, upon receiving a transmission instruction from any connected barcode scanner, determining that the barcode scanner is a target barcode scanner.

[0105] In specific implementation, when a transmission instruction from a connected barcode scanner is received, the barcode scanner is determined to be a target barcode scanner. In this step, after a transmission instruction from any connected barcode scanner is received and the barcode scanner is determined to be a target barcode scanner, a reminder message is displayed. The reminder message is used to indicate that the target barcode scanner will send code information to the unmanned vehicle. It can be a reminder sound or a reminder picture, etc. This is not limited in the embodiment of the present invention.

[0106] When the barcode scanner gun is connected to the unmanned vehicle, the unmanned vehicle can display the connection status and QR code connection information. The QR code connection information is used to connect the barcode scanner gun that scans the QR code connection information to the unmanned vehicle. After the barcode scanner gun scans, the barcode scanner gun that scans the QR code connection information is verified and a connection is established based on the QR code connection information.

[0107] S202, receiving code information transmitted by at least one target barcode scanner.

[0108] In specific implementation, the code information of the object sent by the target barcode scanner can be received, and the information sent by multiple connected target barcode scanners can be received at the same time. The specific connection and display process is as follows Figure 3As shown in the figure, after the barcode scanner scans the QR code connection information, the barcode scanner is paired with the unmanned vehicle. The unmanned vehicle displays "pairing". If the pairing fails or the pairing exceeds 30s or the delivery is successful but disconnected, the front end displays the "connection failed" status. If the pairing is successful, the "connection successful" status will be displayed after 2s of the "connection successful" status, and the ID number of the barcode scanner newly bound to the vehicle will be displayed.

[0109] Figure 4 A flowchart of a method for connecting an unmanned vehicle to a barcode scanner provided in an embodiment of the present disclosure is shown in FIG. Figure 3 As shown, the method for connecting the unmanned vehicle with the barcode scanner gun may include the following steps:

[0110] S401, determining a target unmanned vehicle among at least one unmanned vehicle connected to the barcode scanner gun.

[0111] In the specific implementation, the barcode scanner is first connected to at least one unmanned vehicle. The specific connection method between the barcode scanner and the unmanned vehicle is not limited in the embodiment of the disclosure, and can be through Bluetooth connection, wireless connection or other connection methods. Then, in at least one unmanned vehicle, the target receiving end is determined, so that the information obtained by the barcode scanner directly acts on the target unmanned vehicle.

[0112] Specifically, the unmanned vehicle can be an unmanned vehicle, a computer, a tablet, a robot, a car or other equipment, which is not limited in the embodiments of the present disclosure.

[0113] S402, acquiring code information of the object by scanning the QR code of the object to be scanned.

[0114] In specific implementation, the scanning port of the barcode scanner is aimed at the QR code of the object to be scanned to obtain the code information corresponding to the object to be scanned. The scanning mode can be manual mode, that is, the scanning port scans the object to be scanned when the scan button is clicked; or the scanning mode can be automatic mode, that is, the scanning port automatically scans at a preset time interval, such as 1s, 3s, etc.

[0115] S403, sending the code information to the target unmanned vehicle.

[0116] During specific implementation, the barcode scanner gun will send the acquired code information of the object to the target unmanned vehicle via wireless transmission.

[0117] In one embodiment, when an unmanned vehicle is loading cargo, the barcode scanner determines the target unmanned vehicle from multiple connected unmanned vehicles, scans the barcode / QR code of the cargo through the Bluetooth barcode scanner, and quickly sends the cargo information to the target unmanned vehicle, thereby quickly entering the order number of the loaded cargo.

[0118] This solution is mainly used in the connection and use scenarios of barcode scanners and unmanned vehicles. Of course, the same solution can also be used in the use of barcode scanners and other electronic devices. Next, combine Figure 5 , Figure 6 and Figure 7 , taking the connection and use scenarios of the barcode scanner gun and the unmanned vehicle as an example, the connection method between the unmanned vehicle and the barcode scanner gun provided in the present invention is described in detail.

[0119] Figure 5 A specific flow chart of a method for connecting an unmanned vehicle and a barcode scanner provided in an embodiment of the present disclosure, specifically including the following steps: Figure 5 The following steps are shown:

[0120] S501, displaying at least one unmanned vehicle currently connected to the barcode scanner.

[0121] In a specific implementation, the number of at least one unmanned vehicle currently connected to the barcode scanner is displayed on the display screen of the barcode scanner.

[0122] In one embodiment, the numbers of all unmanned vehicles bound to the barcode scanner can be displayed on the display screen of the barcode scanner, and the number of at least one currently connected unmanned vehicle is marked in blue, and the number of the unconnected vehicle is marked in gray. For example, 001, 002, 003, 004, etc. are displayed on the display screen, where 002 and 004 are marked in blue, and the other numbers are marked in gray.

[0123] S502, in response to a selection operation by the user, determining a target unmanned vehicle selected by the user.

[0124] In the specific implementation, the user switches and selects the unmanned vehicle that the barcode scanner wants to directly act on, and the unmanned vehicle selected by the user is used as the target unmanned vehicle. The user can switch and select the corresponding unmanned vehicle through the button on the barcode scanner, or directly click on the corresponding unmanned vehicle code, icon and other information on the touch screen of the barcode scanner. The specific selection method is not limited in this embodiment of the present invention.

[0125] Continuing with the above example, the user can switch and select 002 as the target unmanned vehicle through the button on the barcode scanner gun, then 002 will be displayed in red, or a reminder such as "Current action 002" will be displayed.

[0126] S503, acquiring code information of the object by scanning the QR code of the object to be scanned.

[0127] S504, sending the code information to the target unmanned vehicle.

[0128] In specific implementation, steps S503 and S504 are the same as the above steps S402 and S403, and are not described again here.

[0129] Figure 6 A specific flow chart of another method for connecting an unmanned vehicle and a barcode scanner provided in an embodiment of the present disclosure, specifically including the following steps: Figure 6 The following steps are shown:

[0130] S601, obtaining the location information of each unmanned vehicle connected to the barcode scanner.

[0131] In specific implementation, the location information of each unmanned vehicle connected to the barcode scanner is obtained in real time. The specific acquisition interval can be 1s, 10s, etc.

[0132] S602, based on the location information of each unmanned vehicle, determine the unmanned vehicle closest to the barcode scanning gun as the target unmanned vehicle.

[0133] In the specific implementation, firstly, the distance between each unmanned vehicle and the barcode scanning gun is calculated based on the location information of each unmanned vehicle and the location information of the scanning gun, and then the unmanned vehicle closest to the barcode scanning gun is determined as the target unmanned vehicle.

[0134] In one embodiment, the number and corresponding distance of each connected unmanned vehicle can be displayed on the display screen of the barcode scanner, and the determined target unmanned vehicle can be displayed, that is, the unmanned vehicle closest to the barcode scanner is the currently active unmanned vehicle. For example, 001 (3m), 002 (10m), 003 (20m) can be displayed, and 001 (3m) can be prominently reminded by color or large font, or words such as "currently active 001 (3m)" can be added as a reminder.

[0135] S603, acquiring code information of the object by scanning the QR code of the object to be scanned.

[0136] S604, sending the code information to the target unmanned vehicle.

[0137] In specific implementation, steps S603 and S604 are the same as the above steps S402 and S403, and are not described again here.

[0138] Figure 7 A specific flow chart of a method for connecting an unmanned vehicle and a barcode scanner provided in an embodiment of the present disclosure includes the following steps: Figure 7 The following steps are shown:

[0139] S701, determine that the unmanned vehicle that was last connected to the barcode scanner is the target unmanned vehicle.

[0140] In a specific implementation, among at least one unmanned vehicle currently connected to the barcode scanning gun, the unmanned vehicle that was last connected to the barcode scanning gun is determined as the target unmanned vehicle.

[0141] The time node of the last connection of each unmanned vehicle currently connected to the barcode scanner gun to the barcode scanner gun is obtained, and according to the time node, the unmanned vehicle last connected to the barcode scanner gun is determined as the target unmanned vehicle.

[0142] In one embodiment, the number of each connected unmanned vehicle and the corresponding time of the last connection to the scanner can be displayed on the display screen of the scanner, and the determined target unmanned vehicle can be displayed, that is, the unmanned vehicle that was most recently connected to the scanner is the currently active unmanned vehicle. For example, 001 (115 hours ago), 002 (24 hours ago), and 003 (3 hours ago) are displayed, and 003 (3 hours ago) is prominently reminded by color or large font, or words such as "currently active 003 (3 hours ago)" are added as reminders. When the user decides to use the scanner, the last connection time corresponding to the target unmanned vehicle is updated in real time according to the current time, such as "currently active 003 (0 hours ago)". In specific implementation, it can also be displayed as a specific time and date, such as 003 (February 3, 8:00).

[0143] S702, obtaining the location information of each unmanned vehicle connected to the barcode scanner.

[0144] In specific implementation, the location information of each unmanned vehicle connected to the barcode scanner is obtained in real time. The specific acquisition interval can be 1s, 10s, etc.

[0145] S703, based on the location information of each unmanned vehicle, if the distance between any first unmanned vehicle and the barcode scanner is smaller than the distance between the target unmanned vehicle and the barcode scanner, ask the user whether to switch the target barcode scanner, and when the user instructs to switch, determine the first unmanned vehicle as the target unmanned vehicle.

[0146] In the specific implementation, firstly, the distance between each unmanned vehicle and the barcode scanning gun is calculated based on the position information of each unmanned vehicle and the position information of the scanning gun. When the distance between any first unmanned vehicle and the barcode scanning gun is smaller than the distance between the target unmanned vehicle and the barcode scanning gun, the barcode scanning gun pops up a prompt "Do you want to switch to barcode scanning gun 001"? If the user selects "Yes", the first unmanned vehicle is determined as the target unmanned vehicle. If the user selects "No", the current target unmanned vehicle remains unchanged.

[0147] Using the above example, the distance corresponding to each connected unmanned vehicle can be displayed on the display screen of the barcode scanner, such as 001 (115 hours ago, 3m), 002 (24 hours ago, 20m), 003 (3 hours ago, 10m), and reminders such as "Currently in effect 003 (10m)" can also be added. When the barcode scanner pops up a prompt "Switch to barcode scanner 001 (115 hours ago, 3m)", if the user selects "Yes", barcode scanner 001 is determined as the target unmanned vehicle, and if the user selects "No", the current target unmanned vehicle is maintained as barcode scanner 003.

[0148] S704, acquiring code information of the object by scanning the QR code of the object to be scanned.

[0149] S705, sending the code information to the target unmanned vehicle.

[0150] In specific implementation, steps S703 and S704 are the same as the above steps S402 and S403, and are not described again here.

[0151] In the above-mentioned embodiment, the barcode scanner in steps S401, S501, S601 and S701 is Figure 8 The method shown is connected to an unmanned vehicle, such as Figure 8 As shown, the method for connecting the barcode scanner gun to the unmanned vehicle may include the following steps:

[0152] S801, scanning the QR code connection information displayed by the unmanned vehicle to be connected.

[0153] During the specific implementation, the scanning port of the barcode scanner is aimed at the QR code displayed by the unmanned vehicle to be connected to scan, so as to obtain the code information corresponding to the unmanned vehicle to be connected.

[0154] S802, establishing a connection with the unmanned vehicle to be connected based on the QR code connection information.

[0155] In the specific implementation, a connection request is first initiated to the unmanned vehicle to be connected based on the QR code connection information. When the barcode scanner receives the information of consent to connect returned by the unmanned vehicle to be connected, a connection with the unmanned vehicle to be connected is established.

[0156] Fig. 9 A flowchart of a specific method for connecting a barcode scanner gun to an unmanned vehicle provided in an embodiment of the present disclosure, such as Fig. 9 As shown, the method for connecting the barcode scanner gun to the unmanned vehicle may include the following steps:

[0157] S901, scan the QR code connection information displayed by the unmanned vehicle to be connected.

[0158] S902, establishing a connection with the unmanned vehicle to be connected based on the QR code connection information.

[0159] In the specific implementation, steps S901 and S902 are the same as the above steps S801 and S802, and are not repeated here.

[0160] S903, when scanning the QR code connection information displayed by any second unmanned vehicle connected to the barcode scanner, disconnect the connection with the second unmanned vehicle.

[0161] During the specific implementation, the scanning port of the barcode scanner is aimed at the QR code connection information displayed by any second unmanned vehicle connected to the barcode scanner to scan, so as to obtain the QR code connection information corresponding to the second unmanned vehicle, and then a disconnection instruction is sent to the second unmanned vehicle, and the connection with the second unmanned vehicle is disconnected.

[0162] Fig.10 A flowchart of a method for connecting a barcode scanner gun to an unmanned vehicle provided in an embodiment of the present disclosure, such as Figure 8 As shown, another specific method for connecting the barcode scanner gun to the unmanned vehicle may include the following steps:

[0163] S1001, scanning the QR code connection information displayed by the unmanned vehicle to be connected.

[0164] S1002, establishing a connection with the unmanned vehicle to be connected based on the QR code connection information.

[0165] In the specific implementation, steps S1001 and S1002 are the same as the above steps S901 and S902, and will not be repeated here.

[0166] S1003, when scanning the QR code connection information displayed by the target unmanned vehicle, disconnecting from the target unmanned vehicle.

[0167] Aim the scanning port of the barcode scanner at the QR code connection information displayed by any target unmanned vehicle connected to the barcode scanner to scan, so as to obtain the QR code connection information corresponding to the target unmanned vehicle, and then send a disconnection instruction to the target unmanned vehicle and disconnect the connection with the target unmanned vehicle.

[0168] S1004, when scanning any third unmanned vehicle other than the target unmanned vehicle, determine the third unmanned vehicle as the target unmanned vehicle.

[0169] Aim the scanning port of the barcode scanner at the QR code connection information displayed by any third unmanned vehicle other than the target unmanned vehicle and scan it, and determine the third unmanned vehicle as the target unmanned vehicle. If the third unmanned vehicle has not established a connection with the barcode scanner, after scanning the QR code connection information displayed by the third unmanned vehicle, first initiate a connection request to the third unmanned vehicle. When the barcode scanner receives the connection consent information returned by the third unmanned vehicle, establish a connection with the third unmanned vehicle, and finally determine the third unmanned vehicle as the target unmanned vehicle.

[0170] Based on the same inventive concept, the disclosed embodiment also provides a connection device between an unmanned vehicle and a barcode scanning gun. Fig.11 As shown, the connection device 1100 of the unmanned vehicle and the barcode scanner gun includes:

[0171] The first determining unit 1101 is used to determine that the barcode scanner is a target barcode scanner when receiving a transmission instruction from any connected barcode scanner;

[0172] The receiving unit 1102 is used to receive code information transmitted by at least one target barcode scanner.

[0173] In a possible implementation, the device provided in the embodiment of the present invention further includes a display unit 1103, which is used to:

[0174] Display reminder information, which is used to indicate that the target barcode scanner will send code information to the unmanned vehicle.

[0175] In a possible implementation, in the device provided by the embodiment of the present invention, the display unit 1103 is further used for:

[0176] Display the connection status of the unmanned vehicle and the QR code connection information. The QR code connection information is used to connect the barcode scanner that scans the QR code connection information to the unmanned vehicle;

[0177] Based on the QR code connection information, a connection is established with a barcode scanner that scans the QR code connection information.

[0178] Based on the same inventive concept, the disclosed embodiment also provides a connection device between an unmanned vehicle and a barcode scanning gun. Fig.12 As shown, the connection device 1200 of the unmanned vehicle and the barcode scanner gun includes:

[0179] The second determining unit 1201 is used to determine a target unmanned vehicle among at least one unmanned vehicle connected to the barcode scanning gun;

[0180] A search unit 1202 is used to obtain code information of the object by scanning the QR code of the object to be scanned;

[0181] The sending unit 1203 is used to send the code information to the target unmanned vehicle.

[0182] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit 1201 is specifically configured to:

[0183] Display at least one unmanned vehicle currently connected to the barcode scanner;

[0184] In response to a selection operation by the user, a target unmanned vehicle selected by the user is determined.

[0185] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit 1201 is specifically configured to:

[0186] Get the location information of each unmanned vehicle connected to the barcode scanner;

[0187] Based on the location information of each unmanned vehicle, the unmanned vehicle closest to the barcode scanning gun is determined as the target unmanned vehicle.

[0188] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit 1201 is specifically configured to:

[0189] The unmanned vehicle that was last connected to the barcode scanner gun is determined to be the target unmanned vehicle.

[0190] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit 1201 is further configured to:

[0191] Get the location information of each unmanned vehicle connected to the barcode scanner;

[0192] Based on the location information of each unmanned vehicle, if the distance between any first unmanned vehicle and the barcode scanner is smaller than the distance between the target unmanned vehicle and the barcode scanner, the user is asked whether to switch the target barcode scanner, and when the user instructs to switch, the first unmanned vehicle is determined as the target unmanned vehicle.

[0193] In a possible implementation, in the device provided by the embodiment of the present invention, the barcode scanner is connected to the unmanned vehicle in the following manner:

[0194] Scan the code information displayed by the unmanned vehicle to be connected;

[0195] A connection is established with the unmanned vehicle to be connected based on the code information.

[0196] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit 1201 is further configured to:

[0197] When scanning the QR code displayed by any second unmanned vehicle connected to the barcode scanner, the connection with the second unmanned vehicle is disconnected.

[0198] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit 1201 is further configured to:

[0199] When scanning the QR code displayed by the target unmanned vehicle, the connection with the second unmanned vehicle is disconnected.

[0200] In a possible implementation manner, in the device provided by the embodiment of the present invention, the determining unit 1201 is further configured to:

[0201] When scanning any third unmanned vehicle other than the target unmanned vehicle, the third unmanned vehicle is determined as the target unmanned vehicle.

[0202] The specific implementation method and technical effect of the device provided in the embodiment of the present disclosure are similar to those of the above-mentioned method embodiment, and will not be repeated here.

[0203] In addition, combined Figure 2-Figure 12 The method and device for connecting the unmanned vehicle and the barcode scanning gun described in the embodiment of the present application can be implemented by an electronic device. Fig.13A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0204] like Fig.13 As shown, the electronic device 1300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1302 or the program loaded from the storage device 1308 to the random access memory (RAM) 1303 to implement the connection method between the unmanned vehicle and the barcode scanner gun of the embodiment described in the present disclosure. In RAM 1303, various programs and data required for the operation of the electronic device 1300 are also stored. The processing device 1301, ROM 1302, and RAM 1303 are connected to each other via a bus 1304. An input / output (I / O) interface 1305 is also connected to the bus 1304.

[0205] Typically, the following devices may be connected to the I / O interface 1305: an input device 1306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1308 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1309. The communication device 1309 may allow the electronic device 1300 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.13 The electronic device 1300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0206] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart, thereby implementing the voice control method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 1309, or installed from the storage device 1308, or installed from the ROM 1302. When the computer program is executed by the processing device 1301, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0207] The disclosed embodiment also provides a vehicle, including the connection device and electronic equipment between the unmanned vehicle and the barcode scanning gun described in the above embodiment.

[0208] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0209] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0210] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0211] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0212] When receiving a transmission instruction from any connected barcode scanner, determining the barcode scanner as a target barcode scanner;

[0213] Receive code information transmitted by at least one target barcode scanner.

[0214] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.

[0215] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0216] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0217] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0218] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0219] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0220] The method for connecting an unmanned vehicle and a barcode scanning gun mentioned in an embodiment of the present invention includes:

[0221] In the embodiment of the present disclosure, when receiving a transmission instruction from any connected barcode scanner, the barcode scanner is first determined to be a target barcode scanner, and then the code information transmitted by at least one target barcode scanner is received. A connection scheme between an unmanned vehicle and a barcode scanner is provided, so that the unmanned vehicle supports simultaneous connection with multiple barcode scanners, and the code information is accurately transmitted to the unmanned vehicle.

[0222] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0223] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0224] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0225] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0226] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0227] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for connecting an unmanned vehicle and a barcode scanner gun, applied to an unmanned vehicle, It is characterized in that include: When receiving a transmission instruction from any connected barcode scanner, determining the barcode scanner as a target barcode scanner; Receive code information transmitted by at least one of the target code scanning guns.

2. The method according to claim 1, It is characterized in that When receiving a transmission instruction from any connected barcode scanner, after determining that the barcode scanner is a target barcode scanner, the method further includes: Display reminder information, which is used to indicate that the target barcode scanner will send code information to the unmanned vehicle.

3. The method according to any one of claims 1 or 2, It is characterized in that The method further comprises: Displaying the connection status of the unmanned vehicle and the QR code connection information, wherein the QR code connection information is used to connect a barcode scanner that scans the QR code connection information to the unmanned vehicle; Based on the QR code connection information, a connection is established with a barcode scanner that scans the QR code connection information.

4. A method for connecting an unmanned vehicle to a barcode scanner gun, which is applied to the barcode scanner gun. It is characterized in that include: Determine a target unmanned vehicle among at least one unmanned vehicle connected to the barcode scanner; Obtaining code information of the object by scanning a QR code of the object to be scanned; The code information is sent to the target unmanned vehicle.

5. The method according to claim 4, It is characterized in that The step of determining a target unmanned vehicle in at least one unmanned vehicle connected to the barcode scanning gun includes: Displaying at least one unmanned vehicle currently connected to the barcode scanner; In response to a selection operation by a user, a target unmanned vehicle selected by the user is determined.

6. The method according to claim 4, It is characterized in that The step of determining a target unmanned vehicle in at least one unmanned vehicle connected to the barcode scanning gun includes: Obtaining the location information of each unmanned vehicle connected to the barcode scanner; Based on the position information of each of the unmanned vehicles, the unmanned vehicle closest to the barcode scanning gun is determined as the target unmanned vehicle.

7. The method according to claim 4, It is characterized in that The step of determining a target unmanned vehicle in at least one unmanned vehicle connected to the barcode scanning gun includes: The unmanned vehicle that was last connected to the barcode scanning gun is determined to be the target unmanned vehicle.

8. The method according to claim 7, It is characterized in that The method further comprises: Obtaining the location information of each unmanned vehicle connected to the barcode scanner; Based on the location information of each of the unmanned vehicles, if there is any first unmanned vehicle whose distance from the barcode scanner is smaller than the distance between the target unmanned vehicle and the barcode scanner, the user is asked whether to switch the target barcode scanner, and when the user instructs to switch, the first unmanned vehicle is determined as the target unmanned vehicle.

9. The method according to any one of claims 4 to 8, It is characterized in that The barcode scanner is connected to the unmanned vehicle in the following way: Scan the QR code connection information displayed by the unmanned vehicle to be connected; A connection is established with the unmanned vehicle to be connected based on the QR code connection information.

10. The method according to claim 9, It is characterized in that The method further comprises: When scanning the QR code connection information displayed by any second unmanned vehicle connected to the barcode scanner, the connection with the second unmanned vehicle is disconnected.

11. The method according to claim 9, It is characterized in that The method further comprises: When the QR code connection information displayed by the target unmanned vehicle is scanned, the connection with the second unmanned vehicle is disconnected.

12. The method according to claim 11, It is characterized in that The method further comprises: When scanning any third unmanned vehicle other than the target unmanned vehicle, the third unmanned vehicle is determined as the target unmanned vehicle.

13. A connection device between an unmanned vehicle and a barcode scanning gun, It is characterized in that include: A first determination unit is used to determine that the barcode scanner is a target barcode scanner when receiving a transmission instruction from any connected barcode scanner; The receiving unit is used to receive the code information transmitted by at least one of the target barcode scanners.

14. A connection device between an unmanned vehicle and a barcode scanning gun, It is characterized in that include: A second determination unit is used to determine a target unmanned vehicle among at least one unmanned vehicle connected to the barcode scanning gun; A search unit, configured to obtain code information of an object by scanning a two-dimensional code of the object to be scanned; A sending unit is used to send the code information to the target unmanned vehicle.

15. An electronic device, It is characterized in that include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the method for connecting the unmanned vehicle and the barcode scanning gun as described in any one of claims 1-3 or 4-12.

16. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method for connecting an unmanned vehicle and a barcode scanning gun described in any one of claims 1-3 or 4-12 is implemented.

17. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by the processor, the method for connecting the unmanned vehicle and the barcode scanning gun described in any one of claims 1-3 or 4-12 is implemented.