Kitchen ware information transmission method and system based on visible light communication, kitchen ware and medium
By using indicator lights on kitchenware to transmit information based on visible light communication, the problems of high hardware costs and limited information transmission in the prior art are solved, and fast, simple and large amount of information transmission is achieved.
Patent Information
- Application Number
- CN202311188470.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-13
- Publication Date
- 2025-03-14
AI Technical Summary
During maintenance or information transmission, existing kitchen utensils require specific hardware support, which is costly and cumbersome to operate, and the amount of information is limited when transmitting information through indicator lights.
Using a method based on visible light communication, information is transmitted through the indicator light on the kitchen utensil, character strings to be sent are generated, converted into binary codes, and the indicator light is turned on and off according to the preset modulation rules.
There is no need to add hardware, simplify operations, improve information transmission speed and amount, and provide richer accessibility content.
Smart Images

Figure CN119628735A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of household appliances, and in particular to a kitchenware information transmission method, system, kitchenware and medium based on visible light communication. Background Art
[0002] At present, when kitchen appliances are repaired, the problem location or other information transmission and retrieval is generally carried out through display screens, Wi-Fi (a wireless communication method), Bluetooth and other means, which requires the support of specific hardware (display screens, wireless modules, etc.), and the hardware cost is high. For kitchen appliances without display screens or wireless modules (Wi-Fi, Bluetooth, etc.) and application scenarios where display screens and wireless modules cannot be used, the relevant content information is usually read by connecting the controller to the device after disassembly, which is cumbersome and troublesome. There are also cases where information is transmitted through the indicator lights of the kitchen appliances, that is, different flashing frequencies, different flashing intervals, or different combinations of indicator lights are used to output fault information to the human eye, but the information that can be output is extremely limited and cannot be exhaustive. Summary of the invention
[0003] The technical problem to be solved by the present invention is to overcome the defects of the above-mentioned method of kitchenware information transmission in the prior art, and to provide a kitchenware information transmission method, system, kitchenware and medium based on visible light communication.
[0004] The present invention solves the above technical problems through the following technical solutions:
[0005] The present invention provides a kitchenware information transmission method based on visible light communication, wherein the kitchenware includes an indicator light, and the kitchenware information transmission method includes:
[0006] In the information transmission mode, a character string to be sent is generated according to the information to be transmitted and the preset character string format;
[0007] Convert the character string to be sent into binary code according to a preset character set;
[0008] The indicator light is controlled to turn on and off according to a preset modulation rule and the binary code.
[0009] Preferably, the string format is: header code+information+LCR (longitudinal redundancy check) check string+tail code.
[0010] And / or, the character set includes at least one of the ASCII character set and the GB2312 character set.
[0011] Preferably, the modulation rule includes at least one of Morse coding rule, Manchester coding rule and custom coding rule;
[0012] Among them, in the custom coding rule, the bit of the binary code is encoded according to the duration of a single on-off state, and the single on-off state includes a single light-on state and a single light-off state.
[0013] Preferably, the custom encoding rules include:
[0014] The duration of the single on-off state is 1 unit duration, and the corresponding bit is "0";
[0015] The duration of the single on-off state is 2 unit durations, and the corresponding bit is "1".
[0016] Preferably, the kitchenware information transmission method further comprises:
[0017] In the information transmission mode, when the user-defined coding rule is adopted, when there is no binary code to be transmitted, the indicator light is controlled to continuously output the "start / stop" position;
[0018] The custom encoding rules also include:
[0019] The duration of the single on / off state is 4 unit durations, and the corresponding bit is the "start / stop" bit.
[0020] Preferably, the kitchenware information transmission method further comprises:
[0021] Acquire key input information of the kitchenware;
[0022] When the key input information meets the preset transfer mode entry condition, switching to the information transfer mode;
[0023] When the key input information meets the preset transfer mode switching condition, the information transfer mode is switched out.
[0024] Preferably, the kitchenware information transmission method further comprises:
[0025] In the information transmission mode, the information to be transmitted is determined according to the key input information and the corresponding relationship between the preset keys and the information items.
[0026] The present invention also provides a kitchenware information transmission system based on visible light communication, wherein the kitchenware includes an indicator light, and the kitchenware information transmission system includes:
[0027] The string generation module is used to generate a string to be sent according to the information to be transmitted and a preset string format in the information transmission mode;
[0028] A binary conversion module, used for converting the character string to be sent into a binary code according to a preset character set;
[0029] The indicator light output module is used to control the on and off of the indicator light according to a preset modulation rule and the binary code.
[0030] Preferably, the string format is: header code+information+LCR check string+tail code.
[0031] And / or, the character set includes at least one of the ASCII character set and the GB2312 character set.
[0032] Preferably, the modulation rule includes at least one of Morse coding rule, Manchester coding rule and custom coding rule;
[0033] Among them, in the custom coding rule, the bit of the binary code is encoded according to the duration of a single on-off state, and the single on-off state includes a single light-on state and a single light-off state.
[0034] Preferably, the custom encoding rules include:
[0035] The duration of the single on-off state is 1 unit duration, and the corresponding bit is "0";
[0036] The duration of the single on-off state is 2 unit durations, and the corresponding bit is "1".
[0037] Preferably, the indicator light output module is further used to control the indicator light to continuously output the "start / stop" position when there is no binary code to be transmitted at present in the information transmission mode and the user-defined coding rule is adopted;
[0038] The custom encoding rules also include:
[0039] The duration of the single on / off state is 4 unit durations, and the corresponding bit is the "start / stop" bit.
[0040] Preferably, the kitchenware information transmission system further comprises:
[0041] An acquisition module, used for acquiring key input information of the kitchenware;
[0042] A mode switching module, used for switching into the information transmission mode when the key input information meets the preset transmission mode cut-in condition;
[0043] The mode switching module is further configured to switch out of the information transmission mode when the key input information meets a preset transmission mode switching condition.
[0044] Preferably, the kitchenware information transmission system further comprises:
[0045] The information determination module is used to determine the information to be transmitted according to the key input information and the corresponding relationship between the preset keys and information items in the information transmission mode.
[0046] The present invention also provides a kitchen appliance, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the aforementioned kitchen appliance information transmission method based on visible light communication when executing the computer program.
[0047] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the aforementioned kitchenware information transmission method based on visible light communication is implemented.
[0048] The positive and progressive effects of the present invention are: generating a character string to be sent according to information and a preset character string format, converting the character string to be sent into a binary code according to a preset character set, controlling the on and off of an indicator light according to a preset modulation rule and the binary code, utilizing the indicator light of the kitchenware itself as a visible light source, and outputting the information to be transmitted based on visible light communication. No hardware needs to be added to the kitchenware, and at the same time, compared with the wired transmission method, the operation is simplified; compared with the method in which the indicator light directly transmits information to the human eye, the information transmission speed is fast, the amount of information that can be transmitted is greatly increased, and the content that can be consulted is rich. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 This is a flow chart of a kitchenware information transmission method based on visible light communication according to Embodiment 1 of the present invention.
[0050] Figure 2 This is a structural diagram of an example of a short-range visible light communication circuit of a kitchenware information transmission method based on visible light communication according to Embodiment 1 of the present invention.
[0051] Figure 3 This is an example of transmission data of the kitchenware information transmission method based on visible light communication according to embodiment 1 of the present invention.
[0052] Figure 4 This is a flow chart of a specific implementation of the kitchenware information transmission method based on visible light communication according to Example 1 of the present invention.
[0053] Figure 5 This is a module diagram of a kitchenware information transmission system based on visible light communication according to Embodiment 2 of the present invention.
[0054] Figure 6 This is a schematic diagram of the structure of the kitchenware according to the third embodiment of the present invention. DETAILED DESCRIPTION
[0055] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.
[0056] Example 1
[0057] This embodiment provides a method for transmitting kitchenware information based on visible light communication, wherein the kitchenware includes an indicator light, Figure 1 , the kitchenware information transmission methods include:
[0058] S11. In the information transmission mode, a character string to be sent is generated according to the information to be transmitted and a preset character string format.
[0059] S12. Convert the character string to be sent into binary code according to a preset character set.
[0060] S13, controlling the on and off of the indicator light according to the preset modulation rule and binary code.
[0061] The indicator light can be a commonly found indicator light in kitchenware (such as a power indicator light). By adding a light modulation software code, the kitchenware can modulate the information to be transmitted onto the indicator light in a specific mode, so that a certain indicator light turns on and off quickly or changes brightness quickly according to the modulation rules, so that the relevant information is cyclically output in the form of visible light, and the relevant information is parsed and presented in plain text by the light receiving device. The frequency range of on and off or brightness change is 120Hz (Hertz) to 115200Hz, and the data transmission speed is 120bps (bits per second) to 115200bps, which is a flickering frequency that is invisible to the naked eye.
[0062] The information that needs to be transmitted may include but is not limited to: anti-counterfeiting information, fault record information, factory date information, etc.
[0063] The light receiving device can be used as Figure 2 The short-distance visible light communication circuit shown in the figure comprises: a photoelectric conversion module 1 , a bias voltage module 2 and a comparison shaping module 3 .
[0064] The photoelectric conversion module 1 is used to convert the received light intensity signal into a voltage signal Uin, and output the voltage signal Uin to the input end of the bias voltage module 2 and the first input end of the comparison shaping module 3 respectively.
[0065] The bias voltage module 2 is used to filter the voltage signal Uin to obtain a DC bias voltage DCbias, and output the DC bias voltage DCbias to the second input terminal of the comparison shaping module 3. The DC bias voltage DCbias is between the peak value and the valley value of the voltage signal Uin.
[0066] The comparison and shaping module 3 is used to compare the voltage signal Uin with the DC bias voltage DCbias, and generate a communication signal Out according to the comparison result.
[0067] The bias voltage module 2 may use a low-pass filter circuit to filter out the DC component of the voltage signal Uin, namely, the DC bias voltage DCbias.
[0068] The communication signal Out generated by the comparison shaping module 3 is directly input into the digital input port of the MCU (micro control unit) for analysis. The MCU can display the analyzed information on the display screen for maintenance personnel to view.
[0069] The DC bias voltage DCbias is within a preset range of the median of the peak and valley values. Since the comparator output inversion requires the input inversion to reach a certain value, this value is generally very small, such as 10mV (millivolts). Therefore, the closer the DC bias voltage DCbias is to the median of the peak and valley values of the voltage signal Uin, the more sensitive the circuit can be. In this case, the bit of the data can be encoded according to the duration of the voltage signal Uin level.
[0070] The photoelectric conversion module 1 includes: a photoelectric receiving diode D1 and a first resistor R1. The cathode of the photoelectric receiving diode D1 is electrically connected to the power supply voltage, the anode of the photoelectric receiving diode D1 is electrically connected to the first end of the first resistor R1, and the second end of the first resistor R1 is grounded. The anode of the photoelectric receiving diode D1 outputs a voltage signal Uin.
[0071] The bias voltage module 2 includes: a second resistor R2 and a first capacitor C1. The first end of the second resistor R2 receives the voltage signal Uin, the second end of the second resistor R2 is electrically connected to the first end of the first capacitor C1, and the second end of the first capacitor C1 is grounded. The second end of the second resistor R2 outputs a DC bias voltage DCbias. Among them, the second resistor R2 and the first capacitor C1 form a low-pass filter circuit, which will extract the DC component of the voltage signal Uin at both ends of the first resistor R1, that is, the DC bias voltage DCbias, at both ends of the first capacitor C1. The stable value of DCbias is between the peak value and the valley value of Uin. Using the DC bias voltage DCbias as an input of the comparison shaping module 3 can realize automatic adjustment of the DC bias voltage with the ambient light and the emission light intensity.
[0072] The comparison shaping module 3 includes: a comparator CMP and a third resistor R3. The inverting input terminal of the comparator CMP is used as the first input terminal of the comparison shaping module 3, and the non-inverting input terminal of the comparator CMP is used as the second input terminal of the comparison shaping module 3. The first end of the third resistor R3 is electrically connected to the power supply voltage, and the second end of the third resistor R3 is electrically connected to the output terminal of the comparator CMP. The output terminal of the comparator CMP outputs the communication signal Out.
[0073] The string format, character set, and modulation rules can be set according to actual needs.
[0074] This embodiment generates a character string to be sent according to information and a preset character string format, converts the character string to be sent into a binary code according to a preset character set, controls the on and off of the indicator light according to a preset modulation rule and the binary code, utilizes the indicator light of the kitchenware itself as a visible light source, and outputs the information to be transmitted based on visible light communication. No hardware needs to be added to the kitchenware, and compared with the wired transmission method, the operation is simplified; compared with the method in which the indicator light directly transmits information to the human eye, the information transmission speed is fast, the amount of information that can be transmitted is greatly increased, and the content that can be consulted is rich.
[0075] In specific implementation, the string format is: header code + information + LCR check string + tail code.
[0076] The header code and the tail code can both be one byte, containing 8 bits. For example, the header code can be "\f" and the tail code can be "\b". The header code and the tail code can both be selected from ASCII control characters, but cannot be control characters such as "\n", "\r", and "\t". The information string is valid only when the LCR (longitudinal redundancy check) check passes.
[0077] The information may include a data string and a command string. The command string at least includes a screen clearing instruction. For example, the information string of the screen clearing instruction is set to "-ClearScreen". The command string may generally not be displayed.
[0078] In a specific implementation, the character set includes at least one of the ASCII character set and the GB2312 character set.
[0079] In a specific implementation, the modulation rule includes at least one of Morse coding rule, Manchester coding rule and user-defined coding rule.
[0080] Among them, in the custom coding rule, the bits of the binary code are encoded according to the duration of a single on-off state, and the single on-off state includes a single light-on state and a single light-off state.
[0081] When implementing it, refer to Figure 3 , custom encoding rules include:
[0082] The duration of a single on-off state is 1 unit time (T), and the corresponding bit is "0".
[0083] The duration of a single on-off state is 2 unit durations (2T), and the corresponding bit is "1".
[0084] Among them, 2T off and 2T on both represent "1", and 1T off and 1T on both represent "0".
[0085] In such Figure 2 and Figure 3 In the example, since the duration of a single on-off state of the light intensity signal is 1 unit time, the corresponding bit is "0", and the duration of a single on-off state is 2 unit time, the corresponding bit is "1", the maximum value DCmax and the minimum value DCmin of the DC component of the voltage signal Uin can be obtained by measuring the data by transmitting specific data with specific encoding.
[0086] When the received light intensity signal represents "1010" binary data and uses a high level encoding bit "1" of 2 unit duration, the maximum value DCmax of the DC component of the voltage signal Uin is expressed by the following formula:
[0087] DCmax=(2*peak value+valley value) / 3=(peak value+valley value) / 2+(peak value-valley value) / 6.
[0088] When the received light intensity signal represents "1010" binary data and uses a valley encoding bit "1" of 2 unit duration, the minimum value DCmin of the DC component of the voltage signal Uin is expressed by the following formula:
[0089] DCmin=(peak value+2*valley value) / 3=(peak value+valley value) / 2-(peak value-valley value) / 6.
[0090] During specific implementation, the kitchenware information transmission method further includes:
[0091] In the information transmission mode, when the custom coding rules are adopted, when there is no binary code that needs to be transmitted, the control indicator light continuously outputs the "start / stop" position.
[0092] Custom encoding rules also include:
[0093] The duration of a single on / off state is 4 unit durations (4T), and the corresponding bit is the "start / stop" bit.
[0094] As long as there is no content to be sent, the "start / stop" bit is always sent to ensure that the DC bias voltage is always close to the middle of the high level (peak value of Uin) and the low level (valley value of Uin). At the same time, the receiving end software can also reset the next reception according to the "start / stop" bit.
[0095] When implementing it, refer to Figure 4 , the kitchenware information transmission method also includes:
[0096] S21. Obtaining key input information of kitchenware.
[0097] S22: When the key input information meets the preset transfer mode entry condition, switch to the information transfer mode.
[0098] S23: When the key input information meets the preset transfer mode switching condition, switch out of the information transfer mode.
[0099] Among them, the transfer mode cut-in condition and the transfer mode cut-out condition can be set according to actual needs.
[0100] During specific implementation, the kitchenware information transmission method further includes:
[0101] In the information transmission mode, the information to be transmitted is determined according to the key input information and the preset correspondence between the key and the information item.
[0102] Among them, the corresponding relationship between the buttons and the information items can be set according to actual needs.
[0103] Example 2
[0104] This embodiment provides a kitchenware information transmission system based on visible light communication, the kitchenware includes an indicator light, referring to Figure 5 , the kitchenware information transmission system includes:
[0105] The character string generation module 11 is used to generate a character string to be sent according to the information to be transmitted and a preset character string format in the information transmission mode.
[0106] The binary conversion module 12 is used to convert the character string to be sent into binary code according to a preset character set.
[0107] The indicator light output module 13 is used to control the on and off of the indicator light according to a preset modulation rule and a binary code.
[0108] The indicator light can be a commonly found indicator light in kitchenware (such as a power indicator light). By adding a light modulation software code, the kitchenware can modulate the information to be transmitted onto the indicator light in a specific mode, so that a certain indicator light turns on and off quickly or changes brightness quickly according to the modulation rules, so that the relevant information is cyclically output in the form of visible light, and the relevant information is parsed and presented in plain text by the light receiving device. The frequency range of on and off or brightness change is 120Hz (Hertz) to 115200Hz, and the data transmission speed is 120bps (bits per second) to 115200bps, which is a flickering frequency that is invisible to the naked eye.
[0109] The information that needs to be transmitted may include but is not limited to: anti-counterfeiting information, fault record information, factory date information, etc.
[0110] The light receiving device can be used as Figure 2 The short-distance visible light communication circuit shown in the figure comprises: a photoelectric conversion module 1 , a bias voltage module 2 and a comparison shaping module 3 .
[0111] The photoelectric conversion module 1 is used to convert the received light intensity signal into a voltage signal Uin, and output the voltage signal Uin to the input end of the bias voltage module 2 and the first input end of the comparison shaping module 3 respectively.
[0112] The bias voltage module 2 is used to filter the voltage signal Uin to obtain a DC bias voltage DCbias, and output the DC bias voltage DCbias to the second input terminal of the comparison shaping module 3. The DC bias voltage DCbias is between the peak value and the valley value of the voltage signal Uin.
[0113] The comparison and shaping module 3 is used to compare the voltage signal Uin with the DC bias voltage DCbias, and generate a communication signal Out according to the comparison result.
[0114] The bias voltage module 2 may use a low-pass filter circuit to filter out the DC component of the voltage signal Uin, namely, the DC bias voltage DCbias.
[0115] The communication signal Out generated by the comparison shaping module 3 is directly input into the digital input port of the MCU (micro control unit) for analysis. The MCU can display the analyzed information on the display screen for maintenance personnel to view.
[0116] The DC bias voltage DCbias is within a preset range of the median of the peak and valley values. Since the comparator output inversion requires the input inversion to reach a certain value, this value is generally very small, such as 10mV (millivolts). Therefore, the closer the DC bias voltage DCbias is to the median of the peak and valley values of the voltage signal Uin, the more sensitive the circuit can be. In this case, the bit of the data can be encoded according to the duration of the voltage signal Uin level.
[0117] The photoelectric conversion module 1 includes: a photoelectric receiving diode D1 and a first resistor R1. The cathode of the photoelectric receiving diode D1 is electrically connected to the power supply voltage, the anode of the photoelectric receiving diode D1 is electrically connected to the first end of the first resistor R1, and the second end of the first resistor R1 is grounded. The anode of the photoelectric receiving diode D1 outputs a voltage signal Uin.
[0118] The bias voltage module 2 includes: a second resistor R2 and a first capacitor C1. The first end of the second resistor R2 receives the voltage signal Uin, the second end of the second resistor R2 is electrically connected to the first end of the first capacitor C1, and the second end of the first capacitor C1 is grounded. The second end of the second resistor R2 outputs a DC bias voltage DCbias. Among them, the second resistor R2 and the first capacitor C1 form a low-pass filter circuit, which will extract the DC component of the voltage signal Uin at both ends of the first resistor R1, that is, the DC bias voltage DCbias, at both ends of the first capacitor C1. The stable value of DCbias is between the peak value and the valley value of Uin. Using the DC bias voltage DCbias as an input of the comparison shaping module 3 can realize automatic adjustment of the DC bias voltage with the ambient light and the emission light intensity.
[0119] The comparison shaping module 3 includes: a comparator CMP and a third resistor R3. The inverting input terminal of the comparator CMP is used as the first input terminal of the comparison shaping module 3, and the non-inverting input terminal of the comparator CMP is used as the second input terminal of the comparison shaping module 3. The first end of the third resistor R3 is electrically connected to the power supply voltage, and the second end of the third resistor R3 is electrically connected to the output terminal of the comparator CMP. The output terminal of the comparator CMP outputs the communication signal Out.
[0120] The string format, character set, and modulation rules can be set according to actual needs.
[0121] This embodiment generates a character string to be sent according to information and a preset character string format, converts the character string to be sent into a binary code according to a preset character set, controls the on and off of the indicator light according to a preset modulation rule and the binary code, utilizes the indicator light of the kitchenware itself as a visible light source, and outputs the information to be transmitted based on visible light communication. No hardware needs to be added to the kitchenware, and compared with the wired transmission method, the operation is simplified; compared with the method in which the indicator light directly transmits information to the human eye, the information transmission speed is fast, the amount of information that can be transmitted is greatly increased, and the content that can be consulted is rich.
[0122] In specific implementation, the string format is: header code + information + LCR check string + tail code.
[0123] The header code and the tail code can both be one byte, containing 8 bits. For example, the header code can be "\f" and the tail code can be "\b". The header code and the tail code can both be selected from ASCII control characters, but cannot be control characters such as "\n", "\r", and "\t". The information string is valid only when the LCR (longitudinal redundancy check) check passes.
[0124] The information may include a data string and a command string. The command string at least includes a screen clearing instruction. For example, the information string of the screen clearing instruction is set to "-ClearScreen". The command string may generally not be displayed.
[0125] In a specific implementation, the character set includes at least one of the ASCII character set and the GB2312 character set.
[0126] In a specific implementation, the modulation rule includes at least one of Morse coding rule, Manchester coding rule and user-defined coding rule.
[0127] Among them, in the custom coding rule, the bits of the binary code are encoded according to the duration of a single on-off state, and the single on-off state includes a single light-on state and a single light-off state.
[0128] In specific implementation, custom encoding rules include:
[0129] The duration of a single on-off state is 1 unit time (T), and the corresponding bit is "0".
[0130] The duration of a single on-off state is 2 unit durations (2T), and the corresponding bit is "1".
[0131] Among them, 2T off and 2T on both represent "1", and 1T off and 1T on both represent "0".
[0132] In such Figure 2 and Figure 3 In the example, since the duration of a single on-off state of the light intensity signal is 1 unit time, the corresponding bit is "0", and the duration of a single on-off state is 2 unit time, the corresponding bit is "1", the maximum value DCmax and the minimum value DCmin of the DC component of the voltage signal Uin can be obtained by measuring the data by transmitting specific data with specific encoding.
[0133] When the received light intensity signal represents "1010" binary data and uses a high level encoding bit "1" of 2 unit duration, the maximum value DCmax of the DC component of the voltage signal Uin is expressed by the following formula:
[0134] DCmax=(2*peak value+valley value) / 3=(peak value+valley value) / 2+(peak value-valley value) / 6.
[0135] When the received light intensity signal represents "1010" binary data and uses a valley encoding bit "1" of 2 unit duration, the minimum value DCmin of the DC component of the voltage signal Uin is expressed by the following formula:
[0136] DCmin=(peak value+2*valley value) / 3=(peak value+valley value) / 2-(peak value-valley value) / 6.
[0137] In specific implementation, the indicator light output module 13 is also used to control the indicator light to continuously output the "start / stop" position when there is no binary code to be transmitted in the information transmission mode and when a custom coding rule is adopted.
[0138] Custom encoding rules also include:
[0139] The duration of a single on / off state is 4 unit durations (4T), and the corresponding bit is the "start / stop" bit.
[0140] As long as there is no content to be sent, the "start / stop" bit is always sent to ensure that the DC bias voltage is always close to the middle of the high level (peak value of Uin) and the low level (valley value of Uin). At the same time, the receiving end software can also reset the next reception according to the "start / stop" bit.
[0141] During specific implementation, the kitchenware information transmission system further includes:
[0142] The acquisition module 14 is used to acquire key input information of the kitchenware.
[0143] The mode switching module 15 is used to switch to the information transmission mode when the key input information meets the preset transmission mode switching condition.
[0144] The mode switching module 15 is further used to switch out of the information transmission mode when the key input information meets the preset transmission mode switching condition.
[0145] Among them, the transfer mode cut-in condition and the transfer mode cut-out condition can be set according to actual needs.
[0146] During specific implementation, the kitchenware information transmission system further includes:
[0147] The information determination module 16 is used to determine the information to be transmitted according to the key input information and the preset correspondence between the key and the information item in the information transmission mode.
[0148] Among them, the corresponding relationship between the buttons and the information items can be set according to actual needs.
[0149] Example 3
[0150] Figure 6 This is a schematic diagram of the structure of a kitchen appliance provided in Example 3 of the present invention. The kitchen appliance includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the kitchen appliance information transmission method based on visible light communication in Example 1 is implemented. Figure 6 The kitchen appliance 30 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0151] The kitchen appliance 30 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the kitchen appliance 30 may include but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including the memory 32 and the processor 31).
[0152] The bus 33 includes a data bus, an address bus, and a control bus.
[0153] The memory 32 may include a volatile memory, such as a random access memory (RAM) 321 and / or a cache memory 322 , and may further include a read-only memory (ROM) 323 .
[0154] The memory 32 may also include a program / utility 325 having a set (at least one) of program modules 324, such program modules 324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0155] The processor 31 executes various functional applications and data processing by running the computer programs stored in the memory 32, such as the kitchenware information transmission method based on visible light communication in Embodiment 1 of the present invention.
[0156] The kitchen appliance 30 may also communicate with one or more external devices 34 (e.g., buttons, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 35. Furthermore, the model-generated kitchen appliance 30 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 36. As shown, the network adapter 36 communicates with other modules of the model-generated kitchen appliance 30 via a bus 33. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the model-generated kitchen appliance 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (RAID) systems, tape drives, and data backup storage systems, etc.
[0157] It should be noted that although several units / modules or sub-units / modules of the kitchen appliance are mentioned in the above detailed description, such division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units / modules described above may be embodied in one unit / module; conversely, the features and functions of one unit / module described above may be further divided into multiple units / modules for embodiment.
[0158] Example 4
[0159] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the kitchenware information transmission method based on visible light communication in Embodiment 1 is implemented.
[0160] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0161] In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the kitchenware information transmission method based on visible light communication in Example 1.
[0162] The program code for executing the present invention may be written in any combination of one or more programming languages, and may be executed entirely on a user device, partially on a user device, as an independent software package, partially on a user device and partially on a remote device, or entirely on a remote device.
[0163] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A kitchenware information transmission method based on visible light communication, characterized in that: The kitchen appliance includes an indicator light, and the kitchen appliance information transmission method includes: In the information transmission mode, a character string to be sent is generated according to the information to be transmitted and the preset character string format; Convert the character string to be sent into binary code according to a preset character set; The on and off of the indicator light is controlled according to a preset modulation rule and the binary code.
2. The kitchenware information transmission method based on visible light communication according to claim 1, characterized in that: The string format is: header code + information + LCR check string + tail code; And / or, the character set includes at least one of the ASCII character set and the GB2312 character set.
3. The kitchenware information transmission method based on visible light communication according to claim 1, characterized in that: The modulation rule includes at least one of Morse coding rule, Manchester coding rule and custom coding rule; Among them, in the custom coding rule, the bit of the binary code is encoded according to the duration of a single on-off state, and the single on-off state includes a single light-on state and a single light-off state.
4. The kitchenware information transmission method based on visible light communication according to claim 3, characterized in that: The custom encoding rules include: The duration of the single on-off state is 1 unit duration, and the corresponding bit is "0"; The duration of the single on-off state is 2 unit durations, and the corresponding bit is "1".
5. The kitchenware information transmission method based on visible light communication according to claim 4, characterized in that: The kitchenware information transmission method further comprises: In the information transmission mode, when the user-defined coding rule is adopted, when there is no binary code to be transmitted, the indicator light is controlled to continuously output the "start / stop" position; The custom encoding rules also include: The duration of the single on / off state is 4 unit durations, and the corresponding bit is the "start / stop" bit.
6. The kitchenware information transmission method based on visible light communication according to claim 1, characterized in that: The kitchenware information transmission method further comprises: Acquire key input information of the kitchenware; When the key input information meets the preset transfer mode entry condition, switching to the information transfer mode; When the key input information meets the preset transfer mode switching condition, the information transfer mode is switched out.
7. The kitchenware information transmission method based on visible light communication according to claim 6, characterized in that: The kitchenware information transmission method further comprises: In the information transmission mode, the information to be transmitted is determined according to the key input information and the corresponding relationship between the preset keys and the information items.
8. A kitchenware information transmission system based on visible light communication, characterized in that: The kitchen appliance includes an indicator light, and the kitchen appliance information transmission system includes: The string generation module is used to generate a string to be sent according to the information to be transmitted and a preset string format in the information transmission mode; A binary conversion module, used for converting the character string to be sent into a binary code according to a preset character set; The indicator light output module is used to control the on and off of the indicator light according to a preset modulation rule and the binary code.
9. A kitchen appliance, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for transmitting kitchenware information based on visible light communication according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for transmitting kitchenware information based on visible light communication as claimed in any one of claims 1 to 7 is implemented.