Disclosure of Invention
In order to solve the technical problem, the invention provides an information processing method, an information processing device and a terminal based on mark identification.
The invention is realized by the following technical scheme:
in a first aspect, an information processing method based on tag identification, the method comprising:
acquiring a mark to be identified;
analyzing the mark to be identified to obtain an information extraction interval; the information extraction interval comprises a mark display interval and an available information display interval;
performing mark identification according to a preset mark identification interval and the mark display interval;
obtaining an information processing interface according to the identified mark;
acquiring available information from the available information display interval;
processing the available information by the information processing interface.
Further, the analyzing the to-be-identified identifier to obtain the information extraction interval includes:
analyzing the identification to be identified to obtain a first coordinate, a second coordinate and a third coordinate; the first coordinate, the second coordinate and the third coordinate are used for identifying the information extraction interval; the first coordinate, the second coordinate and the third coordinate are offset coordinates relative to the position of the to-be-recognized mark.
Further, the analyzing the to-be-identified identifier to obtain the information extraction interval includes:
analyzing the identification to be identified to obtain a first coordinate, a second coordinate, a third coordinate and a fourth coordinate; the first coordinate, the second coordinate, the third coordinate and the fourth coordinate are used for identifying the information extraction interval; the first coordinate, the second coordinate, the third coordinate and the fourth coordinate are offset coordinates relative to the position of the to-be-recognized mark.
Further, the analyzing the to-be-identified identifier to obtain the information extraction interval includes:
analyzing the mark to be identified to obtain first data; and obtaining the identifier information extraction interval by taking the first data as the radius and the position of the identifier to be identified as the circle center.
Further, the analyzing the to-be-identified identifier to obtain the information extraction interval further includes:
and analyzing the mark to be identified to obtain the position data of the mark display interval and the position data of the available information display interval.
Further, the performing mark identification according to a preset mark identification interval and the mark display interval includes:
obtaining a preset mark identification interval; the preset mark identification interval comprises one or more marks;
aligning a preset mark identification interval to the mark display interval, wherein a display mark corresponding to the mark is displayed at a position corresponding to the mark in the mark display interval;
judging whether the display marks corresponding to the marks contain selected marks one by one according to the marks;
and if so, acquiring the mark.
Further, the acquiring available information from the available information presentation interval includes:
and saving the available information in the available information display interval in a photo form.
In a second aspect, an information processing apparatus based on tag identification, the apparatus comprising:
the identification to be recognized acquisition module is used for acquiring the identification to be recognized;
the analysis module is used for analyzing the mark to be identified to obtain an information extraction interval; the information extraction interval comprises a mark display interval and an available information display interval;
the mark identification module is used for carrying out mark identification according to a preset mark identification interval and the mark display interval;
the interface acquisition module is used for acquiring an information processing interface according to the identified mark;
the available information acquisition module is used for acquiring available information from the available information display interval;
and the processing module is used for processing the available information by the information processing interface.
Further, the tag identification module includes:
the first acquisition unit is used for acquiring a preset mark identification interval; the preset mark identification interval comprises one or more marks;
the alignment unit is used for aligning a preset mark identification interval to the mark display interval, and display marks corresponding to the marks are displayed at positions corresponding to the marks in the mark display interval;
the judging unit is used for judging whether the display marks corresponding to the marks contain the selected marks one by one according to the marks;
a second acquiring unit for acquiring the mark.
In a third aspect, an information processing terminal based on tag identification includes an information processing apparatus based on tag identification as described above.
The invention provides an information processing method, an information processing device and an information processing terminal based on mark identification, which have the following beneficial effects:
the electronic information is automatically acquired through the identification of the available information display section, and the processing interface of the electronic information is automatically acquired through the identification, so that the electronic information is automatically processed by using the processing interface acquired based on the identification. The invention realizes the automatic electronization and automatic processing of the information, automatically processes the electronic information by identifying the processing mode desired by the automatic sensing user, solves the problem of processing difficulty of the electronic information caused by the diversity of the electronic information processing modes for the user, obviously improves the processing efficiency of the electronic information and improves the user experience.
Detailed description of the invention
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
It should be noted that the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
An embodiment of the present invention provides an information processing method based on tag identification, as shown in fig. 1, the method includes:
s101, acquiring the mark to be identified.
In particular, the identifier to be identified may be a bar code, a two-dimensional code, a multi-dimensional code, a color code, or other identifiers that may be used to contain information.
S102, analyzing the identification to be identified to obtain an information extraction interval; the information extraction interval comprises a mark display interval and an available information display interval.
Specifically, the identification to be recognized is analyzed to obtain a first coordinate, a second coordinate and a third coordinate; the first coordinate, the second coordinate and the third coordinate are used for identifying the information extraction interval; the first coordinate, the second coordinate and the third coordinate are offset coordinates relative to the position of the to-be-recognized mark. Specifically, the position of the identifier to be recognized may be a center coordinate of the identifier to be recognized.
The analyzing the identification to be recognized to obtain the information extraction interval further comprises:
and analyzing the mark to be identified to obtain the position data of the mark display interval and the position data of the available information display interval.
As shown in fig. 2, a two-dimensional code is used as the identifier to be identified, the first coordinate is an upper left corner coordinate relative to the center of the two-dimensional code, the second coordinate is an upper right corner coordinate relative to the center of the two-dimensional code, and the third coordinate is a right side coordinate relative to the center of the two-dimensional code. On the basis of obtaining the information extraction space, the position of the mark display interval and the position of the available information display interval can be determined according to the position data of the mark display interval and the position data of the available information display interval.
And S103, carrying out mark identification according to a preset mark identification interval and the mark display interval.
Specifically, as shown in fig. 3, the method includes:
s1031, obtaining a preset mark identification interval; the preset mark identification interval comprises one or more marks.
And S1032, aligning a preset mark identification interval to the mark display interval, wherein a display mark corresponding to the mark is displayed at a position corresponding to the mark in the mark display interval.
As shown in fig. 4, the preset mark identification interval is located in the information processing terminal, and the preset mark identification interval includes one or more marks, and the marks located in the preset mark identification interval correspond to the display marks in the mark display interval one to one.
And S1033, judging whether the display mark corresponding to the mark comprises the selected mark one by one according to the mark.
In particular, the selected marking may be a blackout, a check, or any other painting of the presentation indicia.
S1034, if yes, acquiring the mark.
Taking the identification of fig. 2 as an example, the second mark has a slash and the fourth mark has a circle, so that the second and fourth marks are accessible.
Specifically, the acquired markers are all identified markers. The acquired mark may be null, or may be one or more. If no flag is obtained, the following steps are not performed.
And S104, obtaining an information processing interface according to the identified mark.
Different marks correspond to different information processing interfaces, and different information processing interfaces can be obtained according to the marked result. The information processing interfaces include, but are not limited to, emailing the information to different recipients, storing the information in different physical spaces, or sharing the information to different people.
And S105, acquiring the available information from the available information display interval.
Specifically, the manner of acquiring the available information includes, but is not limited to, acquiring the available information in a photo form, acquiring the available information in a text form based on an automatic recognition manner, and/or saving the available information in a link form.
And S106, processing the available information by the information processing interface.
Further, in step S102 in other embodiments, the analyzing the to-be-identified identifier to obtain the information extraction interval includes:
analyzing the identification to be identified to obtain a first coordinate, a second coordinate, a third coordinate and a fourth coordinate; the first coordinate, the second coordinate, the third coordinate and the fourth coordinate are used for identifying the information extraction interval; the first coordinate, the second coordinate, the third coordinate and the fourth coordinate are offset coordinates relative to the position of the to-be-recognized mark.
The method is suitable for the scene shown in fig. 5, the first coordinate is an upper left corner coordinate relative to the identifier to be recognized, the second coordinate is an upper right corner coordinate relative to the identifier to be recognized, the third coordinate is a lower left corner coordinate relative to the identifier to be recognized, and the fourth coordinate is a lower right corner coordinate relative to the identifier to be recognized.
Further, in step S102 in other embodiments, the analyzing the to-be-identified identifier to obtain the information extraction interval includes:
analyzing the mark to be identified to obtain first data; and obtaining the identifier information extraction interval by taking the first data as the radius and the position of the identifier to be identified as the circle center. The method is applicable to the scenario shown in fig. 6.
An embodiment of the present invention further provides an information processing apparatus based on tag identification, as shown in fig. 7, the apparatus includes:
an identifier to be recognized obtaining module 201, configured to obtain an identifier to be recognized. May be used to perform the method embodiment S101 described above.
The analyzing module 202 is configured to analyze the identifier to be identified to obtain an information extraction interval; the information extraction interval comprises a mark display interval and an available information display interval. May be used to perform the method embodiment S102 described above.
And the mark identification module 203 is configured to perform mark identification according to a preset mark identification interval and the mark display interval. May be used to perform the method embodiment S103 described above.
And the interface obtaining module 204 is configured to obtain an information processing interface according to the identified mark. May be used to perform the method embodiment S104 described above.
An available information obtaining module 205, configured to obtain available information from the available information display interval. May be used to perform the method embodiment S105 described above.
A processing module 206, configured to process the available information by the information processing interface. May be used to perform the method embodiment S106 described above.
Specifically, as shown in fig. 8, the mark recognition module includes:
a first obtaining unit 2031, configured to obtain a preset mark identification interval; the preset mark identification interval comprises one or more marks. May be used to perform the above method embodiment S1031.
An aligning unit 2032, configured to align a preset mark identification interval with the mark display interval, where a display mark corresponding to the mark is displayed at a position corresponding to the mark in the mark display interval. May be used to perform the method embodiment S1032 described above.
The judging unit 2033 is configured to judge whether the display mark corresponding to the mark contains the selected mark one by one according to the mark. May be used to perform the above-described method embodiment S1033.
A second acquiring unit 2034 configured to acquire the flag. May be used to perform method embodiment S1034 described above.
An embodiment of the present invention provides a terminal, as shown in fig. 9, where the terminal may be configured to implement the information processing method based on tag identification provided in the foregoing embodiment. Specifically, the method comprises the following steps:
the terminal may include RF (Radio Frequency) circuitry 110, memory 120 including one or more computer-readable storage media, input unit 130, display unit 140, sensor 150, audio circuitry 160, WiFi (wireless fidelity) module 170, processor 180 including one or more processing cores, and power supply 190. Those skilled in the art will appreciate that the terminal structure shown in fig. 9 does not constitute a limitation of the terminal, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphic user interfaces of the terminal, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 9, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The terminal may also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 141 and/or a backlight when the terminal is moved to the ear. As one of the motion sensors, the gravitational acceleration sensor may detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the terminal is stationary, and may be used for applications of recognizing the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and the terminal. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuit 160 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
WiFi belongs to a short-distance wireless transmission technology, and the terminal can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 170, and provides wireless broadband internet access for the user. Although fig. 9 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the terminal. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The terminal also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 180 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which are not described herein again. Specifically, in this embodiment, the display unit of the terminal is a touch screen display, the terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors include instructions for executing an information processing method based on the tag identification.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.