CN112671634A - Websocket-based engineering field management communication method - Google Patents
Websocket-based engineering field management communication method Download PDFInfo
- Publication number
- CN112671634A CN112671634A CN202011514484.3A CN202011514484A CN112671634A CN 112671634 A CN112671634 A CN 112671634A CN 202011514484 A CN202011514484 A CN 202011514484A CN 112671634 A CN112671634 A CN 112671634A
- Authority
- CN
- China
- Prior art keywords
- task
- websocket
- instant messaging
- server
- cluster
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 32
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000002457 bidirectional effect Effects 0.000 claims abstract description 9
- 238000012546 transfer Methods 0.000 claims description 3
- 238000013507 mapping Methods 0.000 abstract description 3
- 238000007726 management method Methods 0.000 description 7
- 238000012550 audit Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a websocket-based engineering field management communication method, which adopts a websocket protocol based on HTML5 to establish a bidirectional connecting channel between a client and a server, so as to realize real full-duplex communication. The related persons are automatically grouped into discussion groups while creating task instances. When the relevant personnel leave the current post, the system automatically leaves the relevant personnel out of the discussion group, thereby greatly facilitating the operation of the user. The members in the group can receive the push prompt of the unread messages in the group at any time, and the working progress is ensured. The project manager can check the current members in the group in real time and can perform one-to-one communication when necessary. The instant messaging server and the database server are deployed in an intranet, and extranet access can be realized only by mapping extranet addresses, so that the reliability of application service and the safety of service data are greatly ensured.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a websocket-based engineering field management communication method.
Background
The MSS field management system in China telecom centralizes, the national project managers need to communicate with each construction unit in real time, and the instant communication system on the market at present has some problems due to the problem of service fit tightness:
1. insecurity of operation: uncertain factors of identity confirmation exist in personnel application and audit and personnel leave, and various personnel are often mixed. Discussion group entries are diverse and cannot be unified.
2. Inconvenience of operation: members need to be added or deleted manually, and information leakage or poor notification often occur due to untimely operation.
3. Data insecurity: the data is stored in a third-party database, and the 100% safety of the data cannot be guaranteed.
4. Network insecurity: applications and databases are deployed on public networks or public clouds and often face the threat of network attacks.
Disclosure of Invention
The invention aims to provide a websocket-based engineering field management communication method.
The technical scheme adopted by the invention is as follows:
the engineering field management communication method based on the websocket comprises the steps that an adopted system comprises a server arranged in an intranet and a plurality of clients connected with the server, the server comprises a flow control Nginx cluster and an instant messaging Nginx cluster, the clients are connected into the flow control Nginx cluster through routers, the flow control Nginx cluster is connected with the instant messaging Nginx cluster, an instant messaging system is deployed on the instant messaging Nginx cluster, and the instant messaging Nginx cluster is respectively connected with a Redis cluster and a database cluster; the method comprises the following specific steps:
step 1, establishing a bidirectional connecting channel between a client and a server;
step 2, the payroll creates projects through the client and generates task instances, and fills task associated information on the task instances,
step 3, after the task instance is successfully created, the instant messaging Nginx cluster automatically generates a task discussion group of related personnel;
step 4, the related personnel carry out communication in the discussion group,
step 5, the engineering manager changes, adds or deletes related personnel through the client, and the task discussion group synchronously updates members in the corresponding group;
and 6, synchronously archiving the information in the task discussion group during task archiving.
Further, as a preferred embodiment, in step 1, a tcp-based bidirectional connection channel is established between the client and the server based on the websocket protocol of HTML 5.
Further, as a preferred embodiment, the task related information in step 2 includes related personnel of the task.
Further, as a preferred embodiment, the communication exchange includes text messaging, picture messaging, and file transfer.
Further, as a preferred embodiment, in step 4, for the people whose task discussion group is not on-line, the instant messaging nginnx cluster pushes a message in the reminding task discussion group in time.
Further, as a preferred embodiment, the information archived in step 6 is only allowed to be viewed by persons with specific rights.
By adopting the technical scheme, the invention establishes a bidirectional connecting channel based on tcp between the client (browser) and the server by adopting the websocket protocol based on HTML5, realizes real full-duplex communication, replaces the traditional polling or long-polling communication mode, saves server resources and greatly improves communication efficiency. Related personnel can be automatically grouped into discussion groups while the task instances are created, and the engineering manager is not required to manually add the personnel. When the relevant personnel leave the current post, the system automatically leaves the relevant personnel out of the discussion group, thereby greatly facilitating the operation of the user. Today, the information security is increasingly important, and the security and the timeliness of service data can be better protected. The members in the group can receive the push prompt (APP end) of the unread messages in the group at any time, and the working progress is guaranteed. And the engineering manager can check the current members in the group in real time and can perform one-to-one communication when necessary. The application server and the database server are deployed in a group intranet, and are accessed by an extranet, and the access can be realized only by mapping an extranet address, so that the reliability of the application service and the safety of service data are greatly ensured.
Drawings
The invention is described in further detail below with reference to the accompanying drawings and the detailed description;
FIG. 1 is a schematic diagram of a system in which the present invention is used;
FIG. 2 is a schematic flow chart of the websocket-based engineering field management communication method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
As shown in fig. 1 or fig. 2, the invention discloses a websocket-based engineering field management communication method, an adopted system comprises a server arranged in an intranet and a plurality of clients connected with the server, the server comprises a flow control Nginx cluster and an instant messaging Nginx cluster, the clients are connected with the flow control Nginx cluster through routers, the flow control Nginx cluster is connected with the instant messaging Nginx cluster, an instant messaging system is deployed on the instant messaging Nginx cluster, and the instant messaging Nginx cluster is respectively connected with a Redis cluster and a database cluster; the method comprises the following specific steps:
step 1, establishing a bidirectional connecting channel between a client and a server;
step 2, the payroll creates projects through the client and generates task instances, and fills task associated information on the task instances,
step 3, after the task instance is successfully created, the instant messaging Nginx cluster automatically generates a task discussion group of related personnel;
step 4, the related personnel carry out communication in the discussion group,
step 5, the engineering manager changes, adds or deletes related personnel through the client, and the task discussion group synchronously updates members in the corresponding group;
and 6, synchronously archiving the information in the task discussion group during task archiving.
Further, as a preferred embodiment, in step 1, a tcp-based bidirectional connection channel is established between the client and the server based on the websocket protocol of HTML 5.
Further, as a preferred embodiment, the task related information in step 2 includes related personnel of the task.
Further, as a preferred embodiment, the communication exchange includes text messaging, picture messaging, and file transfer.
Further, as a preferred embodiment, in step 4, for the people whose task discussion group is not on-line, the instant messaging nginnx cluster pushes a message in the reminding task discussion group in time.
Further, as a preferred embodiment, the information archived in step 6 is only allowed to be viewed by persons with specific rights.
By adopting the technical scheme, the invention establishes a bidirectional connecting channel based on tcp between the client (browser) and the server by adopting the websocket protocol based on HTML5, realizes real full-duplex communication, replaces the traditional polling or long-polling communication mode, saves server resources and greatly improves communication efficiency. Related personnel can be automatically grouped into discussion groups while the task instances are created, and the engineering manager is not required to manually add the personnel. When the relevant personnel leave the current post, the system automatically leaves the relevant personnel out of the discussion group, thereby greatly facilitating the operation of the user. Today, the information security is increasingly important, and the security and the timeliness of service data can be better protected. The members in the group can receive the push prompt (APP end) of the unread messages in the group at any time, and the working progress is guaranteed. And the engineering manager can check the current members in the group in real time and can perform one-to-one communication when necessary. The application server and the database server are deployed in a group intranet, and are accessed by an extranet, and the access can be realized only by mapping an extranet address, so that the reliability of the application service and the safety of service data are greatly ensured.
It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. The embodiments and features of the embodiments in the present application may be combined with each other without conflict. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the detailed description of the embodiments of the present application is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. 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 application.
Claims (6)
1. The engineering field management communication method based on the websocket comprises the steps that an adopted system comprises a server arranged in an intranet and a plurality of clients connected with the server, the server comprises a flow control Nginx cluster and an instant messaging Nginx cluster, the clients are connected into the flow control Nginx cluster through routers, the flow control Nginx cluster is connected with the instant messaging Nginx cluster, an instant messaging system is deployed on the instant messaging Nginx cluster, and the instant messaging Nginx cluster is respectively connected with a Redis cluster and a database cluster; the method is characterized in that: the method comprises the following specific steps:
step 1, establishing a bidirectional connecting channel between a client and a server;
step 2, the payroll creates projects through the client and generates task instances, and fills task associated information on the task instances,
step 3, after the task instance is successfully created, the instant messaging Nginx cluster automatically generates a task discussion group of related personnel;
step 4, the related personnel carry out communication in the discussion group,
step 5, the engineering manager changes, adds or deletes related personnel through the client, and the task discussion group synchronously updates members in the corresponding group;
and 6, synchronously archiving the information in the task discussion group during task archiving.
2. The websocket-based engineering field management communication method of claim 1, wherein: in step 1, a bidirectional connection channel based on tcp is established between the client and the server based on a websocket protocol of HTML 5.
3. The websocket-based engineering field management communication method of claim 1, wherein: and in the step 2, the task associated information comprises related personnel of the task.
4. The websocket-based engineering field management communication method of claim 1, wherein: the communication exchange includes text messaging, picture sending and file transfer.
5. The websocket-based engineering field management communication method of claim 1, wherein: and 4, for the personnel of the task discussion group who is not on line, the instant messaging Nginx cluster pushes a message in the reminding task discussion group in time.
6. The websocket-based engineering field management communication method of claim 1, wherein: the information archived in step 6 is only allowed to be viewed by persons with specific rights.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011514484.3A CN112671634A (en) | 2020-12-21 | 2020-12-21 | Websocket-based engineering field management communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011514484.3A CN112671634A (en) | 2020-12-21 | 2020-12-21 | Websocket-based engineering field management communication method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112671634A true CN112671634A (en) | 2021-04-16 |
Family
ID=75406427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011514484.3A Pending CN112671634A (en) | 2020-12-21 | 2020-12-21 | Websocket-based engineering field management communication method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112671634A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104537518A (en) * | 2014-12-18 | 2015-04-22 | 四川联友电讯技术有限公司 | Enterprise mobile office system based on groups |
CN104573921A (en) * | 2014-12-18 | 2015-04-29 | 四川联友电讯技术有限公司 | Group-based task allocation method through enterprise mobile office system |
US20150180920A1 (en) * | 2013-12-19 | 2015-06-25 | Robert Hunter | Methods and systems for secure data communication and system monitoring |
CN105989438A (en) * | 2015-02-10 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Task relation management method, apparatus and system thereof, and electronic equipment |
CN106651073A (en) * | 2015-11-03 | 2017-05-10 | 中国联合网络通信有限公司广州市分公司 | Task distribution management system and method thereof |
CN107733782A (en) * | 2017-09-22 | 2018-02-23 | 上海量明科技发展有限公司 | The method, apparatus and system of group is generated according to task |
CN109714241A (en) * | 2017-10-25 | 2019-05-03 | 阿里巴巴集团控股有限公司 | The task processing method of group and the Task Processing Unit of group |
CN110138858A (en) * | 2019-05-14 | 2019-08-16 | 北京杰思安全科技有限公司 | A kind of task management system and method based on Websocket |
-
2020
- 2020-12-21 CN CN202011514484.3A patent/CN112671634A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150180920A1 (en) * | 2013-12-19 | 2015-06-25 | Robert Hunter | Methods and systems for secure data communication and system monitoring |
CN104537518A (en) * | 2014-12-18 | 2015-04-22 | 四川联友电讯技术有限公司 | Enterprise mobile office system based on groups |
CN104573921A (en) * | 2014-12-18 | 2015-04-29 | 四川联友电讯技术有限公司 | Group-based task allocation method through enterprise mobile office system |
CN105989438A (en) * | 2015-02-10 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Task relation management method, apparatus and system thereof, and electronic equipment |
CN106651073A (en) * | 2015-11-03 | 2017-05-10 | 中国联合网络通信有限公司广州市分公司 | Task distribution management system and method thereof |
CN107733782A (en) * | 2017-09-22 | 2018-02-23 | 上海量明科技发展有限公司 | The method, apparatus and system of group is generated according to task |
CN109714241A (en) * | 2017-10-25 | 2019-05-03 | 阿里巴巴集团控股有限公司 | The task processing method of group and the Task Processing Unit of group |
CN110138858A (en) * | 2019-05-14 | 2019-08-16 | 北京杰思安全科技有限公司 | A kind of task management system and method based on Websocket |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7505574B2 (en) | Method and system for providing an improved communications channel for telephone conference initiation and management | |
CA2707467C (en) | Extended messaging platform | |
US10193848B2 (en) | System and related method for management of devices of a network system via social media interfaces | |
JP2007502554A (en) | Network asset tracker that identifies users of networked computers | |
CN103916296A (en) | Communication system integrated with local area network | |
CN1209894C (en) | Reliable message transmitting method of simple network management protocol | |
CN105490872A (en) | Real-time monitoring system and monitoring method of internet instant messaging information | |
CN109151056B (en) | Method and system for pushing messages based on Canal | |
CN107342896A (en) | A kind of information acquisition method, apparatus and system | |
CN105207860A (en) | Business acceleration system and method | |
CN108494848B (en) | Enterprise message pushing method based on MQTT | |
CN103391303A (en) | Service fault noticing method and server using same | |
CN110417875B (en) | Method, system, equipment and storage medium for docking between cloud servers | |
CN112671634A (en) | Websocket-based engineering field management communication method | |
CN109379276A (en) | A kind of method and system carrying out instant messaging based on mail protocol | |
CN112787906A (en) | Message pushing system based on cloud desktop platform | |
CN103634274A (en) | Safe method for video exchange and system | |
CN108989467B (en) | Centralized addressing method | |
CN112929256A (en) | Communication method, device, system and computer storage medium | |
CN110365571B (en) | Method for real-time communication between enterprise-specific closed real-time communication system and external personnel | |
CN113191621A (en) | Intelligent integrated voice service management platform based on data and service fusion | |
CN107317741A (en) | It is a kind of to support while connecting the instant communication client of multiserver | |
TWI754561B (en) | Instant messaging system and method thereof and computer readable medium | |
CN111343261A (en) | Mobile phone data backup method based on wireless hotspot transmission | |
CN110995573A (en) | Cross-platform instant messaging method, device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210416 |
|
RJ01 | Rejection of invention patent application after publication |