Hardware plugging and unplugging method, device, equipment and computer storage medium based on middle platform
By setting up call interfaces and multiple hardware interfaces in the middle-end system, and using centralized technology to implement hardware plug-in and removal, the problem of low hardware plug-in and pull-out efficiency in traditional middle-end systems is solved, and high efficiency and business isolation of hardware plug-in and pull-out are achieved.
Patent Information
- Application Number
- CN202010868384.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-26
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-08-26
AI Technical Summary
Traditional mid-end support systems lack hardware pluggability capabilities, which results in the need to rely on manual operations when adding or replacing hardware, which is time-consuming and increases management difficulty, affecting user experience and efficiency.
Adopting a hardware plug-in and unplug method based on the middle platform, by setting up the calling interface and multiple different types of hardware interfaces, and using centralized technology to access the hardware device, capability layer and plug-in layer, unified driver debugging operations can be achieved, and different manufacturers and models can be supported. Device plugging and unplugging.
It improves the efficiency of hardware plugging and unplugging and realizes the isolation of business and hardware. Any type of equipment can be plugged in and used, simplifying the hardware access process and reducing operational complexity and management difficulty.
Smart Images

Figure CN114116543B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of hardware plugging and unplugging, and in particular relates to a hardware plugging and unplugging method, device, electronic equipment and computer storage medium based on a middle platform. Background Art
[0002] With the rapid development of mobile communications, the continuous increase in the number of customers, and the emergence of new businesses, the traditional middle-office support system in the telecommunications field has become increasingly cumbersome and cannot support new businesses and new systems well. Since different businesses have a lot of hardware, the traditional business middle-office system also lacks hardware pluggable functions, resulting in many inconveniences in accessing hardware.
[0003] The traditional business hall platform does not have the hardware pluggable function. Whenever hardware needs to be added or replaced, it is completely necessary to rely on the hardware's own driver to debug and access it. This is completely dependent on manual operation. Not only is the operation time-consuming, it also cannot provide users with a good experience and also increases the difficulty of managing hardware.
[0004] Therefore, how to improve the efficiency of hardware plugging and unplugging is a technical problem that technical personnel in this field need to solve urgently. Summary of the invention
[0005] The embodiments of the present invention provide a hardware plugging and unplugging method, device, electronic device and computer storage medium based on a middle platform, which can improve the efficiency of hardware plugging and unplugging.
[0006] In a first aspect, an embodiment of the present invention provides a hardware plugging and unplugging method based on a middle platform, wherein a calling interface and multiple hardware interfaces of different types are provided in the middle platform, including:
[0007] In case of adding or replacing target hardware, connecting to the target hardware using a target hardware interface among a plurality of different types of hardware interfaces;
[0008] Use the calling interface to perform driver debugging operations on the target hardware.
[0009] Optionally, in the case of adding or replacing target hardware, before connecting the target hardware using a target hardware interface among a plurality of different types of hardware interfaces, the method further includes:
[0010] Centralized technology is used to access various hardware devices, capability layers and plug-in layers; the plug-in layer includes a calling interface and multiple different types of hardware interfaces.
[0011] Optionally, the capability layer includes at least one of device management capability, monitoring management capability, simulcast management capability, operation and maintenance capability, data analysis capability, face recognition capability, product management capability, access control capability, face payment capability, service customization capability, and developer capability.
[0012] Optionally, the method further includes:
[0013] Use centralized technology to connect to business halls and stores.
[0014] In a second aspect, an embodiment of the present invention provides a hardware plug-in device based on a middle platform, in which a calling interface and multiple hardware interfaces of different types are provided, including:
[0015] A connection module, used for connecting with the target hardware by using a target hardware interface among a plurality of different types of hardware interfaces when the target hardware is added or replaced;
[0016] The driver debugging module is used to perform driver debugging operations on the target hardware using the calling interface.
[0017] Optionally, the device further comprises:
[0018] The first access module is used to access various hardware devices, capability layers and plug-in layers using centralized technology; wherein the plug-in layer includes a calling interface and multiple hardware interfaces of different types.
[0019] Optionally, the capability layer includes at least one of device management capability, monitoring management capability, simulcast management capability, operation and maintenance capability, data analysis capability, face recognition capability, product management capability, access control capability, face payment capability, service customization capability, and developer capability.
[0020] Optionally, the device further comprises:
[0021] The second access module is used to access the business hall store using centralized technology.
[0022] In a third aspect, an embodiment of the present invention provides an electronic device, the device comprising:
[0023] a processor and a memory storing computer program instructions;
[0024] When the processor executes computer program instructions, it implements the hardware plug-in and unplug method based on the middle station in the first aspect or any optional implementation of the first aspect.
[0025] In a fourth aspect, an embodiment of the present invention provides a computer storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the hardware plug-in and unplugging method based on the middle platform in the first aspect or any optional implementation method of the first aspect is implemented.
[0026] The hardware plug-in and unplug-in method, device, electronic device and computer storage medium based on the middle platform of the embodiment of the present invention can improve the efficiency of hardware plug-in and unplug-in. In the hardware plug-in and unplug-in method based on the middle platform, since a calling interface and multiple different types of hardware interfaces are set in the middle platform, when adding or replacing the target hardware, the target hardware interface among multiple different types of hardware interfaces can be used to connect to the target hardware, and the target hardware can be driven and debugged using the calling interface. It can be seen that this method can support devices of different models from different manufacturers, eliminating the process of individually customizing interfaces when the hardware is accessed, thereby achieving the effect of isolating the business from the hardware. Any model of equipment from any manufacturer can be used after being inserted, and the target hardware can be driven and debugged using a unified calling interface, which can improve the efficiency of hardware plug-in and unplug-in. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the following is a brief introduction to the drawings required for use in the embodiment of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0028] Figure 1 It is a flowchart of a hardware plugging and unplugging method based on a middle platform provided by an embodiment of the present invention;
[0029] Figure 2 This is a schematic diagram of the main architecture of a smart middle platform provided by an embodiment of the present invention;
[0030] Figure 3 This is a schematic diagram of a plug-in access provided by an embodiment of the present invention;
[0031] Figure 4 It is a structural schematic diagram of a hardware plug-in and pull-out device based on a middle platform provided in an embodiment of the present invention;
[0032] Figure 5 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.
[0034] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0035] The traditional business hall platform does not have the hardware pluggable function. Whenever hardware needs to be added or replaced, it is completely necessary to rely on the hardware's own driver to debug and access it. This is completely dependent on manual operation. Not only is the operation time-consuming, it also cannot provide users with a good experience and also increases the difficulty of managing hardware.
[0036] In order to solve the problems of the prior art, the embodiments of the present invention provide a hardware plugging and unplugging method, device, electronic device and computer storage medium based on a middle station. The following first introduces the hardware plugging and unplugging method based on a middle station provided by the embodiments of the present invention.
[0037] Figure 1 The flowchart of a hardware plugging and unplugging method based on a middle platform provided by an embodiment of the present invention is shown, and a calling interface and multiple different types of hardware interfaces are provided in the middle platform. Figure 1 As shown, the hardware plugging and unplugging method based on the middle station may include the following steps:
[0038] S101 . When adding or replacing target hardware, connect the target hardware using a target hardware interface among a plurality of different types of hardware interfaces.
[0039] In one embodiment, in the case of adding or replacing target hardware, before connecting the target hardware using a target hardware interface among a plurality of different types of hardware interfaces, the method further includes:
[0040] Centralized technology is used to access various hardware devices, capability layers and plug-in layers; the plug-in layer includes a calling interface and multiple different types of hardware interfaces.
[0041] In one embodiment, the capability layer includes at least one of device management capability, monitoring management capability, simulcast management capability, operation and maintenance capability, data analysis capability, face recognition capability, product management capability, access control capability, face payment capability, service customization capability, and developer capability.
[0042] S102: Perform driver debugging operations on the target hardware using a calling interface.
[0043] The hardware plug-in and unplug method based on the middle platform has a calling interface and multiple different types of hardware interfaces in the middle platform. Therefore, when adding or replacing the target hardware, the target hardware interface among multiple different types of hardware interfaces can be used to connect to the target hardware, and the target hardware can be driven and debugged using the calling interface. It can be seen that this method can support devices of different models from different manufacturers, eliminating the process of customizing the interface separately when the hardware is connected, thereby achieving the effect of isolating the business from the hardware. Any model of equipment from any manufacturer can be used after being inserted, and the target hardware can be driven and debugged using a unified calling interface, which can improve the efficiency of hardware plug-in and unplug.
[0044] At present, the middle office system in the telecommunications field has been moving more and more towards centralization, from the original city-level centralization to the whole network. At this stage, the middle office system cannot support centralized operations, nor can it conveniently accept remote business, which increases equipment costs and software development and maintenance costs. In addition, the business support system has high real-time requirements, which increases the difficulty of system design.
[0045] The existing platforms in the telecommunications field lack centralized technical support. The various businesses on the traditional business hall platform are independent of each other, and can neither share data nor operate on a unified platform, which increases the operational difficulty of business personnel. The existing platform lacks centralized technical support. Traditional business halls lack a centralized unified support platform across the country, which makes it impossible for superiors to perform flat management and operations on subordinates.
[0046] In one embodiment, the hardware plug-in and unplug method based on the middle platform provided in the present application may also include: using centralized technology to access the business hall store.
[0047] The above content is explained below with an example scenario.
[0048] The implementation scheme of this scenario refers to the design method of small front desk and large middle desk. The smart middle desk should support the access of physical stores (flagship stores, standard stores, franchise stores, etc.) and online stores (mobile halls, WeChat POP stores, etc.), and provide a unified access process, standardized interfaces and standardized access plug-ins. When accessing, personalized deployment can be carried out according to the equipment, services and capabilities that need to be deployed, realizing one-click store management.
[0049] For the above store solutions, various intelligent devices and front-end applications need to be introduced. If they are connected with the back-end system, one-to-many or many-to-many, it will be as complicated and chaotic as a spider web. At this time, a middle platform is urgently needed to achieve one-point access and centralized control. One-point access to physical stores (flagship stores, standard stores, franchise stores, etc.) and online stores (mobile halls, WeChat POP stores, etc.), and provide unified access processes, standardized interfaces and standardized access plug-ins to achieve the connection between the front and back ends.
[0050] The smart middle platform is a first-level platform that adopts a plug-in architecture, integrates and converges first-, second- and third-party capabilities, uses access control to unify access to upstream and downstream systems, and provides standard interface services to the outside world.
[0051] The main architecture of the smart middle platform is as follows Figure 2 As shown in the figure, requests from the equipment in the business hall, the business front desk, and the operation and maintenance front desk are routed to the smart middle platform through the IP bearer network / public network; the first-level / provincial system and the third-party platform access the middle platform through the P bearer network / intranet.
[0052] The large middle platform adopts a product design approach. The product is divided into four layers, from bottom to top: data layer, service layer, capability layer, and plug-in layer. The data layer and service layer serve as the cornerstones of the system, outputting capabilities to the upper layer. After the capabilities are combined and encapsulated in the plug-in layer, they interact with external channels through plug-ins, such as self-service device access plug-ins, cloud shelf access plug-ins, etc. The plug-in layer encapsulates hardware interfaces of different models from different manufacturers, develops a unique internal protocol, and develops a unified calling interface for the outside world, so that it can be compatible with hardware devices of different models from different manufacturers, thus eliminating the disadvantage that the traditional middle platform system can only be compatible with devices of a single manufacturer and a single model.
[0053] The large and medium-sized platform products can support the access of the entire hall and store or the access of new needs in the hall and store. For example, if a new hall and store applies for access, it can follow the standardized process configuration. The first step is to allocate hall and store tenants, and the second step is to allocate resources: such as equipment plug-ins, services, and capabilities. After the security scan, they can be deployed online; if a new demand comes after the hall and store is built, it can be accessed through standardized interfaces. It provides unified access and standardized operations to achieve fast access. At the same time, it also provides standardized plug-in capability access, which is similar to the unified access method of WeChat applets. The plug-in access diagram is as follows Figure 3 As shown in the figure, the first-level platform access plug-in, provincial platform access plug-in, third-party platform access plug-in and other plug-in access. Through centralized technology, the smart middle platform can not only access various hardware devices and capability layers, plug-in layers, but also connect with other third-party capability platforms.
[0054] like Figure 4As shown, an embodiment of the present invention further provides a hardware plug-in device based on a middle platform, in which a calling interface and multiple different types of hardware interfaces are provided, including:
[0055] A connection module 401 is used to connect to the target hardware by using a target hardware interface among a plurality of different types of hardware interfaces when the target hardware is added or replaced;
[0056] The driver debugging module 402 is used to perform driver debugging operations on the target hardware using a calling interface.
[0057] Optionally, the device further comprises:
[0058] The first access module is used to access various hardware devices, capability layers and plug-in layers using centralized technology; wherein the plug-in layer includes a calling interface and multiple hardware interfaces of different types.
[0059] Optionally, the capability layer includes at least one of device management capability, monitoring management capability, simulcast management capability, operation and maintenance capability, data analysis capability, face recognition capability, product management capability, access control capability, face payment capability, service customization capability, and developer capability.
[0060] Optionally, the device further comprises:
[0061] The second access module is used to access the business hall store using centralized technology.
[0062] Figure 4 Each module / unit in the device shown has the function of realizing Figure 1 The functions of each step in the process can achieve the corresponding technical effects, which will not be described in detail here for the sake of brevity.
[0063] Figure 5 A schematic structural diagram of an electronic device provided by an embodiment of the present invention is shown.
[0064] The electronic device may include a processor 501 and a memory 502 storing computer program instructions.
[0065] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.
[0066] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. In one example, the memory 502 may include a removable or non-removable (or fixed) medium, or the memory 502 is a non-volatile solid-state memory. The memory 502 may be inside or outside the electronic device.
[0067] In one example, the memory 502 may be a read-only memory (ROM). In one example, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.
[0068] The processor 501 reads and executes the computer program instructions stored in the memory 502 to implement Figure 1 The method in the embodiment shown in the figure is achieved Figure 1 The corresponding technical effects achieved by executing the methods / steps in the examples shown are not repeated here for the sake of brevity.
[0069] In one example, the electronic device may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.
[0070] The communication interface 503 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.
[0071] Bus 510 includes hardware, software or both, and the components of electronic equipment are coupled to each other. For example, but not limitation, bus may include Accelerated Graphics Port (AGP) or other graphics bus, Enhanced Industry Standard Architecture (EISA) bus, Front Side Bus (FSB), Hyper Transport (HT) interconnection, Industry Standard Architecture (ISA) bus, InfiniBand interconnection, Low Pin Count (LPC) bus, Memory bus, Micro Channel Architecture (MCA) bus, Peripheral Component Interconnect (PCI) bus, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association Local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0072] In addition, the embodiment of the present invention may provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the hardware plugging and unplugging methods based on the middle station in the above embodiments is implemented.
[0073] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0074] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0075] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
[0076] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. A hardware plug-in and unplug method based on a middle platform, characterized in that: The middle platform is provided with a calling interface and multiple different types of hardware interfaces, including: In case of adding or replacing target hardware, connecting to the target hardware using a target hardware interface among the multiple different types of hardware interfaces; Using the calling interface to perform a driver debugging operation on the target hardware; in the case of adding or replacing the target hardware, before using the target hardware interface among the multiple different types of hardware interfaces to connect to the target hardware, the method also includes: Centralized technology is used to access various hardware devices, capability layers and plug-in layers through unified access processes, standardized interfaces and standardized access plug-ins; wherein the plug-in layer includes the calling interface and the multiple different types of hardware interfaces.
2. The hardware plugging and unplugging method based on the middle station according to claim 1 is characterized in that: The capability layer includes at least one of device management capability, monitoring management capability, simulcast management capability, operation and maintenance capability, data analysis capability, face recognition capability, product management capability, access control capability, face payment capability, service customization capability, and developer capability.
3. The hardware plugging and unplugging method based on the middle station according to claim 1 is characterized in that: Also includes: Use centralized technology to connect to business halls and stores.
4. A hardware plug-in and pull-out device based on a middle platform, characterized in that: The middle platform is provided with a calling interface and multiple different types of hardware interfaces, including: A connection module, used for connecting to the target hardware by using a target hardware interface among the multiple different types of hardware interfaces when adding or replacing the target hardware; A driver debugging module, used to perform a driver debugging operation on the target hardware using the calling interface; The first access module is used to access various hardware devices, capability layers and plug-in layers using centralized technology through unified access processes, standardized interfaces and standardized access plug-ins; wherein the plug-in layer includes the calling interface and the multiple different types of hardware interfaces.
5. The hardware plug-in and unplug device based on the middle platform according to claim 4 is characterized in that: The capability layer includes at least one of device management capability, monitoring management capability, simulcast management capability, operation and maintenance capability, data analysis capability, face recognition capability, product management capability, access control capability, face payment capability, service customization capability, and developer capability.
6. The hardware plug-in and unplug device based on the middle platform according to claim 4 is characterized in that: Also includes: The second access module is used to access the business hall store using centralized technology.
7. An electronic device, characterized in that: The electronic device comprises: a processor, and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the hardware plug-in and unplug method based on the middle platform as described in any one of claims 1-3.
8. A computer storage medium, characterized in that: The computer storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the hardware plug-in and unplug-in method based on the middle platform as described in any one of claims 1-3 is implemented.
