CN113282530A - Equipment information processing method and system - Google Patents

Equipment information processing method and system Download PDF

Info

Publication number
CN113282530A
CN113282530A CN202110816991.0A CN202110816991A CN113282530A CN 113282530 A CN113282530 A CN 113282530A CN 202110816991 A CN202110816991 A CN 202110816991A CN 113282530 A CN113282530 A CN 113282530A
Authority
CN
China
Prior art keywords
information
equipment
equipment information
current
bus
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
CN202110816991.0A
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.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software 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 Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202110816991.0A priority Critical patent/CN113282530A/en
Publication of CN113282530A publication Critical patent/CN113282530A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0024Peripheral component interconnect [PCI]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a device information processing method which is suitable for being executed in computing equipment, wherein the computing equipment comprises an equipment information storage module and a bus, and the method comprises the following steps: acquiring equipment information of equipment connected with a bus, and storing the acquired equipment information as current equipment information in an equipment information storage module; comparing the current equipment information with historical equipment information stored by an equipment information storage module to determine whether the equipment is changed; and inquiring the current equipment information in a lookup table to generate detailed information corresponding to the equipment information. The invention also discloses a corresponding system, a computing device and a readable storage medium.

Description

Equipment information processing method and system
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a device information processing method, system, computing device, and readable storage medium.
Background
According to the PCI (Peripheral Component Interconnect) bus standard protocol, a device manufacturer must write a VID (Vendor Identification) and a PID (Product Identification) in a PCI device, which are unique Identification codes of the PCI device. The specific information corresponding to VID and PID is provided in the PCI official standard, and the user can obtain the specific manufacturer information, the device information and the detailed hardware information of the device by inquiring the lookup table provided by the PCI official so as to further utilize the information to carry out tasks such as driving loading, configuring the device, hardware information verification and the like. In the LINUX operating system, the lookup table is stored in a pci.ids file and is kept updated in real time to ensure that the stored lookup table records complete PCI device information. For example, the VID identifier of a certain PCI device is 1000, the vendor information corresponding to the VID is Broadcom through the lookup table, the PID identifier of the device is 0015, and the product information corresponding to the PID is the MegaRAID product through the lookup table.
In the existing scheme, when the VID and PID information of the PCI device connected to the bus is collected through the bus, the PCI device that is not queried in the PCI lookup table is directly listed as an uncertain type, and the information is discarded, resulting in loss of information.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
To this end, the present invention provides a device information processing method, system, computing device and readable storage medium in an effort to solve or at least mitigate the above-identified problems.
According to an aspect of the present invention, there is provided a device information processing method adapted to be executed in a computing device including a device information storage module and a bus, the method including the steps of: acquiring equipment information of equipment connected with a bus, and storing the acquired equipment information as current equipment information in an equipment information storage module, wherein the equipment information comprises manufacturer identification, product identification, equipment identification and a bus address; and comparing the current equipment information with the historical equipment information stored in the equipment information storage module to determine whether the equipment is changed.
Optionally, according to the device information processing method of the present invention, after the acquired device information is stored as current device information in the device information storage module, the method further includes the steps of: and inquiring the current equipment information in a lookup table to generate detailed information corresponding to the current equipment information, wherein the lookup table comprises a manufacturer identifier, a product identifier and the detailed information corresponding to the manufacturer identifier and the product identifier.
Optionally, the device information processing method according to the present invention further includes: and displaying and outputting detailed information corresponding to the equipment information, wherein the detailed information comprises manufacturer information corresponding to the manufacturer identification and a product type corresponding to the product identification.
Optionally, according to the device information processing method of the present invention, the step of determining whether the device is changed includes: if the historical equipment information is the same as the current equipment information, determining that the equipment is not changed; and if the historical equipment information is different from the current equipment information, determining that the equipment is changed.
Optionally, according to the device information processing method of the present invention, if the historical device information is different from the current device information, the step of determining that the device is changed includes at least one of: if the certain equipment information exists in the historical equipment information but does not exist in the current equipment information, determining that the equipment corresponding to the certain equipment information is removed; if the certain equipment information does not exist in the historical equipment information but exists in the current equipment information, determining that the equipment corresponding to the certain equipment information is added; and if the bus address in the certain equipment information is different from the historical equipment information and the current equipment information, but the rest information in the certain equipment information is the same, determining that the position of the equipment corresponding to the equipment information is changed.
Optionally, according to the device information processing method of the present invention, after the step of determining whether the device is changed, the method further includes: and displaying and outputting the determined result of whether the change is generated.
Optionally, according to the device information processing method of the present invention, the device connected to the bus is a PCI device.
According to another aspect of the present invention, there is provided an apparatus information processing system including: the device information acquisition module is suitable for acquiring device information of devices connected with the bus, wherein the device information comprises manufacturer identification, product identification, device identification and bus address; the equipment information storage module is suitable for storing the acquired equipment information as current equipment information; the equipment information comparison module is suitable for comparing the current equipment information with the historical equipment information contained in the equipment information storage module and determining whether the equipment is changed; and the equipment information query module is suitable for querying the acquired current equipment information in a lookup table to generate detailed information corresponding to the equipment information, wherein the lookup table comprises a manufacturer identifier, a product identifier and the detailed information corresponding to the manufacturer identifier and the product identifier.
According to another aspect of the present invention, there is provided a computing device comprising: one or more processors; and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the device information processing methods according to the present invention.
According to still another aspect of the present invention, there is provided a computer-readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by a computing device, cause the computing device to perform any one of the device information processing methods according to the present invention.
According to the technical scheme of the invention, the equipment information of the equipment connected with the bus is firstly acquired, the acquired equipment information is stored as the current equipment information, whether the equipment is changed or not can be known by comparing the current equipment information with the historical equipment information, and the information recorded by the equipment information is complete, so that the comparison and verification result is more accurate, and the problem of information loss can not occur.
Then, the current equipment information is inquired in the lookup table, and the inquired result and the equipment information record are displayed and output together, so that the condition of information abandoning and loss is avoided. By adopting the technical scheme of the invention, the problems of false report, loss, incompleteness, repetition of hardware information of different PCI equipment and the like of the PCI equipment are avoided.
Furthermore, by the method, the PCI equipment information is accurately acquired, and the stability and reliability of comparison and verification are ensured.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
Fig. 1 illustrates a flowchart of a device information processing method according to the related art;
FIG. 2 shows a flow diagram of a device information processing method 200 according to one embodiment of the invention;
fig. 3 shows a schematic diagram of a device information processing method according to an embodiment of the present invention;
FIG. 4 shows a block diagram of a device information handling system 400 according to one embodiment of the invention;
fig. 5 shows a schematic structural diagram of a mobile terminal 500 according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The following explains the terms involved in the present invention:
PCI: peripheral Component Interconnect, Peripheral Component Interconnect standard;
PCI equipment: refers to a device connected to a computing device bus conforming to the PCI bus standard protocol, and is generally a device inserted into a PCI slot;
VID: vendor Identification;
PID: product Identification, Product Identification;
lookup table (Ids lookup table, PCI lookup table): the user can obtain the information corresponding to the device by inquiring a lookup table of a file which is provided by a PCI official and contains VID, PID and corresponding specific information, and the lookup table is stored in a PCI.
Currently, in the conventional device information processing scheme, if a PCI device is not found in the lookup table, the information of the PCI device is discarded. Fig. 1 shows a flowchart of a device information processing method according to the related art. As shown in fig. 1, a plurality of PCI devices (three PCI devices are exemplarily shown in the figure) exist in one computing device, the VID and PID of each PCI device in the plurality of PCI devices are collected through a bus of the computing device, the collected VID and PID are queried one by one in a lookup table, and if information corresponding to the VID and PID is queried, the queried device type, vendor information and product model information are output; if the information corresponding to the VID and the PID is not inquired, the VID and the PID are directly identified as uncertain equipment types and are abandoned.
In the conventional scheme, a situation that information corresponding to VID and PID of a device cannot be queried may occur in some cases, for example, in an actual use process, if a non-standard PCI device is used, or a lookup table stored in a computing device is not updated to a latest version, corresponding information cannot be queried, so that some PCI devices are identified as uncertain device types, and information is discarded. In some cases, the information search may not be complete, for example, the vendor information and the product type corresponding to the VID and the PID are found, but the specific product model is not queried. The existing scheme selectively discards information of product models, which may cause problems in recording information recorded by the device information, for example, detailed information of the PCI device corresponding to the bus address cannot be known, or recorded information is duplicated, or even there is no corresponding hardware information. For example, if there is a non-standard device, only the name and model of the non-standard device are recorded in the system, and a plurality of identical devices are inserted into the computing device, the recorded information will be duplicated. The problem generated by the existing scheme can cause the stored hardware information not to be consistent with the information of the real PCI equipment, thereby further causing errors when the PCI hardware information is identified in the process of system authorization management or equipment verification.
Aiming at the problems in the prior art, the invention provides an equipment information processing method. The following describes the device information processing method of this embodiment in detail.
FIG. 2 shows a flow diagram of a device information processing method 200 according to one embodiment of the invention. As shown in fig. 2, the device information processing method 200 starts at step S210. In step S210, device information of the device connected to the bus is acquired, and the acquired device information is stored as current device information in the device information storage module.
The device information includes Vendor Identification (VID), Product Identification (PID), device identification, and bus address, among others. The device identification of the devices connected to the bus is assigned a device number to distinguish the different devices, for example, a PCI device connected to the bus includes two network cards with different device identifications, such as 001,002, to distinguish the devices. The PCI equipment is connected with the bus through a slot on the bus, and the address corresponding to the bus slot connected with the PCI equipment is the bus address of the equipment.
The device information may include auxiliary information, which is sub-information of the product identifier in the PCI protocol specification, in addition to the above information. If the VENDOR ID and the DEVICE ID cannot completely cover the PCI DEVICE, the spare (spare vector ID and spare DEVICE ID) is added as the auxiliary ID of the DEVICE according to the PCI protocol standard, and thus, a PCI DEVICE does not necessarily have auxiliary information. Fig. 3 shows a flow diagram of a device information processing method 200 according to one embodiment of the invention. The various PCI devices shown in fig. 3 contain VIDs, PIDs and bus addresses, and may also contain auxiliary information depending on the device conditions.
Through this step, the acquired device information is stored as current device information in the device information storage module. Through the same steps, the current device information of the device can be acquired at different moments, and when the latest current device information is acquired, the current device information acquired before can be used as historical device information. Alternatively, the history device information may be stored in an overriding manner, for example, the history device information (id: 001) and the current device information (id: 002) are currently stored, and the latest current device information (id: 003) is stored, so that the latest information overrides the original information, the current device information with id 002 is used as the history device information, and the current device information with id 003 is used as the latest current device information. Optionally, all or part of the acquired historical device information may be stored, and when the historical device information is compared with the current device information in the subsequent process, the user may select the compared object by himself.
Subsequently, in step S220, comparing the current device information with the historical device information stored in the device information storage module to determine whether the device is changed;
according to an embodiment of the present invention, if the historical device information is the same as the current device information, it is determined that the device has not been changed; and if the historical equipment information is different from the current equipment information, determining that the equipment is changed.
Specifically, if some device information exists in the historical device information but does not exist in the current device information, it may be determined that the device corresponding to the device information is removed; if some device information does not exist in the historical device information but exists in the current device information, it can be determined that the device corresponding to the device information is added, that is, the device is a newly added device; if the bus address in a piece of device information is different between the history device information and the current device information, but the rest information in the piece of device information is the same, it can be determined that the device location corresponding to the piece of device information has changed, that is, the device has changed in the location connected to the bus.
According to an embodiment, if the slot position of the PCI device in the computing device is changed but the device is not changed, it can be known by looking up differences between VIDs and PIDs in the historical device information and the current device information and corresponding bus addresses, and if all the device information such as VIDs and PIDs previously recorded in the historical device information can be found, only the device bus position is changed but the device still exists, it can be confirmed that the slot position (i.e. the bus position) of the PCI device is changed.
If the bus address of the PCI device in the computing device still exists but one or more of VID, PID and auxiliary information of the PCI device are different, the PCI device can be judged to be replaced. The device label is used to number the device, and for example, the VID information of the PCI device recorded as number 1 is different from the VID information in the history device record, and the bus address of the device is the same, so that it can be determined that the device has been changed.
According to an embodiment, since some PCI devices further include auxiliary information, when the PCI device changes, the comparison and verification are performed, if the PCI device includes the auxiliary information, the auxiliary information needs to be compared. If the PCI equipment is not changed, the auxiliary information of the PCI equipment is not changed, so that when the auxiliary information is found to be changed during comparison, the equipment can be determined to be changed. Since the same VID and PID of the devices may also appear, but the same type of devices of the same manufacturer and different models of subds may also appear, the same type of devices of the same manufacturer and different models of subds may be recognized by comparing the auxiliary information.
According to the embodiment of the invention, the result of determining whether to change (namely, the result of comparison) is displayed and output.
For example, in the authorization of the operating system, whether the host is changed or not may be determined, and if the host is not the same host or the host is changed, the authorization of the operating system is not performed, and other processing schemes are adopted.
Subsequently, in step S230, the current device information is queried in a lookup table, and detailed information corresponding to the device information is generated, where the lookup table includes the manufacturer identifier and the product identifier, and the detailed information corresponding thereto.
According to the embodiment of the present invention, as shown in fig. 3, device information is first recorded to the PCI devices to generate current device information, where the current device information includes VID, PID, bus address, and device identifier corresponding to each PCI device, and may also include auxiliary information of the PCI devices. And then, searching the generated current equipment information in a lookup table, and displaying and outputting the current equipment information and the searched detailed information, wherein the detailed information comprises manufacturer information corresponding to the manufacturer identification and a product type corresponding to the product identification. The information of the equipment is recorded and then searched, so that the problem that the information which is not searched is abandoned is solved.
It should be noted that although the lookup table is usually updated in real time, there may be situations where the lookup table is incomplete in some situations, for example, when the host of the computing device is offline or updated to a newer system, which may cause ids of the lookup table to lag behind the officially registered version that is up to date with the authority, a situation may occur where the new device cannot find the corresponding VID and/or PID. In addition, some manufacturers do not use auxiliary information such as VID, PID, and subid according to the specification, and if a designed temporary device or a non-standard PCI device does not receive a usable ID number through an official, the PCI lookup table cannot be queried due to device information being wrongly written. With the existing scheme, the situation that the device information is directly discarded can occur. By adopting the equipment information processing method, even if the above conditions occur, such as the conditions of incomplete non-standard PCI equipment or an incomplete PCI lookup table, and the equipment information display output module judges the abnormal condition, VID, PID and bus address information corresponding to the incomplete equipment information are directly output and identified so as to timely feed back the abnormal condition, and a user can inquire all information of abnormal equipment, so that the problem of abandoning the equipment information or repeatedly displaying the information can not occur.
By displaying and outputting the current device information and the searched detailed information, the user can more intuitively obtain the information of the device. Because the information such as VID and PID is usually serial number used for identification, the user can not know the device information such as the type of the device and the like only through VID and PID, the detailed information such as what device, model, brand and the like can be visually seen by the user through the lookup table, the displayed information also comprises the content included in the current device information, and the user can acquire the complete information about the device through the device information display output module.
FIG. 4 shows a block diagram of a device information handling system 400 according to one embodiment of the invention. The device information processing system 400 shown in fig. 4 includes a device information obtaining module 410, a device information storing module 420, a device information comparing module 430, and a device information querying module 440.
The device information obtaining module 410 may obtain device information of a device connected to the bus, where the device information includes a manufacturer identifier, a product identifier, a device identifier, and a bus address.
The device information storage module 420 may store the acquired device information as current device information.
The device information comparison module 430 may compare the current device information with the historical device information included in the device information storage module and determine whether the device is changed.
The device information query module 440 may query the obtained current device information in a lookup table to generate detailed information corresponding to the device information, where the lookup table includes a manufacturer identifier, a product identifier, and detailed information corresponding to the manufacturer identifier and the product identifier.
In addition, the device information processing system 400 may further include a device information display output module 450, configured to display and output a result of determining whether to change (i.e., a result of the comparison); displaying and outputting the current equipment information and the searched detailed information; and after the abnormity is judged, VID, PID and bus address information corresponding to the incomplete equipment information are directly output and identified so as to feed back the abnormal condition in time.
It should be noted that the device information acquiring module 410 is used for executing the part of the aforementioned method 200 related to device information acquisition in step S210, and the device information storing module 420 is used for executing the part of the aforementioned method 200 related to device information storage in step S210. The device information comparing module 430 is configured to perform step S220 in the method 200, the device information querying module 440 is configured to perform step S230 in the method 200, and the device information display output module 450 is configured to perform a portion of the method 200 related to display output. For specific execution logics of the device information obtaining module 410, the device information storing module 420, the device information comparing module 430, the device information querying module 440, and the device information display output module 450, reference is made to the foregoing detailed description of steps S210 to S230, and details are not repeated here.
FIG. 5 illustrates a block diagram of a computing device 500, according to one embodiment of the invention. A device information processing method of the present invention is suitable for execution in a computing device such as that shown in fig. 5, a schematic diagram of a computing device 500 is shown in fig. 5, and in a basic configuration 502, the computing device 500 typically includes a system memory 506 and one or more processors 504. A memory bus 508 may be used for communicating between the processor 504 and the system memory 506.
Depending on the desired configuration, the processor 504 may be any type of processing, including but not limited to: a microprocessor (μ P), a microcontroller (μ C), a digital information processor (DSP), or any combination thereof. Processor 504 may include one or more levels of cache, such as a level one cache 510 and a level two cache 512, a processor core 514, and registers 516. Example processor cores 514 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof. The example memory controller 518 may be used with the processor 504, or in some implementations the memory controller 518 may be an internal part of the processor 504.
Depending on the desired configuration, system memory 506 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 506 may include an operating system 520, one or more applications 522, and program data 524. In some embodiments, application 522 may be arranged to operate with program data 524 on an operating system. The program data 524 includes instructions, and in the computing device 500 according to the present invention, the program data 524 contains instructions for executing the device information processing method 200.
The computing device 500 also includes a storage device 532, the storage device 532 including removable storage 536 and non-removable storage 538, each of the removable storage 536 and non-removable storage 538 being connected to the storage interface bus 534. In the present invention, data related to each event occurring during the execution of the program and time information indicating the occurrence of each event may be stored in the storage device 532, and the operating system 520 is adapted to manage the storage device 532. Storage 532 may be a magnetic disk, among others.
Computing device 500 may also include an interface bus 540 that facilitates communication from various interface devices (e.g., output devices 542, peripheral interfaces 544, and communication devices 546) to the basic configuration 502 via the bus/interface controller 530. The example output device 542 includes a graphics processing unit 548 and an audio processing unit 550. They may be configured to facilitate communications with various external devices, such as a display or speakers, via the one or more a/V ports 552. Example peripheral interfaces 544 may include a serial interface controller 554 and a parallel interface controller 556, which may be configured to facilitate communications with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 558. An example communication device 546 may include a network controller 560, which may be arranged to facilitate communications with one or more other computing devices 562 over a network communication link via one or more communication ports 564.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
Computing device 500 may be implemented as a server, such as a file server, a database server, an application server, a WEB server, etc., or as part of a small-form factor portable (or mobile) electronic device, such as a cellular telephone, a Personal Digital Assistant (PDA), a personal media player device, a wireless WEB-watch device, a personal headset device, an application specific device, or a hybrid device that include any of the above functions. Computing device 500 may also be implemented as a personal computer including both desktop and notebook computer configurations. In some embodiments, computing device 500 is configured to perform a device information processing method 200 in accordance with the present invention.
According to the technical scheme of the invention, the equipment information of the equipment connected with the bus is firstly acquired, the acquired equipment information is stored as the current equipment information, whether the equipment is changed or not can be known by comparing the current equipment information with the historical equipment information, and the information recorded by the equipment information is complete, so that the comparison and verification result is more accurate, and the problem of information loss can not occur.
Then, the current equipment information is inquired in the lookup table, and the inquired result and the equipment information record are displayed and output together, so that the condition of information abandoning and loss is avoided. By adopting the technical scheme of the invention, the problems of false report, loss, incompleteness, repetition of hardware information of different PCI equipment and the like of the PCI equipment are avoided.
The device information processing method according to the present invention can also be applied to authorization binding of operating system software, for example, some operating systems only bind authorization to a specific computing device, and after the device information is changed, notify the operating system so that the operating system can perform subsequent tasks (e.g., authorization failure). The method can also be used for authentication between software and hardware, for example, a certain video acquisition software must be inserted into an authenticated video acquisition card for authorization, a network software using a certain server environment must use more than 2 network cards for normal authorization, a specific PCI video card cannot be changed in a certain monitoring equipment application environment, and the like. The scheme of the invention can ensure that the information of the PCI equipment cannot be lost, repeated and the like, can also verify whether the equipment is changed or not based on the complete equipment information of the equipment, and is suitable for equipment verification, equipment information acquisition, display output and other conditions in various application scenes.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U.S. disks, floppy disks, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the multilingual spam-text recognition method of the present invention according to instructions in said program code stored in the memory.
By way of example, and not limitation, readable media may comprise readable storage media and communication media. Readable storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with examples of this invention. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification, and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except that at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification may be replaced by an alternative feature serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
In the description of the present specification, the terms "connected", "fixed", and the like are to be construed broadly unless otherwise explicitly specified or limited. Furthermore, the terms "upper", "lower", "inner", "outer", "top", "bottom", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the referred device or unit must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter.

Claims (10)

1. A device information processing method adapted to be executed in a computing device including a device information storage module and a bus, the method comprising the steps of:
acquiring equipment information of equipment connected with a bus, and storing the acquired equipment information as current equipment information in an equipment information storage module, wherein the equipment information comprises manufacturer identification, product identification, equipment identification and a bus address;
and comparing the current equipment information with historical equipment information stored by an equipment information storage module to determine whether the equipment is changed.
2. The method of claim 1, wherein after storing the obtained device information as current device information in the device information storage module, further comprising:
and inquiring the current equipment information in a lookup table to generate detailed information corresponding to the current equipment information, wherein the lookup table comprises manufacturer identification and product identification as well as the detailed information corresponding to the manufacturer identification and the product identification.
3. The method of claim 2, further comprising the steps of:
and displaying and outputting detailed information corresponding to the equipment information, wherein the detailed information comprises manufacturer information corresponding to a manufacturer identifier and a product type corresponding to a product identifier.
4. The method of claim 1, wherein the determining whether the device is changed comprises:
if the historical equipment information is the same as the current equipment information, determining that the equipment is not changed;
and if the historical equipment information is different from the current equipment information, determining that the equipment is changed.
5. The method of claim 4, wherein the step of determining that the device has changed if the historical device information is different from the current device information comprises at least one of:
if the certain equipment information exists in the historical equipment information but does not exist in the current equipment information, determining that the equipment corresponding to the certain equipment information is removed;
if the certain equipment information does not exist in the historical equipment information but exists in the current equipment information, determining that the equipment corresponding to the certain equipment information is added;
and if the bus address in the certain equipment information is different from the historical equipment information and the current equipment information, but the rest information in the certain equipment information is the same, determining that the position of the equipment corresponding to the equipment information is changed.
6. The method of claim 1, wherein after the step of determining whether the device has been altered, further comprising:
and displaying and outputting the determined result of whether the change is generated.
7. The method of any of claims 1-6, wherein the bus-connected device is a PCI device.
8. A device information processing system, the system comprising:
the device information acquisition module is suitable for acquiring device information of devices connected with the bus, wherein the device information comprises manufacturer identification, product identification, device identification and bus address;
the equipment information storage module is suitable for storing the acquired equipment information as current equipment information;
the equipment information comparison module is suitable for comparing the current equipment information with historical equipment information contained in the equipment information storage module and determining whether the equipment is changed;
and the equipment information query module is suitable for querying the acquired current equipment information in a lookup table to generate detailed information corresponding to the equipment information, wherein the lookup table comprises a manufacturer identifier, a product identifier and the detailed information corresponding to the manufacturer identifier and the product identifier.
9. A computing device, comprising:
one or more processors; and
a memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing any of the methods of claims 1-7.
10. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform any of the methods of claims 1-7.
CN202110816991.0A 2021-07-20 2021-07-20 Equipment information processing method and system Pending CN113282530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110816991.0A CN113282530A (en) 2021-07-20 2021-07-20 Equipment information processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110816991.0A CN113282530A (en) 2021-07-20 2021-07-20 Equipment information processing method and system

Publications (1)

Publication Number Publication Date
CN113282530A true CN113282530A (en) 2021-08-20

Family

ID=77286822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110816991.0A Pending CN113282530A (en) 2021-07-20 2021-07-20 Equipment information processing method and system

Country Status (1)

Country Link
CN (1) CN113282530A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765664A (en) * 2014-01-08 2015-07-08 鸿富锦精密工业(深圳)有限公司 PCI (Peripheral Component Interface) equipment detection system and method
US20170300027A1 (en) * 2015-11-25 2017-10-19 Ebara Corporation Information processing system, information processing method, information processing apparatus, terminal apparatus, water supply apparatus, and control method for water supply apparatus
CN110837635A (en) * 2019-11-07 2020-02-25 深圳乐信软件技术有限公司 Method, device, equipment and storage medium for equipment verification
CN110881186A (en) * 2019-11-22 2020-03-13 北京天融信网络安全技术有限公司 Illegal device identification method and device, electronic device and readable storage medium
CN111414178A (en) * 2020-03-12 2020-07-14 苏州浪潮智能科技有限公司 Equipment information updating method, device, equipment and medium
CN111597388A (en) * 2020-07-27 2020-08-28 平安国际智慧城市科技股份有限公司 Sample collection method, device, equipment and medium based on distributed system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765664A (en) * 2014-01-08 2015-07-08 鸿富锦精密工业(深圳)有限公司 PCI (Peripheral Component Interface) equipment detection system and method
US20170300027A1 (en) * 2015-11-25 2017-10-19 Ebara Corporation Information processing system, information processing method, information processing apparatus, terminal apparatus, water supply apparatus, and control method for water supply apparatus
CN110837635A (en) * 2019-11-07 2020-02-25 深圳乐信软件技术有限公司 Method, device, equipment and storage medium for equipment verification
CN110881186A (en) * 2019-11-22 2020-03-13 北京天融信网络安全技术有限公司 Illegal device identification method and device, electronic device and readable storage medium
CN111414178A (en) * 2020-03-12 2020-07-14 苏州浪潮智能科技有限公司 Equipment information updating method, device, equipment and medium
CN111597388A (en) * 2020-07-27 2020-08-28 平安国际智慧城市科技股份有限公司 Sample collection method, device, equipment and medium based on distributed system

Similar Documents

Publication Publication Date Title
US9712413B2 (en) Systems and methods for managing computing systems utilizing augmented reality
US10216840B2 (en) Asset tag template creation from readable elements
US10430562B2 (en) System and method for extracting device uniqueness to assign a license to the device
CN103150231B (en) The method of computer booting and computer system
US20070204069A1 (en) Port number emulation for wireless usb connections
CN110071904B (en) Detection method and system of vehicle-mounted terminal, server and storage medium
CN107357558B (en) Method and device for constructing codes
CN104317667A (en) Method for synchronizing DMI (desktop management interface) and FRU (field replace unit)
CN111930958A (en) Graph database construction method, computing device and readable storage medium
CN107368513B (en) Method and device for updating client database
CN114185571A (en) Firmware upgrading method and device of CPLD, terminal and readable storage medium
CN113282530A (en) Equipment information processing method and system
CN111417908A (en) ECU (electronic control Unit) recognizer, and recognition method, system, equipment and medium thereof
CN111371818B (en) Data request verification method, device and equipment
CN111930612A (en) Method and device for detecting code updating correctness and computing equipment
WO2020010713A1 (en) Electronic device, user automobile insurance discount determination method and storage medium
CN116662123B (en) Method and device for monitoring server component, electronic equipment and storage medium
CN117687704B (en) Display card initialization method, device, equipment and storage medium
JP2002149587A (en) Recording medium for recording utility program
JP2009169686A (en) Information collecting system
JP2009199210A (en) Communication system and information collection apparatus
CN116738380A (en) Application authorization method, device, computing equipment and storage medium
CN116662863A (en) RPA task processing method and related device based on mobile device APP
CN112434273A (en) Database management method and device based on user verification
CN117908915A (en) Interface updating method, device, equipment, medium and product

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