CN111031007A - Communication control method and device between electronic whiteboards and server - Google Patents

Communication control method and device between electronic whiteboards and server Download PDF

Info

Publication number
CN111031007A
CN111031007A CN201911159826.1A CN201911159826A CN111031007A CN 111031007 A CN111031007 A CN 111031007A CN 201911159826 A CN201911159826 A CN 201911159826A CN 111031007 A CN111031007 A CN 111031007A
Authority
CN
China
Prior art keywords
electronic device
network
hardware information
screen
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911159826.1A
Other languages
Chinese (zh)
Inventor
李启伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201911159826.1A priority Critical patent/CN111031007A/en
Publication of CN111031007A publication Critical patent/CN111031007A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/401Support for services or applications wherein the services involve a main real-time session and one or more additional parallel real-time or time sensitive sessions, e.g. white board sharing or spawning of a subconference
    • H04L65/4015Support for services or applications wherein the services involve a main real-time session and one or more additional parallel real-time or time sensitive sessions, e.g. white board sharing or spawning of a subconference where at least one of the additional parallel sessions is real time or time sensitive, e.g. white board sharing, collaboration or spawning of a subconference
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC

Abstract

The embodiment of the application provides a communication control method, a device and a server between electronic whiteboards, wherein the method comprises the following steps: acquiring first hardware information of first electronic equipment, wherein the first electronic equipment is in communication connection with second electronic equipment through the server; acquiring second hardware information of the second electronic equipment; setting one of the first electronic device and the second electronic device as a main screen and the other as a secondary screen according to the first hardware information and the second hardware information, wherein the main screen corresponds to a better network; and realizing communication between the first electronic equipment and the second electronic equipment through a preset rule, wherein the preset rule is used for realizing data compression. By adopting the embodiment of the application, the data transmission efficiency can be improved.

Description

Communication control method and device between electronic whiteboards and server
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, and a server for controlling communications between electronic whiteboards.
Background
In life, electronic whiteboard produces from remote teaching, traditional electronic whiteboard generally supports windows and web version, support to mobile terminal and OSX is not friendly enough, the screen adaptation of multiterminal generally adopts the realization scheme of ordinary geometric proportion plus tailor in traditional electronic whiteboard simultaneously, this scheme can lead to the content on the screen of client only to account for a part in the screen display region generally, experience is not good enough, generally adopt the scheme of synchronous picture when many screens are in coordination simultaneously, this scheme has high requirements for bandwidth, therefore, how to solve the problem that the data transmission volume in the electronic whiteboard system requires too much and await solution urgently.
Disclosure of Invention
The embodiment of the application provides a communication control method, a communication control device and a communication control server between electronic whiteboards, and the data transmission efficiency can be improved when the data transmission amount is too large.
A first aspect of an embodiment of the present application provides a method for controlling communication between electronic whiteboards, which is applied to a server, and the method includes:
acquiring first hardware information of first electronic equipment, wherein the first electronic equipment is in communication connection with second electronic equipment through the server;
acquiring second hardware information of the second electronic equipment;
setting one of the first electronic device and the second electronic device as a main screen and the other as a secondary screen according to the first hardware information and the second hardware information, wherein the main screen corresponds to a better network;
and realizing communication between the first electronic equipment and the second electronic equipment through a preset rule, wherein the preset rule is used for realizing data compression.
In one possible example, the first hardware information includes at least one of: the screen display parameters of the first electronic equipment and the network parameters corresponding to the first electronic equipment;
the second hardware information includes at least one of: and the screen display parameter of the second electronic equipment and the network parameter corresponding to the second electronic equipment.
In one possible example, when the first hardware information is a first network parameter and the second hardware information is a second network parameter;
the setting one of the first electronic device and the second electronic device as a primary screen and the other as a secondary screen according to the first hardware information and the second hardware information includes:
determining a first network evaluation value corresponding to the first electronic device according to the first network parameter;
determining a second network evaluation value corresponding to the second electronic device according to the second network parameter;
and setting one corresponding to the larger one of the first network evaluation value and the second network evaluation value as a primary screen, and setting the other one as a secondary screen.
In one possible example, the determining, by the first network parameter, a first network evaluation value corresponding to the first electronic device includes:
and determining the first network evaluation value corresponding to the first network type according to a preset mapping relation between the network types and the network evaluation values.
In one possible example, the method further comprises:
receiving target screen information of the main screen;
and sending the target screen information to the secondary screen, and indicating the secondary screen to adaptively display the target screen information according to a rule of local maximum width and height adaptation.
In one possible example, the enabling of the communication between the first electronic device and the second electronic device through the preset rule includes:
receiving a target data packet sent by the first electronic device, where the target data packet is a data packet processed by the first electronic device according to the preset rule, specifically, a specified field of the target data packet is filled, and the target data packet is a compressed packet;
and sending the target data packet to the second electronic equipment.
A first aspect of an embodiment of the present application provides a communication control device between electronic whiteboards, which is applied to a server, and the device includes:
the first acquisition unit is used for acquiring first hardware information of first electronic equipment, and the first electronic equipment is in communication connection with second electronic equipment through the server;
a second obtaining unit, configured to obtain second hardware information of the second electronic device;
the determining unit is used for setting one of the first electronic device and the second electronic device as a primary screen and setting the other one as a secondary screen according to the first hardware information and the second hardware information, wherein the primary screen corresponds to the better network side;
the communication unit is used for realizing communication between the first electronic device and the second electronic device through a preset rule, and the preset rule is used for realizing data compression.
In one possible example, the first hardware information includes at least one of: the screen display parameters of the first electronic equipment and the network parameters corresponding to the first electronic equipment;
the second hardware information includes at least one of: and the screen display parameter of the second electronic equipment and the network parameter corresponding to the second electronic equipment.
In one possible example, when the first hardware information is a first network parameter and the second hardware information is a second network parameter;
in the aspect that one of the first electronic device and the second electronic device is set as a primary screen and the other is set as a secondary screen according to the first hardware information and the second hardware information, the primary screen corresponds to a better network, and the determining unit is specifically configured to:
determining a first network evaluation value corresponding to the first electronic device according to the first network parameter;
determining a second network evaluation value corresponding to the second electronic device according to the second network parameter;
and setting one corresponding to the larger one of the first network evaluation value and the second network evaluation value as a primary screen, and setting the other one as a secondary screen.
In one possible example, the first network parameter includes a first network type, and in the determining of the first network evaluation value corresponding to the first electronic device according to the first network parameter, the determining unit includes:
and determining the first network evaluation value corresponding to the first network type according to a preset mapping relation between the network types and the network evaluation values.
In one possible example, the apparatus further comprises:
receiving target screen information of the main screen;
and sending the target screen information to the secondary screen, and indicating the secondary screen to adaptively display the target screen information according to a rule of local maximum width and height adaptation.
In one possible example, in terms of the communication between the first electronic device and the second electronic device implemented by the preset rule, the communication unit is specifically configured to:
receiving a target data packet sent by the first electronic device, where the target data packet is a data packet processed by the first electronic device according to the preset rule, specifically, a specified field of the target data packet is filled, and the target data packet is a compressed packet;
and sending the target data packet to the second electronic equipment.
A third aspect of the embodiments of the present application provides a server, including:
a processor and a memory;
wherein the processor is configured to perform some or all of the steps as described in the first aspect of an embodiment of the present application by calling code or instructions in the memory.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
it can be seen that, with the method, the apparatus, and the server for controlling communication between electronic whiteboards described in the embodiments of the present application, first hardware information of a first electronic device is obtained, the first electronic device establishes a communication connection with a second electronic device through the server to obtain second hardware information of the second electronic device, one of the first electronic device and the second electronic device is set as a primary screen and the other is set as a secondary screen according to the first hardware information and the second hardware information, the primary screen corresponds to a better network, the communication between the first electronic device and the second electronic device is realized through a preset rule, the preset rule is used for realizing data compression, furthermore, in the communication process between the electronic whiteboards, the good network side can be determined as the main screen according to the hardware information of the two communication sides, and data compression can be realized through a preset rule, which is beneficial to improving the data transmission efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic network architecture of a communication control system for implementing a communication control method between electronic whiteboards according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a communication control method between electronic whiteboards according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another method for controlling communication between electronic whiteboards according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a server provided in an embodiment of the present application;
fig. 5 is a block diagram illustrating functional units of a communication control device between electronic whiteboards according to an embodiment of the present disclosure.
Detailed Description
The embodiment of the application provides a communication control method and device for electronic whiteboards and electronic equipment, which can improve data transmission efficiency when data transmission amount is too large.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In this embodiment of the application, no matter the first electronic device and the second electronic device are electronic Devices, the electronic Devices described in this embodiment of the application may include a smart phone (such as an Android phone), a tablet computer, a palmtop computer, a notebook computer, a Mobile Internet device (MID, Mobile Internet Devices), a wearable device, and the like, and the above Devices are merely examples, and are not exhaustive and include but not limited to the above electronic Devices.
Please refer to fig. 1, which is a schematic diagram of a network architecture of a communication control system for implementing a communication control method between electronic whiteboards according to an embodiment of the present application. The communication control system comprises a server, a first electronic device and a second electronic device, wherein the first electronic device is in communication connection with the second electronic device through the server.
Based on the network architecture, the server may be configured to implement the following functions:
acquiring first hardware information of first electronic equipment, wherein the first electronic equipment is in communication connection with second electronic equipment through the server;
acquiring second hardware information of the second electronic equipment;
setting one of the first electronic device and the second electronic device as a main screen and the other as a secondary screen according to the first hardware information and the second hardware information, wherein the main screen corresponds to a better network;
and realizing communication between the first electronic equipment and the second electronic equipment through a preset rule, wherein the preset rule is used for realizing data compression.
It can be seen that, with the server described in this embodiment of the present application, by obtaining first hardware information of a first electronic device, the first electronic device establishes a communication connection with a second electronic device through the server, and obtains second hardware information of the second electronic device, according to the first hardware information and the second hardware information, one of the first electronic device and the second electronic device is set as a primary screen, and the other is set as a secondary screen, the primary screen corresponds to a better network, communication between the first electronic device and the second electronic device is implemented through a preset rule, and the preset rule is used for implementing data compression.
Referring to fig. 2, a schematic flow chart of an embodiment of a method for controlling communication between electronic whiteboards according to an embodiment of the present application is shown based on the network architecture described in fig. 1. The communication control method between the electronic whiteboards described in this embodiment is applied to a server, and includes the following steps:
201. and acquiring first hardware information of first electronic equipment, wherein the first electronic equipment is in communication connection with second electronic equipment through the server.
In a specific implementation, the first electronic device may directly communicate with the server, and the first electronic device may actively report the first hardware information to the server, or the server may send a device information acquisition request to the first electronic device, and the first electronic device responds to the device information acquisition request and further sends the first hardware information to the server.
Wherein the first hardware information includes at least one of: and the screen display parameters of the first electronic equipment and the network parameters corresponding to the first electronic equipment. Wherein, the screen display parameter may be at least one of the following: the size of the screen (width and height of the screen), the resolution of the screen, the model of the screen, the date of manufacture of the screen, etc., are not limited herein, and the network parameter may be at least one of: network rate, network type, network signal strength, etc., without limitation. In this embodiment, the network type may be at least one of the following: a 2G network, a 3G network, a 4G network, a 5G network, etc., without limitation.
202. And acquiring second hardware information of the second electronic equipment.
In a specific implementation, the second electronic device may directly communicate with the server, and the second electronic device may actively report the second hardware information to the server, or the server may send a device information acquisition request to the second electronic device, and the second electronic device responds to the device information acquisition request and further sends the second hardware information to the server.
Wherein the second hardware information includes at least one of: and the screen display parameter of the second electronic equipment and the network parameter corresponding to the second electronic equipment. Wherein, the screen display parameter may be at least one of the following: the size of the screen (width and height of the screen), the resolution of the screen, the model of the screen, the date of manufacture of the screen, etc., are not limited herein, and the network parameter may be at least one of: network rate, network type, network signal strength, etc., without limitation.
203. And setting one of the first electronic device and the second electronic device as a main screen and the other as a secondary screen according to the first hardware information and the second hardware information, wherein the main screen corresponds to the better network.
In a specific implementation, the server may set one of the first electronic device and the second electronic device as a primary screen and the other as a secondary screen according to the first hardware information and the second hardware information, for example, the server may set the network-good one as the primary screen and the other as the secondary screen according to network parameters corresponding to the first electronic device and the second electronic device.
In one possible example, when the first hardware information is a first network parameter and the second hardware information is a second network parameter;
in step 203, setting one of the first electronic device and the second electronic device as a primary screen and setting the other as a secondary screen according to the first hardware information and the second hardware information, the method may include the following steps:
31. determining a first network evaluation value corresponding to the first electronic device according to the first network parameter;
32. determining a second network evaluation value corresponding to the second electronic device according to the second network parameter;
33. and setting one corresponding to the larger one of the first network evaluation value and the second network evaluation value as a primary screen, and setting the other one as a secondary screen.
In a specific implementation, the network parameter reflects the network performance to a certain extent, and further, the server may determine a first network evaluation value corresponding to the first electronic device according to the first network parameter, and determine a second network evaluation value corresponding to the second electronic device according to the second network parameter, and further, may set one corresponding to a larger one of the first network evaluation value and the second network evaluation value as a primary screen, and set the other one as a secondary screen.
Further, in a possible example, the determining, by the first network parameter, a first network evaluation value corresponding to the first electronic device according to the first network parameter includes:
and determining the first network evaluation value corresponding to the first network type according to a preset mapping relation between the network types and the network evaluation values.
The server may pre-store a mapping relationship between a preset network type and a network evaluation value, and further, the server may determine a first network evaluation value corresponding to the first network type according to the mapping relationship between the preset network type and the network evaluation value. By analogy, a second network evaluation value corresponding to the second electronic device can be determined according to the method.
204. And realizing communication between the first electronic equipment and the second electronic equipment through a preset rule, wherein the preset rule is used for realizing data compression.
The preset rules can be set by the user or default by the system. The preset rule may implement at least one of the following functions: data compression, data padding, data mapping, and the like, which are not limited herein, the preset rule may include preconfigured basic information, which may include the following: the operation information of the sending end, the selected characteristic parameter, and the like, and the operation information may include operation location information and/or an operation object, which is not limited herein. The preset rule may be implemented by at least one of the server, the first electronic device, and the second electronic device. Data compression can be realized on data; data padding can be used for padding designated bits of data, the designated bits can be set by a user or defaulted by a system, and for better use of the data, each byte bit is accurate in binary system of a computer, namely the designated bit data is compressed; the data mapping may be understood as replacing the second character with a first character, the first character being a simple character, the second character being a complex character, e.g. drawing a triangle, denoted by the code 1, drawing a rectangle denoted by 2, etc.
For example, the first electronic device may obtain the first data packet, further process the first data packet according to a preset rule, and send the processed first data packet to the server, where the first data packet may be compressed to the maximum extent due to compression, filling, and mapping of the data packet, which is beneficial to improving transmission efficiency of the first data packet, and further, the server may forward the first data packet to the second electronic device, and the second electronic device may perform a reverse operation according to a rule opposite to the preset rule, so as to restore the first data packet to the first electronic device.
For example, after receiving the second data packet, the server may process the second data packet according to a preset rule, and then send the processed second data packet to the second electronic device, and since the data packet is compressed, filled, and mapped, the second data packet may be compressed to the maximum extent, which is beneficial to improving the transmission efficiency of the second data packet, and further, the second electronic device may perform a reverse operation according to a rule opposite to the preset rule, and restore the second data packet to the original second data.
In one possible example, after the step 204, the following steps may be further included:
a1, receiving target screen information of the main screen;
and A2, sending the target screen information to the secondary screen, and indicating the secondary screen to adaptively display the target screen information according to a rule of local maximum width and height adaptation.
The target screen information can be display content of a main screen, the server can receive the target screen information of the main screen, further, the target screen information can be sent to a secondary screen, and the secondary screen is indicated to be adapted to display the target screen information according to a rule of local maximum width and height adaptation, namely the display rule of the main screen is different from that of the secondary screen, the display content of the secondary screen can be scaled in an equal proportion, for example, the display rule of the main screen is 16 inches, the display rule of the secondary screen is 21 inches, the display rule of the main screen can be enlarged to be consistent with that of the main screen 21 inches, for example, the display rule of the main screen is 21 inches, the display rule of the secondary screen is 16 inches, the display rule of the main screen is enlarged to 16 inches, and therefore synchronous display between the main screen and the secondary screen can be achieved.
In one possible example, the step 204, implementing communication between the first electronic device and the second electronic device through a preset rule, may include the following steps:
41. receiving a target data packet sent by the first electronic device, where the target data packet is a data packet processed by the first electronic device according to the preset rule, specifically, a specified field of the target data packet is filled, and the target data packet is a compressed packet;
42. and sending the target data packet to the second electronic equipment.
The specification may be set by a user or default, the server may receive a target data packet sent by the first electronic device, where the target data packet is a data packet processed by the first electronic device according to a preset rule, specifically, a specified field of the target data packet is filled, and the target data packet is a compressed packet, and further, the target data packet may be sent to the second electronic device, and the second electronic device may perform a reverse operation on the target data packet according to a rule opposite to the preset rule, and restore the target data packet to original data.
It can be seen that, the communication control method between the electronic whiteboards described in the embodiments of the present application is applied to a server, and obtains first hardware information of a first electronic device, the first electronic device establishes a communication connection with a second electronic device through the server, and obtains second hardware information of the second electronic device, and sets one of the first electronic device and the second electronic device as a primary screen and the other as a secondary screen according to the first hardware information and the second hardware information, where the primary screen corresponds to a better network side, the communication between the first electronic device and the second electronic device is realized through a preset rule, the preset rule is used for realizing data compression, furthermore, in the communication process between the electronic whiteboards, the good network side can be determined as the main screen according to the hardware information of the two communication sides, and data compression can be realized through a preset rule, which is beneficial to improving the data transmission efficiency.
Referring to fig. 3, a schematic flow chart of an embodiment of a method for controlling communication between electronic whiteboards according to an embodiment of the present application is shown based on the network architecture described in fig. 1. The communication control method between the electronic whiteboards described in this embodiment is applied to a server, and includes the following steps:
301. and acquiring first hardware information of first electronic equipment, wherein the first electronic equipment is in communication connection with second electronic equipment through the server.
302. And acquiring second hardware information of the second electronic equipment.
303. And setting one of the first electronic device and the second electronic device as a main screen and the other as a secondary screen according to the first hardware information and the second hardware information, wherein the main screen corresponds to the better network.
304. And realizing communication between the first electronic equipment and the second electronic equipment through a preset rule, wherein the preset rule is used for realizing data compression.
305. And receiving target screen information of the main screen.
306. And sending the target screen information to the secondary screen, and indicating the secondary screen to adaptively display the target screen information according to a rule of local maximum width and height adaptation.
The detailed description of the steps 301-306 can refer to the steps 201-204 described in fig. 2, and will not be described herein again.
It can be seen that, the communication control method between the electronic whiteboards described in the embodiments of the present application is applied to a server, and obtains first hardware information of a first electronic device, where the first electronic device establishes a communication connection with a second electronic device through the server, and obtains second hardware information of the second electronic device, and according to the first hardware information and the second hardware information, one of the first electronic device and the second electronic device is set as a primary screen, and the other is set as a secondary screen, where the primary screen corresponds to a better network, and the communication between the first electronic device and the second electronic device is implemented through a preset rule, where the preset rule is used to implement data compression, receive target screen information of the primary screen, send the target screen information to the secondary screen, and instruct the secondary screen to adaptively display the target screen information according to a rule of local maximum width and height adaptation, so that, during communication between the electronic whiteboards, the good side of the network is determined to be the main screen according to the hardware information of both communication sides, and data compression can be realized through a preset rule, so that the data transmission efficiency is improved, and synchronous display of different screens can be realized.
Referring to fig. 4, in accordance with the above-mentioned embodiment, fig. 4 is a schematic structural diagram of a server provided in this embodiment, as shown in the figure, the server includes a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory and configured to be executed by the processor, and in this embodiment, the programs include instructions for performing the following steps:
acquiring first hardware information of first electronic equipment, wherein the first electronic equipment is in communication connection with second electronic equipment through the server;
acquiring second hardware information of the second electronic equipment;
setting one of the first electronic device and the second electronic device as a main screen and the other as a secondary screen according to the first hardware information and the second hardware information, wherein the main screen corresponds to a better network;
and realizing communication between the first electronic equipment and the second electronic equipment through a preset rule, wherein the preset rule is used for realizing data compression.
It can be seen that, through the server between the electronic whiteboards described in the embodiments of the present application, first hardware information of a first electronic device is obtained, the first electronic device establishes a communication connection with a second electronic device through the server, second hardware information of the second electronic device is obtained, one of the first electronic device and the second electronic device is set as a primary screen and the other is set as a secondary screen according to the first hardware information and the second hardware information, the primary screen corresponds to a better network, communication between the first electronic device and the second electronic device is realized through a preset rule, the preset rule is used for realizing data compression, and further, in a communication process between the electronic whiteboards, the better network is determined as the primary screen according to hardware information of both communication parties, and data compression can be realized through the preset rule, which is beneficial to improving data transmission efficiency.
In one possible example, the first hardware information includes at least one of: the screen display parameters of the first electronic equipment and the network parameters corresponding to the first electronic equipment;
the second hardware information includes at least one of: and the screen display parameter of the second electronic equipment and the network parameter corresponding to the second electronic equipment.
In one possible example, when the first hardware information is a first network parameter and the second hardware information is a second network parameter;
in the aspect that one of the first electronic device and the second electronic device is set as a main screen and the other is set as a sub-screen according to the first hardware information and the second hardware information, the program includes instructions for executing the following steps:
determining a first network evaluation value corresponding to the first electronic device according to the first network parameter;
determining a second network evaluation value corresponding to the second electronic device according to the second network parameter;
and setting one corresponding to the larger one of the first network evaluation value and the second network evaluation value as a primary screen, and setting the other one as a secondary screen.
In one possible example, the first network parameter includes a first network type, and in the determining of the first network evaluation value corresponding to the first electronic device according to the first network parameter, the program includes instructions for:
and determining the first network evaluation value corresponding to the first network type according to a preset mapping relation between the network types and the network evaluation values.
In one possible example, the above further program includes instructions for performing the steps of:
receiving target screen information of the main screen;
and sending the target screen information to the secondary screen, and indicating the secondary screen to adaptively display the target screen information according to a rule of local maximum width and height adaptation.
In one possible example, in terms of the communication between the first electronic device and the second electronic device being implemented by means of preset rules, the program comprises instructions for:
receiving a target data packet sent by the first electronic device, where the target data packet is a data packet processed by the first electronic device according to the preset rule, specifically, a specified field of the target data packet is filled, and the target data packet is a compressed packet;
and sending the target data packet to the second electronic equipment.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the server includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the server may be divided into the functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 5 is a block diagram showing functional units of a communication control device 500 between electronic whiteboards according to an embodiment of the present application. The communication control device 500 between the electronic whiteboards is applied to a server, and the device 500 comprises: a first acquisition unit 501, a second acquisition unit, a determination unit 503, and a communication unit 504, wherein,
a first obtaining unit 501, configured to obtain first hardware information of a first electronic device, where the first electronic device establishes a communication connection with a second electronic device through the server;
a second obtaining unit 502, configured to obtain second hardware information of the second electronic device;
a determining unit 503, configured to set one of the first electronic device and the second electronic device as a primary screen and set the other as a secondary screen according to the first hardware information and the second hardware information, where the primary screen corresponds to a better network;
a communication unit 504, configured to implement communication between the first electronic device and the second electronic device through a preset rule, where the preset rule is used to implement data compression.
It can be seen that, the communication control device between electronic whiteboards described in the embodiments of the present application is applied to a server, obtains first hardware information of a first electronic device, the first electronic device establishes a communication connection with a second electronic device through the server, obtains second hardware information of the second electronic device, sets one of the first electronic device and the second electronic device as a primary screen and the other as a secondary screen according to the first hardware information and the second hardware information, the primary screen corresponds to a better network, the communication between the first electronic device and the second electronic device is realized through a preset rule, the preset rule is used for realizing data compression, furthermore, in the communication process between the electronic whiteboards, the good network side can be determined as the main screen according to the hardware information of the two communication sides, and data compression can be realized through a preset rule, which is beneficial to improving the data transmission efficiency.
In one possible example, the first hardware information includes at least one of: the screen display parameters of the first electronic equipment and the network parameters corresponding to the first electronic equipment;
the second hardware information includes at least one of: and the screen display parameter of the second electronic equipment and the network parameter corresponding to the second electronic equipment.
In one possible example, when the first hardware information is a first network parameter and the second hardware information is a second network parameter;
in the aspect that one of the first electronic device and the second electronic device is set as a primary screen and the other is set as a secondary screen according to the first hardware information and the second hardware information, where the primary screen corresponds to a better network, the determining unit 503 is specifically configured to:
determining a first network evaluation value corresponding to the first electronic device according to the first network parameter;
determining a second network evaluation value corresponding to the second electronic device according to the second network parameter;
and setting one corresponding to the larger one of the first network evaluation value and the second network evaluation value as a primary screen, and setting the other one as a secondary screen.
In one possible example, the first network parameter includes a first network type, and in terms of determining the first network evaluation value corresponding to the first electronic device according to the first network parameter, the determining unit 503 includes:
and determining the first network evaluation value corresponding to the first network type according to a preset mapping relation between the network types and the network evaluation values.
In one possible example, the communication unit 504 is further specifically configured to:
receiving target screen information of the main screen;
and sending the target screen information to the secondary screen, and indicating the secondary screen to adaptively display the target screen information according to a rule of local maximum width and height adaptation.
In a possible example, in terms of the communication between the first electronic device and the second electronic device implemented by the preset rule, the communication unit 504 is specifically configured to:
receiving a target data packet sent by the first electronic device, where the target data packet is a data packet processed by the first electronic device according to the preset rule, specifically, a specified field of the target data packet is filled, and the target data packet is a compressed packet;
and sending the target data packet to the second electronic equipment.
It is to be understood that the functions of each program module of the communication control device between the electronic whiteboards in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A communication control method between electronic whiteboards is applied to a server, and the method comprises the following steps:
acquiring first hardware information of first electronic equipment, wherein the first electronic equipment is in communication connection with second electronic equipment through the server;
acquiring second hardware information of the second electronic equipment;
setting one of the first electronic device and the second electronic device as a main screen and the other as a secondary screen according to the first hardware information and the second hardware information, wherein the main screen corresponds to a better network and the main screen corresponds to a better network;
and realizing communication between the first electronic equipment and the second electronic equipment through a preset rule, wherein the preset rule is used for realizing data compression.
2. The method of claim 1, wherein the first hardware information comprises at least one of: the screen display parameters of the first electronic equipment and the network parameters corresponding to the first electronic equipment;
the second hardware information includes at least one of: and the screen display parameter of the second electronic equipment and the network parameter corresponding to the second electronic equipment.
3. The method of claim 2, wherein when the first hardware information is a first network parameter and the second hardware information is a second network parameter;
the setting one of the first electronic device and the second electronic device as a primary screen and the other as a secondary screen according to the first hardware information and the second hardware information includes:
determining a first network evaluation value corresponding to the first electronic device according to the first network parameter;
determining a second network evaluation value corresponding to the second electronic device according to the second network parameter;
and setting one corresponding to the larger one of the first network evaluation value and the second network evaluation value as a primary screen, and setting the other one as a secondary screen.
4. The method according to claim 3, wherein the first network parameter includes a first network type, and the determining a first network evaluation value corresponding to the first electronic device according to the first network parameter includes:
and determining the first network evaluation value corresponding to the first network type according to a preset mapping relation between the network types and the network evaluation values.
5. The method according to any one of claims 1-4, further comprising:
receiving target screen information of the main screen;
and sending the target screen information to the secondary screen, and indicating the secondary screen to adaptively display the target screen information according to a rule of local maximum width and height adaptation.
6. The method according to any one of claims 1-4, wherein the enabling of the communication between the first electronic device and the second electronic device through the preset rule comprises:
receiving a target data packet sent by the first electronic device, where the target data packet is a data packet processed by the first electronic device according to the preset rule, specifically, a specified field of the target data packet is filled, and the target data packet is a compressed packet;
and sending the target data packet to the second electronic equipment.
7. A communication control device between electronic whiteboards is applied to a server, and the device comprises:
the first acquisition unit is used for acquiring first hardware information of first electronic equipment, and the first electronic equipment is in communication connection with second electronic equipment through the server;
a second obtaining unit, configured to obtain second hardware information of the second electronic device;
the determining unit is used for setting one of the first electronic device and the second electronic device as a primary screen and setting the other one as a secondary screen according to the first hardware information and the second hardware information, wherein the primary screen corresponds to the better network side;
the communication unit is used for realizing communication between the first electronic device and the second electronic device through a preset rule, and the preset rule is used for realizing data compression.
8. The apparatus of claim 7, wherein the first hardware information comprises at least one of: the screen display parameters of the first electronic equipment and the network parameters corresponding to the first electronic equipment;
the second hardware information includes at least one of: and the screen display parameter of the second electronic equipment and the network parameter corresponding to the second electronic equipment.
9. A server, comprising:
a processor and a memory;
wherein the processor is used for executing the communication control method for the electronic whiteboard according to any one of claims 1 to 6 by calling codes or instructions in the memory.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-6.
CN201911159826.1A 2019-11-22 2019-11-22 Communication control method and device between electronic whiteboards and server Pending CN111031007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911159826.1A CN111031007A (en) 2019-11-22 2019-11-22 Communication control method and device between electronic whiteboards and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911159826.1A CN111031007A (en) 2019-11-22 2019-11-22 Communication control method and device between electronic whiteboards and server

Publications (1)

Publication Number Publication Date
CN111031007A true CN111031007A (en) 2020-04-17

Family

ID=70203331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911159826.1A Pending CN111031007A (en) 2019-11-22 2019-11-22 Communication control method and device between electronic whiteboards and server

Country Status (1)

Country Link
CN (1) CN111031007A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434187A (en) * 2021-06-18 2021-09-24 聚好看科技股份有限公司 Server and whiteboard version compatible method
WO2022206780A1 (en) * 2021-03-31 2022-10-06 华为技术有限公司 Display method and apparatus for electronic device, and electronic device and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030046432A1 (en) * 2000-05-26 2003-03-06 Paul Coleman Reducing the amount of graphical line data transmitted via a low bandwidth transport protocol mechanism
CN101217431A (en) * 2007-12-29 2008-07-09 腾讯科技(深圳)有限公司 A method and system of photos in synchronous mobile terminal network TV and network album
CN101316356A (en) * 2007-05-29 2008-12-03 北京大学 Blackboard writing dynamic image compression method facing remote education
CN101795390A (en) * 2010-03-05 2010-08-04 圆展科技股份有限公司 Method, system and device for transmitting pictures
CN103226453A (en) * 2013-03-22 2013-07-31 武汉无懈科技有限责任公司 Method for mapping display and operation of mobile phone screen to computer terminal
CN105357116A (en) * 2015-10-23 2016-02-24 上海斐讯数据通信技术有限公司 Method of multiple terminals for accessing server and intelligent terminal
CN105808187A (en) * 2016-03-04 2016-07-27 天脉聚源(北京)教育科技有限公司 Teaching resource processing method and apparatus
CN109167955A (en) * 2018-10-12 2019-01-08 广州登云信息科技有限公司 A kind of system and method for big smaller screen synchronization and Interaction Cooperation based on network communication
CN109189533A (en) * 2018-08-29 2019-01-11 万帮充电设备有限公司 A kind of screen size adaptation method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030046432A1 (en) * 2000-05-26 2003-03-06 Paul Coleman Reducing the amount of graphical line data transmitted via a low bandwidth transport protocol mechanism
CN101316356A (en) * 2007-05-29 2008-12-03 北京大学 Blackboard writing dynamic image compression method facing remote education
CN101217431A (en) * 2007-12-29 2008-07-09 腾讯科技(深圳)有限公司 A method and system of photos in synchronous mobile terminal network TV and network album
CN101795390A (en) * 2010-03-05 2010-08-04 圆展科技股份有限公司 Method, system and device for transmitting pictures
CN103226453A (en) * 2013-03-22 2013-07-31 武汉无懈科技有限责任公司 Method for mapping display and operation of mobile phone screen to computer terminal
CN105357116A (en) * 2015-10-23 2016-02-24 上海斐讯数据通信技术有限公司 Method of multiple terminals for accessing server and intelligent terminal
CN105808187A (en) * 2016-03-04 2016-07-27 天脉聚源(北京)教育科技有限公司 Teaching resource processing method and apparatus
CN109189533A (en) * 2018-08-29 2019-01-11 万帮充电设备有限公司 A kind of screen size adaptation method and system
CN109167955A (en) * 2018-10-12 2019-01-08 广州登云信息科技有限公司 A kind of system and method for big smaller screen synchronization and Interaction Cooperation based on network communication

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022206780A1 (en) * 2021-03-31 2022-10-06 华为技术有限公司 Display method and apparatus for electronic device, and electronic device and readable storage medium
CN113434187A (en) * 2021-06-18 2021-09-24 聚好看科技股份有限公司 Server and whiteboard version compatible method
CN113434187B (en) * 2021-06-18 2022-10-28 聚好看科技股份有限公司 Server and whiteboard version compatible method

Similar Documents

Publication Publication Date Title
CN111552450A (en) Screen projection method and device
WO2019001006A1 (en) Method and device for encoding and decoding image data
CN109756536A (en) A kind of method, apparatus and system of data transmission
US11741292B2 (en) Adaptive content delivery
EP2312532B1 (en) Apparatus and method for transmitting handwritten message including time information
CN107483401B (en) Multimedia data transmission method and equipment, storage medium and server thereof
CN105282547A (en) Code rate control method and device of video encoding
EP2272237B1 (en) Method of transmitting data in a communication system
CN111031007A (en) Communication control method and device between electronic whiteboards and server
CN111128203A (en) Audio data encoding method, audio data decoding method, audio data encoding device, audio data decoding device, electronic equipment and storage medium
CN109729353B (en) Video coding method, device, system and medium
CN111083496A (en) Data processing method and related product
CN111669468B (en) Network state display method and device in call process, computer equipment and medium
CN111836092A (en) Data processing method and device of virtual desktop and related components
CN103138871B (en) The server data processing system of application program and method in mobile communcations system
CN104639501A (en) Data stream transmission method, equipment and system
CN109756464B (en) Communication method, server and client
CN104683217A (en) Multimedia information transmission method and instant messaging client
CN107529711A (en) The display methods and device of Streaming Media
CN104967917A (en) Instant video coding method and electronic device
CN107426114B (en) Resource allocation method and system
CN111327863A (en) Video call processing method and device
CN103139757B (en) A kind of data transmission system of application program for mobile terminal is unified method
CN113066139A (en) Picture processing method and device, storage medium and electronic equipment
CN107249087B (en) photo optimization method, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417