CN213092318U - Sweep a yard device - Google Patents

Sweep a yard device Download PDF

Info

Publication number
CN213092318U
CN213092318U CN202020953532.8U CN202020953532U CN213092318U CN 213092318 U CN213092318 U CN 213092318U CN 202020953532 U CN202020953532 U CN 202020953532U CN 213092318 U CN213092318 U CN 213092318U
Authority
CN
China
Prior art keywords
information
code scanning
server
scanning device
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202020953532.8U
Other languages
Chinese (zh)
Inventor
尚鸫
孙凯
姚磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202020953532.8U priority Critical patent/CN213092318U/en
Application granted granted Critical
Publication of CN213092318U publication Critical patent/CN213092318U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application provides a sweep a yard device, includes: the communication component is used for carrying out information interaction with the server; the characteristic code acquisition component is used for acquiring a characteristic code image; and the processor is used for identifying the feature codes in the feature code images to obtain a feature code identification result and executing the control instruction sent by the server to obtain an execution result. The function of sweeping a yard device itself has been reinforceed to this application, makes it can directly carry out the information interaction with cloud platform or server through communication assembly to need not to use with host equipment is supporting again, reduced the use cost who sweeps a yard device on the one hand, and on the other hand, increased and swept a yard portability of device, especially under some scenes that can't lay host equipment or host equipment and lay the difficulty, the yard device of sweeping of this application can assist the processing of all kinds of businesses in a flexible way, has strengthened user's use and has experienced.

Description

Sweep a yard device
Technical Field
The embodiment of the application relates to the technical field of information processing, in particular to a code scanning device.
Background
In daily life, a user can realize processing of a plurality of services in a code scanning mode, for example: and the services of payment, sign-in, lottery drawing, reservation and the like all support code scanning processing. When the service processing is realized by code scanning, the feature code needs to be identified by using a code scanning device, then the identification result is transmitted to host equipment (such as a computer, a cash register and the like), the host equipment sends the identification result to a corresponding server, the server processes the service according to the identification result, and the processing result is returned to the host equipment.
In view of the above service processing process, the code scanning device must be used in cooperation with the host device, and under some scenes where the host device cannot be arranged or the host device is difficult to arrange, the scanning device alone cannot independently process the corresponding service. In addition, as described above, since the code scanning device must be used in combination with the host device, the device is not portable, and cannot flexibly assist in processing of corresponding services in some situations such as short-term transactions (temporary transactions between a customer and a merchant, for example, the time for the merchant to sell a product is only one hour, one day, and the like, and the transaction at this time may be referred to as a short-term transaction).
SUMMERY OF THE UTILITY MODEL
The embodiment of the application provides a code scanning device, which has the capability of independently finishing service processing, is used without depending on host equipment, and can cope with diversified scenes.
The embodiment of the application provides a sweep a yard device, includes:
the communication component is used for carrying out information interaction with the server;
the characteristic code acquisition component is used for acquiring a characteristic code image;
and the processor is used for identifying the feature codes in the feature code images to obtain a feature code identification result and executing the control instruction sent by the server to obtain an execution result.
Optionally, the communication component comprises a mobile communication module and/or a WIFI communication module.
Optionally, the device connection module is further included for establishing a connection with other devices having the corresponding device connection module.
Optionally, the device connection module includes at least one of a FRID communication module, an NFC communication module, and a bluetooth communication module.
Optionally, the communication component has a local area network self-discovery service module, configured to broadcast externally after being started, so that other devices establish a communication connection with the code scanning device through the broadcast.
Optionally, the communication component comprises: and the network interface is used for accessing a network communication line and carrying out information interaction with the server through the network communication line.
Optionally, the method further comprises: an information output component;
the communication component is further used for receiving response information returned after the server processes the feature code identification result, and/or receiving preset scene information sent by the server;
the information output component is used for outputting the response information and/or the preset scene information.
Optionally, the communication component is further configured to receive an update instruction sent by the server, where the update instruction is used to update the configuration information of the code scanning device;
the processor is used for updating the configuration information of the code scanning device according to the updating instruction.
Optionally, the method further comprises: an information output component and a memory;
the memory stores preset response information;
the processor is used for reading corresponding target response information from the memory according to the feature code identification result;
the information output component is used for outputting the target response information.
Optionally, the information output component comprises any one or more of:
the audio output assembly is used for carrying out voice broadcast on the information to be output through voice;
the projection component is used for displaying the information to be output through the image;
and the display component is used for displaying the information to be output through the text.
Optionally, the method further comprises: the buffer is used for buffering information to be sent to the server;
and the communication component is used for reading information from the buffer and sending the information to the server when detecting that a wireless network communication channel between the communication component and the server is normal.
The embodiment provides a code scanning device which comprises a communication assembly, a feature code acquisition assembly and a processor, wherein the feature code acquisition assembly is used for acquiring a feature code image and inputting an acquisition result to the processor; the processor is used for identifying the feature codes in the feature code images, generating a feature code identification result and inputting the feature code identification result into the communication component; the communication assembly has a function of information interaction with the server, can establish a communication channel with the cloud platform or the server, sends the received feature code identification result to the cloud platform or the server through the communication channel, receives the returned control instruction, and inputs the control instruction to the processor, so that the processor generates an execution result according to the control instruction.
The function of sweeping a yard device itself has been reinforceed to this application, makes it can directly carry out the information interaction with cloud platform or server through communication assembly to need not to use with host equipment is supporting again, reduced the use cost who sweeps a yard device on the one hand, and on the other hand, increased and swept a yard portability of device, especially under some scenes that can't lay host equipment or host equipment and lay the difficulty, the yard device of sweeping of this application can assist the processing of all kinds of businesses in a flexible way, has strengthened user's use and has experienced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a schematic diagram of an application environment of a code scanning apparatus in the related art;
FIG. 2 is a schematic diagram of an application environment of a code scanning apparatus according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a code scanning apparatus according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a signature image according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a code scanning apparatus according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of a code scanning apparatus according to an embodiment of the present disclosure;
FIG. 7 is a block diagram of a device connection module according to an embodiment of the present application;
FIG. 8 is a schematic structural diagram of a code scanning apparatus according to an embodiment of the present application;
FIG. 9 is a schematic structural diagram of a code scanning apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a code scanning apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Before describing the code scanning apparatus of the present application, a brief description of the code scanning apparatus in the related art will be given below.
Fig. 1 is a schematic application environment of a code scanning apparatus in the related art. Referring to fig. 1, the host device may be a computer, a cash register, etc., and the code scanning device may be a code scanning box, a code scanning gun, etc. When the system is used, the code scanning device needs to be connected with the host equipment, after the code scanning device identifies the feature code, the identification result is transmitted to the host equipment, and the host equipment transmits the identification result to the server and carries out corresponding service processing.
Illustratively, when the code scanning gun works, a user actively displays the two-dimensional code during payment, a cashier uses the code scanning gun to identify the two-dimensional code of the user, after the identification is successful, the code scanning gun automatically transmits an identification result to the cash register, and the cash register sends the identification result to the server so that the server processes the money collection service.
In another example, when the code scanning box works, a user actively displays the two-dimensional code in the recognizable range of the code scanning box during payment, after the code scanning box is successfully identified, the identification result is automatically transmitted to the cash register, and the cash register sends the identification result to the server so that the server processes the money collection service.
In view of the application scenario of the code scanning device in the related art, the code scanning device needs to be connected to a host device for use, in other words, in the process of service processing, a host device serving as an intermediate device needs to be arranged between the code scanning device and the server, otherwise, after the code scanning device identifies the feature code, the feature code cannot be sent to the server to process the corresponding service. Therefore, the existing code scanning device in the related technology must be used in cooperation with host equipment, the portability is poor, and the processing of corresponding services cannot be flexibly assisted in some street transactions or short-term transactions and other scenes; secondly, because the code scanning device must be used in cooperation with the host device, the corresponding service cannot be processed independently, and under some scenes that the host device cannot be arranged or the host device is difficult to arrange, the processing of the corresponding service cannot be well assisted.
In view of the shortcomings of the prior code scanning devices in the related art, the present application provides a new code scanning device, which is applied in the environment shown in fig. 2. Fig. 2 is a schematic application environment diagram of a code scanning apparatus according to an embodiment of the present application. In fig. 2, the code scanning device has an independent data processing function in addition to the basic function of identifying the feature code, for example, a communication channel is directly established with the cloud platform or the server, and the identification result is sent to the cloud platform or the server through the communication channel; or, receive various control commands sent by the server, respond to and execute the control commands, for example, the code scanning device may receive an upgrade command sent by the server, and upgrade its own program according to the upgrade command. Therefore, compared with the code scanning device in the related art, the code scanning device has the advantages that the function of the code scanning device is enhanced, the code scanning device does not need to be matched with host equipment for use, the use cost of the code scanning device is reduced, and the portability of the code scanning device is improved.
The code scanning device of the present application will be described in detail below. Fig. 3 is a schematic structural diagram of a code scanning apparatus according to an embodiment of the present application. Referring to fig. 3, the code scanning apparatus in the embodiment of the present application includes:
and the communication component 301 is used for carrying out information interaction with the server.
And the feature code acquisition component 302 is used for acquiring a feature code image.
A processor 303, configured to identify the feature code in the feature code image to obtain a feature code identification result, and execute the control instruction sent by the server to obtain an execution result.
In the present embodiment, the communication component 301 is used for directly interacting with the server. Specifically, the communication component 301 may perform information interaction with the server through a wired communication manner, and may also perform information interaction with the server through a wireless communication manner.
Wired communication is a way of transmitting information using tangible media, such as coaxial cables, twisted pair, optical fibers, etc.; the wireless Communication is a mode of transmitting information by using electromagnetic waves without via a conductor or a cable, and mainly includes short-distance wireless Communication and long-distance wireless Communication, and the short-distance wireless Communication standard includes zigbee (a wireless internet protocol for low-speed short-distance transmission, and the bottom layer is a medium access layer and a physical layer using IEEE 802.15.4 standard specification), Bluetooth (a global specification open for wireless data and voice Communication, which is a special short-distance wireless connection technology for establishing a Communication environment with a mobile device), wireless broadband (WIFI, which is a wireless local area network technology established in IEEE802.11 standard), UWB (Ultra Wide Band ), NFC (Near Field Communication, Near Field Communication), and the like, and the long-distance wireless Communication standard mainly includes a mobile Communication standard, a data transfer station, a spread spectrum microwave, a wireless network bridge, satellite Communication, and the like, Short wave communication, etc.
In this embodiment, the communication component 301 may perform information interaction with the server by adopting any type of communication mode of wired communication and wireless communication according to actual requirements, which is not specifically limited in this embodiment of the application.
In this embodiment, the server may be a physical server or an ECS (electrical computer Service) server. Preferably, the server may be a cloud server, and the cloud server may use a cloud computing technology, may integrate various software and hardware technologies such as computing, networking, storage, and the like, and has stronger technical performance, security, reliability, flexibility, computability, stability, and security compared to a physical server. It is specifically stated herein that the server referred to in the various embodiments of the present application is a cloud server. Of course, the user may use any type of server according to actual needs, and the present application is not limited to this specifically.
In this embodiment, the feature code acquisition component 302 is configured to acquire a feature code image. The feature code image may be a barcode image (a graphic identifier for expressing a set of information, which is formed by arranging a plurality of black bars and white bars with different widths according to a certain coding rule, and may include a one-dimensional barcode, a two-dimensional barcode, and the like), or may be a small program code image, or another type of feature code image.
For example, the feature code image may be as shown in fig. 4, and fig. 4 is a schematic diagram of the feature code image shown in an embodiment of the present application. A common 4-feature code image is shown in fig. 4, including: a one-dimensional barcode image, a two-dimensional barcode image, a small program code image, and a small program two-dimensional code image. Of course, not shown in fig. 4 is all feature code images that can be identified by the code scanning device in the present application, and the code scanning device may integrate the identification functions of multiple types of feature code images to meet the identification requirements of users for various types of feature code images.
In this embodiment, the signature code collecting assembly 302 may be provided with a light source, an optical lens, a scanning module, and the like to collect the signature code image. In some embodiments, the signature capture component 302 may be a CCD (Charge Coupled Device) scanning component, which mainly uses a fixed light beam (usually a flood light source of leds) to illuminate the entire signature image, reflect the signature onto the array of photosensitive elements, and perform photoelectric conversion to identify the signature. In some embodiments, the signature acquisition component 302 may be a laser scanning component, which uses laser as a light source, and the scanning light is strong, and can scan at a long distance and with high scanning precision. In some embodiments, the feature code collecting component 302 may be a light pen scanning component, the light pen scanning component is a handheld contact type feature code reading component, when the user uses the device, the user needs to contact the light pen with the surface of the feature code, when the light spot emitted by the light pen sweeps the feature code from left to right, the light ray in the white bar part is reflected, the light ray in the black bar part is absorbed, and then the feature code symbol is identified through photoelectric conversion. The signature acquisition component 302 may employ any type of scanning component according to actual requirements, which is not specifically limited in this application.
In this embodiment, the processor 303 is configured to identify the feature code image acquired by the feature code acquisition component 302, and obtain a feature code identification result. When the feature code image is acquired, the feature code acquisition component 302 may obtain a string of electrical signals (which may be understood as feature codes in the feature code image), the feature code acquisition component 302 inputs the electrical signals to the processor 303, and the processor 303 may analyze the electrical signals to obtain a feature code identification result, for example, the feature code identification result may be request-type information such as "request payment", "request transfer", and the like.
Then, the processor 303 sends the feature code recognition result to the server through the communication component 301, so that the server processes the corresponding service according to the feature code recognition result, receives a control instruction for the service returned by the server, generates an execution result according to the control instruction, and outputs the execution result to inform a user of the execution condition of the service. Illustratively, when the feature code recognition result sent by the processor 303 to the server is "request for payment", the server processes the payment service, and after the processing is successful, returns a control instruction for the payment service to the processor 303, where the control instruction may be, for example, a prompt that the payment is successful, and when receiving the control instruction, the processor 303 generates a prompt that the payment is successful, for example, a prompt that "you have paid successfully", and outputs the prompt.
In one embodiment, the code scanner may be configured with a display screen, and the processor 303 may output the execution result through the display screen after generating the execution result. The execution result can be displayed by various media, such as words, pictures, animations, etc., and the application does not limit the type of the media. For example, for "you have paid successfully", the processor 303 may obtain a text prompt and display it on the display screen, or may obtain a picture prompt or an animation prompt representing that the payment was successful and display it on the display screen.
Exemplarily, taking the user transferring to the merchant as an example, the merchant scans the payment two-dimensional code of the user through the code scanning device, and the feature code acquisition component of the code scanning device transmits the acquired two-dimensional code image to the processor after acquiring the payment two-dimensional code of the user. The processor identifies the acquired two-dimension code image to obtain a two-dimension code identification result, for example, the two-dimension code identification result is the two-dimension code corresponding to the WeChat payment, the two-dimension code identification result is sent to the WeChat payment server through the communication assembly, and the WeChat payment server carries out deduction processing according to the two-dimension code identification result. And after the WeChat payment server carries out deduction processing, returning a deduction processing result to the code scanning device, so that a processor of the scanning device outputs prompt information to a user according to the processing result. For example, when the processing result is that the money deduction is successful, the processor generates a prompt for representing that the money deduction is successful, and outputs the prompt to prompt the user that the WeChat transfer is successful; and when the processing result is that the money deduction is failed, the processor generates a prompt for representing the money deduction failure and outputs the prompt to prompt the user that the WeChat transfer fails.
The embodiment provides a code scanning device which comprises a communication assembly, a feature code acquisition assembly and a processor, wherein the feature code acquisition assembly is used for acquiring a feature code image and inputting an acquisition result to the processor; the processor is used for identifying the feature codes in the feature code images, generating a feature code identification result and inputting the feature code identification result into the communication component; the communication assembly has a function of information interaction with the server, can establish a communication channel with the cloud platform or the server, sends the received feature code identification result to the cloud platform or the server through the communication channel, receives the returned control instruction, and inputs the control instruction to the processor, so that the processor generates an execution result according to the control instruction.
The function of sweeping a yard device itself has been reinforceed to this application, makes it can directly carry out the information interaction with cloud platform or server through communication assembly to need not to use with host equipment is supporting again, reduced the use cost who sweeps a yard device on the one hand, and on the other hand, increased and swept a yard portability of device, especially under some scenes that can't lay host equipment or host equipment and lay the difficulty, the yard device of sweeping of this application can assist the processing of all kinds of businesses in a flexible way, has strengthened user's use and has experienced.
The processor 303 has the advantages of flexible communication, no geographic limitation, low cost, etc. due to network communication, in particular, the communication component 301 may preferably interact information with the server in a network communication manner.
In particular, the communication component 301 may interact with information with a server via a wired network. The wired network is a way of implementing network communication by using tangible media, such as coaxial cables, twisted pair wires, optical fibers, etc., and has the advantages of stability, large bandwidth, difficulty in being interfered by electromagnetic fields, etc.
Thus, the communication component 301 may comprise: and the network interface is used for accessing a network communication line and carrying out information interaction with the server through the network communication line. When the communication component 301 performs network communication with the server through the network communication line, the characteristics of stability, large bandwidth, difficulty in being interfered by electromagnetic field and the like of a wired network can be fully utilized, and the stability of information interaction is ensured.
Secondly, the communication component 301 can also interact information with a server through a wired network. The Wireless Network is a manner that does not need tangible media to implement Network communication, and may be divided according to coverage, and may include a WWAN (Wireless Wide Area Network), a Wireless Wide Area Network, a WLAN (Wireless Local Area Network), a WMAN (Wireless Metropolitan Area Network), a WPAN (Wireless Personal Area Network), and the like, and may include a WSN (Wireless Sensor Network ), a Multi-hop Network (wbp Network), a wearable Wireless Network, and an (Wireless Body Area Network, Wireless Body Network), and the like, divided according to Network application occasions; the wireless network can be divided into a mobile network, WIFI and the like according to portability, and has the advantages of strong mobility, no region limitation, wide radiation range, low cost and the like.
In this embodiment, if it is required to ensure the stability of the communication between the code scanning device and the server, the communication component 301 may use a wired network to communicate with the server; when it is necessary to ensure flexibility in communication between the code scanning device and the server, the communication component 301 may communicate with the server using a wireless network.
In this embodiment, the communication component 301 may further configure a Subscriber Identity Module (SIM) card slot, and after the SIM card is inserted into the code scanning device, the user may enable the code scanning device to access the network, so as to establish a communication connection between the code scanning device and the server.
In this embodiment, an eSIM (Embedded-SIM) card may be further configured in the communication component 301. An eSIM card is an embedded SIM card that embeds a traditional physical SIM card directly onto a device chip, rather than adding it as a separate removable component to the device, eliminating the need for a user to plug in a physical SIM card, which allows the user more flexibility in choosing an operator package. The eSIM card is configured in the communication component 301, so that the functions of the code scanning device are enriched, various requirements of users can be better met, and the use experience of the users is enhanced.
In one embodiment, the communication component 301 of the code scanning device includes a mobile communication module 3011 and/or a WIFI communication module 3012, as shown in fig. 5. Fig. 5 is a schematic structural diagram of a code scanning apparatus according to an embodiment of the present application. In this embodiment, the communication component 301 may be provided with a mobile communication module 3011, so that the code scanning device may implement network communication with the server through a mobile network provided by a network operator; secondly, a WIFI communication module 3012 may be further disposed in the communication component 301, and specifically, a WIFI module (that is, a serial WIFI module, which belongs to an internet of things transmission layer, is disposed in the WIFI communication module 3012 and is configured to convert a serial or TTL level into an embedded module that meets a WIFI wireless network communication standard, and a wireless network protocol ieee802.11b.g.n protocol stack and a TCP/IP protocol stack are built in the embedded module, so that the code scanning device may implement network communication with a server through a wireless network.
In this embodiment, when performing network communication with the server through the mobile network, the communication component 301 may preferably perform communication by using LTE (Long Term Evolution) standard. The LTE is a wireless data communication technology standard, and the LTE system introduces OFDM (Orthogonal Frequency Division Multiple Access) technology, MIMO (Multi-User Multiple-Input Multiple-Output) technology, and other technologies, so as to significantly increase spectrum efficiency and data transmission rate, and support Multiple bandwidth allocations, such as 1.4MHz, 3MHz, 5MHz, 10MHz, 15MHz, and 20MHz, and support a global mainstream Frequency band and a part of newly added Frequency bands, so that spectrum allocation is more flexible, and system capacity and coverage are significantly improved.
Next, when performing network communication with the server through the mobile network, the communication component 301 may also preferably perform communication according to a 5G (5th generation mobile communication technology) standard. 5G is the latest generation of cellular mobile communication technology, and is an extension following 4G (LTE-A, WiMax), 3G (UMTS, LTE) and 2G (gsm) systems, and has the advantages of high data rate, low delay, energy saving, low cost, large system capacity and capability of supporting large-scale device connection.
In this embodiment, when the communication component 301 performs network communication with the server through WIFI, it may preferably perform communication using WIFI6 standard. WIFI6, also referred to as 802.11.ax, mainly uses OFDMA, which is a multiple access technology that can be used to increase network capacity, and MU-MIMO, which allows a router to communicate with multiple devices at the same time, rather than sequentially, so that WIFI6 allows communication with up to 8 devices, which can improve communication efficiency, and the WIFI6 maximum rate can reach 9.6 Gbps.
In this embodiment, the communication component 301 further supports an encryption transmission function, so as to ensure the security of information transmission, specifically, the encryption transmission algorithm may use an RSA algorithm, an AES algorithm, a DES algorithm, an MD5 algorithm, a BASE64 encoding algorithm, or other algorithms capable of implementing data encryption, and specifically, which algorithm may be set according to actual requirements is not specifically limited in this embodiment.
In this embodiment, the communication component can directly perform information interaction with the server through the mobile network, so that the code scanning device can perform the code scanning function in any scene capable of receiving mobile signals, so as to assist in processing corresponding services, thereby increasing the portability and the use flexibility of the code scanning device; secondly, in some scenes that information interaction with a server is frequently required, the information transmission speed is generally higher, at the moment, the communication component can be in communication connection with the server through WIFI, the characteristic of stable data transmission of the WIFI network is fully utilized, and smooth execution of related services can be guaranteed.
In one embodiment, the code scanning device can also perform information interaction with an external device, and in this case, the structure of the code scanning device is shown in fig. 6. Fig. 6 is a schematic structural diagram of a code scanning apparatus according to an embodiment of the present application, and as shown in fig. 6, the code scanning apparatus may further include a device connection module 304, configured to establish a connection with another device having a corresponding device connection module 304.
In this embodiment, the device connection module 304 is configured to connect to other devices to obtain information of the other devices, such as distance information, so as to complete processing of the corresponding service. For example, in fig. 6, the code scanning apparatus may be connected to the device a through the device connection module 304 to obtain the distance information of the device a, and may also be connected to the device B to obtain the distance information of the device B.
For example, when the corresponding service is a check-in service, if the user terminal is equipped with the device connection module 304 that is matched with the device connection module 304, after the code scanning device scans the check-in two-dimensional code of the user terminal, distance information between the device connection module 304 and the matched device connection module 304 on the user terminal can be obtained, whether the user arrives at the check-in site is determined through the distance information, and other users are prevented from completing the check-in of the user through counterfeiting the two-dimensional code.
In this embodiment, the code scanning apparatus may be provided with the device connection module 304 to support connection with other external devices, and extend service scenarios that can be supported by the code scanning apparatus (for example, some service scenarios that can be completed only by distance information of the external device), so that the code scanning apparatus can better meet diversified requirements of users, and enhance user experience.
In combination with the above embodiments, in an implementation manner, the code scanning apparatus can establish a communication connection with an external device in various ways, and at this time, the structure of the code scanning apparatus is as shown in fig. 7. Fig. 7 is a schematic structural diagram of a device connection module according to an embodiment of the present application. Referring to fig. 7, the device connection module 304 may include at least one of a FRID communication module, an NFC communication module, and a bluetooth communication module.
In this embodiment, an rfid (Radio Frequency Identification) communication module may be disposed in the device connection module 304, at this time, the code scanning apparatus may transmit a Radio Frequency signal to a surrounding space through an antenna of the rfid communication module, and when other devices carrying tags enter an action area of the Radio Frequency signal, encode information of the devices and transmit the encoded information through the antenna, so that a reader of the rfid communication module obtains the encoded information, decodes the encoded information, obtains information of the other devices, and performs processing on related services.
In this embodiment, an NFC (Near Field Communication) Communication module may be further disposed in the device connection module 304, so as to obtain information of other devices in some service scenarios requiring short distance or security, and further complete processing of corresponding services.
In this embodiment, a bluetooth communication module may be further disposed in the device connection module 304, and preferably, the bluetooth communication module may select Beacon. Beacon is a device for realizing accurate positioning through a low-power Bluetooth technology, when a Beacon signal transmitting base station is installed at a certain position, the base station can create a signal area, when a user carries a mobile device to enter the signal area, a corresponding program can actively prompt the user whether to access the signal network, meanwhile, the corresponding application program in the mobile device can divide the distance from the user to the signal transmitting base station into three types of near type, moderate type and far type, thereby accurately positioning the user, and transmitting corresponding information to the user according to the specific situation of the user. Therefore, in this embodiment, Beacon may be installed in the code scanning device, so that the code scanning device becomes a Beacon signal transmitting base station, thereby obtaining information of all mobile devices entering a signal area generated by the code scanning device, for example, distance information, and further completing processing of corresponding services.
In this embodiment, the code scanning device can also change the protocols and contents of Beacon broadcasting at any time through the server, so as to ensure the safety of the code scanning device in the working process. For example, after the Beacon is located in the bluetooth device X, if the bluetooth device X obtains the Beacon's protocol and content broadcasted to the outside, the bluetooth device X may modify its own location information, so that the Beacon cannot accurately locate the bluetooth device X, resulting in failure to process related services.
For example, in some check-in service scenarios, if a certain user obtains a protocol and content of Beacon broadcasting externally of the check-in code scanning device, the user may modify the location of the user according to the protocol and content, so that the check-in code scanning device cannot accurately locate the location of the user, and even if the user does not reach the check-in scenario, the check-in code scanning device may erroneously obtain a result that the user successfully checked in. Therefore, in order to avoid the situation of cheating sign-in, the protocols and contents of the Beacon broadcast to the outside of the code scanning device can be modified on the server, so that even if the protocols and contents of the Beacon broadcast to the outside of the code scanning device are stolen, various services can be safely processed in the subsequent working process.
In this embodiment, the device connection module 304 may configure a plurality of communication modules with different characteristics, such as an FRID communication module, an NFC communication module, a bluetooth communication module, and the like, so that the code scanning apparatus may establish a plurality of types of connections with other external devices, thereby enriching a service processing scenario of the code scanning apparatus.
In one embodiment, the communication component 301 has a lan self-discovery service module, configured to broadcast externally after being started, so that other devices establish a communication connection with the code scanning apparatus through the broadcast.
In this embodiment, a local area network self-discovery service module may be set in the communication component 301, the service module is started with the start of the code scanning device, and the service module may provide two types of services, one is to broadcast the service that the code scanning device can provide actively to the outside to send, and the other is to respond when being queried by other devices whether the specified service can be provided.
For the service of the first mode, after the code scanning device is started and connected with the local area network, the code scanning device sends a broadcast signal to the outside through the local area network self-discovery service module, the broadcast signal is used for informing other devices of the service which can be provided by the code scanning device, after the other devices enter an effective area of the broadcast signal, an application program corresponding to the self-discovery service module in the other devices can actively recommend the service which can be provided by the code scanning device and prompt whether to access the broadcast signal, when a user of the other devices selects to access the broadcast signal, the code scanning device establishes communication connection with the other devices, and after the establishment is successful, communication interaction is carried out.
For the service of the second mode, after the code scanning device is started and connected to the local area network, other devices located in the local area network can search the code scanning device in an application program corresponding to the self-discovery service module and inquire the service which can be provided by the code scanning device, the local area network self-discovery service module responds to the device initiating the inquiry, and meanwhile, the device initiating the inquiry can establish communication connection with the code scanning device after inquiring the code scanning device and performs communication interaction after the device is successfully established.
In general, in a local area network, the necessary conditions for establishing a communication connection between two devices are: IP address and port number. When the other equipment establishes the communication connection with the code scanning device in a conventional mode, the IP address and the port number of the code scanning device need to be inquired and input manually, and extra time is spent. Through the service of the two modes, the code scanning device can actively inform other equipment of the IP address and the port number of the code scanning device, so that the other equipment does not need to spend extra time for inquiring the IP address and the port number of the code scanning device and inputting the IP address and the port number manually when establishing communication connection with the code scanning device, and the use is more convenient. For example, after other devices join the code scanning device in the queried local area network, the code scanning device can be clicked directly to establish a communication connection. In this embodiment, the communication component 301 supports a local area network self-discovery service, can communicate with other nearby devices, and enriches the functions of the code scanning device, so that the code scanning device can cope with diversified service scenes.
Fig. 8 is a schematic structural diagram of a code scanning apparatus according to an embodiment of the present application, and as shown in fig. 8, the code scanning apparatus may further include: an information output component 305; the communication component 301 is further configured to receive response information returned after the server processes the feature code identification result, and/or receive preset context information sent by the server;
the information output component 305 is configured to output the response information and/or the preset context information.
In this embodiment, after processing the corresponding service according to the feature code identification result, the server returns response information to the code scanning device, for example, if the corresponding service is a payment service, the response information may be information representing "payment success".
The information output component 305 may be any component having an information output function, and may be, for example, an audio information output component, a text information output component, a picture information output component, or the like. When the response information is audio information, the code scanning device calls the audio information output component to output the response information, when the response information is text information, the code scanning device calls the text information output component to output the response information, and when the response information is picture information, the code scanning device calls the picture information output component to output the response information.
In this embodiment, when the code scanning device is configured with a display screen, the text information output component may display the text response information on the display screen, and the picture information output component may display the picture response information on the display screen. In this embodiment, the server may further send preset context information to the code scanning device. For example, when the preset scene is a festival scene, if the server detects that the scene accords with the festival scene, the server sends information matched with the festival scene to the code scanning device. For example, in spring festival, the server transmits preset scene information of "happy spring festival" to the code scanning device, and the preset scene information is output by the information output component 305. In this embodiment, the code scanning device not only can output the response information sent by the server, but also can output the preset contextual information sent by the server, so that the functions of the code scanning device are enriched, and the use experience of a user is enhanced.
In one embodiment, the communication component 301 is further configured to receive an update instruction sent by the server, where the update instruction is used to update the configuration information of the code scanning apparatus.
The processor 303 is configured to update the configuration information of the code scanning apparatus according to the update instruction.
In this embodiment, when the server needs to update the configuration information of the code scanning apparatus, for example, when a certain function of the feature code acquisition component 302 of the code scanning apparatus needs to be upgraded, the server may send a configuration file used for the upgrade to the code scanning apparatus, so that the processor 303 of the code scanning apparatus updates the configuration information of the feature code acquisition component 302 according to the configuration file used for the upgrade.
In this embodiment, the server supports updating of various functions of the code scanning device, and when the function of a certain module in the code scanning device needs to be updated, the server only needs to issue a configuration file used for updating to the code scanning device, and the processor 303 updates the configuration information of the module to be updated according to the configuration file.
Fig. 9 is a schematic structural diagram of a fifth code scanning apparatus according to an embodiment of the present application, and as shown in fig. 9, the code scanning apparatus may further include: an information output component 305 and a memory 306;
the memory 306 stores preset response information;
the processor 303 is configured to read corresponding target response information from the memory 306 according to the feature code identification result;
the information output component 305 is configured to output the target response information.
In this embodiment, the code scanning apparatus may further include a memory 306, the memory 306 stores preset response information, the preset response information may be, for example, information indicating that the code scanning is successful, the code scanning is failed, the identification is successful, the identification is failed, and please scan the code again, and the type of the preset response information may be a text, a picture, an audio, an animation, and the like, which is not limited in this application.
In the present embodiment, the information output component 305 may be any component having an information output function, and may be, for example, an audio information output component, a text information output component, a picture information output component, or the like.
Illustratively, when a code scanning device recognizes a certain two-dimensional code at a certain time, if the feature code image fails to be acquired, the corresponding target response information obtained from the memory 306 may be information indicating that the code scanning fails, and the information indicating that the code scanning fails is output through the information output component 305; if the processor 303 fails to recognize the acquired feature code image, the corresponding target response information "obtained from the memory 306 may be information indicating that the recognition failed, and the information indicating that the recognition failed is output through the information output component 305.
In this embodiment, the code scanning apparatus supports the function of the server to remotely update the preset response information stored in the memory 306, for example, when the user needs to update the preset response information in the memory 306, the user can log in the server, set the preset response information to be updated in the server, and then send the set preset response information to the code scanning apparatus through the server, so that the code scanning apparatus updates the preset response information stored in the memory 306 by using the set preset response information.
In this embodiment, the code scanning device may automatically obtain corresponding response information from the memory 306 according to the feature code identification result and output the response information to notify the user of the feature code identification result, and prompt the user in time when the identification fails, thereby ensuring normal processing of the corresponding service.
In this embodiment, the code scanning device also supports a voice customization function. When a user needs to customize voice content according to the service characteristics of the user, the user can log in a server, the voice content output by the code scanning device under various scenes is set in the server, for example, the user sets that 'welcome XX shop' is automatically output when someone enters the shop, and the like, and then the server sends the customized voice content to the code scanning device, so that the voice content in the code scanning device is updated.
In combination with the above embodiments, in one implementation, the information output component 305 includes any one or more of the following:
the audio output assembly is used for carrying out voice broadcast on the information to be output through voice;
the projection component is used for displaying the information to be output through the image;
and the display component is used for displaying the information to be output through the text.
In this embodiment, an audio output component may be disposed in the information output component 305, so as to perform voice broadcast on the information to be output through voice; the information output component 305 may further include a projection component to display information to be output by an image; the information output component 305 may further include a display component for displaying the information to be output through text.
For example, when the code scanning device needs to perform voice broadcasting on information to be output, namely 'happy holiday', an audio output component can be called; when the code scanning device needs to play the animation corresponding to the information to be output, namely 'happy holiday', the projection component can be called; when the code scanning device needs to display the characters corresponding to the information to be output, namely 'happy holiday', the display component can be called.
In this embodiment, an audio output component, a projection component, a display component, etc. can be arranged in the information output component 305 of the code scanning device, so that the information output function of the code scanning device is enriched, and the requirements of users can be better met.
Fig. 10 is a schematic structural diagram of a code scanning apparatus according to an embodiment of the present application, and as shown in fig. 10, the code scanning apparatus may further include: a buffer 307 for buffering information to be sent to the server;
the communication component 301 is configured to, when detecting that a wireless network communication channel with the server is normal, read information from the buffer 307 and send the information to the server.
In this embodiment, the code scanning apparatus supports an offline cache function. When the code scanning device needs to transmit information to the server, if the network cannot be connected at the current moment, the information may be temporarily cached in the buffer 307, and when the network returns to normal, that is: when the network communication channel between the communication module 301 and the server is normal, the information is read from the buffer 307 and sent to the server. For example, after recognizing the two-dimensional code, if the current time is in an offline state, the code scanning device temporarily buffers the recognized two-dimensional code in the buffer 307, and after connecting to the network, reads the recognized two-dimensional code from the buffer 307 and sends the read two-dimensional code to the server.
In this embodiment, the code scanning device supports an offline cache function, so that information collected by the code scanning device can be prevented from being lost, repeated information collection is avoided, and the service processing performance of the code scanning device is enhanced.
The code scanning device in the embodiment of the application can be applied to take-out scenes and is used for solving disputes between merchants and riders. Specifically, after receiving an order of a user, a merchant starts to prepare a takeout commodity, after the takeout commodity is prepared, the merchant scans a code once by using a code scanning device in a shop to record the time of the merchant for completing the takeout commodity, and because the code scanning device can realize positioning through Beacon, when a rider arrives at the shop and the distance between the rider and the code scanning device is less than a preset distance, the rider can open a Bluetooth device (such as a mobile phone carried by the rider) carried by the rider, so that the code scanning device of the shop can automatically position the Bluetooth device of the rider, and the time of the rider arriving at the shop and taking away the takeout commodity is recorded. Therefore, when disputes occur between the merchants and the riders due to complaints of users or other reasons, the pre-recorded finishing time and taking-away time of the takeout commodities can be inquired, so that reference basis is provided for solving the disputes. In the process, when the Beacon sends the broadcast to the outside, the server can inform the code scanning device to modify the protocol or the content used by the Beacon for the outside broadcast at any time, so that a certain rider is prevented from obtaining the protocol or the content of the Beacon for the outside broadcast, the phenomenon of changing the time of arriving at a shop at will is avoided, and the benefit of a merchant is protected.
The code scanning device in the embodiment of the application can also be applied to a conference check-in scene, for example, after a user scans a check-in two-dimensional code by using equipment (such as a mobile phone and the like) with a bluetooth function, the code scanning device can realize the positioning of the mobile phone of the user through Beacon, and when the distance between the equipment of the user and the code scanning device is less than a preset distance, the user can be determined to arrive at the conference check-in scene. In order to prevent the user from quitting the conference midway, the code scanning device can also position the equipment of all the users in the conference in real time, and when the distance of certain equipment exceeds the preset distance, the user corresponding to the equipment is determined to quit the conference.
The code scanning device in the embodiment of the application can be applied to lottery scenes and prevent cheating, for example, after a user scans lottery two-dimensional codes by using equipment (such as a mobile phone and the like) with a Bluetooth function, the code scanning device can realize the positioning of the mobile phone of the user through Beacon, obtain and record the equipment information of the user, and when the user scans other lottery two-dimensional codes by using the same equipment again, the user can be prohibited from continuously lottery according to a preset rule (for example, each user is set to have a limited lottery number), so that the cheating phenomenon in the lottery scenes is prevented.
The function of sweeping a yard device itself has been reinforceed to this application, makes it can directly carry out the information interaction with cloud platform or server through communication assembly to need not to use with host equipment is supporting again, reduced the use cost who sweeps a yard device on the one hand, and on the other hand, increased and swept a yard portability of device, especially under some scenes that can't lay host equipment or host equipment and lay the difficulty, the yard device of sweeping of this application can assist the processing of all kinds of businesses in a flexible way, has strengthened user's use and has experienced.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The code scanning device provided by the present application is introduced in detail above, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1.A sweep a yard device, its characterized in that includes:
the communication component is used for carrying out information interaction with the server;
the characteristic code acquisition component is used for acquiring a characteristic code image;
and the processor is used for identifying the feature codes in the feature code images to obtain a feature code identification result and executing the control instruction sent by the server to obtain an execution result.
2. The code scanning device of claim 1, wherein the communication component comprises a mobile communication module and/or a WIFI communication module.
3. The code scanning device of claim 1, further comprising a device connection module for establishing a connection with other devices having corresponding device connection modules.
4. The code scanning device of claim 3, wherein the device connection module comprises at least one of a FRID communication module, a NFC communication module, and a Bluetooth communication module.
5. The code scanning device of claim 1, wherein the communication component has a local area network self-discovery service module, configured to broadcast externally after being started, so that other devices establish a communication connection with the code scanning device through the broadcast.
6. The code scanning device of claim 1, wherein the communication component comprises: and the network interface is used for accessing a network communication line and carrying out information interaction with the server through the network communication line.
7. The code scanning device of claim 1, further comprising: an information output component;
the communication component is further used for receiving response information returned after the server processes the feature code identification result, and/or receiving preset scene information sent by the server;
the information output component is used for outputting the response information and/or the preset scene information.
8. The code scanning device of claim 1, wherein the communication component is further configured to receive an update instruction sent by the server, and the update instruction is configured to update the configuration information of the code scanning device;
the processor is used for updating the configuration information of the code scanning device according to the updating instruction.
9. The code scanning device of claim 1, further comprising: an information output component and a memory;
the memory stores preset response information;
the processor is used for reading corresponding target response information from the memory according to the feature code identification result;
the information output component is used for outputting the target response information.
10. The code scanning device of claim 7 or 9, wherein the information output component comprises any one or more of the following components:
the audio output assembly is used for carrying out voice broadcast on the information to be output through voice;
the projection component is used for displaying the information to be output through the image;
and the display component is used for displaying the information to be output through the text.
11.A code scanning device according to any one of claims 1 to 9, further comprising: the buffer is used for buffering information to be sent to the server;
and the communication component is used for reading information from the buffer and sending the information to the server when detecting that a wireless network communication channel between the communication component and the server is normal.
CN202020953532.8U 2020-05-29 2020-05-29 Sweep a yard device Active CN213092318U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202020953532.8U CN213092318U (en) 2020-05-29 2020-05-29 Sweep a yard device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202020953532.8U CN213092318U (en) 2020-05-29 2020-05-29 Sweep a yard device

Publications (1)

Publication Number Publication Date
CN213092318U true CN213092318U (en) 2021-04-30

Family

ID=75617547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202020953532.8U Active CN213092318U (en) 2020-05-29 2020-05-29 Sweep a yard device

Country Status (1)

Country Link
CN (1) CN213092318U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113285987A (en) * 2021-05-08 2021-08-20 北京京东振世信息技术有限公司 Method and apparatus for transmitting information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113285987A (en) * 2021-05-08 2021-08-20 北京京东振世信息技术有限公司 Method and apparatus for transmitting information

Similar Documents

Publication Publication Date Title
KR101642203B1 (en) Wireless local area network authentication method and mobile terminal
CN110267327A (en) Business transmitting method and device
US20180310157A1 (en) Near field communication method and mobile terminal
CN108781473B (en) Method and equipment for sharing files among different terminals
CN103384399A (en) Method for near-field information transmission, information transmitting client-side, information receiving client-side and information system
US20230385565A1 (en) Emulated Card Switching Method, Electronic Device, and Communication System
CN113115285A (en) Information processing method and device
CN109699019B (en) Broadcast scanning method, device, electronic equipment and storage medium
CN108667936B (en) Data processing method, terminal, mobile edge computing server and storage medium
CN109886670A (en) Method of payment, device, system, mobile terminal, payment equipment and server
CN213092318U (en) Sweep a yard device
CN107969003B (en) Wireless access authentication method
CN103888264A (en) Inter-mobile-phone data transferring method based on background data exchange, terminal and system
KR101811452B1 (en) Access Profile Registration/Acquiction Method using UICC Application, Peer-to-Peer Transmission Method using the same and Terminal therefor
CN115623457A (en) Communication method and electronic device
CN108156586A (en) Phone number acquisition methods and system, server, storage medium
CN111901813A (en) Network configuration method and equipment for customer premises equipment
CN113743135A (en) Sweep a yard device
CN107889191B (en) Connection method, device and equipment of wireless local area network and computer readable storage medium
CN101140667B (en) Queuing method and system for actively recognizing visitant customer
CN107864501B (en) Method and equipment for acquiring and providing wireless access point connection information
WO2015161558A1 (en) Information transmission method, device and system for near field communication recognition chip
CN110392405B (en) Method, device, terminal and storage medium for switching mobile data network
KR101803972B1 (en) Apparatus having Universal Integrated Circuit card and File registration Method and Peer-to-Peer Transmission Method using the same
EP4054220A1 (en) Mobile service access method, device, and system, storage medium, and electronic device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant