CN117851093A - Equipment calling method and device, electronic equipment and storage medium - Google Patents

Equipment calling method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117851093A
CN117851093A CN202311864895.9A CN202311864895A CN117851093A CN 117851093 A CN117851093 A CN 117851093A CN 202311864895 A CN202311864895 A CN 202311864895A CN 117851093 A CN117851093 A CN 117851093A
Authority
CN
China
Prior art keywords
equipment
called
identifier
target
calling
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
CN202311864895.9A
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.)
Senken Group Co ltd
Original Assignee
Senken Group 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 Senken Group Co ltd filed Critical Senken Group Co ltd
Priority to CN202311864895.9A priority Critical patent/CN117851093A/en
Publication of CN117851093A publication Critical patent/CN117851093A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/544Remote

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)

Abstract

The invention provides a device calling method, a device, electronic equipment and a storage medium, which relate to the technical field of communication and comprise the following steps: acquiring a calling protocol corresponding to equipment to be called and acquiring an equipment identifier of the equipment to be called; determining a target packaging instruction based on the equipment identifier; and carrying out device call on the device to be called based on the target packaging instruction and the call protocol. In the mode, the target packaging instruction is determined by acquiring the calling protocol corresponding to the equipment to be called and the equipment identification of the equipment to be called, and then the equipment to be called is called based on the target packaging instruction and the calling protocol, so that unified management of different equipment by utilizing the target packaging instruction can be realized, the problem that codes of programs need to be updated when different equipment is used is avoided, the skill requirement on service module writers is reduced, the repeated coding workload is reduced, and the labor cost is further reduced.

Description

Equipment calling method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a device calling method, a device, an electronic device, and a storage medium.
Background
In the projects such as the informatization system project and the internet of things project, access equipment is generally required to realize the calling of the equipment, but when different equipment is used, the codes of the program are generally required to be updated, the equipment cannot be uniformly managed, the skill requirements of personnel writing business modules are higher, the repeated coding workload is improved, and the labor cost is greatly increased.
Disclosure of Invention
In view of the above, the present invention aims to provide a device calling method, a device, an electronic device, and a storage medium, so as to implement unified management of different devices by using a target packaging instruction, avoid the problem that codes of programs need to be updated when different devices are used, reduce the skill requirements of personnel writing service modules, reduce repeated coding workload, and further reduce labor cost.
In a first aspect, an embodiment of the present invention provides a device calling method, including: acquiring a calling protocol corresponding to equipment to be called and acquiring an equipment identifier of the equipment to be called; determining a target packaging instruction based on the equipment identifier; and carrying out device call on the device to be called based on the target packaging instruction and the call protocol.
In a preferred embodiment of the present invention, the obtaining the device identifier of the device to be invoked includes: determining the equipment number, the equipment address and the user name of equipment to be called; and performing field splicing on the equipment number, the equipment address and the user name to obtain the equipment identifier.
In a preferred embodiment of the present invention, the determining the target package instruction based on the device identifier includes: acquiring a candidate identifier corresponding to at least one candidate packaging instruction; a target packaging instruction is determined based on the at least one candidate identification and the device identification.
In a preferred embodiment of the present invention, the determining the target package instruction based on the at least one candidate identifier and the device identifier includes: determining a target identifier which is the same as the equipment identifier from at least one candidate identifier; and taking the candidate packaging instruction corresponding to the target identifier as a target packaging instruction.
In a preferred embodiment of the present invention, the device calling method for the device to be called based on the target package instruction and the calling protocol includes: determining an access interface of the device to be called based on the calling protocol; and accessing the equipment to be invoked through the access interface, and invoking the equipment to be invoked based on the target packaging instruction.
In a preferred embodiment of the present invention, in the process of calling the device to be called, the method further includes: acquiring operation data corresponding to equipment to be called; and storing the operation data to an operation log.
In a preferred embodiment of the present invention, the method further comprises: if the equipment to be called has call abnormality, determining an abnormality position and an abnormality category based on the operation log; determining an anomaly resolution policy based on the anomaly category; and repairing the calling exception of the exception position through an exception solving strategy.
In a second aspect, an embodiment of the present invention further provides a device calling apparatus, where the device includes: the acquisition module is used for acquiring a calling protocol corresponding to the equipment to be called and acquiring the equipment identification of the equipment to be called; the target packaging instruction determining module is used for determining a target packaging instruction based on the equipment identifier; and the device calling module is used for calling the device to be called based on the target packaging instruction and the calling protocol.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, where the memory stores computer executable instructions executable by the processor, and the processor executes the computer executable instructions to implement the device calling method of the first aspect.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the device invocation method of the first aspect described above.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a device calling method, a device, electronic equipment and a storage medium, comprising the following steps: acquiring a calling protocol corresponding to equipment to be called and acquiring an equipment identifier of the equipment to be called; determining a target packaging instruction based on the equipment identifier; and carrying out device call on the device to be called based on the target packaging instruction and the call protocol. In the mode, the target packaging instruction is determined by acquiring the calling protocol corresponding to the equipment to be called and the equipment identification of the equipment to be called, and then the equipment to be called is called based on the target packaging instruction and the calling protocol, so that unified management of different equipment by utilizing the target packaging instruction can be realized, the problem that codes of programs need to be updated when different equipment is used is avoided, the skill requirement on service module writers is reduced, the repeated coding workload is reduced, and the labor cost is further reduced.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part will be obvious from the description, or may be learned by practice of the techniques of the disclosure.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for calling a device according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for invoking a device according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method for invoking a device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device calling apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the projects such as the informatization system project and the internet of things project, access equipment is generally required to realize the calling of the equipment, but when different equipment is used, the codes of the program are generally required to be updated, the equipment cannot be uniformly managed, the skill requirements of personnel writing business modules are higher, the repeated coding workload is improved, and the labor cost is greatly increased.
Based on the above, the device calling method, the device, the electronic device and the storage medium provided by the embodiment of the invention can determine the target packaging instruction through the device identification by acquiring the calling protocol corresponding to the device to be called and the device identification of the device to be called, and then perform device calling on the device to be called based on the target packaging instruction and the calling protocol, so that unified management on different devices by using the target packaging instruction can be realized, the problem that codes of programs need to be updated when different devices are used is avoided, the skill requirement on service module writers is reduced, repeated coding workload is reduced, and further the labor cost is reduced.
For the sake of understanding the present embodiment, a detailed description will be first given of a device calling method disclosed in the present embodiment.
Example 1
The embodiment of the invention provides a device calling method, and fig. 1 is a flow chart of the device calling method provided by the embodiment of the invention. As shown in fig. 1, the device invoking method may include the steps of:
step S101, acquiring a calling protocol corresponding to equipment to be called and acquiring an equipment identifier of the equipment to be called.
The calling protocol is usually a standard protocol, and can be used for determining parameters, specifications and the like of an access interface to which the device to be called can access, for example, a data format, a transmission mode, a connection mode and the like of the access interface can be specified, and the calling protocol specifies that the TCP/IP protocol is used for data transmission, so that the implementation of the access interface is required to conform to the specifications of the TCP/IP protocol, and functions of data encapsulation, transmission, analysis and the like of the TCP/IP protocol can be realized.
Specifically, obtaining the device identifier of the device to be invoked may include: determining the equipment number, the equipment address and the user name of equipment to be called; and performing field splicing on the equipment number, the equipment address and the user name to obtain the equipment identifier.
The device identifier may further include device information, where the device information may include a device name, a device model, and the like. And performing field splicing on the equipment information, the equipment number, the equipment address and the user name to obtain the equipment identifier.
Step S102, determining a target packaging instruction based on the device identification.
The device identifier and the target packaging instruction are in a unique corresponding relation, when the device to be called is called for the first time, the target packaging instruction can be generated based on the device identifier, and when the device to be called is called again, the target packaging instruction can be determined from the candidate packaging instructions.
When generating the target package instruction, the uniqueness of the device to be invoked needs to be ensured, and specifically, the uniqueness of the device can be ensured through the information such as the device number, private information, standard protocol, necessary modules and the like. Then, adding equipment information in an equipment center, taking the unique information such as equipment numbers and the like as input, encapsulating the instruction according to a certain program code and format to obtain an initial encapsulation instruction, and then testing and verifying the initial encapsulation instruction to obtain a target encapsulation instruction.
Wherein private information refers to information only applicable to the device to be invoked, and is generally not publicly available or shared.
And step S103, carrying out device call on the device to be called based on the target packaging instruction and the call protocol.
The device to be invoked can be accessed to the access interface through the invoking protocol, and the invoking target packaging instruction invokes and controls the device to be invoked.
When the target packaging instruction is utilized to call the device to be called, a necessary module is needed as a basis, wherein the necessary module refers to software or hardware modules necessary for realizing the target packaging instruction, the necessary module can comprise a driver program, an operating system kernel, a necessary software library and the like of the device, and the modules provide basic functions of interacting with and controlling the device to be called.
According to the device calling method provided by the embodiment of the invention, the target packaging instruction can be determined through the device identification by acquiring the calling protocol corresponding to the device to be called and the device identification of the device to be called, and then the device to be called is called based on the target packaging instruction and the calling protocol, so that unified management of different devices by using the target packaging instruction can be realized, the problem that codes of programs are required to be updated when different devices are used is avoided, the skill requirement on service module writers is reduced, the repeated coding workload is reduced, and the labor cost is further reduced.
Example 2
The embodiment of the invention also provides another equipment calling method; the method is realized on the basis of the method of the embodiment; the method focuses on describing a specific implementation manner of determining the target packaging instruction based on the device identification of the device to be invoked.
Fig. 2 is a flowchart of another method for calling a device according to an embodiment of the present invention, as shown in fig. 2, the determining a target package instruction based on a device identifier of a device to be called may include the following steps:
step S201, a candidate identifier corresponding to at least one candidate packaging instruction is obtained.
The candidate package instructions may be target package instructions of the device to be called, which have been called, each candidate package instruction has a corresponding candidate identifier, and the candidate package instructions and the candidate identifiers have a one-to-one correspondence.
Step S202, determining a target package instruction based on at least one candidate identification and a device identification.
Specifically, determining the target packaging instruction based on the at least one candidate identification and the device identification may include: determining a target identifier which is the same as the equipment identifier from at least one candidate identifier; and taking the candidate packaging instruction corresponding to the target identifier as a target packaging instruction.
The candidate package instruction corresponding to the candidate identifier identical to the device identifier may be regarded as a target package instruction used by the device to be called.
According to the device calling method provided by the embodiment of the invention, the target packaging instruction can be determined by determining the candidate identifier and the device identifier corresponding to the candidate packaging instruction, so that unified management of different devices is realized through the target packaging instruction, the problem that codes of programs need to be updated when different devices are used is avoided, the skill requirement on service module writers is reduced, the repeated coding workload is reduced, and the labor cost is further reduced.
Example 3
The embodiment of the invention also provides another equipment calling method; the method is realized on the basis of the method of the embodiment; the method focuses on describing a specific implementation manner of performing device call on the device to be called based on the target packaging instruction and the call protocol.
Fig. 3 is a flowchart of another method for device call provided in an embodiment of the present invention, as shown in fig. 3, the device call to the device to be called based on the target package instruction and the call protocol may include the following steps:
step S301, determining an access interface of the device to be invoked based on the invocation protocol.
The calling protocol is usually a standard protocol, and can be used for determining parameters, specifications and the like of an access interface to which the device to be called can access, for example, a data format, a transmission mode, a connection mode and the like of the access interface can be specified, and the calling protocol specifies that the TCP/IP protocol is used for data transmission, so that the implementation of the access interface is required to conform to the specifications of the TCP/IP protocol, and functions of data encapsulation, transmission, analysis and the like of the TCP/IP protocol can be realized.
Step S302, accessing the equipment to be invoked through the access interface, and invoking the equipment to be invoked based on the target packaging instruction.
After the device to be invoked is accessed to the access interface, the target packaging instruction can be invoked to invoke and control the device to be invoked, and in order to monitor the condition of the device to be invoked in the invoking process, the method can further comprise: acquiring operation data corresponding to equipment to be called; and storing the operation data to an operation log.
In the process that the device to be called is called, the operation log can be updated along with the acquisition of the operation data. When the equipment to be called has call abnormality, the abnormal position and the abnormal category can be determined based on the operation log, and then the abnormality solving strategy is determined based on the abnormal category, so that the call abnormality of the abnormal position is repaired through the abnormality solving strategy.
The method comprises the steps of performing log analysis, feature extraction, anomaly detection and other processing through a running log, and determining anomaly positions and anomaly categories. The abnormality solution strategy is that a worker sets an abnormality class in advance, if an abnormality class which is not stored exists, the worker needs to determine a new abnormality solution strategy to solve the abnormality class, and stores the new abnormality solution strategy and the abnormality class correspondingly so as to repair the abnormality class when the abnormality class appears again.
According to the device calling method provided by the embodiment of the invention, the device to be called can be called through the target packaging instruction, so that unified management of different devices is realized, the problem that codes of programs need to be updated when different devices are used is avoided, the skill requirement on service module writers is reduced, the repeated coding workload is reduced, and further the labor cost is reduced.
Example 4
Corresponding to the above method embodiment, the embodiment of the present invention provides a device calling apparatus, and fig. 4 is a schematic structural diagram of the device calling apparatus provided by the embodiment of the present invention, as shown in fig. 4, where the device calling apparatus may include:
the obtaining module 401 is configured to obtain a calling protocol corresponding to the device to be called, and obtain a device identifier of the device to be called.
The target package instruction determination module 402 is configured to determine a target package instruction based on the device identification.
And the device calling module 403 is configured to perform device calling on the device to be called based on the target packaging instruction and the calling protocol.
According to the device calling device provided by the embodiment of the invention, the target packaging instruction can be determined through the device identification by acquiring the calling protocol corresponding to the device to be called and the device identification of the device to be called, and then the device to be called is called based on the target packaging instruction and the calling protocol, so that unified management of different devices by using the target packaging instruction can be realized, the problem that codes of programs are required to be updated when different devices are used is avoided, the skill requirement on service module writers is reduced, the repeated coding workload is reduced, and the labor cost is further reduced.
In some embodiments, the obtaining module is further configured to determine a device number, a device address, and a user name of the device to be invoked; and performing field splicing on the equipment number, the equipment address and the user name to obtain the equipment identifier.
In some embodiments, the target package instruction determining module is further configured to obtain a candidate identifier corresponding to at least one candidate package instruction; a target packaging instruction is determined based on the at least one candidate identification and the device identification.
In some embodiments, the target packaging instruction determining module is further configured to determine a target identifier that is the same as the device identifier from the at least one candidate identifier; and taking the candidate packaging instruction corresponding to the target identifier as a target packaging instruction.
In some embodiments, the device invocation module is further configured to determine an access interface of the device to be invoked based on the invocation protocol; and accessing the equipment to be invoked through the access interface, and invoking the equipment to be invoked based on the target packaging instruction.
In some embodiments, the device calling module is further configured to obtain operation data corresponding to the device to be called; and storing the operation data to an operation log.
In some embodiments, the device calling module is further configured to determine an exception location and an exception category based on the running log if the device to be called has a call exception; determining an anomaly resolution policy based on the anomaly category; and repairing the calling exception of the exception position through an exception solving strategy.
The device provided by the embodiment of the present invention has the same implementation principle and technical effects as those of the foregoing method embodiment, and for the sake of brevity, reference may be made to the corresponding content in the foregoing method embodiment where the device embodiment is not mentioned.
Example 5
The embodiment of the invention also provides electronic equipment for running the equipment calling method; referring to the schematic structural diagram of an electronic device shown in fig. 5, the electronic device includes a memory 500 and a processor 501, where the memory 500 is configured to store one or more computer instructions, and the one or more computer instructions are executed by the processor 501 to implement the above-mentioned device call method.
Further, the electronic device shown in fig. 5 further includes a bus 502 and a communication interface 503, and the processor 501, the communication interface 503, and the memory 500 are connected by the bus 502.
The memory 500 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 503 (which may be wired or wireless), which may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 502 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 5, but not only one bus or type of bus.
The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in the processor 501. The processor 501 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 500, and the processor 501 reads the information in the memory 500, and in combination with its hardware, performs the steps of the method of the previous embodiment.
The embodiment of the invention also provides a computer readable storage medium, which stores computer executable instructions that, when being called and executed by a processor, cause the processor to implement the above-mentioned device calling method, and the specific implementation can be referred to the method embodiment and will not be described herein.
The computer program product for performing the device invoking method according to the embodiment of the present invention includes a computer readable storage medium storing a non-volatile program code executable by a processor, where the program code includes instructions for executing the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, 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 with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
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 invention 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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. A device invocation method, the method comprising:
acquiring a calling protocol corresponding to equipment to be called and acquiring an equipment identifier of the equipment to be called;
determining a target packaging instruction based on the equipment identifier;
and carrying out equipment call on the equipment to be called based on the target packaging instruction and the call protocol.
2. The method of claim 1, wherein the obtaining the device identifier of the device to be invoked comprises:
determining the equipment number, the equipment address and the user name of the equipment to be called;
and performing field splicing on the equipment number, the equipment address and the user name to obtain the equipment identifier.
3. The method of claim 1, wherein the determining a target package instruction based on the device identification comprises:
acquiring a candidate identifier corresponding to at least one candidate packaging instruction;
a target packaging instruction is determined based on at least one of the candidate identification and the device identification.
4. The method of claim 3, wherein the determining a target package instruction based on at least one of the candidate identification and the device identification comprises:
determining a target identifier which is the same as the equipment identifier from at least one candidate identifier;
and taking the candidate packaging instruction corresponding to the target identifier as a target packaging instruction.
5. The method of claim 1, wherein the performing device call on the device to be called based on the target package instruction and the call protocol comprises:
determining an access interface of the equipment to be called based on the calling protocol;
and accessing the equipment to be called through the access interface, and calling the equipment to be called based on the target packaging instruction.
6. The method of claim 1, wherein in invoking the device to be invoked, the method further comprises:
acquiring operation data corresponding to the equipment to be called;
and storing the operation data into an operation log.
7. The method of claim 6, wherein the method further comprises:
if the equipment to be called has call abnormality, determining an abnormality position and an abnormality category based on the operation log;
determining an anomaly resolution policy based on the anomaly category;
and repairing the call abnormality of the abnormal position through the abnormality solving strategy.
8. A device invocation apparatus, the apparatus comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a calling protocol corresponding to equipment to be called and acquiring an equipment identifier of the equipment to be called;
a target packaging instruction determining module, configured to determine a target packaging instruction based on the device identifier;
and the device calling module is used for carrying out device calling on the device to be called based on the target packaging instruction and the calling protocol.
9. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the device-invoking method of any of claims 1-7.
10. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the device invocation method of any of claims 1 to 7.
CN202311864895.9A 2023-12-29 2023-12-29 Equipment calling method and device, electronic equipment and storage medium Pending CN117851093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311864895.9A CN117851093A (en) 2023-12-29 2023-12-29 Equipment calling method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311864895.9A CN117851093A (en) 2023-12-29 2023-12-29 Equipment calling method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117851093A true CN117851093A (en) 2024-04-09

Family

ID=90543088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311864895.9A Pending CN117851093A (en) 2023-12-29 2023-12-29 Equipment calling method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117851093A (en)

Similar Documents

Publication Publication Date Title
CN110601880B (en) Cloud platform, service processing method, command interface and computer equipment
CN111143087B (en) Interface calling method, device, storage medium and server
CN108462760B (en) Electronic device, automatic cluster access domain name generation method and storage medium
CN109902493B (en) Script issuing method and server
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN114531289A (en) System interaction method based on artificial intelligence and related equipment
CN112671609A (en) Asset census and safety detection method and device and terminal equipment
CN111722857A (en) Updating method and device of software development kit, electronic equipment and storage medium
CN112579452A (en) Software automation test method, device, equipment and storage medium
CN111324645B (en) Block chain data processing method and device
CN109739868B (en) Data processing method and related equipment thereof
CN111597093A (en) Exception handling method, device and equipment
CN117851093A (en) Equipment calling method and device, electronic equipment and storage medium
CN115827522A (en) BIOS setting method, BIOS chip and electronic equipment
CN111752600B (en) Code anomaly detection method and device, computer equipment and storage medium
CN111679885B (en) Method, device, medium and electronic equipment for determining virtual machine drift
CN114826725A (en) Data interaction method, device, equipment and storage medium
CN114157662A (en) Cloud platform parameter adaptation method and device, terminal equipment and storage medium
CN112269583B (en) Method for processing equipment operation abnormal file upgrade, server and storage medium
CN113407434B (en) Method and device for processing debug file
CN115174232B (en) Client installation method, host information processing method and operation and maintenance safety system
CN117560285B (en) Intelligent control internet of things OTA upgrading method, client and server
CN113282371B (en) Performance management method and device for virtualized network equipment
CN113064797B (en) Front-end monitoring method and device, electronic equipment and storage medium
CN113704000B (en) Service access optimization method, device, equipment and 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