CN111382467A - Information processing method and electronic equipment - Google Patents
Information processing method and electronic equipment Download PDFInfo
- Publication number
- CN111382467A CN111382467A CN201811636339.5A CN201811636339A CN111382467A CN 111382467 A CN111382467 A CN 111382467A CN 201811636339 A CN201811636339 A CN 201811636339A CN 111382467 A CN111382467 A CN 111382467A
- Authority
- CN
- China
- Prior art keywords
- light
- information
- response
- display
- host
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/84—Protecting input, output or interconnection devices output devices, e.g. displays or monitors
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Electrically Operated Instructional Devices (AREA)
Abstract
The invention discloses an electronic device, comprising: the host is provided with a display; the external photosensitive equipment is connected with the host; wherein the host is configured to: the display outputs a target question, the external photosensitive equipment receives a response light signal sent by a user through the light-emitting equipment, the response light signal is decoded based on a Morse code decoding mode, decoded response information is obtained, a standard answer corresponding to the target question is obtained, the response information is matched with the standard answer, if the matching is successful, the display outputs first information, and if the matching is failed, the display outputs second information. The invention solves the technical problems of less interaction modes and low safety of the electronic equipment in the prior art, realizes the interaction modes of abundant users and improves the technical effect of information safety.
Description
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an information processing method and an electronic device.
Background
With the development of science and technology, more and more electronic devices have entered the lives of people, and bring convenience to the lives of people. For example, devices such as smart phones, tablet computers, smart televisions, digital cameras, and game consoles are popular with users.
The current mode of interaction between electronic equipment and a user is generally realized through input equipment such as a keyboard, a mouse or a touch screen (such as a capacitive touch screen or a resistive touch screen), and the like, and has no great change for many years, the interaction mode is less and not abundant enough, so that the user is bored and not safe, information input by the user is easy to be peeped by other people, and the hidden information safety hazard exists.
Disclosure of Invention
By providing the information processing method and the electronic device, the technical problems that in the prior art, the electronic device has fewer interaction modes and is not high in safety are solved, the interaction modes of abundant users are achieved, and the technical effect of information safety is improved.
In a first aspect, the present application provides the following technical solutions through an embodiment of the present application:
an electronic device, comprising:
the host is provided with a display;
the external photosensitive equipment is connected with the host;
wherein the host is configured to: the display outputs a target question, the external photosensitive equipment receives a response light signal sent by a user through the light-emitting equipment, the response light signal is decoded based on a Morse code decoding mode, decoded response information is obtained, a standard answer corresponding to the target question is obtained, the response information is matched with the standard answer, if the matching is successful, the display outputs first information, and if the matching is failed, the display outputs second information.
Preferably, the electronic device further comprises an input device connected with the host;
the host is further configured to: before outputting a target title through the display, displaying M titles, wherein M is a positive integer; and acquiring the selection operation of the user based on the input equipment, and selecting the target title from the M titles based on the selection operation.
Preferably, a photosensitive sensor is arranged on the external photosensitive device and used for sensing and receiving the answering light signal sent by the light-emitting device.
Preferably, the host is specifically configured to:
aiming at any optical signal factor in the response optical signal, acquiring the light emitting time of the optical signal factor, wherein the response optical signal comprises one or more optical signal factors, and each optical signal factor corresponds to one-time light emission of the light emitting equipment; if the light-emitting time is less than a first preset time, decoding the light signal factor into a short signal in the Morse code; and if the light-emitting time is longer than a second preset time length, decoding the light signal factor into a long signal in the Morse code.
Preferably, the host is specifically configured to:
and acquiring the standard answer corresponding to the number from a preset storage area based on the number of the target question.
Preferably, the host is further configured to:
and if the answering light signal input by the user for each question in the M questions is matched with the standard answer corresponding to each question, outputting third information.
In a second aspect, based on the same inventive concept, the present application provides the following technical solutions through an embodiment of the present application:
an information processing method is applied to electronic equipment, wherein the electronic equipment comprises a display and an external photosensitive device, and the method comprises the following steps:
outputting a target title through the display;
receiving response light signals sent by a user through the light-emitting device through the external photosensitive device;
decoding the answering optical signal based on a Morse code decoding mode to obtain decoded answering information;
acquiring a standard answer corresponding to the target question, and matching the answering information with the standard answer;
if the matching is successful, outputting first information through the display;
and if the matching fails, outputting second information through the display.
Preferably, before the outputting the target title through the display, the method further comprises:
displaying M questions, wherein M is a positive integer;
and selecting the target title from the M titles based on the selection operation of the user.
Preferably, the receiving, by the external photosensitive device, a response light signal emitted by a user through a light-emitting device includes:
the photosensitive sensor arranged on the external photosensitive equipment senses and receives the answering light signal input by the user through the light-emitting equipment.
Preferably, the decoding method based on the moss cipher decodes the response light signal, and includes:
aiming at any optical signal factor in the response optical signal, acquiring the light emitting time of the optical signal factor, wherein the response optical signal comprises one or more optical signal factors, and each optical signal factor corresponds to one-time light emission of the light emitting equipment;
if the light-emitting time is less than a first preset time, decoding the light signal factor into a short signal in the Morse code;
and if the light-emitting time is longer than a second preset time length, decoding the light signal factor into a long signal in the Morse code.
Preferably, the obtaining of the standard answer corresponding to the target topic includes:
and acquiring the standard answer corresponding to the number from a preset storage area based on the number of the target question.
Preferably, the method further comprises:
and if the answering light signal input by the user for each question in the M questions is matched with the standard answer corresponding to each question, outputting third information.
In a third aspect, based on the same inventive concept, the present application provides the following technical solutions through an embodiment of the present application:
a computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
the display outputs a target question, the external photosensitive equipment receives a response light signal sent by a user through the light-emitting equipment, the response light signal is decoded based on a Morse code decoding mode, decoded response information is obtained, a standard answer corresponding to the target question is obtained, the response information is matched with the standard answer, if the matching is successful, the display outputs first information, and if the matching is failed, the display outputs second information.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
in an embodiment of the present application, an electronic device is disclosed, including: the host is provided with a display; the external photosensitive equipment is connected with the host; wherein the host is configured to: the display outputs a target question, the external photosensitive equipment receives a response light signal sent by a user through the light-emitting equipment, the response light signal is decoded based on a Morse code decoding mode, decoded response information is obtained, a standard answer corresponding to the target question is obtained, the response information is matched with the standard answer, if the matching is successful, the display outputs first information, and if the matching is failed, the display outputs second information. Because the answer optical signal that the user sent using light emitting equipment is received through external sensitization equipment to decoding mode based on the moss password is right answer optical signal decodes, like this, not only richen user's interactive mode, improve information security moreover, so solved the interactive mode that has electronic equipment among the prior art less, and the not high technical problem of security.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a block diagram of an electronic device according to an embodiment of the present application;
FIG. 2 is a diagram illustrating the effect of a display on displaying a target topic according to an embodiment of the present application;
FIG. 3 is a flowchart of an information processing method according to an embodiment of the present application;
fig. 4 is a block diagram of a computer-readable storage medium according to an embodiment of the present application.
Detailed Description
By providing the information processing method and the electronic device, the technical problems that in the prior art, the electronic device has fewer interaction modes and is not high in safety are solved, the interaction modes of abundant users are achieved, and the technical effect of information safety is improved.
In order to solve the technical problems, the general idea of the embodiment of the application is as follows:
an electronic device, comprising: the host is provided with a display; the external photosensitive equipment is connected with the host; wherein the host is configured to: the display outputs a target question, the external photosensitive equipment receives a response light signal sent by a user through the light-emitting equipment, the response light signal is decoded based on a Morse code decoding mode, decoded response information is obtained, a standard answer corresponding to the target question is obtained, the response information is matched with the standard answer, if the matching is successful, the display outputs first information, and if the matching is failed, the display outputs second information.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Example one
As shown in fig. 1, the present embodiment provides an electronic device 100, including:
a host 110, wherein the host 110 is provided with a display 101;
the external photosensitive device 120 is connected with the host 110;
wherein, the host 110 is configured to: the target question is output through the display 101, the answering light signal sent by a user through a light-emitting device is received through the external photosensitive device 120, the answering light signal is decoded in a Morse code-based decoding mode, decoded answering information is obtained, a standard answer corresponding to the target question is obtained, the answering information is matched with the standard answer, if the matching is successful, first information is output, and if the matching is failed, second information is output.
In a specific implementation process, the external photosensitive device 120 and the host 110 may be connected by a data line or wirelessly connected by a wireless communication module (e.g., a bluetooth module or a WiFi module).
In a specific implementation process, the display 101 may be disposed on the host 110, or may be connected to the host 110 through a video signal line.
In the implementation process, the host 110 may be a host of a computer, in which hardware such as a motherboard, a CPU, a graphics card, a memory, a storage (e.g., a hard disk, a flash memory), and a power supply are disposed.
In the implementation process, an operating system is installed in the host 110, and the operating system may be: windows systems (e.g., window 7, or window8, or window10, etc.), or Linux systems (e.g., ubuntu, or red-flag Linux, etc.), or Mac OS X systems, etc.
As an alternative embodiment, the electronic device 100 further includes an input device connected to the host 110; at this time, the host 110 is also configured to: before outputting a target topic through the display 101, displaying M topics, wherein M is a positive integer; and acquiring a selection operation of a user based on the input equipment, and selecting a target topic from the M topics based on the selection operation.
In a specific implementation process, a plurality of topics are stored in the host 110, and the host 110 can control the display 101 to display the topics for selection by a user, and the user can select any topic from the topics as a target topic through an input device. Wherein, the input device may be: a keyboard, or a mouse, or a microphone (supporting the user to select the target title by voice); alternatively, when the display 101 is a touch screen, the display 101 may be used as an input device, so as to support the user to select a target title by touch.
For example, as shown in fig. 2, 4 cards, that is, a card 21, a card 22, a card 23, and a card 24, may be displayed on the display 101, wherein each card corresponds to one title and has a total of 4 titles, and in a default state, the cards only display the back side and do not show specific title information to the user. The user can select one card from the 4 cards using the input device, and the host computer 110 displays the title of the front side of the card (which may be accompanied by a special effect of turning the card) in the central area of the display 101 in an enlarged manner, i.e., the target title. As shown in fig. 2, a card 20 is a card selected by a user, in which a target title is displayed.
In a specific implementation process, the topics stored in the host 110 may be: numbers, letters, mathematical operations (e.g., addition, subtraction, multiplication, division operations), and may also be Morse ciphers. Correspondingly, the user needs to use the light-emitting device to send out the Morse code corresponding to the target subject (or the answer of the target subject), and the answer is considered to be correct, otherwise, the answer is considered to be wrong.
The morse code (morse code), which consists of two basic signals and different intervals: short dot signal "·", read "drop" (Di); a long signal "-" is maintained for a certain time, and a "click" (Da) is read. The interval time is as follows: dropping, 1 t; click, 3 t; between the clicks, 1 t; between characters, 3 t; word space, 7 t. The commonly used Morse code is as follows:
for example, the target topic can be the number "1", or "2", or "3", etc.; when the target title is number ' 1 ', the user needs to use the light-emitting device to send out the optical signal corresponding to the Morse code ' corresponding to the number ' 1 ', and the answer is considered to be correct; when the target title is number "2", the user needs to use the light-emitting device to send out the optical signal corresponding to the Morse code ". cndot. -" corresponding to the number "2", and the answer is regarded as correct; when the target title is number "3", the user needs to use the lighting device to send out the light signal corresponding to the Morse code ". cndot. - -" corresponding to number "3", and then the answer is considered to be correct.
For example, a target topic can be the letters "A", or "B", or "C", etc.; when the target title is the letter "A", a user needs to use the light-emitting device to send out a light signal corresponding to the Morse code "· -" corresponding to the letter "A", and then the answer is considered to be correct; when the target title is the letter "B", the user needs to use the light-emitting device to send out the light signal corresponding to the Morse code "-. cndot." corresponding to the letter "B", and the answer is considered to be correct; when the target title is the letter "C", the user needs to use the light-emitting device to send out the light signal corresponding to the moss code "-" corresponding to the letter "C", and the answer is considered to be correct.
For example, the target topic can be mathematical operation "1 + 1? ", or" 1+ 2? ", or" 2+2 ═? ", etc.; is the objective titled mathematical operation "1 + 1? "in case, since 1+1 ═ 2, the user needs to use the lighting device to send out the optical signal corresponding to the moss code" · - - - "corresponding to the number" 2 ", and the answer is considered to be correct; is the objective titled mathematical operation "1 + 2? "in case, since 1+2 ═ 3, the user needs to use the lighting device to send out the optical signal corresponding to the moss code" · · · · — "corresponding to the number" 3 ", and the answer is considered to be correct; is the objective titled mathematical operation "2 + 2? "in case 2+2 ═ 4, the user needs to use the lighting device to send out an optical signal corresponding to the moss code" · - "corresponding to the number" 4 ", and the answer is regarded as correct.
For example, the target topic is Morse code "- - - -, or" - - -, etc. As shown in FIG. 2, the target topic is "-. When the target topic is Morse code, the user needs to use the lighting device to send out the light signal corresponding to the Morse code, and the answer is considered to be correct; when the target topic is the Morse code, the user needs to use the lighting equipment to send out the optical signal corresponding to the Morse code, and the answer is considered to be correct; when the objective title is Morse code, the user needs to use the lighting device to send out the light signal corresponding to the Morse code, and the answer is considered to be correct.
In one implementation, after the target topic is output by the display 101, the user can respond with a light-emitting device, wherein the light-emitting device is an electronic device with a light-emitting function (e.g., a flashlight, a mobile phone with a flash, etc.). The user may operate the light emitting device to emit different forms of light signals, thereby inputting the response light signal to the host 110.
As an alternative embodiment, a photosensitive sensor is disposed on the external photosensitive device 120, and the photosensitive sensor is used for sensing and receiving the response light signal emitted by the light-emitting device.
In a specific implementation process, a user may refer to a decoding mode of the moss cipher to operate the light emitting device to emit a response light signal, and the light emitting device needs to be aligned to the light sensing sensor on the external light sensing device 120, so that the external light sensing device 120 senses and receives the response light signal emitted by the light emitting device.
In the specific implementation process, the user can control the duration of each time that the light-emitting device emits light, if the duration is less than a first preset duration (t1), the short signal "· of the mousse code is considered to be emitted, and if the duration is greater than a second preset duration (t2), the long signal" — "of the mousse code is considered to be emitted.
As an optional embodiment, the host 110 is specifically configured to:
aiming at any optical signal factor in the answering optical signal, acquiring the light emitting time of the optical signal factor, wherein the answering optical signal comprises one or more optical signal factors, and each optical signal factor corresponds to one-time light emission of the light emitting equipment; if the light-emitting time is less than the first preset time (t1), decoding the light signal factor into a short signal in the Morse code; if the light emitting time is longer than the second preset time (t2), the light signal factor is decoded into a long signal in the Morse code.
In a specific implementation process, after the host 110 receives the response light signal sent by the user using the light emitting device through the external photosensitive device 120, the response light signal can be decoded in a decoding manner based on the moss code, so as to obtain decoded response information. Wherein, the external photosensitive device 120 receives an optical signal factor every time the user uses the light emitting device to emit light once.
In a specific implementation process, in the process of decoding the response light signal based on the decoding mode of the moss cipher, two preset time lengths of t1 and t2 can be set in advance, wherein t2 is greater than t1, when the primary light-emitting time of the light-emitting device is less than t1 time, the light-emitting device is determined to be a short signal, and when the primary light-emitting time of the light-emitting device is greater than t2, the light-emitting device is determined to be a long signal, so that the moss cipher corresponding to the response light signal is finally obtained in this way.
In the specific implementation process, after the moss cipher corresponding to the response optical signal is obtained, the moss cipher can be directly used as the decoded response information. For example, if the moss code corresponding to the response optical signal is "·-", the moss code "·-" is used as the decoded response information.
Or, the character corresponding to the Morse code can be further obtained according to the decoding mode of the Morse code, and the character is used as the decoded response information. For example, if the moss code corresponding to the response optical signal is "- -" and the character corresponding to the moss code is "1", the "1" is used as the decoded response information.
In the specific implementation process, the specific form of the decoded response information may be determined according to the standard answer stored in the host 110, and if the standard answer is the moss code, the moss code corresponding to the response optical signal is directly used as the decoded response information; if the standard answer is a character, the Moss code corresponding to the answering optical signal is further converted into a character, and the character is used as the decoded answering information.
As an optional embodiment, the host 110 is specifically configured to:
and acquiring standard answers corresponding to the numbers from a preset storage area based on the numbers of the target questions.
In a specific implementation process, each topic may be numbered in advance, a standard answer corresponding to each number is stored in a preset storage region (e.g., a certain folder) (that is, the standard answer corresponding to each topic is stored in the preset storage region, and the number may be used as an index), and the host 110 may query the standard answer corresponding to the target topic in the preset storage region by using the number of the target topic.
In the specific implementation process, the standard answer may be a moss code, and the host 110 may match the decoded response information (which is the moss code) with the standard answer (which is the moss code); alternatively, the standard answer may be a character, and the host 110 may match the decoded response information (which is the character) with the standard answer (which is the character).
For example, when matching, if the answer information is consistent with the standard answer, i.e. matching is successful, it is determined that the user answers correctly, and then a first information (e.g. "answers correctly") is output on the display 101; if the answer information is not consistent with the standard answer, i.e. the matching fails, it is determined that the user answered incorrectly, and a second information (e.g.: error answer) is output on the display 101.
As an alternative embodiment, the host 110 is further configured to:
and if the answering light signal input by the user for each of the M questions is matched with the standard answer corresponding to each question, controlling the display to output third information.
The electronic device provided by the embodiment can be applied to the field of security authentication and is used as a security authentication device. For example, when a user answers a target topic using a light emitting device, if the answer is correct, a first message (e.g., "answer correct") is output on the display 101 and the user is authorized to have a certain right, and if the answer is wrong, a second message (e.g., "answer wrong") is output on the display 101 and the user is denied the right. Wherein, the authority can be: access to a certain folder, access to a certain function, access to a certain system, and the like. The authority is specifically what kind of authority, and this embodiment is not specifically limited.
Alternatively, the electronic device provided by the embodiment can be applied to the entertainment field as a game device. For example, when the user answers the target topic by using the light-emitting device, if the answer is correct, the host 110 may control the display 101 to output a first message (e.g., "answer correct"), and give a corresponding reward; if the answer is wrong, the host 110 can control the display 101 to output a second message (e.g., "answer wrong"), and no reward is given; if the user answers all of the questions stored in the host 110, the host 110 may control the display 101 to output a third message (e.g., "Games pass") and give a corresponding award. Wherein, the specific reward can be: real gifts or virtual gifts.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
in an embodiment of the present application, an electronic device is disclosed, including: the host is provided with a display; the external photosensitive equipment is connected with the host; wherein, the host computer is used for: the method comprises the steps of outputting a target question through a display, receiving a response light signal sent by a user through an external photosensitive device by using a light-emitting device, decoding the response light signal based on a Morse code decoding mode, obtaining decoded response information, obtaining a standard answer corresponding to the target question, matching the response information with the standard answer, outputting first information if matching is successful, and outputting second information if matching is failed. As the answering light signals sent by the user by using the light-emitting device are received by the external photosensitive device and are decoded in a decoding mode based on the Morse code, the interaction mode of the user is enriched, and the information safety is improved, so that the technical problems that the interaction mode of electronic equipment is less and the safety is not high in the prior art are solved.
Example two
Based on the same inventive concept, the present embodiment provides an information processing method, which is applied to a host 110 of an electronic device 100, where the electronic device 100 further includes a display 101 and an external photosensitive device 120, where the display 101 is connected to the host 110 (or the display 101 is disposed on the host 110). Moreover, an operating system is installed on the host 110, and an application program is installed on the operating system, and the program code corresponding to the information processing method in this embodiment may be integrated in the application program, that is, the information processing method in this embodiment may be specifically completed by executing the application program.
As shown in fig. 3, the information processing method includes:
step S301: the target title is output through the display 101.
As an alternative embodiment, before step S301, the method further includes:
displaying M questions, wherein M is a positive integer; based on the selection operation of the user, a target topic is selected from the M topics.
Step S302: the response light signal sent by the user through the light emitting device is received through the external photosensitive device 120.
As an alternative embodiment, step S302 includes:
the response light signal inputted by the user through the light emitting device is sensed and received by the light sensing sensor provided on the external light sensing device 120.
Step S303: and decoding the answering optical signal based on the Morse code decoding mode to obtain decoded answering information.
As an alternative embodiment, step S303 includes:
aiming at any optical signal factor in the answering optical signal, acquiring the light emitting time of the optical signal factor, wherein the answering optical signal comprises one or more optical signal factors, and each optical signal factor corresponds to one-time light emission of the light emitting equipment; if the light-emitting time is less than a first preset time, decoding the light signal factor into a short signal in the Morse code; and if the light-emitting time is longer than a second preset time length, decoding the light signal factor into a long signal in the Morse code.
Step S304: and acquiring a standard answer corresponding to the target question, and matching the answering information with the standard answer.
As an alternative embodiment, step S304 includes:
and acquiring standard answers corresponding to the numbers from a preset storage area based on the numbers of the target questions.
Step S305: and if the matching is successful, outputting the first information through the display.
Step S306: and if the matching fails, outputting second information through the display.
As an alternative embodiment, the method further comprises:
and if the answering light signal input by the user for each of the M questions is matched with the standard answer corresponding to each question, outputting third information.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
in the embodiment of the application, an information processing method is disclosed, which is applied to an electronic device, wherein the electronic device comprises a display and an external photosensitive device, and the method comprises the following steps: outputting a target title through the display; receiving response light signals sent by a user through the light-emitting device through the external photosensitive device; decoding the answering optical signal based on a Morse code decoding mode to obtain decoded answering information; acquiring a standard answer corresponding to the target question, and matching the answering information with the standard answer; if the matching is successful, outputting first information; and if the matching fails, outputting second information. Because the answer optical signal that the user used light emitting equipment to send is received through external sensitization equipment to decoding mode based on the moss password is right answer optical signal decodes, like this, not only richen user's interactive mode, improve information security moreover, so solved the electronic equipment among the prior art and had the interactive mode less, and the not high technical problem of security.
EXAMPLE III
Based on the same inventive concept, as shown in fig. 4, the present embodiment provides a computer-readable storage medium 400, on which a computer program 411 is stored, the computer program 411 implementing the following steps when being executed by a processor:
the display outputs a target question, the external photosensitive equipment receives a response light signal sent by a user through the light-emitting equipment, the response light signal is decoded based on a Morse code decoding mode, decoded response information is obtained, a standard answer corresponding to the target question is obtained, the response information is matched with the standard answer, if the matching is successful, first information is output through the display, and if the matching is failed, second information is output through the display.
In a specific implementation, the computer program 411, when executed by a processor, may implement the method steps of the second embodiment.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in an electronic device according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses, A1, an electronic device, comprising:
the host is provided with a display;
the external photosensitive equipment is connected with the host;
wherein the host is configured to: the display outputs a target question, the external photosensitive equipment receives a response light signal sent by a user through the light-emitting equipment, the response light signal is decoded based on a Morse code decoding mode, decoded response information is obtained, a standard answer corresponding to the target question is obtained, the response information is matched with the standard answer, if the matching is successful, the display outputs first information, and if the matching is failed, the display outputs second information.
A2, the electronic device of A1, wherein the electronic device further comprises an input device connected to the host;
the host is further configured to: before outputting a target title through the display, displaying M titles, wherein M is a positive integer; and acquiring the selection operation of the user based on the input equipment, and selecting the target title from the M titles based on the selection operation.
A3, the electronic device as recited in A1, wherein a light sensor is disposed on the external light sensor, and the light sensor is configured to sense and receive the response light signal emitted by the light emitting device.
The electronic device a4, as recited in any one of a1 to A3, wherein the host is specifically configured to:
aiming at any optical signal factor in the response optical signal, acquiring the light emitting time of the optical signal factor, wherein the response optical signal comprises one or more optical signal factors, and each optical signal factor corresponds to one-time light emission of the light emitting equipment; if the light-emitting time is less than a first preset time, decoding the light signal factor into a short signal in the Morse code; and if the light-emitting time is longer than a second preset time length, decoding the light signal factor into a long signal in the Morse code.
A5, the electronic device of a1, the host being specifically configured to:
and acquiring the standard answer corresponding to the number from a preset storage area based on the number of the target question.
A6, the electronic device of A2, the host further configured to:
and if the answering light signal input by the user for each question in the M questions is matched with the standard answer corresponding to each question, outputting third information.
B7, an information processing method, applied to an electronic device, wherein the electronic device comprises a display and an external photosensitive device, the method comprises:
outputting a target title through the display;
receiving response light signals sent by a user through the light-emitting device through the external photosensitive device;
decoding the answering optical signal based on a Morse code decoding mode to obtain decoded answering information;
acquiring a standard answer corresponding to the target question, and matching the answering information with the standard answer;
if the matching is successful, outputting first information through the display;
and if the matching fails, outputting second information through the display.
B8, the information processing method according to B7, further comprising, before the outputting the target title through the display:
displaying M questions, wherein M is a positive integer;
and selecting the target title from the M titles based on the selection operation of the user.
The information processing method of B9, as stated in B7, wherein said receiving, by said external photosensitive device, a response light signal emitted by a user through a light emitting device, includes:
the photosensitive sensor arranged on the external photosensitive equipment senses and receives the answering light signal input by the user through the light-emitting equipment.
B10, the method of processing information as set forth in any one of B7 to B9, wherein the decoding method based on the moss cipher decodes the response light signal, comprises:
aiming at any optical signal factor in the response optical signal, acquiring the light emitting time of the optical signal factor, wherein the response optical signal comprises one or more optical signal factors, and each optical signal factor corresponds to one-time light emission of the light emitting equipment;
if the light-emitting time is less than a first preset time, decoding the light signal factor into a short signal in the Morse code;
and if the light-emitting time is longer than a second preset time length, decoding the light signal factor into a long signal in the Morse code.
The information processing method of B11, as in B7, the obtaining the standard answer corresponding to the target topic includes:
and acquiring the standard answer corresponding to the number from a preset storage area based on the number of the target question.
B12, the method of processing information as set forth in B8, the method further comprising:
and if the answering light signal input by the user for each question in the M questions is matched with the standard answer corresponding to each question, outputting third information.
C13, a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
the display outputs a target question, the external photosensitive equipment receives a response light signal sent by a user through the light-emitting equipment, the response light signal is decoded based on a Morse code decoding mode, decoded response information is obtained, a standard answer corresponding to the target question is obtained, the response information is matched with the standard answer, if the matching is successful, the display outputs first information, and if the matching is failed, the display outputs second information.
Claims (10)
1. An electronic device, comprising:
the host is provided with a display;
the external photosensitive equipment is connected with the host;
wherein the host is configured to: the display outputs a target question, the external photosensitive equipment receives a response light signal sent by a user through the light-emitting equipment, the response light signal is decoded based on a Morse code decoding mode, decoded response information is obtained, a standard answer corresponding to the target question is obtained, the response information is matched with the standard answer, if the matching is successful, the display outputs first information, and if the matching is failed, the display outputs second information.
2. The electronic device of claim 1, wherein the electronic device further comprises an input device connected to the host;
the host is further configured to: before outputting a target title through the display, displaying M titles, wherein M is a positive integer; and acquiring the selection operation of the user based on the input equipment, and selecting the target title from the M titles based on the selection operation.
3. The electronic device according to claim 1, wherein a light sensor is disposed on the external light sensing device, and the light sensor is configured to sense and receive the response light signal from the light emitting device.
4. The electronic device of any of claims 1-3, wherein the host is specifically configured to:
aiming at any optical signal factor in the response optical signal, acquiring the light emitting time of the optical signal factor, wherein the response optical signal comprises one or more optical signal factors, and each optical signal factor corresponds to one-time light emission of the light emitting equipment; if the light-emitting time is less than a first preset time, decoding the light signal factor into a short signal in the Morse code; and if the light-emitting time is longer than a second preset time length, decoding the light signal factor into a long signal in the Morse code.
5. The electronic device of claim 1, wherein the host is specifically configured to:
and acquiring the standard answer corresponding to the number from a preset storage area based on the number of the target question.
6. The electronic device of claim 2, wherein the host is further to:
and if the answering light signal input by the user for each question in the M questions is matched with the standard answer corresponding to each question, outputting third information.
7. An information processing method is applied to electronic equipment, and is characterized in that the electronic equipment comprises a display and an external photosensitive device, and the method comprises the following steps:
outputting a target title through the display;
receiving response light signals sent by a user through the light-emitting device through the external photosensitive device;
decoding the answering optical signal based on a Morse code decoding mode to obtain decoded answering information;
acquiring a standard answer corresponding to the target question, and matching the answering information with the standard answer;
if the matching is successful, outputting first information through the display;
and if the matching fails, outputting second information through the display.
8. The information processing method of claim 7, further comprising, before the outputting a target title through the display:
displaying M questions, wherein M is a positive integer;
and selecting the target title from the M titles based on the selection operation of the user.
9. The information processing method of claim 7, wherein receiving, by the external photosensitive device, the response light signal emitted by the user through the light-emitting device comprises:
the photosensitive sensor arranged on the external photosensitive equipment senses and receives the answering light signal input by the user through the light-emitting equipment.
10. A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, carries out the steps of:
the display outputs a target question, the external photosensitive equipment receives a response light signal sent by a user through the light-emitting equipment, the response light signal is decoded based on a Morse code decoding mode, decoded response information is obtained, a standard answer corresponding to the target question is obtained, the response information is matched with the standard answer, if the matching is successful, the display outputs first information, and if the matching is failed, the display outputs second information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811636339.5A CN111382467A (en) | 2018-12-29 | 2018-12-29 | Information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811636339.5A CN111382467A (en) | 2018-12-29 | 2018-12-29 | Information processing method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111382467A true CN111382467A (en) | 2020-07-07 |
Family
ID=71216499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811636339.5A Pending CN111382467A (en) | 2018-12-29 | 2018-12-29 | Information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111382467A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112711781A (en) * | 2021-01-14 | 2021-04-27 | 合肥京东方光电科技有限公司 | Information encryption and decryption method, device, equipment and medium based on display screen |
CN113450553A (en) * | 2021-05-12 | 2021-09-28 | 李盛源 | Method for operating keys without contact |
-
2018
- 2018-12-29 CN CN201811636339.5A patent/CN111382467A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112711781A (en) * | 2021-01-14 | 2021-04-27 | 合肥京东方光电科技有限公司 | Information encryption and decryption method, device, equipment and medium based on display screen |
CN113450553A (en) * | 2021-05-12 | 2021-09-28 | 李盛源 | Method for operating keys without contact |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8090201B2 (en) | Image-based code | |
CN107885823B (en) | Audio information playing method and device, storage medium and electronic equipment | |
US9430633B2 (en) | Aural cuing pattern based mobile device security | |
US10579837B2 (en) | Method, device and electronic apparatus for testing capability of analyzing a two-dimensional code | |
US11640854B1 (en) | Generation and delivery of customized content programs | |
US9030293B1 (en) | Secure passcode entry | |
CN105335383B (en) | Input information processing method and device | |
CN107292141A (en) | A kind of authentication means, terminal and method | |
CN104077101A (en) | Projection method and electronic devices | |
US9375645B2 (en) | Information-processing system, information-processing device, storage medium, and information-processing method for sharing posting information | |
CN111382467A (en) | Information processing method and electronic equipment | |
Ablyaev et al. | Design of Mobile Augmented Reality System for Early Literacy. | |
KR102678350B1 (en) | English education method using learning level and service system therefor | |
US10268852B2 (en) | Electronic device and reading method | |
US20060179471A1 (en) | System and method for providing secure disclosure of a secret | |
WO2020108491A1 (en) | Method for opening application, application opening device, electronic apparatus, and computer readable storage medium | |
US10031073B2 (en) | System and method for detecting colored objects | |
CN104168511A (en) | Systems and methods for video playback control | |
KR102650223B1 (en) | server for an online platform that provides learning contents through e-learning | |
KR20160004719A (en) | Apparatus and method for providing contents | |
Buzzi et al. | Improving user experience in the museum | |
KR102445580B1 (en) | Apparatus and Method for inputting Character | |
KR20180091552A (en) | Information processing system and information processing method | |
Kolosova et al. | Foreign language–English: Information technology (Part 1) | |
KR102027358B1 (en) | Method and apparatus for providing game service related to generating item |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |