CN112101590A - Ship remote maintenance information management system based on hybrid peer-to-peer network - Google Patents

Ship remote maintenance information management system based on hybrid peer-to-peer network Download PDF

Info

Publication number
CN112101590A
CN112101590A CN202010928726.7A CN202010928726A CN112101590A CN 112101590 A CN112101590 A CN 112101590A CN 202010928726 A CN202010928726 A CN 202010928726A CN 112101590 A CN112101590 A CN 112101590A
Authority
CN
China
Prior art keywords
maintenance
expert
client
remote
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010928726.7A
Other languages
Chinese (zh)
Inventor
张晶
曾斌
丰少伟
王睿
柴凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Naval University of Engineering PLA
Original Assignee
Naval University of Engineering PLA
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 Naval University of Engineering PLA filed Critical Naval University of Engineering PLA
Priority to CN202010928726.7A priority Critical patent/CN112101590A/en
Publication of CN112101590A publication Critical patent/CN112101590A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Abstract

The invention discloses a ship remote maintenance information management system based on a hybrid peer-to-peer network.A maintenance expert client comprises a registration module, a security module, a database access module, a call management module, an audio and video conference module and a certificate server, wherein the certificate server is used for storing a digital certificate provided by an authority certification authority; the directory server is used for storing a public key list of the remote maintenance information management system; and the management server is a switching center of the remote maintenance information management system and is used for positioning and retrieving the public key list in the directory server and the digital certificate on the certificate server after receiving the registration information of the maintenance expert client, verifying the registration information and sending a corresponding private key. The method can realize the storage, data access and management of the heterogeneous information, and solves the technical problem that the storage of the heterogeneous information is difficult in the prior art.

Description

Ship remote maintenance information management system based on hybrid peer-to-peer network
Technical Field
The invention relates to the technical field of ship remote technical support, in particular to a ship remote maintenance information management system and method based on a hybrid peer-to-peer network.
Background
The remote maintenance system for the ship needs to ensure the transmission, query and storage of data among various maintenance mechanisms, and the technical architecture of the system relates to various concepts and methods such as a heterogeneous workflow management system, a peer-to-peer network, a world wide web and system integration.
The inventor of the present application finds that the method of the prior art has at least the following technical problems in the process of implementing the present invention:
in the prior art, an information management system is designed and operated based on a central server architecture, even if one or more central servers or clusters are used for storing historical data, maintenance records, multimedia information and the like of ships, the central server scheme causes heavy load of servers, and the central server scheme has to process the whole maintenance data stream, for example, fault videos or images uploaded by faulty ships are received and stored, query requests of clients are received, and data meeting conditions are transmitted back to the clients, so that the medium-sized remote maintenance system for ships can rent or own a large-sized data server or storage cloud, and the cost is high and single-point fault risk exists. In addition, equipment or service information of relevant departments of ship maintenance service relates to intellectual property protection or security level limitation, and is difficult to upload to a server uniformly. Although the peer-to-peer network has no single point of failure risk brought by central control, the system availability is improved, but distributed security management is difficult to realize, and the system performance is also influenced to a certain extent, so that the storage of heterogeneous information cannot be realized.
Therefore, the technical problem that the storage of heterogeneous information is difficult exists in the prior art.
Disclosure of Invention
In view of the above, the present invention provides a system and a method for managing ship remote maintenance information based on a hybrid peer-to-peer network, so as to solve or at least partially solve the technical problem in the prior art that storage of heterogeneous information is difficult.
In order to solve the above technical problem, a first aspect of the present invention provides a ship remote maintenance information management system based on a hybrid peer-to-peer network, including:
the system comprises a maintenance expert client, a management server, a database access module, a call management module and an audio and video conference module, wherein the registration module is used for sending registration information to the management server, the security module is used for encrypting data of the system through an encryption function of a secure socket layer protocol, the database access module is used for interconnecting a user application program and a remote relational database, the remote relational database is used for storing heterogeneous maintenance record data, and the maintenance record data comprises a basic equipment file, maintenance history, fault history and multimedia photo data, and corresponding maintenance record data is inquired from the remote relational database through inquiry information; the call management module is used for call management of the remote video conference, and the call management comprises establishment, interruption and revocation of a communication session; the audio and video conference module is used for carrying out audio and video conference through a connectionless UDP protocol, different maintenance experts construct a point-to-point peer-to-peer network through maintenance expert client terminals, and audio and video communication among the experts is realized through session connection of the peer-to-peer network;
the certificate server is used for storing the digital certificate provided by the authoritative certification authority;
the directory server is used for storing a public key list of the remote maintenance information management system;
and the management server is a switching center of the remote maintenance information management system and is used for positioning and retrieving the public key list in the directory server and the digital certificate on the certificate server after receiving the registration information of the maintenance expert client, verifying the registration information and sending a corresponding private key.
In one embodiment, the service client further comprises an image processing module and an image browser,
the image processing module is used for processing the fault pictures, the image browser is used for displaying the processed fault pictures, and the image processing module and the image browser are used for achieving a whiteboard function of the fault pictures.
Based on the same inventive concept, the second aspect of the present invention provides a ship remote maintenance information management method based on a hybrid peer-to-peer network, which is applied to a maintenance expert client, a certificate server, a directory server and a management server, wherein the maintenance expert client comprises an image processing module, an image browser, a security module, a database access module, a call management module and an audio and video conference module, and comprises:
the method comprises the steps that registration information is sent to a management server through a registration module, a private key sent by the management server is received, the private key is located and retrieved by the management server based on the registration information, a public key list in a directory server and a digital certificate on a certificate server are located and retrieved by the management server, and the private key is sent after verification is passed; encrypting the data of the system by the security module based on the encryption function of the secure socket layer protocol;
the method comprises the steps that a user application program and a remote relational database are interconnected through a database access module, corresponding maintenance record data are inquired from the remote relational database through inquiry messages, wherein the maintenance record data are heterogeneous data and are stored in the remote relational database in advance and comprise equipment basic files, maintenance histories, fault histories and multimedia photo data;
performing call management of the remote video conference through a call management module, wherein the call management comprises establishment, interruption and cancellation of a communication session;
after the session connection is established, different maintenance clients carry out audio and video conferences through an audio and video conference module, different maintenance experts construct a point-to-point peer-to-peer network through the maintenance expert clients, and audio and video communication among the experts is realized through the session connection of the peer-to-peer network.
In one embodiment, different service experts construct a peer-to-peer network through a service expert client, which specifically includes:
receiving a 'joining application' message sent by a maintenance client to be joined;
judging whether a group leader already exists in the cooperation group, if so, judging whether to accept the maintenance client to be added by the client of the group leader, and sending a response message to the maintenance client to be added;
and when the group leader does not exist in the cooperation group, after the maintenance client is added to wait for the preset time length, establishing a new cooperation group as the group leader.
In one embodiment, the number of the user to be added to the maintenance client is numbered, and after the first maintenance client to be added sends the "apply for addition" message, the method further includes: and monitoring the message of applying for joining, and if a new message of applying for joining is detected and the first client to be joined in maintenance does not receive response information sent by the group leader within the preset time, selecting the user with the minimum user number as the group leader.
In one embodiment, the establishing of the communication session comprises:
the maintenance expert client corresponding to the maintenance expert A sends an encrypted initialization application message to the management server, wherein the encrypted initialization application message is obtained by encrypting the initialization application message by using a private key for the maintenance expert client;
the management server decrypts the encrypted 'initialization application' message by using the public key of the maintenance expert A, then verifies the message, adds the name of the maintenance expert A into the online expert list if the verification is successful, and sends the updated online expert list to all online registered maintenance experts in real time;
the maintenance expert client corresponding to the maintenance expert A selects a maintenance expert B to be communicated from the updated online expert list, and sends a 'cooperation application' message to the maintenance expert client of the maintenance expert B;
and the maintenance expert client of the maintenance expert B returns an agreement or rejection message to the maintenance expert client of the maintenance expert A based on the 'cooperation application' message, if the agreement is returned, the communication session is successfully established, otherwise, the communication session is failed to be established.
In one embodiment, when two parties to a communication session have the same data access rights, interconnecting a user application with a remote relational database through a database access module comprises:
a maintenance expert client corresponding to a maintenance expert A sends a query message for data access application to a management server, wherein the query message comprises a data query instruction;
the management server retrieves the applied maintenance record data from the remote relational database based on the query message of the maintenance expert A and transmits the data back to the maintenance expert client corresponding to the maintenance expert A;
the maintenance expert client corresponding to the maintenance expert A sends the same query message for data access application to the maintenance expert client of the maintenance expert B;
and the maintenance expert client of the maintenance expert B forwards the same query message to the management server, and receives a query result after passing the authentication of the management server, wherein the query result is the maintenance record data retrieved from the remote relational database.
In one embodiment, the method for interconnecting a user application with a remote relational database through a database access module when two parties of a communication session do not have the same data access rights includes:
a daemon process is arranged on a management server, and interaction between a user and a database is managed through the daemon process;
when an unauthorized user recommends to access a section of fault data by an authorized user, the daemon process creates a temporary account for the unauthorized user, the temporary account is only effective during the session, and the temporary account is deleted after the session is finished.
In one embodiment, when different maintenance clients perform audio and video conferences through the audio and video conference module, the audio and video conferences are realized by adopting a dual-channel mode of TCP and UDP, wherein a TCP channel is used for transmitting text data and a call control command, and a UDP channel is used for transmitting audio and video data.
In one embodiment, the method further comprises: two retrieval modes are set for the remote relational database: the method comprises full-text retrieval and metadata retrieval, wherein the full-text retrieval mode maintains a file list containing a keyword for each keyword, an importance index of the keyword is set for each file in the file list, and the metadata keywords for maintenance in the metadata retrieval comprise equipment ID, equipment name, data acquisition batch, acquisition type, acquisition time and access times.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
the invention provides a ship remote maintenance information management system based on a hybrid peer-to-peer network. The management server is a switching center of the remote maintenance system, before a maintenance client is added into the system, the management server is registered, after the registration is successful, the maintenance client is responsible for establishing an information communication session so as to be interacted with other members, specifically, the registration module is used for sending registration information to the management server, the security module is used for encrypting data of the system through an encryption function of a secure socket layer protocol, the database access module is used for interconnecting a user application program and a remote relational database, the remote relational database is used for storing heterogeneous maintenance record data, including equipment basic files, maintenance history, fault history and multimedia photo data, and corresponding maintenance record data are inquired from the remote relational database through inquiry messages; the call management module is used for call management of the remote video conference, and the call management comprises establishment, interruption and revocation of a communication session; the audio and video conference module is used for carrying out audio and video conference through a connectionless UDP protocol, different maintenance experts construct a point-to-point peer-to-peer network through maintenance expert client terminals, and audio and video communication among the experts is realized through session connection of the peer-to-peer network; the method can realize the storage, data access and management of the heterogeneous information, solve the technical problem that the storage of the heterogeneous information is difficult in the prior art, and can help maintenance organizations or maintenance personnel to communicate with each other, access shared data and discuss maintenance schemes.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a system structure diagram provided by a ship remote maintenance information management system based on a hybrid peer-to-peer network according to an embodiment of the present invention;
FIG. 2 is a diagram of a hierarchy of a maintenance client according to an embodiment of the present invention;
FIG. 3 is a communication timing diagram of a collaborative failure analysis session according to an embodiment of the present invention;
fig. 4 is a timing diagram of a collaborative session message exchange with different permissions according to an embodiment of the present invention.
Detailed Description
The invention aims to overcome the defects of the prior art and provide a ship remote maintenance information management system based on a hybrid peer-to-peer network to solve the problems of fusion and storage of ship heterogeneous secret information. The system consists of two types of nodes, namely a management server and a maintenance expert client. The management server can be regarded as a switching center of a remote maintenance system, and each maintenance client is responsible for user registration and safety management of maintenance service members (maintenance structures, technicians, ships and the like). And before the maintenance client is added into the system, the maintenance client registers with the management server, and after the registration is successful, the maintenance client is responsible for establishing an information communication session so as to be convenient for interaction with other members.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
The embodiment provides a ship remote maintenance information management system based on a hybrid peer-to-peer network, which comprises:
the system comprises a maintenance expert client, a management server, a database access module, a call management module and an audio and video conference module, wherein the registration module is used for sending registration information to the management server, the security module is used for encrypting data of the system through an encryption function of a secure socket layer protocol, the database access module is used for interconnecting a user application program and a remote relational database, the remote relational database is used for storing heterogeneous maintenance record data, and the maintenance record data comprises a basic equipment file, maintenance history, fault history and multimedia photo data, and corresponding maintenance record data is inquired from the remote relational database through inquiry information; the call management module is used for call management of the remote video conference, and the call management comprises establishment, interruption and revocation of a communication session; the audio and video conference module is used for carrying out audio and video conference through a connectionless UDP protocol, different maintenance experts construct a point-to-point peer-to-peer network through maintenance expert client terminals, and audio and video communication among the experts is realized through session connection of the peer-to-peer network;
the certificate server is used for storing the digital certificate provided by the authoritative certification authority;
the directory server is used for storing a public key list of the remote maintenance information management system;
and the management server is a switching center of the remote maintenance information management system and is used for positioning and retrieving the public key list in the directory server and the digital certificate on the certificate server after receiving the registration information of the maintenance expert client, verifying the registration information and sending a corresponding private key.
In one embodiment, the service client further comprises an image processing module and an image browser,
the image processing module is used for processing the fault pictures, the image browser is used for displaying the processed fault pictures, and the image processing module and the image browser are used for achieving a whiteboard function of the fault pictures.
Specifically, the maintenance record is stored in a dedicated database of the management server, the maintenance record comprises data such as a device basic file, a maintenance history, a failure history and stored multimedia photos, the data are heterogeneous, since the picture data in the current maintenance record does not have a uniform file format standard, for query convenience, the system comprises a description field for storing information such as a device name, a record size, a resolution compression format, a scanning type and the like, different viewer modules need to be designed for different file formats, and meanwhile, the image viewer also needs to support real-time bidirectional image interactive display.
Referring to fig. 1, a block diagram of a ship remote maintenance information management system based on a hybrid peer-to-peer network is shown, in which a plurality of maintenance expert clients, a certificate server, a directory server, a management server, and a database constitute the system. The maintenance expert client-side is in a point-to-point peer-to-peer network for session data transmission, and a client/server mode is adopted between the maintenance expert client-side and the management server.
Fig. 2 is a hierarchical structure diagram of the service client, and fig. 2 shows only a part of modules included in the service expert client, but not all of the modules. The audio and video data transmission is realized by a connectionless UDP (user datagram protocol), a TCP (transmission control protocol) connection protocol is responsible for data transmission of texts and control commands, peer-to-peer network session connection is mainly used for maintaining audio and video communication between experts, a central control scheme is used for core module communication, therefore, a client/server architecture is adopted for communication with a maintenance management server module, and a peer-to-peer network scheme is adopted for communication between maintenance technicians.
Example two
Based on the same inventive concept, the second embodiment of the present invention provides a ship remote maintenance information management method based on a hybrid peer-to-peer network, which is applied to a maintenance expert client, a certificate server, a directory server and a management server, wherein the maintenance expert client comprises an image processing module, an image browser, a security module, a database access module, a call management module and an audio and video conference module, and comprises:
the method comprises the steps that registration information is sent to a management server through a registration module, a private key sent by the management server is received, the private key is located and retrieved by the management server based on the registration information, a public key list in a directory server and a digital certificate on a certificate server are located and retrieved by the management server, and the private key is sent after verification is passed; encrypting the data of the system by the security module based on the encryption function of the secure socket layer protocol;
the method comprises the steps that a user application program and a remote relational database are interconnected through a database access module, corresponding maintenance record data are inquired from the remote relational database through inquiry messages, wherein the maintenance record data are heterogeneous data and are stored in the remote relational database in advance and comprise equipment basic files, maintenance histories, fault histories and multimedia photo data;
performing call management of the remote video conference through a call management module, wherein the call management comprises establishment, interruption and cancellation of a communication session;
after the session connection is established, different maintenance clients carry out audio and video conferences through an audio and video conference module, different maintenance experts construct a point-to-point peer-to-peer network through the maintenance expert clients, and audio and video communication among the experts is realized through the session connection of the peer-to-peer network.
Specifically, the present invention ensures communication security by data encryption and digital signature, and when a user registers, the management server transmits a private key specific to a service specialist to a corresponding service client, and a corresponding public key is stored in an LDAP (lightweight directory access protocol) server. In the initialization stage, the management server is responsible for positioning and retrieving all public key lists of the whole system, the management module periodically checks a certificate revocation list on the LDAP server, and timely deletes the corresponding expert account in the failed certificate. In fig. 3, which shows the process of certificate distribution and data encryption, expert a applies for and receives the certificate of B from the management server before communicating with expert B, and then the management server forwards the public key of a to B, and finally a secure communication session can be established between a and B.
In one embodiment, different service experts construct a peer-to-peer network through a service expert client, which specifically includes:
receiving a 'joining application' message sent by a maintenance client to be joined;
judging whether a group leader already exists in the cooperation group, if so, judging whether to accept the maintenance client to be added by the client of the group leader, and sending a response message to the maintenance client to be added;
and when the group leader does not exist in the cooperation group, after the maintenance client is added to wait for the preset time length, establishing a new cooperation group as the group leader.
Specifically, in the process of establishing the peer-to-peer network, the 1 st expert member joining in the collaborative session is automatically appointed as the group leader by the system, the group leader is responsible for receiving the newly joined member and distributing the group member list to all the group members besides completing the function of a general member, and when the group leader leaves the collaborative session group or a client fails and has to leave, the system automatically selects the new group leader.
In one embodiment, the number of the user to be added to the maintenance client is numbered, and after the first maintenance client to be added sends the "apply for addition" message, the method further includes: and monitoring the message of applying for joining, and if a new message of applying for joining is detected and the first client to be joined in maintenance does not receive response information sent by the group leader within the preset time, selecting the user with the minimum user number as the group leader.
Specifically, when a new member wants to connect to the system, it will send the "apply for join" message at regular time, and after the "apply for join" message is sent, the system work flow is as follows: (1) if the group leader exists in the cooperative group, judging whether to accept or reject the member applying for joining by the group leader, and sending a response message; (2) if the group leader agrees to receive the application, it adds the new member to the member list and distributes the member list in the system; (3) if the cooperative group does not exist, namely the situation of no group leader exists, the new member waits for a preset time after sending the 'apply for join' message and waits for the group leader response message. If no response of receiving or refusing is received in the period of time, the cooperative group is considered to have no other members, a new group is established and acts as a group leader; (4) in the case of parallel elections, if two new members simultaneously attempt to join a new cooperative group, both may be self-considering the group leader since no group leader currently gives a response message. In order to prevent this, the new application member also needs to monitor the "apply for join" message during the waiting reply time, if the new "apply for join" message is detected and no feedback is sent from the group leader, it indicates that there are multiple group members applying for join in a new group, at this time, the system selects the member with the smallest user ID number (number) as the group leader (wherein, the user number is determined according to the time of sending the "apply for join" message, the sending time is earlier, and the number is small).
In one embodiment, the establishing of the communication session comprises:
the maintenance expert client corresponding to the maintenance expert A sends an encrypted initialization application message to the management server, wherein the encrypted initialization application message is obtained by encrypting the initialization application message by using a private key for the maintenance expert client;
the management server decrypts the encrypted 'initialization application' message by using the public key of the maintenance expert A, then verifies the message, adds the name of the maintenance expert A into the online expert list if the verification is successful, and sends the updated online expert list to all online registered maintenance experts in real time;
the maintenance expert client corresponding to the maintenance expert A selects a maintenance expert B to be communicated from the updated online expert list, and sends a 'cooperation application' message to the maintenance expert client of the maintenance expert B;
and the maintenance expert client of the maintenance expert B returns an agreement or rejection message to the maintenance expert client of the maintenance expert A based on the 'cooperation application' message, if the agreement is returned, the communication session is successfully established, otherwise, the communication session is failed to be established.
In particular, online calls are the main functions of the system, and the workflow of call setup is described as follows: step 1: when a maintenance expert A needs to initiate a fault consultation session, firstly, an 'initialization application' message is sent to a management server, and the message is encrypted by a private key of A; step 2: after receiving the 'initialization application' message, the management server decrypts the message by using the public key of the A, if the identity authentication is successful, the name (such as a user name) of the A is added into the online expert list, and the management server distributes the updated online expert list to all online registered maintenance experts in real time; and 3, step 3: when A selects expert B from the online expert list, which indicates that A wants to communicate with B, the maintenance client of A sends a 'cooperation application' message to the client of B; and 4, step 4: b returns the agreement or rejection message of A after receiving the call connection message.
In one embodiment, when two parties to a communication session have the same data access rights, interconnecting a user application with a remote relational database through a database access module comprises:
a maintenance expert client corresponding to a maintenance expert A sends a query message for data access application to a management server, wherein the query message comprises a data query instruction;
the management server retrieves the applied maintenance record data from the remote relational database based on the query message of the maintenance expert A and transmits the data back to the maintenance expert client corresponding to the maintenance expert A;
the maintenance expert client corresponding to the maintenance expert A sends the same query message for data access application to the maintenance expert client of the maintenance expert B;
and the maintenance expert client of the maintenance expert B forwards the same query message to the management server, and receives a query result after passing the authentication of the management server, wherein the query result is the maintenance record data retrieved from the remote relational database.
Specifically, after the communication session is established, if a and B have the same data access right, please refer to fig. 3, the workflow when the same ship data needs to be shared in the session is described as follows: step 1: a, sending a query message applied for data access to a management server, wherein the query message comprises a data query instruction which is an SQL statement, for example, the query message is used for retrieving sensing data of fault equipment in a certain time period, and the management server retrieves the application data from a background database and returns the application data to A; step 2: and then the A sends the same SQL statement to the B, the B forwards the same data access application message to the management server after receiving the SQL statement, and receives the same query result from the management server after passing the identity authentication. This approach requires that a and B have the same access rights.
In one embodiment, the method for interconnecting a user application with a remote relational database through a database access module when two parties of a communication session do not have the same data access rights includes:
a daemon process is arranged on a management server, and interaction between a user and a database is managed through the daemon process;
when an unauthorized user recommends to access a section of fault data by an authorized user, the daemon process creates a temporary account for the unauthorized user, the temporary account is only effective during the session, and the temporary account is deleted after the session is finished.
In particular, if A and B have different access rights to the model device, then the data access takes another flow. The system assigns one or more roles to each maintenance expert, the roles can be classified according to regions and organizations or specialties, and the same role has the same database access authority. When more than two maintenance experts perform cross validation on fault data in one-time collaborative fault diagnosis, if only one of the experts has the authority to access the data, if authorized experts are allowed to directly forward the data to unauthorized experts, security holes may be caused, and a large flow load may be caused on an authorized expert client. For this purpose, a daemon process is designed on the management server, and the daemon process manages the interaction between the user and the database. When an unauthorized user recommends access to a certain piece of data by an authorized user, the daemon creates a temporary account for the unauthorized user, and when the collaboration is terminated, the temporary account is deleted. FIG. 4 is a timing diagram illustrating the message exchange of collaboration sessions when the permissions are different.
For example, it is assumed that experts a and B establish a collaborative fault diagnosis session, when a requests to access a certain section of maintenance data in the database, he sends the identity certificate of B to the daemon process, and the daemon process judges whether expert B can also access the same information of a according to a preset rule. If yes, a temporary session account is created, the account is valid during the session and only can access the data, account information is returned to expert A, and finally A forwards the account certificate to B, and the account certificate is displayed to the management server when the A accesses the database.
The transmission of the repair data and the trouble picture is further described below. The maintenance records are stored in a dedicated database of the management server, and the maintenance records comprise data such as equipment basic files, maintenance history, failure history and stored multimedia photos, and the data are heterogeneous. The picture data in the current maintenance record does not have a unified file format standard, and for the query convenience, the picture data needs to include a description field for storing information such as a device name, a record size, a resolution compression format, a scanning type and the like, different viewer modules need to be designed aiming at different file formats, and meanwhile, the image viewer also needs to support real-time bidirectional image interactive display, and the basic functions include: (1) and (3) image editing: regions of interest (ROIs) in the image can be edited; (2) labeling: the region of interest can be labeled; (3) multi-color channel: the expert may choose to display the picture with different spectra or colors; (4) adjusting contrast and brightness; (5) the image is enlarged or reduced. The above functions of the image viewer can be completed on the interface of the expert client end participating in the consultation session in real time.
In one embodiment, when different maintenance clients perform audio and video conferences through the audio and video conference module, the audio and video conferences are realized by adopting a dual-channel mode of TCP and UDP, wherein a TCP channel is used for transmitting text data and a call control command, and a UDP channel is used for transmitting audio and video data.
Specifically, the audio and video data transmission can be realized by using Netmeeting SDK of microsoft corporation, Netmeeting is a microsoft multimedia conference toolkit, and supports the video conference of the internet or an intranet in a point-to-point connection mode, the audio and video conference is realized by adopting a dual-channel mode of TCP and UDP, the TCP is used for transmitting text data and call control commands, the UDP is used for transmitting audio and video data, and the Winsock socket supports data transmission of a network layer and an application layer. The international standard H.323 for supporting audio-video conference in application layer, H.323, provides a set of audio-video coding and decoding standard library, and supports the transmission of audio-video data in different speed and service quality on Internet, the standard is realized based on real-time transmission protocol RTP and transmission control protocol RTCP.
In one embodiment, the method further comprises: two retrieval modes are set for the remote relational database: the method comprises full-text retrieval and metadata retrieval, wherein the full-text retrieval mode maintains a file list containing a keyword for each keyword, an importance index of the keyword is set for each file in the file list, and the metadata keywords for maintenance in the metadata retrieval comprise equipment ID, equipment name, data acquisition batch, acquisition type, acquisition time and access times.
In particular, since the repair data includes a large amount of multimedia and document information, the conventional relational database cannot fully satisfy the requirements, and two search modes are added for this purpose: full text retrieval and metadata retrieval. The full-text retrieval mode maintains a file list containing the keyword for each keyword, and calculates an importance index of the keyword for each file in the file list, for example, by using a TF-IDF (term frequency-inverse file frequency) formula.
Metadata retrieval is more efficient for hierarchical service data because the header of each service file is associated with a set of key/value data, e.g., a text. The maintenance metadata key words comprise equipment ID, equipment name, data acquisition batch, acquisition type, acquisition time, access times and the like.
The system builds the index in two stages. When the system starts to be implemented, the index software module scans all maintenance files on the machine and establishes an index, and after the scanning is finished, the system enters a stable state, namely a file system monitoring state. When the maintenance file is changed, namely created, modified or deleted, the file monitoring module updates the related index, the file system monitoring function can be realized through a Java native interface JNI, when the file is changed, the JNI generates an event and calls a callback function, and the callback function is responsible for updating the metadata index.
The index-based search mechanism is further described next. The system supports two modes: local search and full web search. The local search only searches local files and databases; the searching instruction is broadcasted to all management servers in the maintenance network during the whole network searching, when the management servers of other working domains receive the searching instruction, the searching is carried out in the local execution file and the database, the result is returned to the management server which sends the calling, and after receiving all the returned results, the calling management server combines the returned results and returns the results to the user.
The main advantages of the invention include: (1) the hybrid peer-to-peer network architecture is provided, namely, the problems of server load and single-point fault risk are solved through self-organization of the peer-to-peer network, and the system performance is not influenced by utilizing the mature operating environment of a client/server architecture; (2) a lightweight data access mode is proposed that reduces network traffic load without degrading security levels.
Since the method described in the second embodiment of the present invention is implemented based on the ship remote maintenance information management system based on the hybrid peer-to-peer network in the first embodiment of the present invention, a specific implementation form of the method can be known by those skilled in the art based on the system described in the first embodiment of the present invention, and thus, details are not described herein. All the methods implemented by the system according to the first embodiment of the present invention belong to the protection scope of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (10)

1. A ship remote maintenance information management system based on a hybrid peer-to-peer network is characterized by comprising:
the system comprises a maintenance expert client, a management server, a database access module, a call management module and an audio and video conference module, wherein the registration module is used for sending registration information to the management server, the security module is used for encrypting data of the system through an encryption function of a secure socket layer protocol, the database access module is used for interconnecting a user application program and a remote relational database, the remote relational database is used for storing heterogeneous maintenance record data, and the maintenance record data comprises a basic equipment file, maintenance history, fault history and multimedia photo data, and corresponding maintenance record data is inquired from the remote relational database through inquiry information; the call management module is used for call management of the remote video conference, and the call management comprises establishment, interruption and revocation of a communication session; the audio and video conference module is used for carrying out audio and video conference through a connectionless UDP protocol, different maintenance experts construct a point-to-point peer-to-peer network through maintenance expert client terminals, and audio and video communication among the experts is realized through session connection of the peer-to-peer network;
the certificate server is used for storing the digital certificate provided by the authoritative certification authority;
the directory server is used for storing a public key list of the remote maintenance information management system;
and the management server is a switching center of the remote maintenance information management system and is used for positioning and retrieving the public key list in the directory server and the digital certificate on the certificate server after receiving the registration information of the maintenance expert client, verifying the registration information and sending a corresponding private key.
2. The remote marine service information management system of claim 1, wherein the service client further comprises an image processing module and an image viewer,
the image processing module is used for processing the fault pictures, the image browser is used for displaying the processed fault pictures, and the image processing module and the image browser are used for achieving a whiteboard function of the fault pictures.
3. A ship remote maintenance information management method based on a hybrid peer-to-peer network is characterized by being applied to a maintenance expert client, a certificate server, a directory server and a management server, wherein the maintenance expert client comprises an image processing module, an image browser, a security module, a database access module, a call management module and an audio and video conference module, and comprises the following steps:
the method comprises the steps that registration information is sent to a management server through a registration module, a private key sent by the management server is received, the private key is located and retrieved by the management server based on the registration information, a public key list in a directory server and a digital certificate on a certificate server are located and retrieved by the management server, and the private key is sent after verification is passed; encrypting the data of the system by the security module based on the encryption function of the secure socket layer protocol;
the method comprises the steps that a user application program and a remote relational database are interconnected through a database access module, corresponding maintenance record data are inquired from the remote relational database through inquiry messages, wherein the maintenance record data are heterogeneous data and are stored in the remote relational database in advance and comprise equipment basic files, maintenance histories, fault histories and multimedia photo data;
performing call management of the remote video conference through a call management module, wherein the call management comprises establishment, interruption and cancellation of a communication session;
after the session connection is established, different maintenance clients carry out audio and video conferences through an audio and video conference module, different maintenance experts construct a point-to-point peer-to-peer network through the maintenance expert clients, and audio and video communication among the experts is realized through the session connection of the peer-to-peer network.
4. The remote ship maintenance information management method according to claim 3, wherein different maintenance specialists construct a peer-to-peer network through maintenance specialist clients, specifically comprising:
receiving a 'joining application' message sent by a maintenance client to be joined;
judging whether a group leader already exists in the cooperation group, if so, judging whether to accept the maintenance client to be added by the client of the group leader, and sending a response message to the maintenance client to be added;
and when the group leader does not exist in the cooperation group, after the maintenance client is added to wait for the preset time length, establishing a new cooperation group as the group leader.
5. The remote ship maintenance information management method according to claim 4, wherein the users to be joined to the maintenance client are numbered, and after the first maintenance client to be joined sends the "apply for join" message, the method further comprises: and monitoring the message of applying for joining, and if a new message of applying for joining is detected and the first client to be joined in maintenance does not receive response information sent by the group leader within the preset time, selecting the user with the minimum user number as the group leader.
6. The remote marine vessel service information management method as claimed in claim 3, wherein the establishing of the communication session includes:
the maintenance expert client corresponding to the maintenance expert A sends an encrypted initialization application message to the management server, wherein the encrypted initialization application message is obtained by encrypting the initialization application message by using a private key for the maintenance expert client;
the management server decrypts the encrypted 'initialization application' message by using the public key of the maintenance expert A, then verifies the message, adds the name of the maintenance expert A into the online expert list if the verification is successful, and sends the updated online expert list to all online registered maintenance experts in real time;
the maintenance expert client corresponding to the maintenance expert A selects a maintenance expert B to be communicated from the updated online expert list, and sends a 'cooperation application' message to the maintenance expert client of the maintenance expert B;
and the maintenance expert client of the maintenance expert B returns an agreement or rejection message to the maintenance expert client of the maintenance expert A based on the 'cooperation application' message, if the agreement is returned, the communication session is successfully established, otherwise, the communication session is failed to be established.
7. The remote marine vessel service information management method of claim 6, wherein interconnecting the user application with the remote relational database via the database access module when both parties of the communication session have the same data access rights comprises:
a maintenance expert client corresponding to a maintenance expert A sends a query message for data access application to a management server, wherein the query message comprises a data query instruction;
the management server retrieves the applied maintenance record data from the remote relational database based on the query message of the maintenance expert A and transmits the data back to the maintenance expert client corresponding to the maintenance expert A;
the maintenance expert client corresponding to the maintenance expert A sends the same query message for data access application to the maintenance expert client of the maintenance expert B;
and the maintenance expert client of the maintenance expert B forwards the same query message to the management server, and receives a query result after passing the authentication of the management server, wherein the query result is the maintenance record data retrieved from the remote relational database.
8. The remote ship maintenance information management method of claim 6, wherein the two parties include an authorized user and an unauthorized user, and when the two parties of the communication session do not have the same data access right, the user application is interconnected with the remote relational database through the database access module, comprising:
a daemon process is arranged on a management server, and interaction between a user and a database is managed through the daemon process;
when an unauthorized user recommends to access a section of fault data by an authorized user, the daemon process creates a temporary account for the unauthorized user, the temporary account is only effective during the session, and the temporary account is deleted after the session is finished.
9. The ship remote maintenance information management method according to claim 3, wherein when different maintenance clients perform audio and video conferences through the audio and video conference module, the method is implemented in a dual-channel manner of TCP and UDP, the TCP channel is used for transmitting text data and call control commands, and the UDP channel is used for transmitting audio and video data.
10. The remote maintenance information management method for a marine vessel according to claim 3, further comprising: two retrieval modes are set for the remote relational database: the method comprises full-text retrieval and metadata retrieval, wherein the full-text retrieval mode maintains a file list containing a keyword for each keyword, an importance index of the keyword is set for each file in the file list, and the metadata keywords for maintenance in the metadata retrieval comprise equipment ID, equipment name, data acquisition batch, acquisition type, acquisition time and access times.
CN202010928726.7A 2020-09-07 2020-09-07 Ship remote maintenance information management system based on hybrid peer-to-peer network Pending CN112101590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010928726.7A CN112101590A (en) 2020-09-07 2020-09-07 Ship remote maintenance information management system based on hybrid peer-to-peer network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010928726.7A CN112101590A (en) 2020-09-07 2020-09-07 Ship remote maintenance information management system based on hybrid peer-to-peer network

Publications (1)

Publication Number Publication Date
CN112101590A true CN112101590A (en) 2020-12-18

Family

ID=73757618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010928726.7A Pending CN112101590A (en) 2020-09-07 2020-09-07 Ship remote maintenance information management system based on hybrid peer-to-peer network

Country Status (1)

Country Link
CN (1) CN112101590A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889676A (en) * 2006-06-01 2007-01-03 上海交通大学 Video frequency session system based on P2P and SIP and realizing method thereof
CN101304423A (en) * 2008-07-08 2008-11-12 北京邮电大学 Method and system for authenticating user identification
CN101309296A (en) * 2008-06-13 2008-11-19 南京邮电大学 Method for enhancing grid data access performance
CN102821118A (en) * 2011-06-10 2012-12-12 中兴通讯股份有限公司 Method and system for backing up services in network with heterogeneous nodes
CN102893572A (en) * 2010-04-07 2013-01-23 苹果公司 Device for registering client computing devices for online communication sessions
CN105404701A (en) * 2015-12-31 2016-03-16 浙江图讯科技股份有限公司 Peer-to-peer network-based heterogeneous database synchronization method
CN106227775A (en) * 2016-07-18 2016-12-14 浪潮集团有限公司 A kind of expansible WEB service search method based on double-decker overlapping network
CN106682401A (en) * 2016-12-13 2017-05-17 珠海迪尔生物工程有限公司 Remote medical picture reading system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889676A (en) * 2006-06-01 2007-01-03 上海交通大学 Video frequency session system based on P2P and SIP and realizing method thereof
CN101309296A (en) * 2008-06-13 2008-11-19 南京邮电大学 Method for enhancing grid data access performance
CN101304423A (en) * 2008-07-08 2008-11-12 北京邮电大学 Method and system for authenticating user identification
CN102893572A (en) * 2010-04-07 2013-01-23 苹果公司 Device for registering client computing devices for online communication sessions
CN102821118A (en) * 2011-06-10 2012-12-12 中兴通讯股份有限公司 Method and system for backing up services in network with heterogeneous nodes
CN105404701A (en) * 2015-12-31 2016-03-16 浙江图讯科技股份有限公司 Peer-to-peer network-based heterogeneous database synchronization method
CN106227775A (en) * 2016-07-18 2016-12-14 浪潮集团有限公司 A kind of expansible WEB service search method based on double-decker overlapping network
CN106682401A (en) * 2016-12-13 2017-05-17 珠海迪尔生物工程有限公司 Remote medical picture reading system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱政: "基于对等网的异构数据集成系统的研究", 通信技术, vol. 42, no. 6, pages 191 - 193 *

Similar Documents

Publication Publication Date Title
US8214395B2 (en) Tracking and editing a resource in a real-time collaborative session
US6567813B1 (en) Quality of service maintenance for distributed collaborative computing
US6901448B2 (en) Secure communications system for collaborative computing
US8412773B1 (en) Methods, systems and program products for initiating a process on data network
US7523163B2 (en) Distributed network system architecture for collaborative computing
KR100331685B1 (en) Cooperative appartus for editing documnet and method using the same
RU2459371C2 (en) Distributed scaled connected architecture of conference call
US6925645B2 (en) Fault tolerant server architecture for collaborative computing
US7461347B2 (en) Distributed document sharing
US8144632B1 (en) Methods, systems and program products for efficient communications during data sharing event
US20030167304A1 (en) Distributed meeting management
US20050086556A1 (en) Fault-tolerant server for collaborative computing
US20030167303A1 (en) Fault-tolerant distributed system for collaborative computing
US20030167302A1 (en) Scalable distributed network system for collaborative computing
CN1813251A (en) A streaming based contents distribution network system and methods for splitting, merging and retrieving files
US20170323273A1 (en) An Online Meeting System and Method
US8682969B1 (en) Framed event system and method
US8023437B1 (en) Methods, systems and program products for a distributed communications configuration
US20060161651A1 (en) Managing resources within a fault tolerant collaboration system
CN112101590A (en) Ship remote maintenance information management system based on hybrid peer-to-peer network
US11917253B2 (en) System and method for facilitating a virtual screening
CN113973218A (en) Interactive video generation method, client and script server
CN116684223A (en) Monitoring video conversion gateway
CN117097540A (en) Campus identity verification safety management method based on intelligent network connection
JP2012156759A (en) Video conference system

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