CN112988140B - Communication method and server based on data communication protocol - Google Patents
Communication method and server based on data communication protocol Download PDFInfo
- Publication number
- CN112988140B CN112988140B CN202110038845.XA CN202110038845A CN112988140B CN 112988140 B CN112988140 B CN 112988140B CN 202110038845 A CN202110038845 A CN 202110038845A CN 112988140 B CN112988140 B CN 112988140B
- Authority
- CN
- China
- Prior art keywords
- channel
- state
- instruction
- display
- control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 49
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000013507 mapping Methods 0.000 claims abstract description 13
- 230000004044 response Effects 0.000 claims abstract description 11
- 238000005516 engineering process Methods 0.000 abstract description 23
- 230000006870 function Effects 0.000 description 15
- 230000008569 process Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000002452 interceptive effect Effects 0.000 description 5
- 238000007726 management method Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 238000009877 rendering Methods 0.000 description 4
- 206010048669 Terminal state Diseases 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000012827 research and development Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000013079 data visualisation Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000000750 progressive effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 241000272525 Anas platyrhynchos Species 0.000 description 1
- 108010001267 Protein Subunits Proteins 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000003340 mental effect Effects 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 108090000623 proteins and genes Proteins 0.000 description 1
- 238000009517 secondary packaging Methods 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application discloses a communication method and a server based on a data communication protocol, wherein a connection establishment request message sent by a control end and/or a display end is received through the server so as to bind each control end and/or display end authentication into a target channel; further receiving a state control instruction, authenticating the state control instruction, and returning a response success instruction after authentication is successful; and further receiving a channel state updating instruction, updating a state object of the target channel mapping according to the channel state updating instruction, and pushing the updated state to each control end and/or display end bound with the target channel. For a multi-screen display scene, a display state synchronization technology based on the Ethernet is realized by utilizing a data communication protocol. The states of a plurality of 'display ends' and a plurality of 'control ends' in the same state channel are consistent.
Description
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a communication method and a server based on a data communication protocol.
Background
In the aspect of multi-terminal display scenes, the equipment deployment requirement of multi-screen display in the prior art is high, the software deployment cost is high, and the problems that interactive design is not easy to expand, map materials are limited, customization improvement cost is high, interactive control is inflexible and the like exist in the prior art.
Disclosure of Invention
Therefore, the embodiment of the application provides a communication method and a server based on a data communication protocol, and for a multi-screen display scene, the display state synchronization technology based on the Ethernet is realized by utilizing the data communication protocol. The states of a plurality of 'display ends' and a plurality of 'control ends' in the same state channel are consistent.
In order to achieve the above purpose, the embodiment of the present application provides the following technical solutions:
according to a first aspect of embodiments of the present application, there is provided a communication method based on a data communication protocol, the method including:
the server receives a connection establishment request message sent by the control end and/or the display end so as to bind the authentication of each control end and/or display end into a target channel;
the server receives the state control instruction, authenticates the state control instruction, and returns a response success instruction after authentication is successful;
the server receives a channel state update instruction, updates a state object of the target channel mapping according to the channel state update instruction, and pushes the updated state to each control end and/or display end bound with the target channel.
Optionally, one channel corresponds to a plurality of control ends and/or a plurality of display ends; said one channel maps one state object; each channel is independent of the other.
Optionally, the server includes a status management module, a channel mapping module, and an application programming interface API module.
Optionally, the control end and the display end are accessed through a browser and built based on WEB technology, an automatic building tool Webpack and an application assembly frame Vue.
According to a second aspect of embodiments of the present application, there is provided a communication service terminal based on a data communication protocol, where the service terminal includes:
the connection establishment module is used for receiving connection establishment request messages sent by the control end and/or the display end so as to bind the authentication of each control end and/or display end into a target channel;
the authentication module is used for receiving the state control instruction, authenticating the state control instruction and returning a response success instruction after authentication is successful;
the channel updating module is used for receiving a channel state updating instruction, updating a state object of the target channel mapping according to the channel state updating instruction, and pushing the updated state to each control end and/or display end bound with the target channel.
Optionally, one channel corresponds to a plurality of control ends and/or a plurality of display ends; said one channel maps one state object; each channel is independent of the other.
Optionally, the server includes a status management module, a channel mapping module, and an application programming interface API module.
Optionally, the control end and the display end are accessed through a browser and built based on WEB technology, an automatic building tool Webpack and an application assembly frame Vue.
According to a third aspect of embodiments of the present application, there is provided an apparatus comprising: the device comprises a data acquisition device, a processor and a memory; the data acquisition device is used for acquiring data; the memory is used for storing one or more program instructions; the processor is configured to execute one or more program instructions to perform the method of any of the first aspects.
According to a fourth aspect of embodiments of the present application, there is provided a computer readable storage medium having embodied therein one or more program instructions for performing the method according to any of the first aspects.
In summary, the embodiments of the present application provide a communication method and a server based on a data communication protocol, where a connection establishment request message sent by a control end and/or a display end is received by the server, so as to bind authentication of each control end and/or display end to a target channel; further receiving a state control instruction, authenticating the state control instruction, and returning a response success instruction after authentication is successful; and further receiving a channel state updating instruction, updating a state object of the target channel mapping according to the channel state updating instruction, and pushing the updated state to each control end and/or display end bound with the target channel. For a multi-screen display scene, a display state synchronization technology based on the Ethernet is realized by utilizing a data communication protocol. The states of a plurality of 'display ends' and a plurality of 'control ends' in the same state channel are consistent.
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 described below. It will be apparent to those of ordinary skill in the art that the drawings in the following description are exemplary only and that other implementations can be obtained from the extensions of the drawings provided without inventive effort.
The structures, proportions, sizes, etc. shown in the present specification are shown only for the purposes of illustration and description, and are not intended to limit the scope of the invention, which is defined by the claims, so that any structural modifications, changes in proportions, or adjustments of sizes, which do not affect the efficacy or the achievement of the present invention, should fall within the scope of the invention.
Fig. 1 is a schematic diagram of a communication method based on a data communication protocol according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a system architecture according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of multi-terminal state synchronization interaction provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a relationship between a channel and a client role provided in an embodiment of the present application;
fig. 5 is a block diagram of a communication service end based on a data communication protocol according to an embodiment of the present application.
Detailed Description
Other advantages and advantages of the present invention will become apparent to those skilled in the art from the following detailed description, which, by way of illustration, is to be read in connection with certain specific embodiments, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The traditional products generally require only 1 PC to drag n displays or display arrays, and because different pictures are required to be displayed on different screens, the PC is required to have a powerful display adapter (display card) with strong functions so as to finish the output of multiple video signals. And dedicated to a special purpose machine, the PC can only be used in a binding with a designated display device (e.g., LED display array). The above results in high equipment requirements and limited use environments. The special client needs to be properly installed, the upgrade needs to be reinstalled and adapted, and in an actual maintenance scene, the migration is difficult to properly and safely, and faults which are difficult to locate are often encountered. The upgrade action of the related operating system may also cause the unavailability of functions, and increase the operation and maintenance cost in terms of software. As is well known, C/c++ technology stack products are more prone to breakdown failures and in practice are often forced to follow some surprising conventions.
Client side schemes based on window application programs are generally limited by the characteristics of a technical framework, and can be customized and expanded in a limited manner or have high research and development cost when certain complex interactions are realized. On the premise that the user side does not have GIS, the traditional scheme is difficult to utilize map services and data widely used in the Web field, so that the display effect and the content are very limited. Traditional client products, due to their inherent nature, obviously have a stricter and lengthy release process, so facing rapid demand and data adjustment, take a long time, and cause adverse effects to be difficult to control in case of sudden accidents
Obviously, the deployment process is limited by software and hardware, so that users have to control on specific control machines respectively and watch on a designated showcase. Such a mode also results in exclusive use of equipment and products, which is inconvenient for enterprise users to reuse the facilities. The equipment deployment requirement of multi-screen display is high, the software deployment cost is high, the interactive design is not easy to expand, the map material is limited, the customization improvement cost is high, and the interactive control is inflexible.
Based on various shortcomings and limitations in the prior art, the embodiment of the application provides a communication method and a server based on a data communication protocol.
The following explains the related words related to the embodiments of the present application.
QT technology stack: taking traditional C/C++ as a technical route, an executable program can be operated under various desktop environment operating systems. The openGL or D3 is mainly used as a bottom layer technology of graphic rendering, and the related display and interaction functions are not completed by genes.
NET technology stack: the method is mainly used for programming routes of window application programs on Windows operating systems. Mainly uses D3 as the bottom technology of the graphic rendering interface and further completes the related display and interaction functions.
At the browser-server, simple SPA (Single Page Application) is involved: the technical route of the Web terminal secondary packaging is carried out by simply utilizing a map (Goodyear/hundred degree) product. The main problem is that the functional dimension is generally relatively simple, limited by the mechanism of the map product interface, difficult to further expand the work and difficult to reach the level of productization under the premise of lacking the technology of automatic construction and organization frames.
In terms of Web technology, the following vocabulary descriptions are explained:
webpack: and the automatic construction tool can complete heat deployment in a plurality of seconds according to the change of engineering codes, so that the delivery efficiency is improved.
Vue: a technical framework of tissue engineering elements, the specific implementation of MVVM architecture, reduces the mental burden of WEB programming, and improves the upper limit of the achievable complexity of products.
AMap: the Goldmap open API service provides the geographic information call of the map to the third party application by utilizing the GIS service and data of the Goldmap, thereby simplifying the realization of the map class function of the application end.
Antv-L7: the programming component is specially used for map data visualization and can be adapted to an Amap custom layer, and the programming component is used for completing the visualization rendering of high-performance million-level points.
Echartits: a mainstream open source chart module supports the display function of most data visualization charts in the product.
In terms of Web backend, the following vocabulary descriptions are explained:
js is a Javascript-based runtime, and is widely applied to the fields of back-end research and development and system research and development.
Koa Web services programming framework executing in the nodejs environment uses the workflow model of webflow.
Duck self-grinding IoC, DI framework, framework for assembling complex components of a product.
Other TCP protocol aspects, the following vocabulary description is explained:
WebSocket is an http protocol, a long connection communication protocol which is oriented to connection and is used for realizing a handshake stage by a traditional http protocol, and is an important component for realizing a state synchronization communication function by utilizing a WEB server technology.
Fig. 1 shows a flow chart of a communication method based on a data communication protocol according to an embodiment of the present application, where the method includes the following steps:
step 101: the server receives the connection establishment request message sent by the control end and/or the display end, so that the authentication of each control end and/or display end is bound to the target channel.
Step 102: the server receives the state control instruction, authenticates the state control instruction, and returns a response success instruction after authentication is successful.
Step 103: the server receives a channel state update instruction, updates a state object of the target channel mapping according to the channel state update instruction, and pushes the updated state to each control end and/or display end bound with the target channel.
In one possible implementation, one channel corresponds to several control ends and/or several presentation ends; said one channel maps one state object; each channel is independent of the other.
In one possible implementation, the server includes a state management module, a channel mapping module, and an application programming interface API module.
In a possible implementation manner, the control end and the display end are accessed through a browser and built based on WEB technology, an automatic building tool Webpack and an application assembly frame Vue.
The overall architecture applicable to the embodiment of the present application adopts a B/S mode, as shown in fig. 2, and the server side provides "state management", "channel mapping" and application programming interface API functions. The client accesses through the browser to run the method provided by the embodiment of the application. The following further describes the schemes of the embodiments of the present application.
In a first aspect, a multi-port state synchronization communication protocol.
The basic process mainly comprises three parts, as shown in fig. 3: 1. establishing connection, initiated by clients (e.g. control end, presentation end) of various roles, and binding authentication to a specific channel; 2. a sending instruction, a certain end sends a control command like a server, and when the command is correct, a response success signal is returned; 3. after receiving the update command, the server updates the state object mapped by the channel, and pushes the updated state to each client (e.g. control end, display end) through connection.
In a second aspect, relationships are related to channels, state objects, client roles.
As shown in fig. 4, one channel may correspond to a plurality of control terminals. One channel may correspond to multiple presentation ends. One end can be both the control end and the presentation end. One channel maps one state object. Each channel is independent and isolated from each other.
In the embodiment of the application, the implementation scheme of converting the multi-display interface into the multi-network interface is realized. Compared with the prior art, the method realizes the synchronization technology based on the multi-screen display scene and abandons the display signal. The display state synchronization technology based on the Ethernet is realized by utilizing a data communication protocol.
In the embodiment of the application, the control and display of multi-terminal state synchronization are realized. Because the communication technology based on the data communication protocol is adopted, the states of a plurality of display ends and a plurality of control ends are consistent in the same state channel. By utilizing the multi-channel capability, 1 deployment is also realized, and the multi-channel capability of a plurality of scene showing services is realized.
Therefore, the method provided by the embodiment of the application has the following beneficial effects:
1. flexible use: because the multi-display interface is not relied on, and the data and the functions are not bound with specific control equipment or display equipment, the characteristic that a plurality of control channels run simultaneously is realized, and the multi-place multi-scene multi-machine deployment is realized. A plurality of 'state channels' can be freely established at will, and n screens can be driven independently by m state channels, and the multiple conference rooms can be simultaneously displayed according to requirements by being combined at will and not interfering with each other.
2. Deployment cost is low, compatibility is strong: based on the multi-terminal state synchronous control technology, the output of n screens can be deployed by at most n client PCs respectively, so that the flexibility of scene combination is greatly improved. In actual use, the effects of production demonstration and online debugging are achieved. Because each PC only needs to support 1 screen at least, the configuration specification of the PC is consistent with the daily office level, and the related purchasing cost is reduced. In practice, display specifications, if not identical, typically do not affect the final result.
3. Accessing the most widely used map service: since the browser-based browser operates as a browser, various mainstream third party map services and data can be accessed to the greatest extent and more easily. Because of the consistent tradition of Web technology itself advocating "hybrid development," the cost of accessing multiple services and multiple data sources is relatively low. And 3D rendering of map and data element visualization is realized by matching with the latest technical standard WebGL, and the method is comprehensively superior to the traditional technology.
4. The customization modification speed is high: because of being based on the WEB technology, the quick iteration capability is very strong. With the help of automated build tools (weback), application assembly frameworks (Vue), a portion of simple customization, several minutes of validation capability is achieved, providing feasibility for rapid response to some sudden demand scenarios.
5. Flexible operation: each display end and each control end can send out an operation instruction to influence the state of the channel, the new state (the display interface and the related control interface) can be synchronous within 20ms (communication delay), and the use experience and the degree of freedom of audience are greatly improved within the human instantaneous feeling range.
In summary, in the communication method based on the data communication protocol provided in the embodiments of the present application, the server receives the connection establishment request message sent by the control end and/or the display end, so as to bind the authentication of each control end and/or display end to the target channel; further receiving a state control instruction, authenticating the state control instruction, and returning a response success instruction after authentication is successful; and further receiving a channel state updating instruction, updating a state object of the target channel mapping according to the channel state updating instruction, and pushing the updated state to each control end and/or display end bound with the target channel. For a multi-screen display scene, a display state synchronization technology based on the Ethernet is realized by utilizing a data communication protocol. The states of a plurality of 'display ends' and a plurality of 'control ends' in the same state channel are consistent.
Based on the same technical concept, the embodiment of the application further provides a communication server based on a data communication protocol, as shown in fig. 5, where the server includes:
the connection establishment module 501 is configured to receive a connection establishment request message sent by a control end and/or a presentation end, so as to bind authentication of each control end and/or presentation end into a target channel;
the authentication module 502 is configured to receive a status control instruction, authenticate the status control instruction, and return a response success instruction after authentication is successful;
the channel update module 503 is configured to receive a channel status update instruction, update a status object of the target channel map according to the channel status update instruction, and push the updated status to each control end and/or display end bound to the target channel.
In one possible implementation, one channel corresponds to several control ends and/or several presentation ends; said one channel maps one state object; each channel is independent of the other.
In one possible implementation, the server includes a state management module, a channel mapping module, and an application programming interface API module.
In a possible implementation manner, the control end and the display end are accessed through a browser and built based on WEB technology, an automatic building tool Webpack and an application assembly frame Vue.
Based on the same technical concept, the embodiment of the application also provides an apparatus, which includes: the device comprises a data acquisition device, a processor and a memory; the data acquisition device is used for acquiring data; the memory is used for storing one or more program instructions; the processor is configured to execute one or more program instructions to perform the method.
Based on the same technical concept, the embodiments of the present application also provide a computer readable storage medium, where one or more program instructions are included in the computer readable storage medium, where the one or more program instructions are configured to perform the method.
In the present specification, each embodiment of the method is described in a progressive manner, and identical and similar parts of each embodiment are referred to each other, and each embodiment mainly describes differences from other embodiments. For relevance, see the description of the method embodiments.
It should be noted that although the operations of the method of the present invention are depicted in the drawings in a particular order, this does not require or imply that the operations be performed in that particular order or that all illustrated operations be performed to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
Although the present application provides method operational steps as embodiments or flowcharts, more or fewer operational steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. When implemented by an apparatus or client product in practice, the methods illustrated in the embodiments or figures may be performed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment, or even in a distributed data processing environment). The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, it is not excluded that additional identical or equivalent elements may be present in a process, method, article, or apparatus that comprises a described element.
The units, devices or modules etc. set forth in the above embodiments may be implemented in particular by a computer chip or entity or by a product having a certain function. For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, when implementing the present application, the functions of each module may be implemented in the same or multiple pieces of software and/or hardware, or a module that implements the same function may be implemented by multiple sub-modules or a combination of sub-units, or the like. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller can be regarded as a hardware component, and means for implementing various functions included therein can also be regarded as a structure within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
From the above description of embodiments, it will be apparent to those skilled in the art that the present application may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a mobile terminal, a server, or a network device, etc.) to perform the methods described in the various embodiments or some parts of the embodiments of the present application.
Various embodiments in this specification are described in a progressive manner, and identical or similar parts are all provided for each embodiment, each embodiment focusing on differences from other embodiments. The subject application is operational with numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The foregoing embodiments have been provided for the purpose of illustrating the general principles of the present application and are not meant to limit the scope of the invention, but to limit the scope of the invention.
Claims (6)
1. A method of communicating based on a data communication protocol, the method comprising:
the server receives connection establishment request messages sent by the control end and the display end so as to bind the authentication of each control end and each display end into a target channel;
the server receives the state control instruction, authenticates the state control instruction, and returns a response success instruction after authentication is successful;
the server receives a channel state update instruction, updates a state object mapped by a target channel according to the channel state update instruction, and pushes the updated state to each control end and display end bound by the target channel; wherein,,
a channel corresponds to the control end and a plurality of display ends; said one channel maps one state object; each channel is independent of the other.
2. The method of claim 1, wherein the server comprises a state management module, a channel mapping module, and an application programming interface API module.
3. A communication server based on a data communication protocol, the server comprising:
the connection establishment module is used for receiving connection establishment request messages sent by the control end and the display end so as to bind the authentication of each control end and each display end into a target channel;
the authentication module is used for receiving the state control instruction, authenticating the state control instruction and returning a response success instruction after authentication is successful;
the channel updating module is used for receiving a channel state updating instruction, updating a state object mapped by a target channel according to the channel state updating instruction, and pushing the updated state to each control end and/or display end bound by the target channel; wherein,,
a channel corresponds to the control end and a plurality of display ends; said one channel maps one state object; each channel is independent of the other.
4. The communication server of claim 3, wherein the server comprises a state management module, a channel mapping module, and an application programming interface API module.
5. A communication device, the communication device comprising: the device comprises a data acquisition device, a processor and a memory;
the data acquisition device is used for acquiring data; the memory is used for storing one or more program instructions; the processor being configured to execute one or more program instructions for performing the method of claim 1 or 2.
6. A computer readable storage medium, characterized in that the computer storage medium contains one or more program instructions for performing the method according to claim 1 or 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110038845.XA CN112988140B (en) | 2021-01-12 | 2021-01-12 | Communication method and server based on data communication protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110038845.XA CN112988140B (en) | 2021-01-12 | 2021-01-12 | Communication method and server based on data communication protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112988140A CN112988140A (en) | 2021-06-18 |
CN112988140B true CN112988140B (en) | 2023-07-25 |
Family
ID=76345300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110038845.XA Active CN112988140B (en) | 2021-01-12 | 2021-01-12 | Communication method and server based on data communication protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112988140B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012172857A1 (en) * | 2011-06-14 | 2012-12-20 | シャープ株式会社 | System, television receiver, information terminal, control method, program, and recording medium |
KR20150081681A (en) * | 2014-01-06 | 2015-07-15 | 삼성전자주식회사 | Apparatus for Displaying Images and Driving Method Thereof, Mobile Terminal and Driving Method Thereof |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103825894B (en) * | 2014-02-21 | 2017-07-28 | 南京莱斯信息技术股份有限公司 | A kind of application method of the multi-screen application system based on browser B/S structures |
CN106302470A (en) * | 2016-08-18 | 2017-01-04 | 优地技术有限公司 | The method that Based Intelligent Control TV box transfers data to television |
CN109168054B (en) * | 2018-09-10 | 2022-02-22 | 杭州芯讯科技有限公司 | Display screen playing system and control method |
CN109922351B (en) * | 2019-02-20 | 2021-08-20 | 视联动力信息技术股份有限公司 | Method and device for releasing live broadcast service |
CN111447252B (en) * | 2020-02-19 | 2023-09-26 | 深圳点猫科技有限公司 | Method and system for realizing interactive input based on websocket |
CN111970321A (en) * | 2020-07-01 | 2020-11-20 | 北京明略软件系统有限公司 | Method, system, storage medium and electronic device for connection management in cluster |
CN111901341B (en) * | 2020-07-28 | 2022-05-24 | 北京字节跳动网络技术有限公司 | State synchronization method and device |
-
2021
- 2021-01-12 CN CN202110038845.XA patent/CN112988140B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012172857A1 (en) * | 2011-06-14 | 2012-12-20 | シャープ株式会社 | System, television receiver, information terminal, control method, program, and recording medium |
KR20150081681A (en) * | 2014-01-06 | 2015-07-15 | 삼성전자주식회사 | Apparatus for Displaying Images and Driving Method Thereof, Mobile Terminal and Driving Method Thereof |
Also Published As
Publication number | Publication date |
---|---|
CN112988140A (en) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100418055C (en) | Method and system for sharing user interface window small parts | |
JP7101780B2 (en) | APP remote control method and related devices | |
CN101263485B (en) | Remoting redirection layer for graphics device interface | |
CN104426967B (en) | Cross-platform and cross-equipment mobile application development system | |
US20120233589A1 (en) | Software development kit for blended services | |
CN106569760B (en) | Large multi-screen GIS display system based on synchronous control and display method thereof | |
CN110855482A (en) | Three-dimensional dynamic communication network analog simulation method, system and storage medium | |
CN109901938A (en) | Big screen system and visual presentation method are interacted based on WebSocket communication | |
CN104199723A (en) | Camera mapping method based on virtual equipment | |
CN110891167A (en) | Information interaction method, first terminal and computer readable storage medium | |
CN109634625A (en) | A kind of OpenStack dispositions method and system based on Clonezilla | |
CN107179903B (en) | System and method for developing mobile-based applications using model-driven development | |
CN106227495B (en) | A kind of data display method, apparatus and system | |
CN112988140B (en) | Communication method and server based on data communication protocol | |
US11223961B2 (en) | Configuration method of wireless network system, configuration terminal and configuration system | |
CN105227597A (en) | A kind of method, Apparatus and system obtaining terminal equipment screen-picture | |
US20230122645A1 (en) | Audio data processing | |
CN106325851A (en) | Interactive remote cooperation method of Android application | |
CN103336649A (en) | Feedback window image sharing method and device among terminals | |
Bhojwani et al. | The ignite distributed collaborative scientific visualization system | |
CN103279268A (en) | Interaction method and interaction device based on controlled terminal list | |
CN110415334B (en) | Real-scene three-dimensional model application system and method | |
US10701146B2 (en) | Method, apparatus, and system for deep mirroring | |
CN108270803B (en) | Method and system for realizing transmission of network file and desktop application through webpage technology | |
CN111414232B (en) | Virtual machine template data processing method and device |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20230413 Address after: No.13, heiniucheng Road, Hexi District, Tianjin 300210 Applicant after: CCCC Intelligent Transportation Co.,Ltd. Applicant after: ZHONGZI DATA CO.,LTD. Address before: No.13, heiniucheng Road, Hexi District, Tianjin 300210 Applicant before: CCCC Intelligent Transportation Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |