[go: up one dir, main page]

CN110688170B - Operation station operation optimization device and method - Google Patents

Operation station operation optimization device and method Download PDF

Info

Publication number
CN110688170B
CN110688170B CN201910910499.2A CN201910910499A CN110688170B CN 110688170 B CN110688170 B CN 110688170B CN 201910910499 A CN201910910499 A CN 201910910499A CN 110688170 B CN110688170 B CN 110688170B
Authority
CN
China
Prior art keywords
password
configuration
dcom
operating system
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910910499.2A
Other languages
Chinese (zh)
Other versions
CN110688170A (en
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.)
Zhongkong Technology Co ltd
Original Assignee
Zhejiang Supcon 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 Zhejiang Supcon Technology Co Ltd filed Critical Zhejiang Supcon Technology Co Ltd
Priority to CN201910910499.2A priority Critical patent/CN110688170B/en
Publication of CN110688170A publication Critical patent/CN110688170A/en
Application granted granted Critical
Publication of CN110688170B publication Critical patent/CN110688170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • 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/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides an operation station operation optimization device and method, which are used for improving the configuration success rate of an installation machine and a DCOM. The above-mentioned device includes: the operating system configuration module is used for determining a corresponding installation standard configuration strategy according to the version of the target operating system from a plurality of preset installation standard configuration strategies and performing installation configuration on the target operating system according to the determined installation standard configuration; the target operating system is specifically an operating system deployed on the operating station; the distributed component object model DCOM configuration module is used for determining a corresponding DCOM configuration file from a plurality of preset DCOM configuration files according to the version of the target operating system and performing DCOM configuration on the target industrial control software according to the determined DCOM configuration file; the target industrial control software comprises: and the current industrial control software selected by the user and using the DCOM component.

Description

Operation station operation optimization device and method
Technical Field
The invention relates to the technical field of computers, in particular to an operation station operation optimization device and method.
Background
Many factory productions need to be controlled and managed by industrial control software, and the industrial control software is deployed on an operation station. Before industrial control software is deployed, an operating system on an operating station needs to be installed and configured to build an environment.
When the environment is manually built, the situation that engineering personnel completely follow the installation standard cannot be guaranteed, hidden dangers exist, and the correctness of each computer installation cannot be guaranteed.
In addition, many industrial control software support DCOM components, which are a series of microsoft concepts and program interfaces. The manual configuration of the DCOM is complicated, and the DCOM configurations of different products are inconsistent, which easily causes configuration failure.
Disclosure of Invention
In view of this, the embodiments of the present invention provide an operation station operation optimization apparatus and method to improve the success rate of configuration of the loader and the DCOM.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
an operator station operation optimization apparatus comprising:
the operating system configuration module is used for determining a corresponding installed standard configuration strategy according to the version of a target operating system from a plurality of preset installed standard configuration strategies, and performing installed configuration on the target operating system according to the determined installed standard configuration; the target operating system is specifically an operating system deployed on an operating station;
the distributed component object model DCOM configuration module is used for determining a corresponding DCOM configuration file from a plurality of preset DCOM configuration files according to the version of the target operating system and performing DCOM configuration on the target industrial control software according to the determined DCOM configuration file; the target industrial control software comprises: and the current industrial control software selected by the user and using the DCOM component.
Optionally, the method further includes: the USB disk management module is at least used for carrying out USB disk management on the operation station; the USB disk management includes: USB port disabled and USB port enabled.
Optionally, the method further includes: an operating system patch installation module; the operating system patch installation module comprises: a self-recognition unit to: automatically identifying an operating system patch package which is not installed on the operating station, and prompting installation; a mounting unit for: and installing the operating system patch package selected by the current user.
Optionally, the method further includes: the one-key setting module is used for informing the operating system configuration module to carry out installation configuration, informing the DCOM configuration module to carry out DCOM configuration and informing the USB disk management module to disable the USB port after receiving a one-key setting command of a current user.
Optionally, in the aspect of enabling the USB port, the USB disk management module is specifically configured to: receiving a USB port starting command, wherein the USB port starting command carries a password input by a current user, and the password is a starting password or a super password; if the password carried by the USB port starting command is determined to be the super password, changing the state of the USB port into a starting state; if the password carried by the USB port starting command is not super password, comparing the password carried by the USB port starting command with the pre-stored starting password, and if the password carried by the USB port starting command is the non-super password, changing the state of the USB port into the starting state.
Optionally, the USB management further includes password management; in the aspect of the password management, the USB disk management module is specifically configured to: receiving a password modification command, wherein the password modification command carries an original password and a newly-enabled password input by a current user; the password modification command is used for modifying a prestored starting password; the original password is a super password or a common password; if the original password carried by the password modification command is determined to be the super password, taking the new starting password as a pre-stored starting password; if the original password carried by the password modification command is a non-super password, comparing the original password with a pre-stored starting password, and if the original password is the same as the pre-stored starting password, taking the new starting password as the pre-stored starting password.
Optionally, the DCOM configuration file includes an interface configuration file; different operating system versions correspond to different interface configuration files, and any interface configuration file comprises industrial control software supported by the corresponding operating system version and a component name of a DCOM component adopted by the industrial control software.
Optionally, the apparatus adopts a two-layer architecture manner, where the two-layer architecture includes: an interface layer application program and a script layer application program; the interface layer application program and the script layer application program are interacted by adopting a pipeline; wherein the interface layer application is to: presenting an interface, identifying the version, language environment and system type of a target operating system, and generating a corresponding operating command according to the operation of a current user; the operation command comprises: an installation specification configuration command, a DCOM configuration command, a patch installation command, a one-key setting command, a USB port enabling command, a USB port disabling command or a password modification command; the script layer application program comprises a main program and a subprogram for realizing the functions of the operating system configuration module, the DCOM configuration module, the USB disk management module, the operating system patch installation module and the one-key setting module; and the main program is used for receiving the operation command sent by the interface layer application program and calling the corresponding subprogram according to the operation command.
An operator station operation optimization method based on an operator station operation optimization device, the method comprising:
the operation station operation optimization device determines a corresponding installed standard configuration strategy according to the version of a target operating system from a plurality of preset installed standard configuration strategies, and performs installed configuration on the target operating system according to the determined installed standard configuration; the target operating system is specifically an operating system deployed on an operating station;
the operation station operation optimization device determines a corresponding DCOM configuration file from a plurality of preset DCOM configuration files according to the version of the target operation system, and performs DCOM configuration on the target industrial control software according to the determined DCOM configuration file; the target industrial control software comprises: and the current industrial control software selected by the user and using the DCOM component.
Optionally, the method further includes: the operation station operation optimizing device carries out USB disk management on the operation station; the USB disk management includes: USB port disable and USB port enable; the operation station operation optimization device automatically identifies the operating system patch packages which are not installed on the operation station, and prompts installation; and installing the operating system patch package selected by the current user.
Therefore, in the embodiment of the present invention, the operation station operation optimization device may determine an applicable installed configuration policy from a plurality of preset installed configuration policies to perform automated installed configuration, and determine an applicable DCOM configuration file from a plurality of preset DCOM configuration files to perform DCOM configuration. Compared with manual configuration, the process is simple. And because the applicable configuration file is adopted, the success rate of the installation and the DCOM configuration is relatively higher.
Drawings
FIG. 1 is a block diagram illustrating an exemplary operation optimization device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a one-key setup interface according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a two-layer architecture interaction provided by an embodiment of the present invention;
FIG. 4 is a flowchart illustrating the operation of a subroutine provided in accordance with an embodiment of the present invention;
FIG. 5a is a diagram of a restart prompt dialog provided in an embodiment of the present invention;
FIG. 5b is a schematic diagram of a configuration item for prompt check according to an embodiment of the present invention;
FIG. 6a is a schematic diagram of an installation specification interface provided by an embodiment of the present invention;
FIG. 6b is a schematic diagram of a current operating state provided by an embodiment of the present invention;
FIG. 6c is a schematic diagram of a manual setup item provided in accordance with an embodiment of the present invention;
fig. 7a and 7b are schematic diagrams of a usb disk management interface according to an embodiment of the present invention;
FIG. 7c is a schematic diagram of password entry according to an embodiment of the present invention;
FIG. 7d is a diagram illustrating a password error interface according to an embodiment of the present invention;
FIG. 7e is a schematic diagram of a password modification interface according to an embodiment of the present invention;
FIG. 8a is a schematic diagram of a DCOM configuration interface according to an embodiment of the present invention;
FIG. 8b is a schematic diagram of an error prompt interface according to an embodiment of the present invention;
fig. 9a and 9b are schematic diagrams of a system patch interface according to an embodiment of the present invention.
Detailed Description
For reference and clarity, the terms, abbreviations or abbreviations used hereinafter are summarized as follows:
administeror: the original means a manager or an administrative official or a legacy manager, and in the name of a computer, the original means a system super manager or a super user;
enum: enumerating a type, wherein the type is one data type in a computer programming language;
and (3) OPC: OLE for Process Control; OLE for industrial control is an industry standard based on microsoft OLE (now Active X), COM (component object type) and DCOM (distributed component object type) technologies. OPC comprises a standard set of a set of interfaces, attributes and methods for process control and manufacturing automation systems;
an operation station: the distributed control system transmits the collected information of the industrial system to the operation station through a network, and the operation station displays, monitors and issues commands to the distributed control system to realize automatic control;
industrial control software: industrial control software is so-called industrial control software in a narrow sense. Since a programmable controller is adopted, industrial control software becomes an inseparable part of industrial automation, but in practical application, the control software is not isolated, but is integrated with other software to play the due role, so that the control software broadly comprises data acquisition, a human-computer interface, software application, process control, a database, data communication and the like, the covered content is continuously enriched along with the development of the technology, and the pure control is integrated with management to form factory informatization;
DCOM: microsoft Distributed Component Object Model. DCOM is a family of microsoft concepts and program interfaces that support communication between components on two different machines, and applications will be arbitrarily spatially distributed via DCOM, whether they run on a local area network, a wide area network, or the Internet.
The embodiment of the invention provides an operation station operation optimization device (operation optimization device for short) and a method, which are used for improving the configuration success rate of an installation machine and a DCOM.
Referring to fig. 1, the operation optimization apparatus includes:
the operating system configuration module 1 is configured to perform installed configuration on a target operating system (an operating system deployed on an operating station).
The operation optimization device can be installed on the operation station in a software form.
In an example, the current user may enter the installed specification configuration interface of the operation optimization device, and issue an installed specification configuration command through the interface, so that the operating system configuration module 1 configures the target operating system under the trigger of the command.
Specifically, the operating system configuration module 1 may determine, from a plurality of preset installed specification configuration policies, a corresponding installed specification configuration document according to the version of the target operating system, and perform installed configuration on the target operating system according to the determined installed specification configuration.
It should be noted that different versions correspond to different installed specification configuration policies. For example, windows7 and server 2008 have different installed specification configuration policies.
Each installed standard configuration strategy indicates installed configuration items, and in addition, specific values are provided for parameter values of some installed configuration items. Illustratively, the installed configuration items include, but are not limited to, network card configuration items, service configuration items, administeror attribute settings, administeror account password settings, auto-login settings, and the like.
And the DCOM configuration module 2 is used for performing DCOM configuration.
Specifically, the DCOM configuration module 2 may determine a corresponding DCOM configuration file from a plurality of preset DCOM configuration files according to the version of the target operating system, and perform DCOM configuration on the target industrial control software according to the determined DCOM configuration file.
In one example, the DCOM configuration file may include an interface configuration file. For operating systems of different versions, there are different interface configuration files, and one of the interface configuration files is configured by the DCOM.
Further, the DCOM configuration in the interface configuration file includes the industrial control software supported by the version operating system and the component name of the DCOM component adopted by the supported industrial control software.
The target industrial control software comprises: and the current industrial control software selected by the user and using the DCOM component.
In one example, a user may enter a "DCOM configuration" interface of the operation optimization device, select a certain industrial control software through the interface, click a "start setting" button, that is, issue a DCOM configuration command (including a selected industrial control software identifier), and then the DCOM configuration module 2 will perform DCOM configuration under the command trigger.
In another embodiment of the present invention, referring to fig. 1, the apparatus may further include a component library 3, where the component library 3 is at least used for storing component names and component ID numbers of DCOM components. The engineer may make modifications to the component names and component identifications in the component library.
In the component library, for example, the supcon.scrtcre component in32 bits and the supcon.scrtcre component in 64 bits have the same component name and component ID, but are associated with different configuration objects for different operating system types. The operating system type is automatically identified during configuration, and the configuration is carried out by using the configuration object associated with the operating system type.
It should be noted that the system type here refers to 32 bits and 64 bits.
In terms of category, DCOM configuration includes four major processes of Enum configuration, My Computer configuration, OPC server configuration, and system service start, and the configuration of different DCOM components is realized by the same code (configuration mode).
Therefore, in the embodiment of the present invention, the operation station operation optimization device may determine an applicable installed configuration policy from a plurality of preset installed configuration policies to perform automated installed configuration, and determine an applicable DCOM configuration file from a plurality of preset DCOM configuration files to perform DCOM configuration. Compared with manual configuration, the process is simple. And because the applicable configuration file is adopted, the success rate of the installation and the DCOM configuration is relatively higher.
Besides the configuration problem, the industrial control software application site has a series of safety problems, such as:
1, poisoning caused by non-U disk forbidding;
and 2, safety problems caused by system bugs.
The following problems occur in the implementation process of a certain engineering field:
win 32/Configer.D virus obtains the highest authority of an operating system by using the security vulnerability of the operating system for spreading, and can close Server (Server) and Workstation (Workstation) services under the abnormal condition of the virus. The client configuration software of the industrial control software cannot acquire the configuration file from the master engineer station, or a dialog box requesting network connection is continuously popped up in the monitoring stage, and a user name and a password are required to be input. The field use is seriously influenced.
In order to solve the problem of disabling the usb flash drive, in another embodiment of the present invention, still referring to fig. 1, the operation optimization apparatus may further include:
and the USB disk management module 4 is at least used for carrying out USB disk management on the operation station.
The USB disk management includes: USB port disable and USB port enable, and may also include password management.
In one example, the user may enter a "USB disk management" interface of the operation optimization device, and issue a USB port enabling command, a USB port disabling command, or a password modification command through the interface, and the USB disk management module 4 will perform a USB port enabling operation, a USB port disabling operation, or a password modification operation under the trigger of the command.
The USB port may be disabled while the USB port is in the enabled state. Specifically, the method can be realized by modifying a 'Start' parameter value in a USBSTOR entry in a registry, setting the parameter value to 4, and modifying a Start type parameter value in a USBSTOR.
When the USB port is in the disabled state, if the USB port is to be re-enabled, the correct password needs to be input.
When the USB port is in a forbidden state, an 'enabling' button is displayed on the USB disk management interface, the button is clicked, a password input box is displayed, the click of inputting the password is confirmed, and a USB port enabling command can be issued.
It should be noted that the level of the password includes a super password and an enabled password, and the enabled password may also be referred to as a common password (default password).
The super password is only available for the administrator or super administrator, and common passwords can be used by common users. The super password is higher than the common password, and the super password is not changed generally.
Accordingly, in terms of USB port enabling, the USB disk management module 4 may be specifically configured to:
receiving the USB port starting command;
if the password carried by the USB port starting command is determined to be a super password (the carried password can be compared with a pre-stored super password to determine whether the carried password is the super password or not), changing the state of the USB port into a starting state;
if the password carried by the USB port starting command is not super password, comparing the password with the pre-stored starting password, and if the password is the same as the pre-stored starting password, changing the state of the USB port into the starting state.
The USB port may also be enabled by modifying the 'Start' parameter value in the USBSTOR entry in the registry, and modifying the StartType parameter value in the USBSTOR.
If the enabled password is modified, two ways are used:
in the first mode, the super password is used to modify the common password.
A "modify password" button is displayed on the USB management interface, and when the button is clicked, referring to fig. 7e, a password modification box is shown, which includes: an original password input box, a new password input box and a repeated new password input box.
Super password can be input in the original password input box, new starting password is input in the new password input box and the repeated new password input box, and password modification commands can be issued after clicking confirmation.
If the original password carried by the password modification command is determined to be the super password (see the foregoing description for how to determine), and the new enabled password input by the new password input box is the same as the new enabled password input by the repeated new password input box, the verification is passed, and the new enabled password is used as the pre-stored enabled password, that is, the password modification is successful, and the new password takes effect.
Mode two, the conventional modification mode:
in the second mode, the original enabled password can be input in the original password input box shown in fig. 7e, the new enabled password can be input in the new password input box and the repeated new password input box, and the password modification command can be issued after clicking is determined.
If the password is correct (the original starting password is the same as the pre-stored starting password, and the new starting password input by the new password input box and the repeated new password input box is the same), the new starting password takes effect.
Accordingly, in terms of password management (modifying a commonly used password), the USB disk management module 4 may be specifically configured to:
receiving the password modification command, wherein the password modification command carries an original password and a new enabled password input by a current user; wherein, the original password is a super password or a common password;
if the original password carried by the password modification command is determined to be the super password, and the new starting password input by the new password input box is the same as the new starting password input by the repeated new password input box, the verification is passed, and the new starting password is used as the pre-stored starting password;
if the original password carried by the password modification command is not the super password, comparing the original password with the pre-stored starting password, comparing the new starting password input by the new password input box with the new starting password input by the repeated new password input box, and if the original password is the non-super password, passing the verification and taking the new starting password as the pre-stored starting password.
In order to solve the security problem caused by the system bug, in another embodiment of the present invention, still referring to fig. 1, the operation optimization apparatus may further include: and the operating system patch installation module 5 is used for installing the operating system patch package.
In one example, a user may enter a "system patch" interface of the operation optimization device to issue commands.
The operating system patch installation module 5 may specifically include:
a self-recognition unit to: automatically identifying an operating system patch package which is not installed on an operating station, and prompting installation;
the self-identification unit can judge whether the patch package is installed or not by reading the system information in the registry, and display the uninstalled operating system patch package on a system patch interface.
A mounting unit for: and installing the operating system patch package selected by the current user.
Specifically, the user may select or select a part of the patch package in the interface, click an installation button, and issue a patch installation command (which may include a unique identifier of the patch package).
And the installation unit installs the selected operating system patch package under the triggering of the patch installation command.
In addition, in order to simplify the user operation, in another embodiment of the present invention, still referring to fig. 1, the operation optimization apparatus further includes: the one-key setting module 6 is configured to notify the operating system configuration module 1 to perform the installation configuration, notify the DCOM configuration module 2 to perform the DCOM configuration, and notify the USB disk management module 3 to disable the USB port after receiving the one-key setting command of the current user.
In one example, referring to FIG. 2, a user may enter a one-touch setup interface having a "start setup" button that is pressed to send a one-touch setup command.
The one-key setting module 6 will notify the operating system configuration module 1 to perform the installation configuration, notify the DCOM configuration module 2 to perform the DCOM configuration, and notify the USB disk management module 3 to perform the USB port disabling, under the trigger of the one-key setting command.
That is, besides entering different interfaces to perform the installation configuration operation, the DCOM configuration operation or the USB port disabling operation, the three operations can be performed by setting the function through one key.
In other embodiments of the present invention, the device adopts a two-layer architecture for the convenience of later maintenance. The two-layer architecture includes: an interface layer application (osgenius. exe) and a script layer application; and the interface layer application program and the script layer application program are interacted by adopting a pipeline.
Wherein the interface layer application is to: presenting an interface, identifying the version and the system type of a target operating system, identifying the state of a USB port, identifying an operating system patch package which is not installed on an operating station, generating a corresponding operating command according to the operation of a current user and the like;
in one example, the operation commands include, but are not limited to: an installed specification configuration command, a DCOM configuration command, a patch install command, a one-key set command, a USB port enable command, a USB port disable command, or a password modification command.
The script layer application program is mainly realized as follows: a machine specification function, a DCOM configuration function, etc.
The script layer application program comprises a main program (AutoInstallall. exe) and a subprogram for realizing the functions of an operating system configuration module 1, a DCOM configuration module 2, a USB disk management module 4, an operating system patch installation module 5 and a one-key setting module 6.
The main program is used for receiving an operation command sent by the interface layer application program and calling the corresponding subprogram according to the operation command.
Taking the DCOM configuration module 2 as an example, the subroutine for implementing the function of the DCOM configuration module 2 is dcomhelper.
In one example, the aforementioned component configuration file further comprises three levels of configuration files:
1, a first layer of component configuration files which are externally placed to engineering personnel comprise the interface configuration files and component configuration files (installers. ini), and the engineering personnel can modify configuration items (component names and component identifications) in the first layer of component configuration files;
2, a second layer component configuration file (DCOMConfig. ini) required by data interaction between the interface layer application program and the script layer application program;
and 3, a third layer component configuration file (dcom _ qx.ini) for executing internal processing of the layer (code).
For example, referring to fig. 3, osgenius. exe sends a DCOM configuration command to autoinstall. exe, and autoinstall. exe calls DCOM helper. exe to perform DCOM configuration.
The autoinstall. exe modifies the component name and component Identification (ID) in the component configuration file (installer. ini) according to the interface configuration file corresponding to the operating system version.
Instoller. ini can be considered a template that is modified using the contents of the interface configuration file, similar to filling in a template with specific data.
In one example, the component library may be traversed, looking up the component ID corresponding to the component name in the interface configuration file, and then modifying the component name and the component ID in the instoller.
Ini may be considered one of the DCOM configuration files corresponding to the version of the target operating system.
The autoinstall. exe modifies the parameter item (configuration item information, including the component name and the component ID) in the second layer component configuration file (for example, dcomconfig. ini) according to the modified installer. ini, and then calls dcomhelper.
Ini may be considered one of the DCOM configuration files corresponding to the version of the target operating system.
The parameter item (configuration item information) in the second layer component configuration file includes a component name and a component ID.
Exe, see fig. 4, including:
s401: the DCOMhelper.exe modifies the registry information in the DCom.reg according to the configuration item information of the DCOMConfig.ini, and imports the registry information in the DCom.reg into the registry.
Reg is an automatic modification method.
In this step, dcomhelper.exe modifies the registry information of dcom.reg (including DCOM component name, component ID, and other related information) corresponding to the configuration item according to the configuration item information of dcomconfig.ini, and then imports the registry information in dcom.reg into the registry.
S402: the dcomhelper.exe modifies the corresponding information (including the DCOM component name, component ID, and the like) in DCOM _ qx.ini according to the configuration item information of dcomconfig.ini.
DCOM _ qx.ini is also a configuration file depended on in the running of a DCOM configuration process, and is a third-layer component configuration file used in the code.
The modified DCOM _ qx.ini may be considered one of the DCOM configuration files corresponding to the version of the target operating system.
S403: ex to run DCOM _ qx.ini above and add the user rights of the DCOM component in the registry.
Exe is a registration process called by the DOM configuration process, a method implemented inside the code.
S404: the dcomhelper.exe runs a service initiation script (dcom.bat script) to initiate the services necessary for DCOM.
The services necessary for DCOM may include RemoteRegistry, RpcLocator and rpcsss services, and after configuration, these services need to be restarted to be configured to be effective.
The foregoing mentions that the operation optimization device may be installed on the operator station in the form of software.
When the operation optimization device is started, whether the current user is the user with the administeror group authority is judged, and if not, the operation optimization device prompts and exits.
How to implement the installed configuration, DCOM configuration, USB disk management, installation of operating system patch package, and one-key setting will be described below from the perspective of user operation.
One, one key set
The main interface of the operation optimization device (hereinafter referred to as system) is shown in fig. 2.
Selecting a 'one-key setting' interface, clicking a 'start setting' key, starting automatic setting by the system, and setting the contents, wherein the setting contents comprise: installation configuration, USB port disable, and DCOM configuration.
When the installed standard configuration is operated, the first icon (the icon of the installed configuration) flickers, other icons are gray, and after the installed standard configuration is operated, the first icon is changed into blue. And the others are analogized in turn.
After one-key setting is finished, if no error exists, popping up a restart prompt dialog box shown in figure 5a, and prompting to restart the computer; if there is an error, a dialog box pops up as shown in FIG. 5b, prompting to check the configuration items.
The detailed configuration results of the installation configuration, the USB port forbidding and the DCOM configuration need to be respectively switched to an installation specification setting interface, a USB flash disk management interface and a DCOM configuration interface for viewing after one-key installation is completed.
It should be noted that DCOM is not configured without DCOM components. The USB flash disk management related to the one-key setting is specifically USB port disabling setting.
Two, installation configuration
The operating systems supported by the system are shown in table 1 below:
Figure BDA0002214555380000121
Figure BDA0002214555380000131
TABLE 1
Among the operating systems shown in table 1, Windows7 corresponds to the same installation configuration as the Windows2008 system, and the installation configuration of the other operating systems is different from that of Windows7 and the Windows2008 system. Now, the following are introduced:
windows7 and Windows2008
Taking Windows7 as an example, the setting steps performed by the user are as follows:
from the main interface, the user switches to the "installation specification" interface as shown in fig. 6a, in which the user switches to the TAB page of the "auto setup item" and clicks the "start setup" key.
The system starts to set automatically, and during the setting process, the interface displays the current operation state, as shown in fig. 6 b.
The operation state comprises the following steps:
Figure BDA0002214555380000132
to be executed: the item is not yet set and is in a waiting execution state;
Figure BDA0002214555380000133
and (3) successfully executing: the item has been set successfully;
Figure BDA0002214555380000134
failure of execution: this setting fails. If the execution fails in the operation process, the installation specification setting can be tried to be executed again, and if the execution fails, the execution failure item needs to be manually set according to the installation specification document.
Figure BDA0002214555380000135
And (4) exiting in time-out mode: the term is non-responsive for a long timeThe setting is no longer performed, and as a result, the execution is equal to the execution failure, and the processing method refers to the execution failure state.
After the setting is finished, if no error exists, popping up a restart prompt dialog box shown in fig. 5a to prompt the restart of the computer; if there is an error, a dialog box pops up as shown in FIG. 5b, prompting to check the configuration items.
② other operating systems
For operating systems except windows7 and windows server 2008, an installation specification interface comprises two TAB pages, namely an automatic setting item and a manual setting item.
The manual setting item is mainly used for carrying out system purification and regional option setting, and a user needs to manually configure the two items according to installation specifications or self requirements; the automatic setting item sets all configuration item settings except the manual setting item in the installation specification. The setting method of the automatic setting item is the same as the setting method of Windows7 and Windows 2008. The manual setting step is described below by taking windows xp as an example:
under the installation specification interface, switch to the "Manual setup item" TAB page, as shown in FIG. 6 c. And selecting a corresponding manual configuration item in the TAB page of the manual setting item, clicking a start setting key, and popping up a corresponding configuration interface, wherein manual configuration is required.
The configuration items that need to be manually operated and the corresponding operating systems are as follows:
Figure BDA0002214555380000141
TABLE 2
Third, USB disk management
The U disk management comprises the following steps: USB port disabled, USB port enabled, password management 3 functions, which are now introduced separately.
Disabling U disk
Switching from the home interface to the "U disk management" interface as shown in FIG. 7 a.
The system automatically acquires and displays the state of the usb flash disk, and as shown in fig. 7a, the system is in the usb flash disk enabled state.
Clicking the 'forbidden' key, the USB port of the system is forbidden, and tools such as a U disk, a mobile hard disk and the like are inserted and cannot be identified.
② U disk start
When the USB port is in the disabled state, an "enable" button is displayed on the USB disk management interface, as shown in fig. 7 b. Clicking the "enable" key causes the interface to display the password entry, as shown in FIG. 7 c.
And (4) inputting the password by the user, clicking 'confirm', checking the password correctly, enabling the password to be effective, and otherwise, popping up a password error interface, as shown in fig. 7 d.
For the related description, please refer to the above description, which is not repeated herein.
③ modifying passwords
And in the enabled or disabled state of the USB flash disk, clicking a 'modify password' key to display a password modification interface, as shown in FIG. 7 e.
And inputting the original password, the new password and the repeated new password, if the original password, the new password and the repeated new password are all correct, the password is successfully modified, the new password takes effect, and the interface returns to the interface before modification. And if the password is incorrect, popping up a password error prompt interface.
For the related description, please refer to the above description, which is not repeated herein.
Four, DCOM configuration
After the industrial control software is installed, the DCOM configuration function can be realized by one key, and each DCOM configuration is realized by one key:
switch from the main interface to the "DCOM configuration" interface as shown in fig. 8 a. This interface displays all software products supported by the current operating system version.
The DCOM configuration comprises four major classes of Enum configuration, My Computer configuration, OPC server configuration and system service opening.
The following table 3 shows DCOM components used by different industrial control software.
Figure BDA0002214555380000151
Figure BDA0002214555380000161
TABLE 3
Each software product corresponds to the component name and the component ID of the DCOM component. The component library is used for storing the component name and the component ID number of each DCOM component.
The user selects a software product and clicks the "start settings" key. If the software is not installed, an error prompt interface pops up, as shown in FIG. 8 b. If the software is installed, after the setting is finished, popping up an installation finishing interface, and if no error exists, popping up a restart prompt dialog box shown in figure 5a to prompt the restart of the computer; if there is an error, a dialog box pops up as shown in FIG. 5b, prompting to check the configuration items.
And the DCOM function is automatically configured by adopting a registry modification and service starting mode. Has the following advantages:
the expansibility is strong: and establishing a component library, and collecting and arranging component information of all supported DCOM components.
The universality is strong: an OPC server which needs to carry out DCOM configuration can be arbitrarily added in a special configuration file;
the platform has strong adaptability: the method can adaptively support DCOM configuration of mainstream systems such as Windows XP, Windows Server 2003, Windows Server 2008, WIN7 and the like, automatically identify the type of an operating system during installation, and configure OPC DCOM by different strategies;
quick and convenient: the method is manually executed in one key mode, is rapid, efficient and reliable, and thoroughly solves the problem that field personnel fails to configure the OPC DCOM due to operation or configuration omission.
Fifth, system patch
And switching from the main interface to the system patch interface.
If the system does not need to install the patch, the display interface is as shown in FIG. 9a, otherwise as shown in FIG. 9b, the installation item (i.e., the un-installed operating system patch package) is displayed.
And after the user selects the installation item, clicking a 'start setting' key, opening the patch package and starting installation.
The invention also claims an operation station operation optimization method, which comprises the following steps:
s1: the operating station operation optimization device determines a corresponding installation standard configuration strategy according to the version of a target operating system from a plurality of preset installation standard configuration strategies, and performs installation configuration on the target operating system according to the determined installation standard configuration; the target operating system is specifically an operating system deployed on the operating station;
s2: and the operation optimization device of the operation station determines a corresponding DCOM configuration file from a plurality of preset DCOM configuration files according to the version of the target operation system, and performs DCOM configuration on the target industrial control software according to the determined DCOM configuration file.
The target industrial control software comprises: and the current industrial control software selected by the user and using the DCOM component.
For a detailed description, refer to the above description, and are not repeated herein.
In other embodiments of the present invention, the method further includes:
s3: the operation station operation optimizing device carries out USB disk management on the operation station;
the USB disk management includes: USB port disabled and USB port enabled. Additionally, password management may also be included.
S4: the operation station operation optimization device automatically identifies the operating system patch packages which are not installed on the operation station and prompts installation;
s5: and installing the operating system patch package selected by the current user.
For a detailed description, refer to the above description, and are not repeated herein.
In other embodiments of the present invention, the method further includes:
s6: and after receiving a one-key setting command of the current user, performing installation configuration, performing DCOM configuration and disabling the USB port.
For a detailed description, refer to the above description, and are not repeated herein.
According to the feedback condition analysis of each party, the technical scheme provided by the invention greatly improves the safety of the application field of the industrial control software and provides more guarantees for project implementation. Meanwhile, the accuracy and the reliability of platform deployment are ensured, the efficiency of a factory in the system deployment process is improved, and the labor cost is reduced.
Taking a certain engineering application as an example, the following is time consumption data of a computer configuration link before delivery:
Figure BDA0002214555380000171
Figure BDA0002214555380000181
those of skill would further appreciate that the various illustrative components and model steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate the interchangeability of hardware and industrial software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or model described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a processor-implemented industrial control software module, or in a combination of the two. The industrial control software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, WD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An operator station operation optimization apparatus, comprising:
the operating system configuration module is used for determining a corresponding installed standard configuration strategy according to the version of a target operating system from a plurality of preset installed standard configuration strategies, and performing installed configuration on the target operating system according to the determined installed standard configuration; the target operating system is specifically an operating system deployed on an operating station;
the distributed component object model DCOM configuration module is used for determining a corresponding DCOM configuration file from a plurality of preset DCOM configuration files according to the version of the target operating system and performing DCOM configuration on the target industrial control software according to the determined DCOM configuration file; the target industrial control software comprises: and the current industrial control software selected by the user and using the DCOM component.
2. The apparatus of claim 1, further comprising:
the USB disk management module is at least used for carrying out USB disk management on the operation station; the USB disk management includes: USB port disabled and USB port enabled.
3. The apparatus of claim 2, further comprising: an operating system patch installation module;
the operating system patch installation module comprises:
a self-recognition unit to: automatically identifying an operating system patch package which is not installed on the operating station, and prompting installation;
a mounting unit for:
and installing the operating system patch package selected by the current user.
4. The apparatus of claim 3, further comprising: the one-key setting module is used for informing the operating system configuration module to carry out installation configuration, informing the DCOM configuration module to carry out DCOM configuration and informing the USB disk management module to disable the USB port after receiving a one-key setting command of a current user.
5. The apparatus of claim 2, wherein, in terms of the USB port enablement, the USB disk management module is specifically configured to:
receiving a USB port enabling command; the USB port enabling command carries a password input by a current user;
if the password carried by the USB port starting command is determined to be the super password, changing the state of the USB port into a starting state;
if the password carried by the USB port starting command is not super password, comparing the password carried by the USB port starting command with the pre-stored starting password, and if the password carried by the USB port starting command is the non-super password, changing the state of the USB port into the starting state.
6. The apparatus of claim 5,
USB management also includes password management;
in the aspect of the password management, the USB disk management module is specifically configured to:
receiving a password modification command, wherein the password modification command carries an original password and a newly-enabled password input by a current user; the password modification command is used for modifying a prestored starting password; the original password is a super password or a common password;
if the original password carried by the password modification command is determined to be the super password, taking the new starting password as a pre-stored starting password;
if the original password carried by the password modification command is a non-super password, comparing the original password with a pre-stored starting password, and if the original password is the same as the pre-stored starting password, taking the new starting password as the pre-stored starting password.
7. The apparatus of claim 1,
the DCOM configuration file comprises an interface configuration file; different operating system versions correspond to different interface configuration files, and any interface configuration file comprises industrial control software supported by the corresponding operating system version and a component name of a DCOM component adopted by the industrial control software.
8. The apparatus of any one of claims 4-7,
the device adopts a two-layer framework mode, and the two-layer framework comprises: an interface layer application program and a script layer application program; the interface layer application program and the script layer application program are interacted by adopting a pipeline;
wherein the interface layer application is to: presenting an interface, identifying the version, language environment and system type of a target operating system, and generating a corresponding operating command according to the operation of a current user; the operation command comprises: an installation specification configuration command, a DCOM configuration command, a patch installation command, a one-key setting command, a USB port enabling command, a USB port disabling command or a password modification command;
the script layer application program comprises a main program and a subprogram for realizing the functions of the operating system configuration module, the DCOM configuration module, the USB disk management module, the operating system patch installation module and the one-key setting module;
and the main program is used for receiving the operation command sent by the interface layer application program and calling the corresponding subprogram according to the operation command.
9. A method for optimizing operator station operations, the method comprising, based on an operator station operation optimization apparatus:
the operation station operation optimization device determines a corresponding installed standard configuration strategy according to the version of a target operating system from a plurality of preset installed standard configuration strategies, and performs installed configuration on the target operating system according to the determined installed standard configuration; the target operating system is specifically an operating system deployed on an operating station;
the operation station operation optimization device determines a corresponding DCOM configuration file from a plurality of preset DCOM configuration files according to the version of the target operation system, and performs DCOM configuration on target industrial control software according to the determined DCOM configuration file; the target industrial control software comprises: and the current industrial control software selected by the user and using the DCOM component.
10. The method of claim 9, further comprising:
the operation station operation optimizing device carries out USB disk management on the operation station; the USB disk management includes: USB port disable and USB port enable;
the operation station operation optimization device automatically identifies the operating system patch packages which are not installed on the operation station, and prompts installation;
and installing the operating system patch package selected by the current user.
CN201910910499.2A 2019-09-25 2019-09-25 Operation station operation optimization device and method Active CN110688170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910910499.2A CN110688170B (en) 2019-09-25 2019-09-25 Operation station operation optimization device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910910499.2A CN110688170B (en) 2019-09-25 2019-09-25 Operation station operation optimization device and method

Publications (2)

Publication Number Publication Date
CN110688170A CN110688170A (en) 2020-01-14
CN110688170B true CN110688170B (en) 2022-04-22

Family

ID=69110623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910910499.2A Active CN110688170B (en) 2019-09-25 2019-09-25 Operation station operation optimization device and method

Country Status (1)

Country Link
CN (1) CN110688170B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116708030A (en) * 2023-08-04 2023-09-05 浙江大学 Industrial edge computing gateway and its protocol traffic monitoring method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520687A (en) * 2011-12-12 2012-06-27 攀钢集团攀枝花钢钒有限公司 Object linking and embedding for process control (OPC)-based general interface system and its control method
CN108334370A (en) * 2017-05-26 2018-07-27 中国电子科技集团公司第四十研究所 A kind of software auto-increment update upgrade method of distributed test system
CN109614279A (en) * 2018-12-07 2019-04-12 陕西瑞迅电子信息技术有限公司 A kind of industrial personal computer self-checking system and its control method and relevant device
CN110049111A (en) * 2019-03-27 2019-07-23 厦门大学 A kind of industrial control system teleinstruction control method based on block chain technology

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105205231B (en) * 2015-09-06 2018-11-09 中国电力科学研究院 A kind of power distribution network Digital Simulation System based on DCOM

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520687A (en) * 2011-12-12 2012-06-27 攀钢集团攀枝花钢钒有限公司 Object linking and embedding for process control (OPC)-based general interface system and its control method
CN108334370A (en) * 2017-05-26 2018-07-27 中国电子科技集团公司第四十研究所 A kind of software auto-increment update upgrade method of distributed test system
CN109614279A (en) * 2018-12-07 2019-04-12 陕西瑞迅电子信息技术有限公司 A kind of industrial personal computer self-checking system and its control method and relevant device
CN110049111A (en) * 2019-03-27 2019-07-23 厦门大学 A kind of industrial control system teleinstruction control method based on block chain technology

Also Published As

Publication number Publication date
CN110688170A (en) 2020-01-14

Similar Documents

Publication Publication Date Title
AU776195B2 (en) Method and apparatus for operating system personalization during installation
US7912929B2 (en) Managing client configuration settings in a network environment
US7353262B2 (en) Validation of configuration settings prior to configuration of a local run-time environment
US9645846B1 (en) Security patch update processor
US6871221B1 (en) Method and apparatus to manage network client logon scripts using a graphical management and administration tool
US6317880B1 (en) Patch source list management
US6282709B1 (en) Software update manager
US8296756B1 (en) Patch cycle master records management and server maintenance system
US7441021B1 (en) Methods and apparatus for producing a configuration for components of a network
US20060248522A1 (en) Deploying agent software to managed computer systems
US6944653B2 (en) Zero-click deployment of data processing systems
US20180091558A1 (en) Secure Configuration Evaluation, Remediation, and Reporting Tool (SCERRT)
US20080028389A1 (en) Filtering a list of available install items for an install program based on a consumer's install policy
US20070240150A1 (en) Simplifying installation of a suite of software products
EP3345112B1 (en) Thresholds on scripts executable by unified extensible firmware interface systems
US7707571B1 (en) Software distribution systems and methods using one or more channels
US7469278B2 (en) Validation of portable computer type prior to configuration of a local run-time environment
CN113721931B (en) Automatic service deployment method, system and computer readable storage medium
CN110688170B (en) Operation station operation optimization device and method
CN117319196B (en) User server cluster environment deployment management system and method
CN112835680A (en) Method for automatically setting password of Windows operating system virtual machine
CN110532151A (en) A kind of automatic operation method of monitoring instrument, device, equipment and storage medium
Cisco Release Notes for CiscoView 5.4
CN115454472A (en) Remote upgrading problem solving method, device, equipment and readable storage medium
CN114584478B (en) Method, device, equipment and storage medium for auditing application operation process

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: No. 309 Liuhe Road, Binjiang District, Hangzhou City, Zhejiang Province (High tech Zone)

Patentee after: Zhongkong Technology Co.,Ltd.

Country or region after: China

Address before: No. six, No. 309, Binjiang District Road, Hangzhou, Zhejiang

Patentee before: ZHEJIANG SUPCON TECHNOLOGY Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address