CN115328375A - Function expansion method and device for intelligent measurement terminal and intelligent terminal - Google Patents

Function expansion method and device for intelligent measurement terminal and intelligent terminal Download PDF

Info

Publication number
CN115328375A
CN115328375A CN202210778516.3A CN202210778516A CN115328375A CN 115328375 A CN115328375 A CN 115328375A CN 202210778516 A CN202210778516 A CN 202210778516A CN 115328375 A CN115328375 A CN 115328375A
Authority
CN
China
Prior art keywords
module
extended function
function module
information
intelligent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210778516.3A
Other languages
Chinese (zh)
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.)
China Gridcom Co Ltd
Shenzhen Zhixin Microelectronics Technology Co Ltd
Original Assignee
China Gridcom Co Ltd
Shenzhen Zhixin Microelectronics Technology 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 China Gridcom Co Ltd, Shenzhen Zhixin Microelectronics Technology Co Ltd filed Critical China Gridcom Co Ltd
Priority to CN202210778516.3A priority Critical patent/CN115328375A/en
Publication of CN115328375A publication Critical patent/CN115328375A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention discloses a function expansion method and device for an intelligent measurement terminal and the intelligent terminal, wherein the method comprises the following steps: when detecting the access of the extended function module, judging whether the extended function module is a legal module or not; after determining that the extended function module is a legal module, sending query information to the extended function module; and receiving module information fed back by the extended function module aiming at the query information, and performing information interaction with the extended function module by using the module information. When the new extended function module is accessed, the method does not need to change the function realization of the intelligent measurement terminal body, and only needs the new extended function module to realize according to the protocol, thereby reducing the cost of the intelligent measurement terminal when the new extended function module is adapted, and improving the flexibility and the expandability of the intelligent measurement terminal. The intelligent measuring terminal body can be adapted to various types of expansion modules with different functions without being changed in the true sense.

Description

Function expansion method and device for intelligent measurement terminal and intelligent terminal
Technical Field
The invention relates to the field of intelligent measurement terminals, in particular to a function expansion method and device for an intelligent measurement terminal and the intelligent terminal.
Background
With the continuous development of the technology of the internet of things and the energization of the technology in various industry fields. The power industry also caters to the age of the power internet of things. The intelligent measuring terminal is an important component in the power Internet of things technology and plays a role of a bridge for transmitting data from a physical world to a digital world. The intelligent measuring terminal has a basic function of carrying out data interactive communication with other sensor equipment and data acquisition equipment. However, although the current intelligent measurement terminal has a certain expandability, it cannot be flexible enough.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, an object of the present invention is to provide a function extension method for an intelligent measurement terminal, so that an intelligent measurement terminal body can be adapted to various types of extended function modules with different functions without being changed, and the method has the advantages of high flexibility and low cost.
The second objective of the present invention is to provide a function expanding device for an intelligent measurement terminal.
A third object of the invention is to propose a computer-readable storage medium.
The fourth purpose of the invention is to provide an intelligent terminal.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a function extender for an intelligent metering terminal, where the method includes: when detecting the access of an extended function module, judging whether the extended function module is a legal module or not; after determining that the extended function module is a legal module, sending query information to the extended function module; and receiving module information fed back by the extended function module aiming at the query information, and performing information interaction with the extended function module by using the module information.
According to the function expansion method for the intelligent measurement terminal, when a new expansion function module is accessed, the function realization of the intelligent measurement terminal body is not required to be changed, and only the new expansion function module is required to be realized according to the protocol, so that the cost of the intelligent measurement terminal in adapting to the new expansion function module is reduced, and the flexibility and the expandability of the intelligent measurement terminal are improved. The intelligent measuring terminal has the advantages that the intelligent measuring terminal body can be adapted to various types of expansion modules with different functions without being changed in the true sense.
In addition, the function expansion method for the intelligent measurement terminal provided by the embodiment of the invention can also have the following additional technical features:
according to an embodiment of the present invention, determining whether the extended function module is a legal module includes: sending inquiry information to the extended function module; and receiving registration information fed back by the extended function module aiming at the inquiry information, and judging whether the extended function module is a legal module according to the registration information.
According to an embodiment of the present invention, the module information includes identity information and service information, the service information includes a service type and a service parameter, and the performing information interaction with the extended function module by using the module information includes: acquiring a service instruction, and determining target identity information according to the service instruction, the service type and the service parameters of each extended function module; and sending the service instruction to a corresponding extended function module according to the target identity information so as to enable the extended function module to execute the service instruction.
According to an embodiment of the present invention, determining whether the extended function module is a legal module according to the registration information includes: and judging whether the extended function module is a legal module or not according to the registration information by using a preset algorithm.
According to one embodiment of the present invention, when it is determined that the extended function module is an illegal module, error information is uploaded.
According to one embodiment of the invention, whether the extended function module is accessed is detected through a hot plug technology.
According to one embodiment of the invention, the intelligent measurement terminal comprises a CPU module, a USB expansion MCU module and a USB external interface, wherein the CPU module is in communication connection with the USB expansion MCU module through a USB bus, and the USB expansion MCU module is in communication connection with the expansion function module through the USB external interface.
In order to achieve the above object, a second embodiment of the present invention provides a function extension apparatus for an intelligent measurement terminal, the apparatus including: the judging module is used for judging whether the extended function module is a legal module or not when the access of the extended function module is detected; the sending module is used for sending query information to the extended function module after determining that the extended function module is the legal module; and the interaction module is used for receiving the module information fed back by the extended function module aiming at the query information and carrying out information interaction with the extended function module by utilizing the module information.
To achieve the above object, a third aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the function extension method for an intelligent measurement terminal as set forth in the first aspect of the present invention.
In order to achieve the above object, a fourth aspect of the present invention provides an intelligent terminal, including a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the intelligent terminal implements the function expansion method for an intelligent measurement terminal as set forth in the first aspect of the present invention.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a flowchart of a function expansion method for an intelligent metering terminal according to an embodiment of the present invention;
FIG. 2 is a flowchart of determining whether an extended function module is a legal module according to an embodiment of the present invention;
FIG. 3 is a flow diagram of information interaction with an extended function module, according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an intelligent metrology terminal, in accordance with one embodiment of the present invention;
FIG. 5 is a schematic diagram of an extended function module of one embodiment of the present invention;
fig. 6 is a flowchart of an intelligent metering terminal accessing an extended function module according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating an extended function module accessing an intelligent measurement terminal according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a function expansion apparatus for an intelligent metering terminal according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The function expansion method, device and intelligent terminal for an intelligent measurement terminal according to the embodiments of the present invention will be described in detail below with reference to fig. 1 to 8 and specific embodiments of the specification.
Fig. 1 is a flowchart of a function expansion method for an intelligent metering terminal according to an embodiment of the present invention. As shown in fig. 1, the method for extending the functionality of the intelligent measurement terminal may include:
s1, when detecting that an extended function module is accessed, judging whether the extended function module is a legal module;
specifically, the intelligent measurement terminal detects whether an extended function module is accessed, and when the extended function module is detected to be accessed, judges whether the accessed extended function module is a legal module, so as to prevent an illegal module from being accessed to the intelligent measurement terminal.
As a possible implementation manner, whether the extended function module is accessed or not can be detected through a hot plug technology.
Specifically, an initial variable varsign of an interface with a hot-plug function in the smart metering terminal for connecting with the extended function module may be set to 0. When an extended function module is connected with an interface with a hot plug function, the VARSIGNAL of the interface is set to 1. Whether the extended function module is accessed is detected by detecting whether an initial variable VARSIGNAL of the interface with the hot plug-in function is set to be 1 or not.
Further specifically, when the access of the extended function module is detected, the VARSIGNAL of the corresponding interface is set to 1. And opening the virtual serial port corresponding to the interface to send inquiry information to the extended function module connected with the interface so as to judge whether the extended function module is a legal module.
As a possible implementation manner, as shown in fig. 2, the determining whether the extended function module is a legal module may include:
s11, sending inquiry information to the extended function module;
and S12, receiving registration information fed back by the extended function module aiming at the inquiry information, and judging whether the extended function module is a legal module or not according to the registration information.
Specifically, inquiry information is sent to the extended function module, and whether the extended function module needs to be registered is inquired. And after receiving the inquiry information, the extended function module replies registration information aiming at the inquiry information to the intelligent measurement terminal. And after receiving the registration information fed back by the extended function module aiming at the inquiry information, the intelligent measuring terminal judges whether the extended function module is a legal module according to the registration information.
It should be noted that the registration information fed back by the extended function module according to the query information is registration information set according to a preset protocol. The registration information is a string in a string format.
As an example, the registration information may be "SGD _ Module _ [ model ] _[ number ] _[ vendor code ] _[ password ] _[ random number ] _[ MD5 code ]". The type of the extended function module and the type of the service provided by the extended function module can be determined according to the model. The serial number is a serial number which is self-defined by the batch of extended function modules produced by a manufacturer. The password is pre-agreed upon content. The MD5 code carries out MD5 verification on the previous content, and the MD5 code is generated for tamper resistance.
As a possible implementation manner, the determining whether the extended function module is a legal module according to the registration information may include:
and judging whether the extended function module is a legal module or not according to the registration information by using a preset algorithm.
Specifically, after receiving the registration information, the intelligent measurement terminal determines whether the extended function module is a legal module by using a preset algorithm. Illustratively, after the intelligent measurement terminal receives the registration information of "SGD _ Module _ [ model ] _[ number ] _[ manufacturer code ] _[ password ] _[ random number ] _[ MD5 code ]", the preset algorithm obtains the content of the relevant field according to the preset protocol, and compares the obtained content of the relevant field. Specifically, the obtained "SGD" in the relevant field content is compared to determine whether the "SGD" is correct, and the character string is directly determined. And comparing whether the obtained Module in the related field content is correct or not, and directly judging the character string. And comparing whether the acquired password in the related field content is correct or not, and judging whether the password is consistent with the password retained by the intelligent measurement terminal or not. And comparing whether the acquired MD5 code in the related field content is correct or not, recalculating the acquired registration information content by the intelligent measuring terminal through an MD5 code algorithm to obtain a new MD5 code, and comparing and verifying the new MD5 code with the acquired MD5 code in the registration information fed back by the extended function module. And when the character strings are all correct, judging the accessed extended function module to be a legal module. And when any relevant field is incorrect, judging that the accessed extended function module is an illegal module.
In the embodiment of the invention, when the extended function module is determined to be an illegal module, the error information is uploaded.
Specifically, when the extended function module is determined to be an illegal module, the error information is uploaded, and the access to the illegal extended function module is prompted. Further specifically, when the content of a certain relevant field is judged to be incorrect, the judgment of other fields is interrupted, and the uploaded and accessed extended function module is an illegal module. Or when the content of a certain relevant field is judged to be incorrect, other fields are continuously judged, the incorrect field is uploaded, and the access to the illegal extended function module is prompted.
And S2, after determining that the extended function module is a legal module, sending query information to the extended function module.
Specifically, after determining that the extended function module is a legal module, query information is sent to the extended function module to acquire module information of the accessed extended function module, and the specific function of the accessed extended function module is determined according to the module information of the accessed extended function module, so that information communication is performed with the accessed extended function module, and the function of the accessed extended function module is realized.
And S3, receiving module information fed back by the extended function module aiming at the query information, and performing information interaction with the extended function module by using the module information.
Specifically, the intelligent measurement terminal receives module information fed back by the extended function module aiming at the query information, and stores the module information fed back by the extended function module aiming at the query information. The intelligent measuring terminal can determine the specific functions of the accessed extended function module according to the module information so as to perform information interaction with the extended function module, so that the extended function module executes the service instruction.
In an embodiment of the present invention, the module information includes identity information and service information, and the service information includes a service type and service parameters.
Specifically, the identity information includes a module name code, module length, width and height information, a module picture path, a module manufacturer, and module factory information. The service information includes module service code information, service type, and service parameters.
As a possible implementation, as shown in fig. 3, the information interaction with the extended function module by using the module information may include:
s31, acquiring a service instruction, and determining target identity information according to the service instruction, the service type and the service parameters of each extended function module;
and S2, sending the service instruction to the corresponding extended function module according to the target identity information so as to enable the extended function module to execute the service instruction.
Specifically, when controlling the accessed extended function module to execute a corresponding service instruction, the intelligent measurement terminal acquires the service instruction, determines target identity information according to the acquired service instruction and the service type and service parameters of each extended function module stored in the intelligent measurement terminal, and determines the corresponding extended function module according to the target identity information. And after determining the corresponding extended function module according to the target identity information, sending the service instruction to the corresponding extended function module so that the extended function module executes the service instruction.
The intelligent measuring terminal in the embodiment of the invention can perform data interaction by utilizing the service code information, the service type and the service parameters provided by the extended function module according to the stored module information accessed to the extended function module. And the module information accessed to the extended function module can be transmitted to a cloud platform and the like, and data interaction can be carried out with the accessed extended function module. The intelligent measuring terminal can realize a platform function, such as module discovery, module registration and module interface calling functions.
The intelligent measurement terminal in the embodiment of the invention does not need to know the module information of the extended function module in advance and how to call the accessed extended function module, and after the accessed extended function module is determined to be a legal module, the service type and the parameters required by the service of the extended function module are determined by acquiring the module information of the accessed extended function module, such as the identity information and the service information of the extended function module. Therefore, when a new extended function module is accessed, only the relevant codes of the self information are required to be preset at the end of the extended function module according to the protocol, and the intelligent measuring terminal body is not required to be changed, so that the expandability of the intelligent measuring terminal can be greatly improved, and the development cost when the extended function module is newly accessed is reduced.
In an embodiment of the present invention, as shown in fig. 4, the intelligent measurement terminal includes a CPU module, a USB expansion MCU module, and a USB external interface, the CPU module is communicatively connected to the USB expansion MCU module through a USB bus, and the USB expansion MCU module is communicatively connected to the expansion function module through the USB external interface. The number of the USB external interfaces is multiple, such as three or four, so as to access more extended function modules.
In an embodiment of the present invention, as shown in fig. 5, the extended function module includes an MCU module having a USB interface and a USB connection interface, and the MCU module having a USB interface is communicatively connected to the USB connection interface. The USB connecting interface of the extended function module can be connected with any USB external interface of the intelligent measuring terminal.
Fig. 6 is a flowchart illustrating the access of the smart metering terminal to the extended function module according to an embodiment of the present invention. As shown in fig. 6, the intelligent measurement terminal detects whether an extended function module is accessed through a USB hot plug technology, and if no extended function module is accessed, interrupts the waiting. And if the extended function module is accessed, sending inquiry information to the accessed extended function module, and when the registration information fed back by the extended function module aiming at the inquiry information is not received after a certain time, such as 3 seconds, initiating the inquiry again. After receiving the registration information fed back by the extended function module aiming at the inquiry information, judging whether the extended function module is a legal module according to the registration information fed back by the extended function module, after determining that the extended function module is the legal module, sending inquiry information to the extended function module to acquire the module information of the extended function module, and performing information interaction with the extended function module according to the module information provided by the extended function module to realize the corresponding function of the extended function module.
Fig. 7 is a flowchart illustrating an extended function module accessing an intelligent measurement terminal according to an embodiment of the present invention. As shown in fig. 7, after the extended function module is connected to the intelligent measurement terminal, USB driver initialization is performed, and after the extended function module performs USB driver initialization, it is detected whether query information sent by the intelligent measurement terminal is received, if the query information sent by the intelligent measurement terminal is not received, the extended function module waits for a certain time, for example, 1 second later, it continues to detect whether the query information sent by the intelligent measurement terminal is received, and after receiving the query information sent by the intelligent measurement terminal, it sends registration information for the query information. After the registration information aiming at the inquiry information is sent, whether a service instruction is received or not is detected, if the service instruction is not received, a certain time is waited, if the service instruction is not received, whether the service instruction is received or not is continuously detected, and when the service instruction is received, the relevant service instruction is processed, so that the self expansion function is realized.
According to the function expansion method for the intelligent measurement terminal, when a new expansion function module is accessed, the function of the intelligent measurement terminal body is not required to be changed, the new expansion function module is only required to be realized according to the protocol, the cost of the intelligent measurement terminal in adapting to the new expansion function module is reduced, and the flexibility and the expandability of the intelligent measurement terminal are improved. The intelligent measuring terminal body can be adapted to various types of expansion modules with different functions without being changed in the true sense. The problem of the extended function module that current intelligent measurement terminal can access only inject in certain several extended function module types, the flexibility is low is solved.
The invention also provides a function expansion device for the intelligent measurement terminal.
Fig. 8 is a schematic diagram of a function expansion apparatus for an intelligent metering terminal according to an embodiment of the present invention. As shown in fig. 8, the function expanding apparatus 100 for the intelligent metering terminal includes a determining module 10, a sending module 20, and an interacting module 30.
The judging module 10 is configured to judge whether the extended function module is a legal module when detecting that the extended function module is accessed; the sending module 20 is configured to send query information to the extended function module after determining that the extended function module is a legal module; the interaction module 30 is configured to receive module information fed back by the extended function module according to the query information, and perform information interaction with the extended function module by using the module information.
It should be noted that, for other specific implementations of the function expansion apparatus for an intelligent measurement terminal according to the embodiment of the present invention, reference may be made to the specific implementation of the function expansion method for an intelligent measurement terminal according to the above-mentioned embodiment of the present invention.
According to the function expansion device for the intelligent measurement terminal, when a new expansion function module is accessed, the function realization of the intelligent measurement terminal body is not required to be changed, and only the new expansion function module is required to be realized according to the protocol, so that the cost of the intelligent measurement terminal in adapting to the new expansion function module is reduced, and the flexibility and the expandability of the intelligent measurement terminal are improved. The intelligent measuring terminal body can be adapted to various types of expansion modules with different functions without being changed in the true sense. The extended function modules which can be accessed by the intelligent measuring terminal do not need to be limited in certain extended function module types.
The invention also provides a computer readable storage medium.
In this embodiment, a computer program corresponding to the above-mentioned function extension method for an intelligent measurement terminal is stored on a computer readable storage medium, and when being executed by a processor, the computer program implements the function extension method for an intelligent measurement terminal according to the embodiment of the second aspect of the present invention.
The invention further provides the intelligent terminal.
In this embodiment, the intelligent terminal includes a processor, a memory, and a computer program stored in the memory, and when the processor executes the computer program, the function extension method for the intelligent measurement terminal is implemented.
The storage medium and the intelligent terminal of the embodiment of the invention realize that the intelligent measuring terminal body can be adapted to various types of expansion modules with different functions without changing. The extended function modules which can be accessed by the intelligent measuring terminal are not required to be limited in certain extended function module types.
It should be noted that the logic and/or steps shown in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following technologies, which are well known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description of the specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood according to specific situations by those of ordinary skill in the art.
In the present invention, unless expressly stated or limited otherwise, the first feature "on" or "under" the second feature may be directly contacting the second feature or the first and second features may be indirectly contacting each other through intervening media. Also, a first feature "on," "above," and "over" a second feature may be directly on or obliquely above the second feature, or simply mean that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
Although embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are exemplary and not to be construed as limiting the present invention, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A function expansion method for an intelligent measurement terminal is characterized by comprising the following steps:
when detecting the access of an extended function module, judging whether the extended function module is a legal module or not;
after determining that the extended function module is a legal module, sending query information to the extended function module;
and receiving module information fed back by the extended function module aiming at the query information, and performing information interaction with the extended function module by using the module information.
2. The method as claimed in claim 1, wherein the step of determining whether the extended function module is a legal module comprises:
sending inquiry information to the extended function module;
and receiving registration information fed back by the extended function module aiming at the inquiry information, and judging whether the extended function module is a legal module according to the registration information.
3. The method as claimed in claim 1, wherein the module information includes identity information and service information, the service information includes a service type and a service parameter, and the using the module information to perform information interaction with the extended function module includes:
acquiring a service instruction, and determining target identity information according to the service instruction, the service type and the service parameters of each extended function module;
and sending the service instruction to a corresponding extended function module according to the target identity information so as to enable the extended function module to execute the service instruction.
4. The method of claim 2, wherein determining whether the extended function module is a legal module according to the registration information comprises:
and judging whether the extended function module is a legal module or not according to the registration information by using a preset algorithm.
5. The function expansion method for the intelligent measurement terminal according to claim 2 or 4, wherein when the expanded function module is determined to be an illegal module, error information is uploaded.
6. The method as claimed in claim 1, wherein the extended function module is connected to the smart metering terminal by hot plug technology.
7. The method as claimed in claim 1, wherein the intelligent measurement terminal comprises a CPU module, a USB expansion MCU module and a USB external interface, the CPU module is communicatively connected with the USB expansion MCU module via a USB bus, and the USB expansion MCU module is communicatively connected with the expansion function module via the USB external interface.
8. A function extension device for an intelligent measurement terminal, the device comprising:
the judging module is used for judging whether the extended function module is a legal module or not when the access of the extended function module is detected;
the sending module is used for sending query information to the extended function module after determining that the extended function module is the legal module;
and the interaction module is used for receiving the module information fed back by the extended function module aiming at the query information and carrying out information interaction with the extended function module by utilizing the module information.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the function extension method for an intelligent metering terminal according to any one of claims 1 to 7.
10. An intelligent terminal comprising a memory and a processor, the memory having stored thereon a computer program, wherein the computer program, when executed by the processor, implements the function extension method for an intelligent metrology terminal as claimed in any one of claims 1 to 7.
CN202210778516.3A 2022-06-30 2022-06-30 Function expansion method and device for intelligent measurement terminal and intelligent terminal Pending CN115328375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210778516.3A CN115328375A (en) 2022-06-30 2022-06-30 Function expansion method and device for intelligent measurement terminal and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210778516.3A CN115328375A (en) 2022-06-30 2022-06-30 Function expansion method and device for intelligent measurement terminal and intelligent terminal

Publications (1)

Publication Number Publication Date
CN115328375A true CN115328375A (en) 2022-11-11

Family

ID=83918194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210778516.3A Pending CN115328375A (en) 2022-06-30 2022-06-30 Function expansion method and device for intelligent measurement terminal and intelligent terminal

Country Status (1)

Country Link
CN (1) CN115328375A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453824A (en) * 2016-08-31 2017-02-22 蒋凌锋 Function extension device of smartphone and use method thereof
CN107479936A (en) * 2017-08-28 2017-12-15 深圳市橙方智能科技有限公司 A kind of cross-platform function expansion component
CN107885543A (en) * 2017-10-19 2018-04-06 珠海格力电器股份有限公司 The function management method, apparatus and intelligent terminal of a kind of application program
CN107911401A (en) * 2017-08-04 2018-04-13 上海壹账通金融科技有限公司 Application plug-in expansion function methods and application server
CN109164874A (en) * 2018-08-03 2019-01-08 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN111564902A (en) * 2020-05-08 2020-08-21 南方电网科学研究院有限责任公司 Intelligent measurement terminal for power Internet of things
CN112114896A (en) * 2020-09-04 2020-12-22 青岛海信网络科技股份有限公司 Plug-in framework and method for service function expansion
CN112354176A (en) * 2020-11-27 2021-02-12 Oppo广东移动通信有限公司 Cloud game implementation method, cloud game implementation device, storage medium and electronic equipment
CN112632517A (en) * 2020-12-03 2021-04-09 西安交大捷普网络科技有限公司 Authentication method, system and device of USB storage equipment
CN112776738A (en) * 2020-12-31 2021-05-11 智车优行科技(北京)有限公司 Vehicle-mounted docking station, system, automobile, external device access method and medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453824A (en) * 2016-08-31 2017-02-22 蒋凌锋 Function extension device of smartphone and use method thereof
CN107911401A (en) * 2017-08-04 2018-04-13 上海壹账通金融科技有限公司 Application plug-in expansion function methods and application server
CN107479936A (en) * 2017-08-28 2017-12-15 深圳市橙方智能科技有限公司 A kind of cross-platform function expansion component
CN107885543A (en) * 2017-10-19 2018-04-06 珠海格力电器股份有限公司 The function management method, apparatus and intelligent terminal of a kind of application program
CN109164874A (en) * 2018-08-03 2019-01-08 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN111564902A (en) * 2020-05-08 2020-08-21 南方电网科学研究院有限责任公司 Intelligent measurement terminal for power Internet of things
CN112114896A (en) * 2020-09-04 2020-12-22 青岛海信网络科技股份有限公司 Plug-in framework and method for service function expansion
CN112354176A (en) * 2020-11-27 2021-02-12 Oppo广东移动通信有限公司 Cloud game implementation method, cloud game implementation device, storage medium and electronic equipment
CN112632517A (en) * 2020-12-03 2021-04-09 西安交大捷普网络科技有限公司 Authentication method, system and device of USB storage equipment
CN112776738A (en) * 2020-12-31 2021-05-11 智车优行科技(北京)有限公司 Vehicle-mounted docking station, system, automobile, external device access method and medium

Similar Documents

Publication Publication Date Title
US8803525B2 (en) Local coil for a magnetic resonance device
CN103534694A (en) Method, apparatus, and computer program product for cable detection and power negotiation
CN107257346B (en) Single sign-on service access processing method, system end and storage medium
CN109831338B (en) Vehicle machine system upgrading method, cloud server and mobile terminal
CN107589920B (en) Reset method for chip, electronic device, storage medium and device
CN111273931B (en) Parallel upgrading method and device for vehicle-mounted traveling crane computers
JP2008505592A (en) System for measuring the true electrical properties of a device
CN108958764B (en) Application program updating method and device of household appliance and household appliance
CN111522562B (en) Dishwasher software burning method, device and equipment thereof
CN115328375A (en) Function expansion method and device for intelligent measurement terminal and intelligent terminal
CN105045671A (en) Method and device for upgrading systems of intelligent terminals
CN112866190A (en) Data interaction method, storage medium, electronic device and vehicle
CN110825451B (en) Configuration and verification method and device for applet page address
CN111817878A (en) Networking method and device of intelligent equipment and cloud server
RU2735965C1 (en) Method for commissioning air conditioning system, computer-readable data medium and air conditioning system
CN108596283B (en) Control method of card sender and card sender
CN116320723A (en) Vehicle-mounted camera pluggable self-adaption method, device and system and vehicle
CN108337741B (en) Method, apparatus and computer-readable storage medium for establishing communication connection
CN108089758B (en) Touch control and display driver, driving method, host and touch control display device
CN115454896A (en) SMBUS-based SSD MCTP control message verification method and device, computer equipment and storage medium
CN105094640A (en) Method and user terminal for operating terminal
CN115143909A (en) Brake pedal calibration method, system storage medium and vehicle
CN111459406B (en) Method and system for identifying NVME hard disk under storage unloading card
CN114389981A (en) Detection method and device for edge server 5G module and storage medium
CN110737550B (en) Color identification detection method and device for terminal equipment

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