Real-time interaction method and system of PCB layout multi-person online platform
By using identity identification information to find user information in the PCB layout multi-person online platform, real-time online interaction and same-frequency communication are achieved, the problem of inability to interact online by multiple people in the existing technology is solved, and the communication efficiency is improved and the communication process is recorded.
Patent Information
- Application Number
- CN202510367211.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-07-11
AI Technical Summary
The existing PCB layout online viewing platform cannot realize real-time online interaction among multiple people, and user communication can only be carried out through private messages or calls, and cannot be recorded and traced.
It provides a real-time interaction method for a multi-person online platform for PCB layout. It searches user information in the cache server through identity identification information and sends operation and interaction information to realize online real-time interaction and same-frequency communication between different users, and records and traces the user communication process.
It realizes online real-time interaction and synchronous communication between different users about the PCB layout, reduces the need for private communication, improves communication efficiency, and can record and trace the communication process.
Smart Images

Figure CN120296252A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of PCB drawing, and more specifically, to a real-time interaction method and system for a multi-person online platform of PCB layout. Background Art
[0002] The PCB layout, that is, the printed circuit board layout, is the process of converting the components and circuit connections in the circuit diagram into an actual physical layout in electronic design, which includes specific information such as component positions, wire routing, and circuit hierarchy.
[0003] Cadence al legro, Altium Designer, and Personal Automated Design System are commonly used mainstream software for PCB layout design, which are often used by independent teams for PCB layout design, but are not suitable for online application environments for multi-person editing, drawing, or review, and cannot provide online communication for different users regarding PCB layout.
[0004] Currently, there is an online PCB viewing platform, but this online PCB viewing platform can only provide users with the function of online viewing PCB layout. The communication, discussion, and other exchanges between different users regarding the PCB layout can only be carried out privately through messages or calls, etc., and cannot be carried out online on the PCB viewing platform. Therefore, it is also impossible to record and trace the exchanges between different users regarding the PCB layout. Summary of the Invention
[0005] The objective of this application is to provide a real-time interaction method, system, electronic device, and storage medium for a multi-person online platform of PCB layout, which can realize the online real-time interaction between different users regarding the PCB layout, without the need for different users to privately communicate through messages or calls, etc., and can thus record and trace the exchanges between different users regarding the PCB layout.
[0006] To achieve the above objective, in a first aspect, this application provides a real-time interaction method for a multi-person online platform of PCB layout, including:
[0007] Receiving the identification information of the PCB design drawing, the operation information of the PCB design drawing, and the interaction information sent by the first user terminal through the corresponding identification information, where the interaction information includes at least one of text information, images, or videos;
[0008] Searching for the user information of the second user terminal in the cache server according to the identification information of the PCB design drawing;
[0009] Send the operation information and the interaction information of the PCB design drawing to the second client according to the user information and the corresponding identity identification information of the second client, so that the second client performs corresponding operations on the PCB design drawing according to the operation information of the PCB design drawing, and so that the second client displays the interaction information in the information interaction box.
[0010] In a preferred embodiment of the present application, the method further includes:
[0011] Receive the sharing request of the PCB design drawing and the access address of the PCB design drawing sent by the first client;
[0012] Generate a corresponding access link for the PCB design drawing according to the access address of the PCB design drawing;
[0013] When the second client opens the corresponding PCB design drawing through the access link of the PCB design drawing, find the access address of the PCB design drawing according to the access link of the PCB design drawing, and send an access instruction for the access address of the PCB design drawing to the second client, so that the second client opens the corresponding PCB design drawing.
[0014] In a preferred embodiment of the present application, after generating the corresponding access link for the PCB design drawing according to the access address of the PCB design drawing, the method further includes:
[0015] Record the user information of the first client and the access link of the PCB design drawing;
[0016] Record the mapping relationship among the user information of the first client, the access link of the PCB design drawing, and the access address of the PCB design drawing;
[0017] The finding the access address of the PCB design drawing according to the access link of the PCB design drawing includes:
[0018] Record the user information of the second client;
[0019] Find the user information of the first client according to the access link of the PCB design drawing, and associate and store the user information of the first client, the user information of the second client, the access address of the PCB design drawing, and the access link of the PCB design drawing;
[0020] Find the access address of the PCB design drawing according to the access link of the PCB design drawing.
[0021] In a preferred embodiment of the present application, the access instruction for sending the access address of the PCB design drawing to the second client, so that the second client opens the corresponding PCB design drawing, includes:
[0022] Send an access instruction to the second client that redirects to the access address of the PCB design drawing, so that the second client redirects to the access address of the PCB design drawing according to the access instruction and opens the corresponding PCB design drawing.
[0023] In a preferred embodiment of the present application, the method further includes:
[0024] Receive the identification information of the PCB design drawing and the user information of the first client sent by the first client through the corresponding identification information;
[0025] Store the identification information of the PCB design drawing and the user information of the first client in the cache server;
[0026] Find the user information of the second client from the cache server according to the identification information of the PCB design drawing and the user information of the first client;
[0027] Obtain the identification information corresponding to the second client according to the user information of the second client;
[0028] Send the user information list of the PCB design drawing to the first client and the second client through the corresponding identification information, so that the first client and the second client update the online communication user list.
[0029] In a preferred embodiment of the present application, the method further includes:
[0030] Receive the heartbeat messages of the first client and the second client;
[0031] When the heartbeat messages of the first client and / or the second client are not received within a predetermined time, delete the user information of the first client and / or the second client associated with the PCB design drawing in the cache server.
[0032] In a preferred embodiment of the present application, the method further includes:
[0033] Receive the logout message, user information and the identification information of the PCB design drawing sent by the first client or the second client;
[0034] Find the user information of the second client or the first client from the cache server according to the identification information of the PCB design drawing;
[0035] Send a corresponding deletion instruction to the first client or the second client according to the corresponding identity identification information and the user information of the second client or the first client, so that the first client or the second client deletes the user information of the second client or the first client;
[0036] Delete the user information of the second client or the first client from the online communication user list, and cause the cache server to delete the user information of the second client or the first client associated with the PCB design diagram.
[0037] In a second aspect, the present application provides a real-time interaction system for a multi-person online platform for PCB layout, including:
[0038] A receiving module, configured to receive the identification information of the PCB design diagram, the operation information of the PCB design diagram, and the interaction information sent by the first client through the corresponding identity identification information, where the interaction information includes at least one of text information, images, or videos;
[0039] A searching module, configured to search for the user information of the second client in the cache server according to the identification information of the PCB design diagram;
[0040] A sending module, configured to send the operation information of the PCB design diagram and the interaction information to the second client according to the user information of the second client and the corresponding identity identification information, so that the second client performs corresponding operations on the PCB design diagram according to the operation information of the PCB design diagram, and so that the second client displays the interaction information in the information interaction box.
[0041] In a third aspect, the present application provides an electronic device, including a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to cause the electronic device to execute the above-mentioned real-time interaction method for a multi-person online platform for PCB layout.
[0042] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements the above-mentioned real-time interaction method for a multi-person online platform for PCB layout.
[0043] Compared with the prior art, the real-time interaction method, system, electronic device, and storage medium for a multi-person online platform for PCB layout of the present application have at least the following beneficial effects:
[0044] In this application, the identification information of the PCB design drawing sent by the first client using the corresponding identity identification information is used to search for the user information of the second client in the cache server. The second client is the client that views the corresponding PCB design drawing except the first client. Then, according to the user information of the second client and the corresponding identity identification information, the operation information and interaction information of the PCB design drawing of the first client are sent to the second client, so that the second client can perform corresponding operations on the PCB design drawing according to the operation information of the PCB design drawing, thereby enabling different users to focus on the same content of the PCB design drawing, and enabling the second client to display the interaction information in the information interaction box for the user of the second client to view the interaction information in real time, so as to realize the online real-time interaction and synchronous communication of different users regarding the PCB layout, which can be carried out without different users privately through means such as messages or calls, and further enable the recording and traceability of the communication of different users regarding the PCB layout. Description of the Drawings
[0045] In order to more clearly illustrate the technical solutions of the embodiments of this application, the drawings required to be used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0046] Figure 1 It is a schematic flowchart of the real-time interaction method of the multi-person online platform for PCB layout provided by the embodiment of this application;
[0047] Figure 2 It is a schematic flowchart of the first remaining process of the real-time interaction method of the multi-person online platform for PCB layout provided by the embodiment of this application;
[0048] Figure 3 It is a schematic flowchart of the second remaining process of the real-time interaction method of the multi-person online platform for PCB layout provided by the embodiment of this application;
[0049] Figure 4 It is a schematic flowchart of the third remaining process of the real-time interaction method of the multi-person online platform for PCB layout provided by the embodiment of this application;
[0050] Figure 5 It is a block diagram of the structure of the real-time interaction system of the multi-person online platform for PCB layout provided by the embodiment of this application;
[0051] Figure 6 It is a schematic internal structure diagram of the electronic device provided by the embodiment of this application. Detailed Embodiments
[0052] The following describes in further detail the specific implementation manners of the present application in conjunction with the accompanying drawings and embodiments. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.
[0053] Currently, the online PCB viewing platform can only provide users with the function of viewing the PCB layout online. The communication and discussion among different users about the PCB layout can only be carried out privately through messages or calls, etc., and cannot be carried out online on the PCB viewing platform. Therefore, the communication among different users about the PCB layout cannot be recorded and traced.
[0054] In view of the above problems in the prior art, the embodiments of the present application provide a real-time interaction method, system, electronic device and storage medium for a multi-person online platform for PCB layout, which can realize the online real-time interaction among different users about the PCB layout, without the need for different users to privately communicate through messages or calls, etc., and can further record and trace the communication among different users about the PCB layout.
[0055] See Figure 1 , Figure 1 which is a schematic flowchart of the real-time interaction method for a multi-person online platform for PCB layout provided by the embodiments of the present application.
[0056] In the embodiments of the present application, the following real-time interaction method for a multi-person online platform for PCB layout can be applied to computer devices such as servers.
[0057] The embodiments of the present application provide a real-time interaction method for a multi-person online platform for PCB layout, which is based on the WebSocket protocol of full-duplex communication. The multi-person online platform for PCB layout is applied to browsers. Different user terminals can establish two-way communication with the server through the WebSocket protocol of full-duplex communication in the browser. The method includes the following steps:
[0058] Step S110, receiving the identification information of the PCB design diagram, the operation information of the PCB design diagram and the interaction information sent by the first user terminal through the corresponding identification information of the identity.
[0059] The first user terminal is the object for sending interaction information to the other user terminals that are viewing the PCB design diagram online. The PCB design diagram viewed by the first user terminal and the other user terminals is the same PCB design diagram.
[0060] The identification information of the identity of the first user terminal is the unique identity of the first user terminal, and different user terminals have their own unique identification information of the identity.
[0061] In one embodiment, the identification information of the PCB design diagram can be the unique identification ID of the PCB design diagram; the interaction information can include at least one of text information, images or videos.
[0062] In one embodiment, the operation information of the PCB design drawing may include the positioning information of the PCB design drawing. The positioning information of the PCB design drawing may include at least one of the viewing position of the PCB design drawing, the magnification ratio, and the positioned components / circuits selected by clicking, etc. The operation information of the PCB design drawing may also include other operation information. For example, the processing information for a part, some components, or circuits of the PCB design drawing, and the processing information may be processing information such as adjustment of parameter values. The information content that the operation information of the PCB design drawing may adopt will not be exemplified and described herein.
[0063] Each different client has its corresponding WebSocket object, and the two-way communication between different clients and the server is carried out through the WebSocket objects corresponding to different clients. It should be noted that the real-time interaction method of the PCB layout multi-person online platform in the embodiments of the present application can also be implemented based on other communication methods. For example, communication methods such as HTTP long polling and WebRTC will not be exemplified one by one for other possible communication methods herein.
[0064] Step S120, search for the user information of the second client in the cache server according to the identification information of the PCB design drawing.
[0065] The second client is a client that views the PCB design drawing online other than the first client. The second client is the object that receives the interaction information sent by the first client, and the PCB design drawing viewed by the second client and the first client is the same PCB design drawing. It can be understood that the second client may not be a single client, but may also refer to multiple different clients that receive the interaction information sent by the first client.
[0066] In one embodiment, the cache server can store the user information of the clients viewing the same PCB design drawing. The user information of different clients may be the user IDs of different clients. Therefore, when searching for the user information of the second client in the cache server according to the identification information of the PCB design drawing, the user information of the second client other than the first client can be searched in the cache server according to the identification information of the PCB design drawing.
[0067] In one embodiment, the cache server may be a Redis cache server.
[0068] Step S130: According to the user information of the second client and the corresponding identity identification information, send the operation information and interaction information of the PCB design drawing to the second client, so that the second client can perform corresponding operations on the PCB design drawing according to the operation information of the PCB design drawing, and so that the second client can display the interaction information in the information interaction box. When the client uses the multi-person online platform for PCB layout applied to the browser, it edits and sends interaction information through the information interaction box to communicate about the PCB layout among different users.
[0069] Understandably, when the second client includes multiple different clients, the interaction information can be sent to multiple different clients, so that multiple different clients can all display the interaction information in the information interaction box;
[0070] The first client and the second client are used to distinguish different clients that send and receive interaction information. It does not limit the number of clients or refer to a specific fixed client; when the second client needs to send interaction information, the second client will be used as the new first client, and the original first client will be used as the new second client, that is, a role swap occurs.
[0071] It should be noted that the information interaction box can also be in the form of an annotation box, and there is annotation content in the annotation box. For example, it can be the annotation content of a certain part of the components or circuits, and the annotation content of the certain part of the components or circuits is displayed in the form of an annotation box at the corresponding position.
[0072] The second client performs corresponding operations on the PCB design drawing according to the operation information of the PCB design drawing, which can synchronize the content of the PCB layout when the second client uses the multi-person online platform for PCB layout applied to the browser. For example, the viewing position, magnification ratio, and selected components / circuits of the PCB design drawing, etc., so that different users can focus on the same content of the PCB design drawing and conduct synchronous communication. This can solve the problems of repeated screenshotting, transmission, and communication when using traditional general platforms, significantly improve the communication efficiency, and effectively reduce the situation of misunderstandings caused by the high similarity of multi-region designs.
[0073] The real-time interaction method of the PCB layout multi-person online platform according to the embodiment of the present application searches for the user information of the second user terminal in the cache server through the identification information of the PCB design diagram sent by the first user terminal using the corresponding identity identification information. The second user terminal is the user terminal that views the corresponding PCB design diagram except the first user terminal; then, according to the user information of the second user terminal and the corresponding identity identification information, the operation information and interaction information of the PCB design diagram of the first user terminal are sent to the second user terminal, so that the second user terminal performs corresponding operations on the PCB design diagram according to the operation information of the PCB design diagram, thereby enabling different users to focus on the same content of the PCB design diagram, and enabling the second user terminal to display the interaction information in the information interaction box for the user of the second user terminal to view the interaction information in real time, so as to realize the online real-time interaction and synchronous communication of different users regarding the PCB layout, which can be carried out without different users privately through means such as messages or calls, and further can record and trace the communication of different users regarding the PCB layout.
[0074] In addition, the real-time interaction method of the PCB layout multi-person online platform according to the embodiment of the present application is beneficial to protecting the data security of the PCB layout. When it comes to PCB layouts with a relatively high confidentiality level, technical details are not transmitted through traditional public platforms, which can effectively ensure the data security of the PCB layout.
[0075] See Figure 2 , in one embodiment, the real-time interaction method of the PCB layout multi-person online platform according to the embodiment of the present application further includes the following steps:
[0076] Step S210, receiving a sharing request of the PCB design diagram and the access address of the PCB design diagram sent by the first user terminal;
[0077] Step S220, generating a corresponding access link for the PCB design diagram according to the access address of the PCB design diagram;
[0078] Step S230, when the second user terminal opens the corresponding PCB design diagram through the access link of the PCB design diagram, finding the access address of the PCB design diagram according to the access link of the PCB design diagram, and sending an access instruction for the access address of the PCB design diagram to the second user terminal, so that the second user terminal opens the corresponding PCB design diagram.
[0079] The above steps S210 to S230 can be regarded as the processing steps of the server when the first client shares the PCB design drawing it views with the second client; it can be understood that the above steps S210 to S230 can be executed before different users enter real-time interaction, so that the corresponding different clients can view the same PCB design drawing, and then enter the real-time interaction regarding the PCB design drawing; it can also be executed after different users complete the real-time interaction regarding a certain PCB design drawing to enter the communication of the next PCB design drawing.
[0080] In this embodiment, after generating the access link of the corresponding PCB design drawing, the second client can obtain the access link of the PCB design drawing through various communication methods. Here, the communication methods for obtaining the access link of the PCB design drawing are not enumerated.
[0081] In the above manner, it is possible to share the PCB design drawing with other users more conveniently and effectively, and the security is relatively high.
[0082] In this embodiment, as an optional implementation manner, after generating the access link of the corresponding PCB design drawing according to the access address of the PCB design drawing, it further includes:
[0083] Record the user information of the first client and the access link of the PCB design drawing;
[0084] Record the mapping relationship between the user information of the first client, the access link of the PCB design drawing, and the access address of the PCB design drawing;
[0085] Finding the access address of the PCB design drawing according to the access link of the PCB design drawing includes:
[0086] Record the user information of the second client;
[0087] Find the user information of the first client according to the access link of the PCB design drawing, and associate and store the user information of the first client, the user information of the second client, the access address of the PCB design drawing, and the access link of the PCB design drawing;
[0088] Find the access address of the PCB design drawing according to the access link of the PCB design drawing.
[0089] In the above manner, by recording and associating and mapping relevant information, the connection between relevant information is established, and a record of the corresponding event occurrence is formed. The established connection between relevant information can be used as the basis for the second client to open the corresponding PCB design drawing, making the sharing of PCB design drawings by different users more secure; at the same time, the formed record of the corresponding event occurrence can be used for subsequent tracing of the event.
[0090] In this embodiment, as an alternative implementation, when sending an access instruction for the access address of the PCB design drawing to the second client to enable the second client to open the corresponding PCB design drawing, an access instruction that redirects to the access address of the PCB design drawing may be sent to the second client, so that the second client can be redirected to the access address of the PCB design drawing according to the access instruction and open the corresponding PCB design drawing.
[0091] The redirect response can cause the browser of the second client to be redirected to the access address of the PCB design drawing, and then open the corresponding PCB design drawing. This method can more simply and effectively enable the browser of the second client to quickly open the corresponding PCB design drawing, reduce the access waiting time, and reduce user operations.
[0092] See Figure 3 , in one embodiment, the real-time interaction method of the PCB layout multi-person online platform in the embodiments of the present application further includes the following steps:
[0093] Step S310, receiving the identification information of the PCB design drawing and the user information of the first client sent by the first client through the corresponding identification information;
[0094] Step S320, storing the identification information of the PCB design drawing and the user information of the first client in the cache server;
[0095] Step S330, searching for the user information of the second client from the cache server according to the identification information of the PCB design drawing and the user information of the first client;
[0096] Step S340, obtaining the identification information of the corresponding second client according to the user information of the second client;
[0097] Step S350, sending the user information list of the PCB design drawing to the first client and the second client through the corresponding identification information, so that the first client and the second client can update the online communication user list.
[0098] The above steps S310 to S350 can be regarded as the processing steps of the server when the first client and the second client update the online communication user list.
[0099] In step S330, when searching for the user information of the second client from the cache server according to the identification information of the PCB design drawing and the user information of the first client, the user information of the user terminals that have viewed the PCB design drawing other than the first client has been stored in the cache server, and the user terminals that have viewed the PCB design drawing other than the first client are the second client.
[0100] Updating the online communication user list of the client in the above manner can facilitate the user to clearly know the number and information of online communication users during real-time interaction, so as to facilitate the progress and development of real-time interaction.
[0101] In one embodiment, the real-time interaction method of the PCB layout multi-person online platform according to the embodiment of the present application further includes the following steps:
[0102] Receive the heartbeat messages of the first client and the second client;
[0103] When the heartbeat messages of the first client and / or the second client are not received within a predetermined time, delete the user information of the first client and / or the second client associated with the PCB design diagram in the cache server.
[0104] The first client and the second client send heartbeat messages to the server to indicate that they are in an online state; when the heartbeat messages of the first client and / or the second client are not received within a predetermined time, it means that the first client and / or the second client have met the preset offline determination rule, that is, it is determined that the first client and / or the second client are in an offline state. The predetermined time can be a set time such as 1 minute. Furthermore, the user information of the first client and / or the second client associated with the PCB design diagram is correspondingly deleted, so that the user information of the first client and / or the second client can be deleted from the online communication user list and the information can be reflected in a timely manner.
[0105] See Figure 4 In one embodiment, the real-time interaction method of the PCB layout multi-person online platform according to the embodiment of the present application further includes the following steps:
[0106] Step S410, receive the logout message, user information, and identification information of the PCB design diagram sent by the first client or the second client;
[0107] Step S420, find the user information of the second client or the first client from the cache server according to the identification information of the PCB design diagram;
[0108] Step S430, send a corresponding deletion instruction to the first client or the second client according to the corresponding identity identification information and the user information of the second client or the first client, so that the first client or the second client deletes the user information of the second client or the first client;
[0109] Step S440, delete the user information of the second client or the first client from the online communication user list, and make the cache server delete the user information of the second client or the first client associated with the PCB design diagram.
[0110] The above steps S410 to S440 can be regarded as the processing steps of the server when deleting the user information of the first client or the second client from the online communication user list corresponding to the second client or the first client when the first client or the second client exits.
[0111] By updating the online communication user list of the remaining clients in the above manner when a user exits, it is convenient for the remaining users to timely learn the remaining number and information of the current online communication users, and timely learn about the situation of users exiting.
[0112] In order to execute the method corresponding to the above embodiment to achieve the corresponding functions and technical effects, a real-time interaction system for a PCB layout multi-person online platform is provided below.
[0113] See Figure 5 , Figure 5 which is a structural block diagram of the real-time interaction system of the PCB layout multi-person online platform provided by the embodiment of the present application.
[0114] The real-time interaction system of the PCB layout multi-person online platform provided by the embodiment of the present application includes:
[0115] A receiving module 510, configured to receive the identification information of the PCB design drawing, the operation information of the PCB design drawing, and the interaction information sent by the first client through the corresponding identity identification information, where the interaction information includes at least one of text information, images, or videos;
[0116] A searching module 520, configured to search for the user information of the second client in the cache server according to the identification information of the PCB design drawing;
[0117] A sending module 530, configured to send the operation information and interaction information of the PCB design drawing to the second client according to the user information of the second client and the corresponding identity identification information, so that the second client performs corresponding operations on the PCB design drawing according to the operation information of the PCB design drawing, and so that the second client displays the interaction information in the information interaction box.
[0118] The real-time interaction system of the PCB layout multi-person online platform according to the embodiment of the present application searches for the user information of the second user terminal in the cache server through the identification information of the PCB design drawing sent by the first user terminal using the corresponding identification information. The second user terminal is the user terminal that views the corresponding PCB design drawing except the first user terminal; then, according to the user information of the second user terminal and the corresponding identification information, the operation information and interaction information of the PCB design drawing of the first user terminal are sent to the second user terminal, so that the second user terminal performs corresponding operations on the PCB design drawing according to the operation information of the PCB design drawing, thereby enabling different users to focus on the same content of the PCB design drawing, and enabling the second user terminal to display the interaction information in the information interaction box for the user of the second user terminal to view the interaction information in real time, so as to realize the online real-time interaction and synchronous communication of different users regarding the PCB layout, which can be carried out without different users privately through methods such as messages or calls, and thus can record and trace the communication of different users regarding the PCB layout.
[0119] In one embodiment, the real-time interaction system of the PCB layout multi-person online platform according to the embodiment of the present application further includes a generation module;
[0120] The receiving module 510 is configured to receive the sharing request of the PCB design drawing and the access address of the PCB design drawing sent by the first user terminal;
[0121] The generation module is configured to generate a corresponding access link of the PCB design drawing according to the access address of the PCB design drawing;
[0122] The sending module 530 is configured to, when the second user terminal opens the corresponding PCB design drawing through the access link of the PCB design drawing, find the access address of the PCB design drawing according to the access link of the PCB design drawing, and send an access instruction for the access address of the PCB design drawing to the second user terminal, so that the second user terminal opens the corresponding PCB design drawing.
[0123] As an optional implementation manner, the real-time interaction system of the PCB layout multi-person online platform according to the embodiment of the present application further includes a recording module;
[0124] The recording module is configured to record the user information of the first user terminal and the access link of the PCB design drawing; and record the mapping relationship between the user information of the first user terminal, the access link of the PCB design drawing, and the access address of the PCB design drawing;
[0125] When the sending module 530 finds the access address of the PCB design drawing based on the access link of the PCB design drawing, the recording module records the user information of the second client; the sending module 530 finds the user information of the first client based on the access link of the PCB design drawing, associates and stores the user information of the first client, the user information of the second client, the access address of the PCB design drawing, and the access link of the PCB design drawing; and, finds the access address of the PCB design drawing based on the access link of the PCB design drawing.
[0126] As an alternative implementation, when the sending module 530 sends an access instruction for the access address of the PCB design drawing to the second client to enable the second client to open the corresponding PCB design drawing, it can:
[0127] Send a redirect response to the access instruction for the access address of the PCB design drawing to the second client, so that the second client redirects to the access address of the PCB design drawing according to the access instruction and opens the corresponding PCB design drawing.
[0128] In one embodiment, the real-time interaction system of the PCB layout multi-person online platform according to the embodiment of the present application further includes a storage module;
[0129] The receiving module 510 can be used to receive the identification information of the PCB design drawing and the user information of the first client sent by the first client through the corresponding identification information;
[0130] The storage module is used to store the identification information of the PCB design drawing and the user information of the first client to the cache server;
[0131] The searching module 520 can be used to search for the user information of the second client from the cache server according to the identification information of the PCB design drawing and the user information of the first client; and, obtain the identification information of the corresponding second client according to the user information of the second client;
[0132] The sending module 530 can be used to send the user information list of the PCB design drawing to the first client and the second client through the corresponding identification information, so that the first client and the second client update the online communication user list.
[0133] In one embodiment, the real-time interaction system of the PCB layout multi-person online platform according to the embodiment of the present application further includes a deletion module;
[0134] The receiving module 510 can be used to receive the heartbeat messages of the first client and the second client;
[0135] A deletion module, configured to delete, in a cache server, user information of the first client and / or the second client associated with a PCB design diagram when heartbeat messages from the first client and / or the second client are not received within a predetermined time.
[0136] In one embodiment, a receiving module 510 is configured to receive an exit message, user information, and identification information of a PCB design diagram sent by the first client or the second client;
[0137] A lookup module 520 is configured to look up user information of the second client or the first client from a cache server according to the identification information of the PCB design diagram;
[0138] A sending module 530 is configured to send a corresponding deletion instruction to the first client or the second client according to the corresponding identity identification information and the user information of the second client or the first client, so that the first client or the second client deletes the user information of the second client or the first client;
[0139] A deletion module is configured to delete user information of the second client or the first client from an online communication user list, and cause the cache server to delete user information of the second client or the first client associated with a PCB design diagram.
[0140] The above real-time interaction system of the PCB layout multi-person online platform can implement the real-time interaction method of the PCB layout multi-person online platform described above. For the specific limitations and other contents of the embodiments of the above real-time interaction system of the PCB layout multi-person online platform, reference can be made to the content of the real-time interaction method of the PCB layout multi-person online platform described above, and details will not be repeated in the embodiments.
[0141] An embodiment of the present application further provides an electronic device, including a memory and a processor. The memory is used to store a computer program, and the processor runs the computer program to cause the electronic device to execute the above real-time interaction method of the PCB layout multi-person online platform.
[0142] Optionally, the above electronic device may be a computer device such as a server.
[0143] In one embodiment, the internal structure of the electronic device of the present application may be as Figure 6 shown.
[0144] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above real-time interaction method of the PCB layout multi-person online platform is implemented.
[0145] In several embodiments provided by the present application, it should be understood that the disclosed systems and methods can also be implemented in other ways. The system embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of systems, methods, and computer program products according to multiple embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0146] In addition, each functional module in various embodiments of the present application may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
[0147] If the described functions are implemented in the form of software function modules and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0148] The above are only the embodiments of the present application and are not intended to limit the protection scope of the present application. For those skilled in the art, various modifications and changes can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the protection scope of the present application. It should be noted that similar reference numerals and letters indicate similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.
[0149] As described above, this is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, and all of them should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
[0150] It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. At the same time, in the description of the present application, terms such as "first" and "second" are only used for differential description and cannot be understood as indicating or implying relative importance. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the said element.
Claims
1. A real-time interaction method for a multi-person online platform of PCB layout, characterized in that, including: Receiving the identification information of the PCB design drawing, the operation information of the PCB design drawing, and the interaction information sent by the first client through the corresponding identification information, where the interaction information includes at least one of text information, images, or videos; Searching for the user information of the second client in the cache server according to the identification information of the PCB design drawing; Sending the operation information of the PCB design drawing and the interaction information to the second client according to the user information of the second client and the corresponding identification information, so that the second client performs corresponding operations on the PCB design drawing according to the operation information of the PCB design drawing, and so that the second client displays the interaction information in the information interaction box.
2. The real-time interaction method of the PCB layout multi-person online platform according to claim 1, characterized in that, The method further includes: Receiving the sharing request of the PCB design drawing and the access address of the PCB design drawing sent by the first client; Generating a corresponding access link for the PCB design drawing according to the access address of the PCB design drawing; When the second client opens the corresponding PCB design drawing through the access link of the PCB design drawing, finding the access address of the PCB design drawing according to the access link of the PCB design drawing, and sending an access instruction for the access address of the PCB design drawing to the second client, so that the second client opens the corresponding PCB design drawing.
3. The real-time interaction method of the PCB layout multi-person online platform according to claim 2, characterized in that After generating the corresponding access link for the PCB design drawing according to the access address of the PCB design drawing, the method further includes: Recording the user information of the first client and the access link of the PCB design drawing; Recording the mapping relationship between the user information of the first client, the access link of the PCB design drawing, and the access address of the PCB design drawing; The finding the access address of the PCB design drawing according to the access link of the PCB design drawing includes: Recording the user information of the second client; Finding the user information of the first client according to the access link of the PCB design drawing, associating and storing the user information of the first client, the user information of the second client, the access address of the PCB design drawing, and the access link of the PCB design drawing; Finding the access address of the PCB design drawing according to the access link of the PCB design drawing.
4. The real-time interaction method of the PCB layout multi-person online platform according to claim 2, characterized in that, The sending the access instruction for the access address of the PCB design drawing to the second client so that the second client opens the corresponding PCB design drawing includes: Sending a redirect access instruction in response to the access address of the PCB design drawing to the second client, so that the second client redirects to the access address of the PCB design drawing according to the access instruction and opens the corresponding PCB design drawing.
5. The real-time interaction method of the PCB layout multi-person online platform according to claim 1, wherein, The method further includes: Receiving the identification information of the PCB design drawing and the user information of the first client sent by the first client through the corresponding identification information; Storing the identification information of the PCB design drawing and the user information of the first client in the cache server; Search for the user information of the second client from the cache server according to the identification information of the PCB design drawing and the user information of the first client; Obtain the identity identification information corresponding to the second client according to the user information of the second client; Send the user information list of the PCB design drawing to the first client and the second client through the corresponding identity identification information, so that the first client and the second client update the online communication user list.
6. The real-time interaction method of the PCB layout multi-person online platform according to claim 1 or 5, characterized in that, The method further includes: Receive the heartbeat messages of the first client and the second client; When the heartbeat messages of the first client and / or the second client are not received within a predetermined time, delete the user information of the first client and / or the second client associated with the PCB design drawing in the cache server.
7. The real-time interaction method of the PCB layout multi-person online platform according to claim 1 or 5, characterized in that, The method further includes: Receive the logout message, user information and the identification information of the PCB design drawing sent by the first client or the second client; Search for the user information of the second client or the first client from the cache server according to the identification information of the PCB design drawing; Send a corresponding deletion instruction to the first client or the second client according to the corresponding identity identification information and the user information of the second client or the first client, so that the first client or the second client deletes the user information of the second client or the first client; Delete the user information of the second client or the first client from the online communication user list, and make the cache server delete the user information of the second client or the first client associated with the PCB design drawing.
8. A real-time interaction system for a multi-person online platform of PCB layout, characterized in that, Includes: A receiving module, configured to receive the identification information of the PCB design drawing, the operation information of the PCB design drawing, and the interaction information sent by the first client through the corresponding identity identification information, where the interaction information includes at least one of text information, images, or videos; A searching module, configured to search for the user information of the second client in the cache server according to the identification information of the PCB design drawing; A sending module, configured to send the operation information of the PCB design drawing and the interaction information to the second client according to the user information of the second client and the corresponding identity identification information, so that the second client performs corresponding operations on the PCB design drawing according to the operation information of the PCB design drawing, and so that the second client displays the interaction information in the information interaction box.
9. An electronic device, characterized in that, Includes a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the real-time interaction method of the PCB layout multi-person online platform according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, It stores a computer program, and when the computer program is executed by a processor, it implements the real-time interaction method of the PCB layout multi-person online platform according to any one of claims 1 to 7.