CN116737323B - Script calling method and device based on Internet of things chip - Google Patents
Script calling method and device based on Internet of things chip Download PDFInfo
- Publication number
- CN116737323B CN116737323B CN202311000955.2A CN202311000955A CN116737323B CN 116737323 B CN116737323 B CN 116737323B CN 202311000955 A CN202311000955 A CN 202311000955A CN 116737323 B CN116737323 B CN 116737323B
- Authority
- CN
- China
- Prior art keywords
- instruction
- internet
- external
- test
- terminal control
- 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
Links
- 238000013515 script Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000012360 testing method Methods 0.000 claims abstract description 104
- 238000011161 development Methods 0.000 claims abstract description 12
- 238000012827 research and development Methods 0.000 claims description 14
- 238000004891 communication Methods 0.000 claims description 12
- 238000004519 manufacturing process Methods 0.000 claims description 11
- 238000009826 distribution Methods 0.000 claims description 6
- 238000004806 packaging method and process Methods 0.000 claims description 6
- 230000006855 networking Effects 0.000 claims 1
- 238000011156 evaluation Methods 0.000 abstract description 10
- 230000009977 dual effect Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 24
- 238000013461 design Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 241000282326 Felis catus Species 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000005520 cutting process Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011990 functional testing Methods 0.000 description 1
- 238000012812 general test Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
- G06F9/45508—Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
- G06F9/45512—Command shells
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/368—Test management for test version control, e.g. updating test cases to a new software version
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
Abstract
The application provides a script calling method based on an internet of things chip, which comprises the following steps: analyzing and obtaining the type of the external instruction based on the received external instruction through an internet of things chip; selecting a target instruction system for analyzing the external instruction according to the type of the external instruction and distributing the external instruction to the target instruction system; the target instruction system comprises a system test instruction system or a terminal control instruction system; and calling a corresponding script through the target instruction system, and analyzing the external instruction to obtain the message of the external instruction. By constructing the dual instruction system, the development, test and functional evaluation requirements of each stage in the microkernel embedded system are met.
Description
Technical Field
The application relates to the technical field of integrated circuits, in particular to a script calling method and device based on an internet of things chip.
Background
The existing microkernel system is generally a single instruction interface, and the test interface is packaged through a command line or a special instruction to achieve the test purpose. Because the instruction system is huge and easy, the memory resources corresponding to the microkernel system are very tense, the microkernel system can be put into flash only by cutting, single instructions generally meet the requirements of testing, developing and demand assessment through a macro cutting instruction interface, and the problem that the version needs to be re-exported due to instruction deletion is easily caused.
Disclosure of Invention
The application provides a script calling method based on an internet of things chip, which aims to solve the technical problems and comprises the following steps:
analyzing and obtaining the type of the external instruction based on the received external instruction through an internet of things chip;
selecting a target instruction system for analyzing the external instruction according to the type of the external instruction and distributing the external instruction to the target instruction system; the target instruction system comprises a system test instruction system or a terminal control instruction system;
and calling a corresponding script through the target instruction system, and analyzing the external instruction to obtain the message of the external instruction.
In some embodiments, further comprising:
the configuration compiling script specifically comprises the following steps:
macro switches are respectively arranged on the system test instruction system and the terminal control instruction system;
when the Internet of things chip is in a development stage, a macro switch of the terminal control instruction system is turned on;
when the Internet of things chip is in a research and development function test stage, turning on a macro switch of the system test instruction system and a macro switch of the terminal control instruction system;
when the Internet of things chip is in a stage test stage, only a macro switch of the system test instruction system is turned on; when the internet of things chip is in a mass production version test stage, only a macro switch of the terminal control instruction system is turned on;
the configuration using script specifically comprises the following steps: interfaces for switching to other instruction systems are arranged in each instruction system.
In some embodiments, the analyzing, by the internet of things chip, the type of the external instruction based on the received external instruction includes:
analyzing the type of the external instruction through a communication interface service module of the internet of things chip, wherein the type of the external instruction comprises a system test instruction and a terminal control instruction.
In some embodiments, the selecting a target instruction system for parsing the external instruction and distributing the external instruction to the target instruction system according to the type of the external instruction includes:
after determining that the type of the external instruction is the system test instruction, distributing the system test instruction to a system test instruction system;
and after the type of the external instruction is determined to be the terminal control instruction, distributing the terminal control instruction to a terminal control instruction system.
In some embodiments, further comprising:
after the analysis of the external instruction is completed, the external instruction is packaged into a message and sent to an input task module;
and uniformly packaging the input task modules into system messages, and transmitting the system messages to a main control module of the Internet of things chip.
In some embodiments, the present application further provides a script calling device based on an internet of things chip, including:
the communication interface service module is used for analyzing and obtaining the type of the external instruction based on the received external instruction through the internet of things chip;
the instruction distribution module is used for selecting a target instruction system for analyzing the external instruction according to the type of the external instruction and distributing the external instruction to the target instruction system; the target instruction system comprises a system test instruction system or a terminal control instruction system;
and the instruction system is used for calling the corresponding script through the target instruction system and analyzing the external instruction to obtain the message of the external instruction.
In some embodiments, the method further comprises a configuration module for:
the configuration compiling script specifically comprises the following steps:
macro switches are respectively arranged on the system test instruction system and the terminal control instruction system;
when the Internet of things chip is in a development stage, a macro switch of the terminal control instruction system is turned on;
when the Internet of things chip is in a research and development function test stage, turning on a macro switch of the system test instruction system and a macro switch of the terminal control instruction system;
when the Internet of things chip is in a stage test stage, only a macro switch of the system test instruction system is turned on; when the internet of things chip is in a mass production version test stage, only a macro switch of the terminal control instruction system is turned on;
the configuration using script specifically comprises the following steps: interfaces for switching to other instruction systems are arranged in each instruction system.
In some embodiments, the communication interface service module is configured to:
analyzing the types of the external instructions, wherein the types of the external instructions comprise system test instructions and terminal control instructions.
In some embodiments, the instruction distribution module is configured to:
after determining that the type of the external instruction is the system test instruction, distributing the system test instruction to a system test instruction system;
and after the type of the external instruction is determined to be the terminal control instruction, distributing the terminal control instruction to a terminal control instruction system.
In some embodiments, further comprising: a message sending module, configured to:
after the analysis of the external instruction is completed, the external instruction is packaged into a message and sent to an input task module;
and uniformly packaging the input task modules into system messages, and transmitting the system messages to a main control module of the Internet of things chip.
The script calling method and device based on the internet of things chip provided by the application have at least the following beneficial effects:
1) By constructing the dual instruction system, the development, test and functional evaluation requirements of each stage in the microkernel embedded system are met.
2) By analyzing the differences of application scenes, the design of the double-instruction interface is adopted, so that the instruction system can be cut rapidly according to the needs, the needs of each development stage can be ensured, and errors are not easy to occur.
3) And a command interface is opened to perform function evaluation in the research and development or customer project evaluation stage, so that a conclusion on whether the system can meet the corresponding function can be quickly obtained, and the project efficiency is improved.
4) The complex test system construction can be performed through the test instruction interface in the test stage. The interfaces of the two parts can be directly cut off in a macro control manner in the production stage, so that the space is saved.
5) The research and development and project evaluation generally need simple and visual operation, and command line format instructions are adopted; the test stage needs to specify case, and a special json instruction is adopted to prevent misoperation.
Drawings
The above features, technical features, advantages and implementation manners of a script calling system based on an internet of things chip will be further described in a clear and understandable manner with reference to the accompanying drawings.
FIG. 1 is a schematic diagram of one embodiment of a script calling method based on an Internet of things chip in the present application;
FIG. 2 is a schematic diagram of one embodiment of a script calling method based on an Internet of things chip in the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
For the sake of simplicity of the drawing, the parts relevant to the present application are shown only schematically in the figures, which do not represent the actual structure thereof as a product. Additionally, in order to simplify the drawing for ease of understanding, components having the same structure or function in some of the drawings are shown schematically with only one of them, or only one of them is labeled. Herein, "a" means not only "only this one" but also "more than one" case.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
In addition, in the description of the present application, the terms "first," "second," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description will explain the specific embodiments of the present application with reference to the accompanying drawings. It is evident that the drawings in the following description are only examples of the application, from which other drawings and other embodiments can be obtained by a person skilled in the art without inventive effort.
In one embodiment, as shown in fig. 1, the present application provides a script calling method based on an internet of things chip, including:
s101, analyzing and obtaining the type of the external instruction based on the received external instruction through an Internet of things chip;
s102, selecting a target instruction system for analyzing the external instruction according to the type of the external instruction and distributing the external instruction to the target instruction system; the target instruction system comprises a system test instruction system or a terminal control instruction system;
s103, calling a corresponding script through the target instruction system, and analyzing the external instruction to obtain the message of the external instruction.
In the embodiment, the development, test and function evaluation requirements of each stage in the microkernel embedded system are met by constructing a dual instruction system. By analyzing the differences of application scenes, the design of the double-instruction interface is adopted, so that the instruction system can be cut rapidly according to the needs, the needs of each development stage can be ensured, and errors are not easy to occur.
In one embodiment, further comprising:
the configuration compiling script specifically comprises the following steps:
macro switches are respectively arranged on the system test instruction system and the terminal control instruction system;
when the Internet of things chip is in a development stage, a macro switch of the terminal control instruction system is turned on;
when the Internet of things chip is in a research and development function test stage, a macro switch of the system test instruction system and a macro switch of the terminal control instruction system are turned on.
The research and development function test stage is to test whether the function is normal, such as whether the serial port can communicate, whether the IIC can access the peripheral, and whether the function is available, such as whether the serial port can print.
When the Internet of things chip is in a stage test stage, only a macro switch of the system test instruction system is turned on; when the internet of things chip is in a mass production version test stage, only a macro switch of the terminal control instruction system is turned on.
When in stage test, only a macro switch of the system test instruction system is turned on to perform system test, such as testing some performance indexes of the system. This section is generally divided into two phases, the first phase testing the integrity and availability of the functions and the second phase testing the stability.
The stage test is a further stage than the research and development test stage, and some performance indexes, such as ICC communication speed, whether the IIC is connected with a plurality of devices or not, and the like, are tested.
The general test stage is divided into research and development function test, stage test and mass production version test. The stage test is carried out for 1-2 stages to enter mass production version test.
The configuration using script specifically comprises the following steps: interfaces for switching to other instruction systems are arranged in each instruction system.
In one embodiment, the analyzing, by the chip of the internet of things, the type of the external instruction based on the received external instruction includes:
analyzing the type of the external instruction through a communication interface service module of the internet of things chip, wherein the type of the external instruction comprises a system test instruction and a terminal control instruction.
In this embodiment, the system test includes a functional test under multiple services, such as network transceiving while playing sound, playing a WAV format video file, and a test of TTS (Text To Speech) voice broadcasting function.
In this embodiment, the terminal control instruction refers to a single function instruction, such as an ls instruction, listing files under the current file system. Similar single function instructions also include copy, cat, etc.
And a command interface is opened to perform function evaluation in the research and development or customer project evaluation stage, so that a conclusion on whether the system can meet the corresponding function can be quickly obtained, and the project efficiency is improved.
The complex test system construction can be performed through the test instruction interface in the test stage. The interfaces of the two parts can be directly cut off in a macro control manner in the production stage, so that the space is saved.
The research and development and project evaluation generally need simple and visual operation, and command line format instructions are adopted; the test stage needs to specify case, and a special json instruction is adopted to prevent misoperation.
In one embodiment, the selecting a target instruction system for parsing the external instruction and distributing the external instruction to the target instruction system according to the type of the external instruction includes:
after determining that the type of the external instruction is the system test instruction, distributing the system test instruction to a system test instruction system;
and after the type of the external instruction is determined to be the terminal control instruction, distributing the terminal control instruction to a terminal control instruction system.
In one embodiment, further comprising:
after the analysis of the external instruction is completed, the external instruction is packaged into a message and sent to an input task module;
and uniformly packaging the input task modules into system messages, and transmitting the system messages to a main control module of the Internet of things chip.
In one embodiment, the application provides a script calling method based on an internet of things chip, which specifically comprises the following steps:
1. instruction interface definition
A: system test script, instruction definition: { name: "name", param1: "int value", param2: "int value", param3: "string" }, the instruction design is obtained by analyzing a large number of test scripts, and the most saved parameters are realized while meeting the requirements of various system tests.
B: similar to the terminal control instructions of dos.
The system functions are called by using the classes dos/bash, ls, cat and echo, so that the basic function evaluation system implementation part is conveniently realized.
2. Instruction interface implementation
A: multiple script implementation mechanism: as shown in fig. 2, the script system relies on the hardware service interface implementation, performs script selection through configuration, and then parses the corresponding input.
3. Instruction interface configuration and use
A: script configurations are compiled, and each script configuration is provided with a configuration macro for switching. The system only sets a macro switch, and after the macro switch corresponding to the console is opened, the macro switch is divided into basic/full instructions (basic instructions and complete instructions). Opening a control macro and full in the development stage; the research and development function test stage opens the test and the control macro; the phase test is configured as a system only; the mass production stage only opens the con basic.
B: with script configuration, interfaces for switching to other instructions are provided in each instruction system.
In one embodiment, the application further provides a script calling device based on the internet of things chip, which comprises:
the communication interface service module is used for analyzing and obtaining the type of the external instruction based on the received external instruction through the internet of things chip;
the instruction distribution module is used for selecting a target instruction system for analyzing the external instruction according to the type of the external instruction and distributing the external instruction to the target instruction system; the target instruction system comprises a system test instruction system or a terminal control instruction system;
and the instruction system is used for calling the corresponding script through the target instruction system and analyzing the external instruction to obtain the message of the external instruction.
In one embodiment, the method further comprises a configuration module for:
the configuration compiling script specifically comprises the following steps:
macro switches are respectively arranged on the system test instruction system and the terminal control instruction system;
when the Internet of things chip is in a development stage, a macro switch of the terminal control instruction system is turned on;
when the Internet of things chip is in a research and development function test stage, turning on a macro switch of the system test instruction system and a macro switch of the terminal control instruction system;
when the Internet of things chip is in a stage test stage, only a macro switch of the system test instruction system is turned on; when the internet of things chip is in a mass production version test stage, only a macro switch of the terminal control instruction system is turned on.
The configuration using script specifically comprises the following steps: interfaces for switching to other instruction systems are arranged in each instruction system.
In one embodiment, the communication interface service module is configured to:
analyzing the types of the external instructions, wherein the types of the external instructions comprise system test instructions and terminal control instructions.
In one embodiment, the instruction distribution module is configured to:
after determining that the type of the external instruction is the system test instruction, distributing the system test instruction to a system test instruction system;
and after the type of the external instruction is determined to be the terminal control instruction, distributing the terminal control instruction to a terminal control instruction system.
In one embodiment, further comprising: a message sending module, configured to:
after the analysis of the external instruction is completed, the external instruction is packaged into a message and sent to an input task module;
and uniformly packaging the input task modules into system messages, and transmitting the system messages to a main control module of the Internet of things chip.
Based on the above embodiments, the same portions as those of the above embodiments are not discussed one by one.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of each program module is exemplified, and in practical application, the above-described function allocation may be performed by different program modules according to needs, i.e. the internal structure of the device is divided into different program units or modules, so as to perform all or part of the above-described functions. The program modules in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one processing unit, where the integrated units may be implemented in a form of hardware or in a form of a software program unit. In addition, the specific names of the program modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the parts of a certain embodiment that are not described or depicted in detail may be referred to in the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described embodiments of the apparatus are exemplary only, and exemplary, the division of modules or units is merely a logical function division, and there may be additional divisions in actual implementation, exemplary, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
It should be noted that the above embodiments can be freely combined as needed. The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.
Claims (8)
1. The script calling method based on the internet of things chip is characterized by comprising the following steps of:
analyzing and obtaining the type of the external instruction based on the received external instruction through an internet of things chip;
selecting a target instruction system for analyzing the external instruction according to the type of the external instruction and distributing the external instruction to the target instruction system; the target instruction system comprises a system test instruction system or a terminal control instruction system;
calling a corresponding script through the target instruction system, and analyzing the external instruction to obtain a message of the external instruction;
the configuration compiling script specifically comprises the following steps:
macro switches are respectively arranged on the system test instruction system and the terminal control instruction system;
when the Internet of things chip is in a development stage, a macro switch of the terminal control instruction system is turned on;
when the Internet of things chip is in a research and development function test stage, turning on a macro switch of the system test instruction system and a macro switch of the terminal control instruction system;
when the Internet of things chip is in a stage test stage, only a macro switch of the system test instruction system is turned on; when the internet of things chip is in a mass production version test stage, only a macro switch of the terminal control instruction system is turned on;
the configuration using script specifically comprises the following steps: interfaces for switching to other instruction systems are arranged in each instruction system.
2. The script calling method based on the internet of things chip according to claim 1, wherein the analyzing, by the internet of things chip, the type of the external instruction based on the received external instruction includes:
analyzing the type of the external instruction through a communication interface service module of the internet of things chip, wherein the type of the external instruction comprises a system test instruction and a terminal control instruction.
3. The script calling method based on the internet of things chip according to claim 2, wherein selecting a target instruction system for parsing the external instruction and distributing the external instruction to the target instruction system according to the type of the external instruction comprises:
after determining that the type of the external instruction is the system test instruction, distributing the system test instruction to a system test instruction system;
and after the type of the external instruction is determined to be the terminal control instruction, distributing the terminal control instruction to a terminal control instruction system.
4. The script calling method based on the internet of things chip according to any one of claims 1 to 3, further comprising:
after the analysis of the external instruction is completed, the external instruction is packaged into a message and sent to an input task module;
and uniformly packaging the input task modules into system messages, and transmitting the system messages to a main control module of the Internet of things chip.
5. Script calling device based on thing networking chip, characterized by comprising:
the communication interface service module is used for analyzing and obtaining the type of the external instruction based on the received external instruction through the internet of things chip;
the instruction distribution module is used for selecting a target instruction system for analyzing the external instruction according to the type of the external instruction and distributing the external instruction to the target instruction system; the target instruction system comprises a system test instruction system or a terminal control instruction system;
the instruction system is used for calling a corresponding script through the target instruction system and analyzing the external instruction to obtain the information of the external instruction;
a configuration module for:
the configuration compiling script specifically comprises the following steps:
macro switches are respectively arranged on the system test instruction system and the terminal control instruction system;
when the Internet of things chip is in a development stage, a macro switch of the terminal control instruction system is turned on;
when the Internet of things chip is in a research and development function test stage, turning on a macro switch of the system test instruction system and a macro switch of the terminal control instruction system;
when the Internet of things chip is in a stage test stage, only a macro switch of the system test instruction system is turned on; when the internet of things chip is in a mass production version test stage, only a macro switch of the terminal control instruction system is turned on;
the configuration using script specifically comprises the following steps: interfaces for switching to other instruction systems are arranged in each instruction system.
6. The script calling device based on the internet of things chip according to claim 5, wherein the communication interface service module is configured to:
analyzing the types of the external instructions, wherein the types of the external instructions comprise system test instructions and terminal control instructions.
7. The script calling device based on the internet of things chip according to claim 6, wherein the instruction distribution module is configured to:
after determining that the type of the external instruction is the system test instruction, distributing the system test instruction to a system test instruction system;
and after the type of the external instruction is determined to be the terminal control instruction, distributing the terminal control instruction to a terminal control instruction system.
8. The script calling device based on an internet of things chip according to any one of claims 5 to 7, further comprising: a message sending module, configured to:
after the analysis of the external instruction is completed, the external instruction is packaged into a message and sent to an input task module;
and uniformly packaging the input task modules into system messages, and transmitting the system messages to a main control module of the Internet of things chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311000955.2A CN116737323B (en) | 2023-08-10 | 2023-08-10 | Script calling method and device based on Internet of things chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311000955.2A CN116737323B (en) | 2023-08-10 | 2023-08-10 | Script calling method and device based on Internet of things chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116737323A CN116737323A (en) | 2023-09-12 |
CN116737323B true CN116737323B (en) | 2023-11-10 |
Family
ID=87917186
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311000955.2A Active CN116737323B (en) | 2023-08-10 | 2023-08-10 | Script calling method and device based on Internet of things chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116737323B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7290263B1 (en) * | 2002-12-19 | 2007-10-30 | Extreme, Networks, Inc. | Method and system for a scriptable command line interface |
US8839187B1 (en) * | 2009-02-17 | 2014-09-16 | The Mathworks, Inc. | Automatic generation of hardware simulation interface code using pre-processor macros |
CN112565443A (en) * | 2020-12-08 | 2021-03-26 | 中煤航测遥感集团有限公司 | Internet of things data analysis method, device, equipment and storage medium |
CN112597006A (en) * | 2020-12-14 | 2021-04-02 | 中国航发控制系统研究所 | Embedded software integration test automatic execution system and method |
CN113704129A (en) * | 2021-09-03 | 2021-11-26 | 中国农业银行股份有限公司 | Regression testing method, device, storage medium and equipment |
WO2022052161A1 (en) * | 2020-09-09 | 2022-03-17 | 国微集团(深圳)有限公司 | Chip debugging system and debugger |
CN114510429A (en) * | 2022-02-28 | 2022-05-17 | 中国人民解放军国防科技大学 | Debugging method, system and medium based on dynamic symbol execution |
CN114527983A (en) * | 2020-11-23 | 2022-05-24 | 中移互联网有限公司 | Interface adaptation method and device based on middleware and electronic equipment |
CN115440294A (en) * | 2022-09-01 | 2022-12-06 | 山东华芯半导体有限公司 | Multi-command hybrid test method for NAND Flash controller |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8185782B2 (en) * | 2008-04-14 | 2012-05-22 | Industrial Technology Research Institute | Test device and method for hierarchical test architecture |
US8132133B2 (en) * | 2008-08-22 | 2012-03-06 | International Business Machines Corporation | Automated isolation of logic and macro blocks in chip design testing |
-
2023
- 2023-08-10 CN CN202311000955.2A patent/CN116737323B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7290263B1 (en) * | 2002-12-19 | 2007-10-30 | Extreme, Networks, Inc. | Method and system for a scriptable command line interface |
US8839187B1 (en) * | 2009-02-17 | 2014-09-16 | The Mathworks, Inc. | Automatic generation of hardware simulation interface code using pre-processor macros |
WO2022052161A1 (en) * | 2020-09-09 | 2022-03-17 | 国微集团(深圳)有限公司 | Chip debugging system and debugger |
CN114527983A (en) * | 2020-11-23 | 2022-05-24 | 中移互联网有限公司 | Interface adaptation method and device based on middleware and electronic equipment |
CN112565443A (en) * | 2020-12-08 | 2021-03-26 | 中煤航测遥感集团有限公司 | Internet of things data analysis method, device, equipment and storage medium |
CN112597006A (en) * | 2020-12-14 | 2021-04-02 | 中国航发控制系统研究所 | Embedded software integration test automatic execution system and method |
CN113704129A (en) * | 2021-09-03 | 2021-11-26 | 中国农业银行股份有限公司 | Regression testing method, device, storage medium and equipment |
CN114510429A (en) * | 2022-02-28 | 2022-05-17 | 中国人民解放军国防科技大学 | Debugging method, system and medium based on dynamic symbol execution |
CN115440294A (en) * | 2022-09-01 | 2022-12-06 | 山东华芯半导体有限公司 | Multi-command hybrid test method for NAND Flash controller |
Also Published As
Publication number | Publication date |
---|---|
CN116737323A (en) | 2023-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11297149B2 (en) | Application programming interface (API) to provide network metrics and network resource control to users | |
US7739693B2 (en) | Generic application program interface for native drivers | |
CN108170612B (en) | Automatic testing method and device and server | |
US9563418B1 (en) | Communication endpoints, software update servers, and related methods | |
CN111782524B (en) | Application testing method and device, storage medium and electronic device | |
CN110147326A (en) | Micro services automated testing method based on Redis database | |
CN112269694B (en) | Management node determining method and device, electronic equipment and readable storage medium | |
JP2020184298A (en) | Speech skill creating method and system | |
CN109391676A (en) | Terminal equipment control method, terminal device and computer readable storage medium | |
CN117707946A (en) | Test script generation method and device for browser | |
CN116737323B (en) | Script calling method and device based on Internet of things chip | |
US5894566A (en) | System and method for emulating network outages a segmented architecture | |
CN109542524B (en) | Linux and android mutual fast switching method | |
CN101452390B (en) | Network boot method and system, and system boot method and apparatus | |
CN115314376B (en) | Method and device for deploying network plug-ins in cluster, electronic equipment and storage medium | |
CN112667498B (en) | Server building method, device, computer equipment and readable storage medium | |
US20050071109A1 (en) | Media platform testing | |
CN109831353B (en) | Automatic testing device for multiple network services | |
CN111209018B (en) | Method and device for processing application upgrading prompt information and electronic equipment | |
CN115391168A (en) | Sandbox testing method, sandbox testing device, sandbox testing equipment and storage medium | |
CN105487884B (en) | Upgrade processing method and relevant device | |
CN111190816A (en) | Method and device for collecting user behavior data and electronic equipment | |
CN107783722B (en) | Data transmission method and data forwarding device | |
US12141050B2 (en) | Lightweight software probe and inject gadgets for system software validation | |
CN118277229A (en) | Vehicle upgrade test method and device, electronic equipment and storage medium |
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 |