CN109710310B - Data processing method, system, terminal and storage medium for embedded environment - Google Patents

Data processing method, system, terminal and storage medium for embedded environment Download PDF

Info

Publication number
CN109710310B
CN109710310B CN201910059332.XA CN201910059332A CN109710310B CN 109710310 B CN109710310 B CN 109710310B CN 201910059332 A CN201910059332 A CN 201910059332A CN 109710310 B CN109710310 B CN 109710310B
Authority
CN
China
Prior art keywords
character
variable
variable list
current character
operand
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910059332.XA
Other languages
Chinese (zh)
Other versions
CN109710310A (en
Inventor
伍红宗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chipsea Technologies Shenzhen Co Ltd
Original Assignee
Chipsea Technologies Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chipsea Technologies Shenzhen Co Ltd filed Critical Chipsea Technologies Shenzhen Co Ltd
Priority to CN201910059332.XA priority Critical patent/CN109710310B/en
Publication of CN109710310A publication Critical patent/CN109710310A/en
Application granted granted Critical
Publication of CN109710310B publication Critical patent/CN109710310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to a data processing method, a system, a terminal and a storage medium for an embedded environment; the data processing method comprises the steps of receiving a command input request, wherein the command input request comprises an operation formula, acquiring the operation formula from the command input request, and acquiring an operation result which corresponds to the operation formula and can be identified by a corresponding executor according to the operation formula and a preset algorithm; the data processing method can calculate the final result by only scanning the operation formula once, has high processing speed and does not occupy excessive storage space.

Description

Data processing method, system, terminal and storage medium for embedded environment
Technical Field
The present invention relates to the field of embedded environments, and more particularly, to a data processing method, system, terminal, and storage medium for an embedded environment.
Background
The embedded system can complete specific functions on a small-area element without excessive external spare parts, has stable working performance, small volume and large application elasticity, and is widely applied to the field of electronic products. However, since the core of the embedded system is often a microkernel with only several K to several tens of K, the computing capability is limited and the data processing time is long.
Disclosure of Invention
The invention aims to solve the technical problems of low data processing efficiency and long processing time in the prior art, and provides a data processing method, a system, a terminal and a storage medium for an embedded environment.
The technical scheme adopted for solving the technical problems is as follows:
in one aspect, a data processing method for an embedded environment is provided, including:
receiving a command entry request, the command entry request comprising an operational formula;
obtaining the operation formula from the command input request;
and acquiring an operation result which corresponds to the operation formula and can be identified by a corresponding executor according to the operation formula and a preset algorithm.
Preferably, the operation formula is a C language operation formula;
preferably, the step of obtaining an operation result corresponding to the operation formula and identifiable by a corresponding executor according to the operation formula and a preset algorithm includes:
scanning the characters of the operation formula one by one from left to right, and storing the characters meeting the storage conditions into an OP variable list according to the preset storage conditions, wherein one character is one OP variable;
according to the OP variable in the OP variable list and a preset operation rule, performing operation, and storing an operation result into the OP variable list;
after the scanning of all the characters of the operation formula is completed, if only 1 OP variable is left in the OP variable list, the OP variable is output as an operation result; if only one minimum term expression is left in the OP variable list, calculating and outputting an operation result; otherwise, outputting an error signal.
Preferably, the character is any one of a space, a TAB, an operand, and an operator; the operands are decimal numbers or hexadecimal numbers.
Preferably, the logging conditions are:
the current character is any one of a space, TAB or ")" without storing the character;
when the current character is "(" then pushing the bracket state stack;
when the current character is an operand, if the operand starts with 0X or 0X, the operand is judged to be a 16-system number and the current character is stored in the OP variable list, and if the operand does not start with 0X or 0X, the operand is judged to be a 10-system number and the current character is stored in the OP variable list;
the operation rule is as follows:
when the current character is ")," calculating the least-significant expression in the OP variable list, storing the operation result into the OP variable list, and popping up the last ("entering the bracket state stack");
when the current character is an operator, judging the type of the current character; if three OP variables exist in the OP variable list, comparing the priority of the current character with that of the last one of the OP variables in the OP variable list, if the priority of the current character is lower than or equal to that of the last one of the OP variables, calculating a minimum term expression in the OP list, and storing an operation result and the current character in the OP variable list; if the character priority is higher than the last one, calculating a least significant expression consisting of the next character, the current character and the last one OP variable, and storing the calculation result into an OP variable list; if the number of the OP variables in the OP variable list is less than three, continuing scanning of the next character.
In another aspect, a data processing system for an embedded environment is provided, comprising: a command receiving unit and a data acquiring unit;
the command receiving unit is used for receiving a command input request, and the command input request comprises an operation formula;
the data acquisition unit is used for acquiring the operation formula from the command input request, and acquiring an operation result which corresponds to the operation formula and can be identified by a corresponding executor according to the operation formula and a preset algorithm.
Preferably, the data acquisition unit includes:
an arithmetic expression acquisition unit for acquiring the arithmetic expression from the command input request;
the character screening unit is used for scanning the characters of the operation formula one by one from left to right, storing the characters meeting the storage conditions into an OP variable list according to the preset storage conditions, and one character is one OP variable;
the operation unit is used for carrying out operation according to the OP variable in the OP variable list and a preset operation rule, and storing an operation result into the OP variable list;
the output unit is used for outputting the OP variables as operation results if only 1 OP variable is left in the OP variable list after the scanning of all the characters of the operation formula is completed; if only one minimum term expression is left in the OP variable list, calculating and outputting an operation result; otherwise, outputting an error signal.
Preferably, the character is any one of a space, a TAB, an operand, and an operator; the operands are decimal numbers or hexadecimal numbers.
Preferably, the storage condition of the character screening unit is:
the current character is any one of a space, TAB or ")" without storing the character;
when the current character is "(" then pushing the bracket state stack;
when the current character is an operand, if the operand starts with 0X or 0X, the operand is judged to be a 16-system number and the current character is stored in the OP variable list, and if the operand does not start with 0X or 0X, the operand is judged to be a 10-system number and the current character is stored in the OP variable list;
the operation rule is as follows:
when the current character is ")," calculating the least-significant expression in the OP variable list, storing the operation result into the OP variable list, and popping up the last ("entering the bracket state stack");
when the current character is an operator, judging the type of the current character; if three OP variables exist in the OP variable list, comparing the priority of the current character with that of the last one of the OP variables in the OP variable list, if the priority of the current character is lower than or equal to that of the last one of the OP variables, calculating a minimum term expression in the OP list, and storing an operation result and the current character in the OP variable list; if the character priority is higher than the last one, calculating a least significant expression consisting of the next character, the current character and the last one OP variable, and storing the calculation result into an OP variable list; if the number of the OP variables in the OP variable list is less than three, continuing scanning of the next character.
In a further aspect, a terminal is provided comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method as described above when executing the computer program.
In a further aspect, a computer-readable storage medium is provided, which stores a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method as described above.
The invention has the beneficial effects that: by receiving a command input request, wherein the command input request comprises an operation formula, the operation formula is obtained from the command input request, and according to the operation formula and a preset algorithm, an operation result which corresponds to the operation formula and can be identified by a corresponding executor is obtained, so that the data processing speed is improved, the executor can conveniently and quickly obtain the operation result, and then quick response is carried out according to the operation result; meanwhile, the system does not occupy excessive storage space of the embedded system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be further described with reference to the accompanying drawings and embodiments, in which the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained by those skilled in the art without inventive effort:
FIG. 1 is a flowchart of an implementation of a data processing method for an embedded environment according to an embodiment of the present invention;
FIG. 2 is a diagram of an exemplary data processing method for an embedded environment according to an embodiment of the present invention;
FIG. 3 is a diagram of an example of a prior art data processing;
FIG. 4 is a functional block diagram of a data processing system for an embedded environment provided in accordance with a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the following description will be made in detail with reference to the technical solutions in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present invention, based on the embodiments of the present invention.
Example 1
Fig. 1 shows a flowchart of an implementation of a data processing method for an embedded environment according to an embodiment of the present invention, and for convenience of explanation, only a portion relevant to the embodiment of the present invention is shown, which is described in detail below:
in step S101: a command entry request is received, the command entry request including an operational formula.
In the embodiment of the invention, the operation formula is a C language operation formula. Before receiving a command input request, the operand types and the operator types can be defined, so that various operands and operators can be processed, and better data processing capability is ensured; a data structure is defined for holding operands or operators. Such as:
if the operator is equal to the unsupplort, then the OP represents an operand, otherwise an operator is substituted.
Specifically, the operator types are: plus (+), minus (-), multiply (), divide (/), modulo divide (%), greater than (>), less than (>), equal to (=), unequal to (+|=), less than or equal to (<=), less than or equal to (=), greater than or equal to (> =), left shift (< < >), right shift (>), bitwise and (&), bitwise or (|), exclusive or, conditional and (+|), conditional or (|). The data types include signed 8-bit integer (char), unsigned 8-bit integer (uchar), signed 16-bit integer (short), unsigned 16-bit integer (ushort), signed 32-bit integer (int), unsigned 32-bit integer (uint), signed 64-bit integer (long), floating point (float).
In step S102: the operational formula is obtained from the command entry request.
In step S103: and acquiring an operation result which corresponds to the operation formula and can be identified by a corresponding executor according to the operation formula and a preset algorithm.
Preferably, in the process of acquiring the operation result corresponding to the operation formula and recognizable by the corresponding executor according to the operation formula and a preset algorithm,
scanning the characters of the operation formula one by one from left to right, and storing the characters meeting the storage conditions into an OP variable list according to the preset storage conditions, wherein one character is one OP variable;
according to the OP variable in the OP variable list and a preset operation rule, performing operation, and storing an operation result into the OP variable list;
after the scanning of all characters of the operation formula is completed, if only 1 OP variable is left in the OP variable list, the OP variable is output as an operation result; if only one minimum term expression is left in the OP variable list, calculating and outputting an operation result; otherwise, outputting an error signal.
In the embodiment of the invention, the minimum term expression is also called an atomic expression, and consists of two operands and one operator. The character is any one of a space, a TAB, an operand and an operator; the operands are decimal numbers or hexadecimal numbers.
Further preferably, the deposit conditions are:
the current character is any one of a space, TAB or ")" without storing the character;
when the current character is "(" then pushing the bracket state stack;
when the current character is an operand, if the operand starts with 0X or 0X, the operand is judged to be a 16-system number and the current character is stored in the OP variable list, and if the operand does not start with 0X or 0X, the operand is judged to be a 10-system number and the current character is stored in the OP variable list;
in the embodiment of the invention, the operation flow of scanning 10-system numbers is as follows:
setting an initial variable a=0;
circularly scanning a character i, and returning to a if the character is not in the range of 0-9;
setting the value of a to a 10+i;
the loop continues to scan character i.
The operation flow of scanning the 16-system number is as follows:
setting an initial variable a=0;
judging whether the first character and the second character of the character string are 0X or 0X, and if not, returning to false;
the string pointer is advanced by 2 bits;
circularly scanning a character i, and returning a if the character is not in the range of 0-9,a-F and A-F;
setting the value of a to a < <4|i;
the loop continues to scan character i.
The operation rule is as follows:
when the current character is ")," calculating the least-significant expression in the OP variable list, storing the operation result into the OP variable list, and popping up the last ("entering the bracket state stack");
when the current character is an operator, judging the type of the current character; if three OP variables exist in the OP variable list, comparing the priority of the current character with that of the last one of the OP variables in the OP variable list, if the priority of the current character is lower than or equal to that of the last one of the OP variables, calculating a minimum term expression in the OP list, and storing an operation result and the current character in the OP variable list; if the character priority is higher than the last one, calculating a least significant expression consisting of the next character, the current character and the last one OP variable, and storing the calculation result into an OP variable list; if the number of the OP variables in the OP variable list is less than three, continuing scanning of the next character.
The bracket state stack is used for tracking the change state of the left bracket and the right bracket, when the left bracket is touched, the bracket state stack is pushed in, and when the right bracket is touched, the last bracket is popped up. The algorithm optimization stage sequentially comprises the following steps: () , +/%, +, < >, "< > = <=, = =, +|! =, +|, & gt +|.
As shown in fig. 3, in the conventional data processing, a mode of extracting the minimum term expression is adopted, and the operation of the operation expression needs to be completed at least 5 times, so that the processing speed is low, and as an example, as shown in fig. 2, the data processing mode in the invention can calculate to obtain the final operation result by only scanning the operation expression once, does not occupy excessive storage space of an embedded system, and has no relation between intermediate variables and the number of memories and the length of the expression character string. As an example, the data processing method can be applied to the intelligent scale, when the data display mode of the intelligent scale needs to be changed, a corresponding operation result can be obtained by inputting a specific operation formula, and then the operation result is identified by the intelligent scale and the switching of the data display mode is triggered.
According to the embodiment of the invention, the command input request is received, the command input request contains the operation formula, the operation formula is obtained from the command input request, and the operation result which corresponds to the operation formula and can be identified by the corresponding executor is obtained according to the operation formula and the preset algorithm, so that the data processing speed is improved, the executor can quickly obtain the operation result, and then the quick response is performed according to the operation result.
Example two
FIG. 4 is a schematic block diagram of a data processing system for an embedded environment according to a second embodiment of the present invention, and for convenience of explanation, only a portion relevant to the second embodiment of the present invention is shown, which is described in detail below: a data processing system for an embedded environment, comprising a command receiving unit 201 and a data acquisition unit 202;
a command receiving unit 201, configured to receive a command entry request, where the command entry request includes an operation formula;
the data obtaining unit 202 is configured to obtain an operation formula from the command input request, and further configured to obtain an operation result corresponding to the operation formula and identifiable by a corresponding executor according to the operation formula and a preset algorithm.
Preferably, the data acquisition unit 202 includes:
an arithmetic expression acquisition unit 203 for acquiring an arithmetic expression from the command entry request;
the character screening unit 204 is configured to scan the characters of the operation formula one by one from left to right, and store the characters meeting the storage conditions into the OP variable list according to the preset storage conditions, where one character is one OP variable;
an operation unit 205, configured to perform an operation according to the OP variable in the OP variable list and a preset operation rule, and store an operation result in the OP variable list;
an output unit 206, configured to output the OP variables as an operation result if only 1 OP variable remains in the OP variable list after scanning all the characters of the operation formula is completed; if only one minimum term expression is left in the OP variable list, calculating and outputting an operation result; otherwise, outputting an error signal.
Further preferably, the character is any one of a space, a TAB, an operand, and an operator; the operands are decimal numbers or hexadecimal numbers.
Further preferably, the storing condition of the character screening unit is:
the current character is any one of a space, TAB or ")" without storing the character;
when the current character is "(" then pushing the bracket state stack;
when the current character is an operand, if the operand starts with 0X or 0X, the operand is judged to be a 16-system number and the current character is stored in the OP variable list, and if the operand does not start with 0X or 0X, the operand is judged to be a 10-system number and the current character is stored in the OP variable list;
the operation rule is as follows:
when the current character is ")," calculating the least-significant expression in the OP variable list, storing the operation result into the OP variable list, and popping up the last ("entering the bracket state stack");
when the current character is an operator, judging the type of the current character; if three OP variables exist in the OP variable list, comparing the priority of the current character with that of the last one of the OP variables in the OP variable list, if the priority of the current character is lower than or equal to that of the last one of the OP variables, calculating a minimum term expression in the OP list, and storing an operation result and the current character in the OP variable list; if the character priority is higher than the last one, calculating a least significant expression consisting of the next character, the current character and the last one OP variable, and storing the calculation result into an OP variable list; if the number of the OP variables in the OP variable list is less than three, continuing scanning of the next character.
According to the embodiment of the invention, the command input request is received, the command input request contains the operation formula, the operation formula is obtained from the command input request, and the operation result which corresponds to the operation formula and can be identified by the corresponding executor is obtained according to the operation formula and the preset algorithm, so that the data processing speed is improved, the executor can quickly obtain the operation result, and then the quick response is performed according to the operation result.
Example III
A terminal according to a third embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method described above when executing the computer program.
Example IV
A fourth embodiment of the present invention provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor implements the steps of the method described above.
It will be understood that modifications and variations will be apparent to those skilled in the art from the foregoing description, and it is intended that all such modifications and variations be included within the scope of the following claims.

Claims (8)

1. A data processing method for an embedded environment, comprising:
receiving a command entry request, the command entry request comprising an operational formula;
obtaining the operation formula from the command input request;
according to the operation formula and a preset algorithm, an operation result which corresponds to the operation formula and can be identified by a corresponding executor is obtained;
the operation formula is a C language operation formula;
according to the operation formula and a preset algorithm, the step of obtaining the operation result which corresponds to the operation formula and can be identified by the corresponding executor comprises the following steps:
scanning the characters of the operation formula one by one from left to right, and storing the characters meeting the storage conditions into an OP variable list according to the preset storage conditions, wherein one character is one OP variable;
according to the OP variable in the OP variable list and a preset operation rule, performing operation, and storing an operation result into the OP variable list;
after the scanning of all the characters of the operation formula is completed, if only 1 OP variable is left in the OP variable list, the OP variable is output as an operation result; if only one minimum term expression is left in the OP variable list, calculating and outputting an operation result; otherwise, outputting an error signal.
2. The data processing method according to claim 1, wherein the character is any one of a space, a TAB, an operand, and an operator; the operands are decimal numbers or hexadecimal numbers.
3. A data processing method according to claim 2, wherein,
the storage conditions are as follows:
the current character is any one of a space, TAB or ")" without storing the character;
when the current character is "(" then pushing the bracket state stack;
when the current character is an operand, if the operand starts with 0X or 0X, the operand is judged to be a 16-system number and the current character is stored in the OP variable list, and if the operand does not start with 0X or 0X, the operand is judged to be a 10-system number and the current character is stored in the OP variable list;
the operation rule is as follows:
when the current character is ")," calculating the least-significant expression in the OP variable list, storing the operation result into the OP variable list, and popping up the last ("entering the bracket state stack");
when the current character is an operator, judging the type of the current character; if three OP variables exist in the OP variable list, comparing the priority of the current character with that of the last one of the OP variables in the OP variable list, if the priority of the current character is lower than or equal to that of the last one of the OP variables, calculating a minimum term expression in the OP list, and storing an operation result and the current character in the OP variable list; if the character priority is higher than the last one, calculating a least significant expression consisting of the next character, the current character and the last one OP variable, and storing the calculation result into an OP variable list; if the number of the OP variables in the OP variable list is less than three, continuing scanning of the next character.
4. A data processing system for an embedded environment, comprising: a command receiving unit and a data acquiring unit;
the command receiving unit is used for receiving a command input request, and the command input request comprises an operation formula;
the data acquisition unit is used for acquiring the operation formula from the command input request and acquiring an operation result which corresponds to the operation formula and can be identified by a corresponding executor according to the operation formula and a preset algorithm;
the data acquisition unit includes:
an arithmetic expression acquisition unit for acquiring the arithmetic expression from the command input request;
the character screening unit is used for scanning the characters of the operation formula one by one from left to right, storing the characters meeting the storage conditions into an OP variable list according to the preset storage conditions, and one character is one OP variable;
the operation unit is used for carrying out operation according to the OP variable in the OP variable list and a preset operation rule, and storing an operation result into the OP variable list;
the output unit is used for outputting the OP variables as operation results if only 1 OP variable is left in the OP variable list after the scanning of all the characters of the operation formula is completed; if only one minimum term expression is left in the OP variable list, calculating and outputting an operation result; otherwise, outputting an error signal.
5. The data processing system of claim 4, wherein the character is any one of a space, a TAB, an operand, and an operator; the operands are decimal numbers or hexadecimal numbers.
6. The data processing system of claim 5, wherein the data processing system further comprises a data processing system,
the storage conditions of the character screening unit are as follows:
the current character is any one of a space, TAB or ")" without storing the character;
when the current character is "(" then pushing the bracket state stack;
when the current character is an operand, if the operand starts with 0X or 0X, the operand is judged to be a 16-system number and the current character is stored in the OP variable list, and if the operand does not start with 0X or 0X, the operand is judged to be a 10-system number and the current character is stored in the OP variable list;
the operation rule is as follows:
when the current character is ")," calculating the least-significant expression in the OP variable list, storing the operation result into the OP variable list, and popping up the last ("entering the bracket state stack");
when the current character is an operator, judging the type of the current character; if three OP variables exist in the OP variable list, comparing the priority of the current character with that of the last one of the OP variables in the OP variable list, if the priority of the current character is lower than or equal to that of the last one of the OP variables, calculating a minimum term expression in the OP list, and storing an operation result and the current character in the OP variable list; if the character priority is higher than the last one, calculating a least significant expression consisting of the next character, the current character and the last one OP variable, and storing the calculation result into an OP variable list; if the number of the OP variables in the OP variable list is less than three, continuing scanning of the next character.
7. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 3 when the computer program is executed.
8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 3.
CN201910059332.XA 2019-01-22 2019-01-22 Data processing method, system, terminal and storage medium for embedded environment Active CN109710310B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910059332.XA CN109710310B (en) 2019-01-22 2019-01-22 Data processing method, system, terminal and storage medium for embedded environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910059332.XA CN109710310B (en) 2019-01-22 2019-01-22 Data processing method, system, terminal and storage medium for embedded environment

Publications (2)

Publication Number Publication Date
CN109710310A CN109710310A (en) 2019-05-03
CN109710310B true CN109710310B (en) 2023-08-18

Family

ID=66262501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910059332.XA Active CN109710310B (en) 2019-01-22 2019-01-22 Data processing method, system, terminal and storage medium for embedded environment

Country Status (1)

Country Link
CN (1) CN109710310B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741135A (en) * 2009-12-29 2010-06-16 天津凯发电气股份有限公司 Implementing method and application of programmable logic script in automatic switch-on system of standby power supply
CN102582268A (en) * 2012-01-10 2012-07-18 珠海天威技术开发有限公司 Microcontroller, algorithm protection method of microcontroller, storage chip with microcontroller, consumable container and imaging equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741135A (en) * 2009-12-29 2010-06-16 天津凯发电气股份有限公司 Implementing method and application of programmable logic script in automatic switch-on system of standby power supply
CN102582268A (en) * 2012-01-10 2012-07-18 珠海天威技术开发有限公司 Microcontroller, algorithm protection method of microcontroller, storage chip with microcontroller, consumable container and imaging equipment

Also Published As

Publication number Publication date
CN109710310A (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN111310910B (en) Computing device and method
KR102447636B1 (en) Apparatus and method for performing arithmetic operations for accumulating floating point numbers
US8745111B2 (en) Methods and apparatuses for converting floating point representations
CN107239392B (en) Test method, test device, test terminal and storage medium
JPH0816391A (en) Computer system, instruction-bit-length compression method, instruction generation method and computer-system operating method
US11775269B2 (en) Generating a synchronous digital circuit from a source code construct defining a function call
CN108491207B (en) Expression processing method, device, equipment and computer readable storage medium
CN111177476B (en) Data query method, device, electronic equipment and readable storage medium
US20200225920A1 (en) Generating synchronous digital circuits from source code constructs that map to circuit implementations
WO2020154219A1 (en) Systems and methods for controlling machine operations
US20230084523A1 (en) Data Processing Method and Device, and Storage Medium
CN111460815A (en) Rule processing method, apparatus, medium, and electronic device
CN105204837A (en) Realizing method and device for logic programming
CN112835551B (en) Data processing method for processing unit, electronic device, and computer-readable storage medium
CN109710310B (en) Data processing method, system, terminal and storage medium for embedded environment
CN115328390A (en) Pointer variable read-write operation method, device, equipment and medium based on C51
CN115630595A (en) Automatic logic circuit generation method and device, electronic device and storage medium
US10977012B2 (en) Computing device for accelerating a data type check and operating method thereof
US8001358B2 (en) Microprocessor and method of processing data including peak value candidate selecting part and peak value calculating part
CN112214244A (en) Arithmetic device and operation method thereof
US20240111537A1 (en) Store instruction merging with pattern detection
CN115577149B (en) Data processing method, device and equipment and readable storage medium
JP2001216136A (en) Addition circuit and processor
CN107562442B (en) Method and device for reading data
JP3608446B2 (en) Compiler device and processor

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
GR01 Patent grant
GR01 Patent grant