Digital object identifier identification method, device, system and storage medium
1. A digital object identifier recognition method is applied to a collection terminal and comprises the following steps:
capturing an image of the digital object identifier with a camera;
identifying, from the image of the digital object identifier, a service execution instruction contained by the digital object identifier;
and sending the service execution instruction to an execution terminal by adopting a near field communication technology, wherein the service execution instruction is used for triggering the execution terminal to execute preset operation.
2. The method according to claim 1, wherein if the camera is an ultra-low power CMOS camera, the ultra-low power consumption being in the micro watt level, the method further comprises:
and controlling the CMOS camera with the ultra-low power consumption to be in a normally open acquisition state.
3. The digital object identifier recognition method according to claim 1, further comprising, before recognizing the service execution instruction included in the digital object identifier from the image of the digital object identifier:
determining the acquired image of the digital object identifier to be in a YUYV format;
converting the YUYV format into an RGB format;
identifying, from the image in the RGB format, a service execution instruction contained by the digital object identifier.
4. The digital object identifier recognition method according to claim 3, wherein the recognition of the service execution instruction included in the digital object identifier from the image in the RGB format comprises:
carrying out graying processing on the image in the RGB format;
filtering the grayed image to obtain an identifier effective area;
performing Hough transform on the identifier valid region to extract features of the digital object identifier;
and decoding the extracted characteristics of the digital object identifier to obtain the service execution instruction.
5. A digital object identifier recognition method is applied to an execution terminal and comprises the following steps:
receiving a service execution instruction from an acquisition terminal based on a short-distance wireless communication technology, wherein the service execution instruction is obtained by acquiring an image of the digital object identifier by the acquisition terminal through a camera and identifying the image of the digital object identifier;
and triggering and executing preset operation according to the service execution instruction.
6. A digital object identifier recognition system, comprising:
the acquisition terminal acquires the digital object identifier by using a camera, identifies a service execution instruction contained in the digital object identifier, and sends the service execution instruction to the execution terminal by adopting a short-distance wireless communication technology;
and the execution terminal receives the service execution instruction from the acquisition terminal based on the near field communication technology and triggers and executes preset operation according to the service execution instruction.
7. A digital object identifier recognition device is applied to an acquisition terminal and comprises:
the acquisition module acquires the image of the digital object identifier by using a camera;
the identification module is used for identifying the service execution instruction contained in the digital object identifier from the image of the digital object identifier;
and the sending module is used for sending the service execution instruction to an execution terminal by adopting a near field communication technology, and the service execution instruction is used for triggering the execution terminal to execute preset operation.
8. A digital object identifier recognition device, applied to an execution terminal, includes:
the receiving module is used for receiving a service execution instruction from an acquisition terminal based on a near field communication technology, wherein the service execution instruction is obtained by acquiring an image of the digital object identifier by the acquisition terminal through a camera and identifying the image of the digital object identifier;
and the execution module triggers and executes preset operation according to the service execution instruction.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the digital object identifier recognition method according to any of claims 1 to 5 are implemented when the program is executed by the processor.
10. A non-transitory computer readable storage medium, having a computer program stored thereon, wherein the computer program, when being executed by a processor, implements the steps of the digital object identifier recognition method according to any one of claims 1 to 5.
Background
A Digital Object Identifier (DOI) is a persistent Identifier or handle that is used to uniquely identify an Object (Digital resource).
In the existing identification technology of the digital object identifier, an execution terminal such as a smart phone is used for acquiring an image of the digital object identifier and identifying a service execution instruction contained in the digital object identifier, so that a preset operation is further executed according to the service execution instruction of the digital object identifier.
Disclosure of Invention
The invention provides a digital object identifier identification method, a device, a system and a storage medium, which are used for overcoming the defect that the digital object identifier identification scheme in the prior art has poor use experience for individual users and realizing good user experience.
The invention provides a digital object identifier identification method, which is applied to a collection terminal and comprises the following steps:
capturing an image of the digital object identifier with a camera;
identifying, from the image of the digital object identifier, a service execution instruction contained by the digital object identifier;
and sending the service execution instruction to an execution terminal by adopting a near field communication technology, wherein the service execution instruction is used for triggering the execution terminal to execute preset operation.
According to the digital object identifier recognition method provided by the present invention, if the camera is a CMOS camera with ultra-low power consumption, and the ultra-low power consumption is in the micro watt level, the method further comprises:
and controlling the CMOS camera with the ultra-low power consumption to be in a normally open acquisition state.
According to the digital object identifier recognition method provided by the invention, before the service execution instruction contained in the digital object identifier is recognized from the image of the digital object identifier, the method further comprises the following steps:
determining the acquired image of the digital object identifier to be in a YUYV format;
converting the YUYV format into an RGB format;
identifying, from the image in the RGB format, a service execution instruction contained by the digital object identifier.
According to the digital object identifier recognition method provided by the invention, the service execution instruction contained in the digital object identifier is recognized from the image in the RGB format, and the method comprises the following steps:
carrying out graying processing on the image in the RGB format;
filtering the grayed image to obtain an identifier effective area;
performing Hough transform on the identifier valid region to extract features of the digital object identifier;
and decoding the extracted characteristics of the digital object identifier to obtain the service execution instruction.
The invention also provides a digital object identifier identification method, which is applied to an execution terminal and comprises the following steps:
receiving a service execution instruction from an acquisition terminal based on a short-distance wireless communication technology, wherein the service execution instruction is obtained by acquiring an image of the digital object identifier by the acquisition terminal through a camera and identifying the image of the digital object identifier;
and triggering and executing preset operation according to the service execution instruction.
The present invention also provides a digital object identifier recognition system, comprising:
the acquisition terminal acquires the digital object identifier by using a camera, identifies a service execution instruction contained in the digital object identifier, and sends the service execution instruction to the execution terminal by adopting a short-distance wireless communication technology;
and the execution terminal receives the service execution instruction from the acquisition terminal based on the near field communication technology and triggers and executes preset operation according to the service execution instruction.
The invention also provides a digital object identifier recognition device, which is applied to the acquisition terminal and comprises:
the acquisition module acquires the image of the digital object identifier by using a camera;
the identification module is used for identifying the service execution instruction contained in the digital object identifier from the image of the digital object identifier;
and the sending module is used for sending the service execution instruction to an execution terminal by adopting a near field communication technology, and the service execution instruction is used for triggering the execution terminal to execute preset operation.
The invention also provides a digital object identifier recognition device, which is applied to an execution terminal and comprises the following components:
the receiving module is used for receiving a service execution instruction from an acquisition terminal based on a near field communication technology, wherein the service execution instruction is obtained by acquiring an image of the digital object identifier by the acquisition terminal through a camera and identifying the image of the digital object identifier;
and the execution module triggers and executes preset operation according to the service execution instruction.
The present invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the digital object identifier recognition method as described in any of the above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the digital object identifier recognition method as described in any of the above.
The digital object identifier identification method, the device, the system and the storage medium provided by the invention have the advantages that the acquisition terminal of the digital object identifier is separated from the execution terminal, the acquisition terminal acquires the image of the digital object identifier by using the camera, the service execution instruction contained in the digital object identifier is identified from the image of the digital object identifier, the service execution instruction is sent to the execution terminal by adopting the near field communication technology, and the execution terminal is triggered to execute the preset operation. By utilizing the technical scheme provided by the embodiment of the invention, the acquisition terminal can simply execute the acquisition and identification functions of the digital object identifier, can avoid concentrating multiple functional applications, and can immediately and automatically trigger and execute the preset operation at the execution terminal through the short-distance wireless communication technology without causing operation delay and reducing the user experience.
For users who are inconvenient to operate executing terminals such as smart phones and the like, the complicated operation of acquiring and identifying the digital object identifier by starting special applications at the executing terminals is not needed, and the method can be realized, so that good user experience is brought to the users.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a digital object identifier recognition system according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a collecting terminal in the digital object identifier recognition system according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a digital object identifier recognition method according to an embodiment of the present invention;
FIG. 4 is a second flowchart illustrating a digital object identifier recognition method according to an embodiment of the present invention;
FIG. 5 is a third flowchart illustrating a digital object identifier recognition method according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an apparatus for identifying identifiers of digital objects according to an embodiment of the present invention;
FIG. 7 is a second schematic view of the structure of the digital object identifier recognition apparatus according to the embodiment of the present invention
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. 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 invention.
In practical application, it is found that an individual user, such as the elderly or people with unknown characters, has an operation obstacle in executing terminals such as smart phones. When a business operation needs to be executed by collecting and identifying a digital object identifier, a special application is often required to be opened to start a digital object identifier identification process, and the special application is found in a plurality of applications installed in an execution terminal, which is very inconvenient for users.
The embodiment of the invention provides that the acquisition function and the execution function of the digital object identifier can be separated, the digital object identifier is acquired and identified through the independent acquisition terminal without integrating other application programs, and the execution terminal is triggered to execute the preset operation according to the service execution instruction in a service execution instruction mode. The embodiment of the invention aims to reduce redundant operation of a user, thereby bringing about good use experience.
Referring to fig. 1, a digital object identifier recognition system according to an embodiment of the present invention includes:
the acquisition terminal 110 acquires the digital object identifier by using a camera, identifies a service execution instruction contained in the digital object identifier, and transmits the service execution instruction to the execution terminal 120 by adopting a short-distance wireless communication technology;
the execution terminal 120 receives a service execution instruction from the acquisition terminal based on the short-range wireless communication technology, and triggers and executes a preset operation according to the service execution instruction.
The camera in the acquisition terminal 110 may be a Complementary metal-oxide-semiconductor (CMOS) camera, and specifically may be an ultra-low power consumption CMOS camera, and the power consumption is a μ W-level chip.
The CMOS camera adopts an ultra-low power consumption CMOS image sensor, and can integrate a camera which is always started so as to be used for computer vision application such as gesture induction, intelligent ambient light and proximity induction, tracking, object recognition and the like. The architecture of this sensor is such that the sensor consumes only <2mW of low power consumption at qvga (quarter vga)30 FPS. The resolution of the CMOS camera is 320 × 320 pixels, and a 320 × 320 window mode (which can be read at a maximum frame rate of 60 FPS) and a 2 × 2 monochrome merge mode (maximum frame rate of 120FPS) are supported. Video data is transmitted over a configurable 1-bit, 4-bit or 8-bit interface and supports frame and line synchronization. The sensor integrates a black level calibration circuit, an automatic exposure and gain control loop, a free running oscillator and motion detection circuit, and an interrupt output to reduce host computations and commands to the sensor to optimize system power consumption. The sensor adopts a Chip Scale Package (CSP) or a bare chip, and the size of the sensor is less than 5mm 2.
The execution terminal 120 of the embodiment of the present invention may be an intelligent terminal such as a mobile phone. The collection terminal 110 and the execution terminal 120 both correspond to the same user identifier and can be associated in advance, so that the accuracy and the safety of information transmission are ensured.
Referring to fig. 2, the acquisition terminal according to the embodiment of the present invention may further include: a processor module 210, a bluetooth module 220, and a power module 230.
The processor module 210 specifically executes to identify from the image of the digital object identifier the service execution instructions contained by the digital object identifier. The processor module 210 specifically decodes and decrypts the digital object identifier to obtain the service execution instruction of the digital object identifier.
The processor module 220 of the embodiment of the invention adopts an ARM Cortex M4 processor core, can operate and reduce the power consumption to below 6 muA/MHz, and has the operation frequency as high as 96 MHz.
The bluetooth module 220 enables the collection terminal to establish a communication connection with the execution terminal, so that the collection terminal sends the service execution instruction to the execution terminal.
The power module 230 of the embodiment of the present invention is used to supply power to the camera 200 and the processor module 210. Specifically, a coin-type battery holder can be arranged on the processor module 210 for installing a button battery, and meanwhile, the camera normally-open function can be achieved.
The digital object identifier identification method of the embodiment of the present invention is described below with reference to fig. 3 to 5.
Referring to fig. 3, an embodiment of the present invention provides a digital object identifier identification method, where an execution subject of the method is an acquisition terminal, and the method specifically includes the following steps:
step 310: capturing an image of the digital object identifier with a camera;
step 320: identifying, from the image of the digital object identifier, a service execution instruction contained by the digital object identifier;
step 330: and sending the service execution instruction to an execution terminal by adopting a near field communication technology, wherein the service execution instruction is used for triggering the execution terminal to execute preset operation.
The camera of the embodiment of the invention can be an ultra-low power consumption CMOS camera, wherein the ultra-low power consumption is in a micro watt level. Because the power consumption is very low, the CMOS camera with the ultra-low power consumption can be controlled to be in a normally open acquisition state. Thus, the user can initiate a shot by aiming the camera at the digital object identifier. This enhances the convenience of use for users who are not convenient to operate.
In an optional embodiment of the present invention, the acquisition terminal may set a physical button, and when it is detected that the in-house button is triggered, a camera is started to shoot. At this time, the camera may not need to be kept in a normally open state.
The digital object identifier of the embodiment of the present invention may be a two-dimensional code, a barcode, or an identifier in other forms, which is not specifically limited herein.
In an embodiment of the present invention, before identifying, from the image of the digital object identifier, the service execution instruction included in the digital object identifier, the method further includes:
determining the acquired image of the digital object identifier to be in a YUYV format;
converting the YUYV format into an RGB format;
identifying, from the image in the RGB format, a service execution instruction contained by the digital object identifier.
If the YUYV format is acquired at the beginning, the YUYV format needs to be converted into the RGB format to realize the subsequent image recognition and analysis.
In an alternative embodiment, the digital object identifier image may be initially captured in RGB format.
Referring to fig. 4, an embodiment of the present invention further provides a specific digital object identifier identification scheme, including the following steps:
step 410: carrying out graying processing on the image in the RGB format;
step 420: filtering the grayed image to obtain an identifier effective area;
step 430: performing Hough transform on the identifier valid region to extract features of the digital object identifier;
step 440: and decoding the extracted characteristics of the digital object identifier to obtain a service execution instruction.
The purpose of the graying processing is to reduce interference of color information.
The image of the digital object identifier is filtered in order to filter out non-digital object identifier areas, thereby obtaining an identifier valid area, which is an area that contains the image of the digital object identifier as much as possible. In particular, a median filtering method may be employed to filter the grayed digital object identifier image.
In an optional embodiment, the foreground and background can be extracted from the effective area of the identifier through image binarization, so that the segmentation is more reasonable, and the image is clearer through image morphology.
The hough transform is a feature extraction, and is used to identify features in an object to be found, for example: a line. The principle of Hough transform is that a curve given in an original image space is changed into a point in a parameter space through the duality of lines and points, so that the detection content of the curve given in the original image is changed into peak content in a searching parameter space. Then, the corresponding service execution instruction is obtained by decoding and decrypting the digital object identifier.
In the embodiment of the present invention, the service execution instruction is the content hidden by the digital object identifier, and the content of the service execution instruction differs corresponding to a specific service scenario. For example, the service execution instructions may contain information to be presented. The service execution instructions may be payment instructions, containing corresponding account information. The service execution instruction may be an information acquisition instruction, and includes an identifier of information to be acquired, such as address information. The specific content of the service execution instruction is not described herein again.
The near field communication technology provided by the embodiment of the invention can realize the establishment of the near field communication connection between the acquisition terminal and the execution terminal. The short-range wireless communication technology includes ZigBee, bluetooth, or WiFi, and is not particularly limited herein.
When transmitting the execution instruction to the execution terminal, encryption setting may be performed to ensure information security.
Fig. 5 is a flowchart of a digital object identifier recognition method according to an embodiment of the present invention, where an execution main body of the method is an execution terminal, and the method specifically includes the following steps:
step 510: receiving a service execution instruction from an acquisition terminal based on a short-distance wireless communication technology, wherein the service execution instruction is obtained by acquiring an image of the digital object identifier by the acquisition terminal through a camera and identifying the image of the digital object identifier;
step 520: and triggering and executing preset operation according to the service execution instruction.
Through the short-distance wireless communication technology, the execution terminal and the acquisition terminal establish communication connection in advance, so that the instant transmission of the execution instruction can be realized.
The service execution instruction plays a role in triggering, and triggers the execution terminal to execute the preset operation, specifically, the preset operation is executed by a corresponding application in the execution terminal. In this case, the service execution instruction may include a corresponding application identifier to identify a specific application and trigger execution of a preset operation.
In the embodiment of the present invention, the preset operation may be displaying content in the service execution instruction, executing a payment operation, or searching and displaying information according to address information in the service execution instruction, which is not limited herein.
The digital object identifier recognition apparatus provided by the present invention will be described below, and the digital object identifier recognition apparatus described below and the digital object identifier recognition method described above may be referred to in correspondence with each other.
Referring to fig. 6, a digital object identifier recognition apparatus provided in an embodiment of the present invention is applied to an acquisition terminal, and the digital object identifier recognition apparatus specifically includes:
an acquisition module 610 for acquiring an image of the digital object identifier using a camera;
an identifying module 620 for identifying the service execution instruction contained in the digital object identifier from the image of the digital object identifier;
the sending module 630 sends the service execution instruction to the execution terminal by using the short-range wireless communication technology, where the service execution instruction is used to trigger the execution terminal to execute a preset operation.
A camera is integrated in the acquisition module 610. The recognition module 620 decodes and decrypts the digital object identifier to obtain the service execution instruction. The sending module 630 is integrated with a bluetooth module to implement bluetooth connection and transmission with the execution terminal.
Referring to fig. 7, a digital object identifier recognition apparatus provided in an embodiment of the present invention is applied to an execution terminal, and specifically includes:
a receiving module 710, configured to receive a service execution instruction of a digital object identifier from a collection terminal based on a short-range wireless communication technology, where the service execution instruction is obtained by the collection terminal collecting an image of the digital object identifier by using a camera and identifying the image of the digital object identifier;
and the execution module 720 is used for triggering and executing the preset operation according to the service execution instruction.
The execution module 720 triggers execution of the preset operation through an application program.
Fig. 8 illustrates a physical structure diagram of an electronic device, and as shown in fig. 8, the electronic device may include: a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. Processor 810 may invoke logic instructions in memory 830 to perform a digital object identifier identification method comprising
Identifying, from the image of the digital object identifier, a service execution instruction contained by the digital object identifier;
sending the service execution instruction to an execution terminal by adopting a short-distance wireless communication technology; or
Receiving a service execution instruction from an acquisition terminal based on a short-distance wireless communication technology, wherein the service execution instruction is obtained by acquiring an image of the digital object identifier by the acquisition terminal through a camera and identifying the image of the digital object identifier;
and triggering and executing preset operation according to the service execution instruction.
In addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the digital object identifier recognition method provided by the above methods, the method comprising
Identifying, from the image of the digital object identifier, a service execution instruction contained by the digital object identifier;
and sending the service execution instruction to an execution terminal by adopting a near field communication technology, wherein the service execution instruction is used for triggering the execution terminal to execute preset operation. Or the like, or, alternatively,
receiving a service execution instruction from an acquisition terminal based on a short-distance wireless communication technology, wherein the service execution instruction is obtained by acquiring an image of the digital object identifier by the acquisition terminal through a camera and identifying the image of the digital object identifier;
and triggering and executing preset operation according to the service execution instruction.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the digital object identifier recognition methods provided above, the method comprising
Identifying, from the image of the digital object identifier, a service execution instruction contained by the digital object identifier;
and sending the service execution instruction to an execution terminal by adopting a near field communication technology, wherein the service execution instruction is used for triggering the execution terminal to execute preset operation. Or the like, or, alternatively,
receiving a service execution instruction from an acquisition terminal based on a short-distance wireless communication technology, wherein the service execution instruction is obtained by acquiring an image of the digital object identifier by the acquisition terminal through a camera and identifying the image of the digital object identifier;
and triggering and executing preset operation according to the service execution instruction.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:票据识别设备及方法