Electronic blackboard function implementation server, client, system and method
Through the communication link between the first device and the second device, the sensor is used to collect motion data and display the cursor trajectory in the blackboard screen, thereby realizing the function of the electronic blackboard, solving the problem of expensive and large electronic blackboard equipment, and providing a low-cost Efficient solution.
Patent Information
- Application Number
- CN202210598264.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-30
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-05-30
AI Technical Summary
Existing electronic blackboard equipment is expensive and bulky, making it difficult to use at home or in space-constrained environments, and cannot meet the needs of users who require electronic blackboard functions.
By utilizing a communication link between a first device with a display function and a second device equipped with a sensor, the function of an electronic blackboard is realized. The first device displays a screen of writing on the blackboard, and the second device collects action data controlled by the user and sends the corresponding cursor. The trajectory processing instruction causes the first device to display the cursor trajectory in the blackboard writing screen.
The use of cheap and popular electronic equipment to realize the electronic blackboard function reduces costs and space occupation, and meets the needs of families and space-limited environments.
Smart Images

Figure CN115016691B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic display technology, and in particular to a server, client, system and method for realizing electronic blackboard functions. Background Art
[0002] As an electronic product that replaces traditional blackboards, electronic blackboards are widely used in classrooms, conference rooms and other places. At present, electronic blackboards are dedicated complete sets of equipment, which have the following two defects: first, they are expensive; second, they are large in size and require a large space for placement. Due to the above two defects, electronic blackboards are not suitable for use by objects such as families, companies with limited funds or space, etc.
[0003] Therefore, how to enable the above-mentioned objects who have not purchased the electronic blackboard to enjoy the functions of the electronic blackboard has become a problem that urgently needs to be solved. Summary of the invention
[0004] The present application proposes a server, client, system and method for realizing the function of an electronic blackboard, the main purpose of which is to realize the function of an electronic blackboard through existing electronic devices.
[0005] In order to achieve the above objectives, this application mainly provides the following technical solutions:
[0006] In a first aspect, the present application provides an electronic blackboard function implementation server, which is applied to a first device with a display function, and the server includes:
[0007] A first establishing unit, configured to establish a communication link with a second device, wherein the second device is provided with a sensor, and the sensor is configured to collect motion data of the second device being controlled by body sensing;
[0008] A display unit, used for displaying a blackboard screen;
[0009] An execution unit is used to execute a cursor trajectory display corresponding to the action data in the blackboard screen based on the cursor trajectory processing instruction sent by the second device and the action data, wherein the cursor trajectory processing instruction is an instruction corresponding to the cursor trajectory processing requirement.
[0010] In a second aspect, the present application provides a client for realizing an electronic blackboard function, which is applied to a second device provided with a sensor, wherein the sensor is used to collect motion data of the second device being controlled by body sensing, and the client includes:
[0011] A second establishing unit, configured to establish a communication link with the first device;
[0012] A first sending unit, configured to send a cursor track processing instruction corresponding to a cursor track processing requirement to the first device when the first device displays a blackboard screen;
[0013] The second sending unit is used to send the action data collected by the sensor to the first device, so that the first device executes the cursor track display corresponding to the action data in the blackboard screen under the cursor track processing instruction.
[0014] In a third aspect, the present application provides a method for realizing an electronic blackboard function, which is applied to a first device having a display function, and the method comprises:
[0015] Establishing a communication link with a second device, wherein the second device is provided with a sensor, and the sensor is used to collect motion data of the second device being controlled by body sensing;
[0016] Display the blackboard screen;
[0017] Based on the cursor trajectory processing instruction and the action data sent by the second device, a cursor trajectory display corresponding to the action data is executed in the blackboard screen, wherein the cursor trajectory processing instruction is an instruction corresponding to the cursor trajectory processing requirement.
[0018] In a fourth aspect, the present application provides a method for realizing an electronic blackboard function, which is applied to a second device provided with a sensor, wherein the sensor is used to collect motion data of the second device being controlled by body sensing, and the method comprises:
[0019] establishing a communication link with a first device;
[0020] When the first device displays a blackboard screen, sending a cursor track processing instruction corresponding to a cursor track processing requirement to the first device;
[0021] The action data collected by the sensor is sent to the first device, so that the first device executes the cursor track display corresponding to the action data in the blackboard screen under the cursor track processing instruction.
[0022] In a fifth aspect, the present application provides an electronic blackboard function implementation system, comprising: a first device deployed with the electronic blackboard function implementation server described in the first aspect and a second device deployed with the electronic blackboard function implementation client described in the second aspect.
[0023] By means of the above technical scheme, the electronic blackboard function provided by the present application realizes the server, client, system and method. When it is necessary to use existing equipment to realize the electronic blackboard function, first select a first device with a display function and a second device provided with a sensor, then establish a communication link between the first device and the second device, and display the blackboard screen through the first device. When the second device sends the action data of the second device being controlled by the body sense collected by the sensor and the cursor track processing instruction corresponding to the cursor track processing requirement to the first device, the first device performs the cursor track display corresponding to the action data in the blackboard screen based on the cursor track processing instruction and the action data. It can be seen that in the scheme provided by the present application, the second device plays the role of a blackboard writing tool, which is responsible for transmitting the action data reflecting the cursor track to the first device. The first device plays the role of a blackboard screen, which is used to display the blackboard screen, and performs the cursor track display corresponding to the action data in the blackboard screen, thereby completing the user's blackboard writing needs. In practical applications, electronic devices with display functions can be used as first devices, and electronic devices provided with sensors for collecting action data can be used as second devices. The electronic blackboard function can be realized through the interaction between the first device and the second device. Therefore, the present application can realize the electronic blackboard function using relatively cheap and popular electronic devices.
[0024] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0026] Figure 1 A schematic diagram of the structure of an electronic blackboard function implementation server provided by an embodiment of the present application is shown;
[0027] Figure 2 A schematic diagram of the structure of an electronic blackboard function implementation server provided by another embodiment of the present application is shown;
[0028] Figure 3 A schematic diagram of the structure of a client for realizing an electronic blackboard function provided by an embodiment of the present application is shown;
[0029] Figure 4A schematic diagram of the structure of a client for realizing an electronic blackboard function provided by another embodiment of the present application is shown;
[0030] Figure 5 A schematic diagram of the structure of an electronic blackboard function realization system provided by an embodiment of the present application is shown;
[0031] Figure 6 A flow chart of a method for realizing an electronic blackboard function provided by an embodiment of the present application is shown;
[0032] Figure 7 A flow chart of a method for realizing electronic blackboard functions provided by another embodiment of the present application is shown. DETAILED DESCRIPTION
[0033] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0034] Electronic blackboards are usually dedicated complete sets of equipment, which have the following two defects: first, they are expensive; second, they are large in size and require a large space to be placed. Due to the above two defects, electronic blackboards are not suitable for use by objects such as families, companies with limited funds or space, etc.
[0035] In order to enable the above-mentioned objects that have not purchased the electronic blackboard to enjoy the functions of the electronic blackboard, the embodiments of the present application provide a server, client, system and method for realizing the functions of the electronic blackboard, so that the above-mentioned objects can realize the functions of the electronic blackboard using relatively cheap and popular electronic devices. The server, client, system and method for realizing the functions of the electronic blackboard provided by the embodiments of the present application are specifically described below.
[0036] The embodiment of the present application provides an electronic blackboard function implementation server, which is applied to a first device with a display function, such as Figure 1 As shown, the electronic blackboard function implementation server mainly includes:
[0037] A first establishing unit 11 is used to establish a communication link with a second device, wherein the second device is provided with a sensor, and the sensor is used to collect motion data of the second device being controlled by body sensing;
[0038] A display unit 12, used for displaying a blackboard screen;
[0039] The execution unit 13 is used to execute the cursor trajectory display corresponding to the action data in the blackboard screen based on the cursor trajectory processing instruction and action data sent by the second device, wherein the cursor trajectory processing instruction is an instruction corresponding to the cursor trajectory processing requirement.
[0040] The following is a detailed description of each module in the electronic blackboard function implementation server:
[0041] First Building Unit 11:
[0042] The electronic blackboard function implementation server provided in the embodiment of the present application is applied to a first device with a display function. In practical applications, any electronic device with a display function currently owned by the user can be used as the first device. Exemplarily, the first device may include but is not limited to a television, a projector, a desktop computer, a tablet computer, etc.
[0043] The first device needs to be used in conjunction with the second device to realize the electronic blackboard function. The second device described here is an electronic device provided with a sensor, and the sensor of the second device is used to collect the motion data of the second device being somatosensory controlled. The somatosensory control of the second device means that the user controls the second device to change the posture of the second device, and the sensor collects the motion data corresponding to the posture change of the second device. Since the sensor collects the motion data of the second device being somatosensory controlled, when the user needs to perform blackboard writing operations in the blackboard screen, the second device operated by the user does not need to contact the first device, and the motion data reflecting the blackboard writing operation can be collected. In practical applications, all electronic devices currently owned by the user with the above-mentioned sensors can be used as the second device. Exemplarily, the second device can include but is not limited to a mobile phone, a tablet computer, a remote control, and a mouse provided with the above-mentioned sensor. The above-mentioned sensor type is not specifically limited in this embodiment, and the sensor that can collect the motion data of the second device in practical applications can be selected. Exemplarily, the sensor is a gyroscope sensor.
[0044] After selecting the first device and the second device, it is necessary to establish a communication link between the first device and the second device, so as to realize the interaction between the first device and the second device through the established communication link, thereby realizing the electronic blackboard function through the interaction between the first device and the second device. Therefore, the first establishment unit 11 is specifically used to connect the first device and the second device to the same local area network; interactively verify the first device and the second device, and when the interactive verification passes, determine that the communication link between the first device and the second device is established. That is to say, the specific process of the first establishment unit 11 establishing the communication link between the first device and the second device includes the following steps 101A to 101B:
[0045] 101A. Connect the first device and the second device to the same local area network.
[0046] The specific methods for connecting the first device and the second device to the same local area network include at least the following three methods: first, the first device and the second device are directly connected to each other via Wi-Fi (Wireless Fidelity); second, the first device and the second device are connected to the same Wi-Fi; third, the first device is connected to a hotspot enabled by the second device; and fourth, the second device is connected to a hotspot enabled by the first device.
[0047] 101B. Interactively verify the first device and the second device, and when the interactive verification passes, determine that the communication link between the first device and the second device is established.
[0048] Interactive verification can determine the roles of the first device and the second device based on business requirements. For example, when the first device is the initiator, the second device is the receiver; when the second device is the initiator, the first device is the receiver. The specific process of interactive verification of the first device and the second device includes the following steps 1 to 4:
[0049] Step 1: The initiator broadcasts a request message. The request message carries a flag bit and a random number generated by the initiator. In order to prevent the request message from being maliciously stolen, the request message needs to be encrypted when it is broadcast.
[0050] Step 2: When the receiver listens to the request message, it decrypts the request message to obtain the flag bit and random number, generates a feedback message based on the flag bit and random number, and sends the feedback message to the initiator. Similarly, in order to prevent the feedback message from being maliciously stolen, the feedback message needs to be encrypted when it is sent.
[0051] Step 3: When the initiator receives the feedback message, it decrypts the feedback message to obtain the data in the feedback message, and when it determines that the data in the feedback message meets the requirements, it feeds back a successful link establishment notification to the receiver.
[0052] Step 4: When the receiver receives the notification of successful link establishment and verifies that the notification is legitimate, the communication link is established.
[0053] Display unit 12:
[0054] The display unit 12 is used to display the blackboard screen, and the blackboard screen described here is the screen on which the user performs blackboard operation. The display unit 12 displays the blackboard screen in the following ways:
[0055] First, the display unit 12 is specifically used to use the material screen sent by the second device as a blackboard screen and display it.
[0056] The material screen is a screen selected by the user on which the user intends to write on the blackboard. The material screen includes the following two forms: one is the courseware screen used by the user for lectures, such as a PPT image; the other is the blackboard background screen selected by the user. For example, if the user intends to write on the black blackboard screen, the material screen is a pure black image.
[0057] When receiving the material screen, the first device directly uses the material screen as the blackboard screen and displays it, so that the user can write on the blackboard in the displayed blackboard screen.
[0058] In the second case, the display unit 12 is specifically configured to extract a target screen based on a network link sent by the second device, and use the target screen as a blackboard screen for display.
[0059] In order to reduce the amount of data transmission between the first device and the second device, the first device sends a network link of a target screen to the second device. The target screen is the screen on which the user intends to write on the blackboard. After receiving the network link, the first device extracts the target screen corresponding to the network link and displays the target screen as the blackboard screen.
[0060] In a third embodiment, the display unit 12 is specifically configured to use a preset screen stored in a preset storage area as a blackboard screen and display the screen.
[0061] The preset storage area of the first device stores a preset picture. When the first device and the second device interact to realize the electronic blackboard function, the preset picture stored in the preset storage area can be directly used as the blackboard writing picture.
[0062] Furthermore, a plurality of preset screens can be stored in the preset storage area, and the user can select a preset screen as the blackboard screen by sending a screen selection instruction from the second device. For example, there are pure black screens and pure white screens in the preset storage area, and the second device sends an instruction to select the pure white screen as the blackboard screen, then the first device uses the pure white screen as the blackboard screen and displays it.
[0063] Furthermore, the above three display screen methods can be used in combination. For example, the first device determines whether the material screen or network link sent by the second device is received within a preset time; if it is determined that the material screen or network link is received, the blackboard screen is displayed according to the first or second method of displaying the blackboard screen; if it is determined that the material screen or network link is not received, the blackboard screen is displayed according to the third method of displaying the blackboard screen.
[0064] Execution unit 13:
[0065] like Figure 2As shown, the execution unit 13 includes: a control module 131, which is used to control the first device to enter a cursor trajectory processing mode corresponding to the cursor trajectory processing instruction based on the cursor trajectory processing instruction; a first determination module 132, which is used to determine the position movement information of the cursor based on the action data, wherein the position movement information defines the moving direction of the cursor and the distance moved in the moving direction; a display module 133, which is used to display the cursor trajectory in the blackboard screen based on the position movement information in the cursor trajectory processing mode.
[0066] The control module 131, the first determination module 132 and the display module 133 included in the execution unit 13 are specifically described below:
[0067] Control module 131:
[0068] The control module 131 is used for controlling the first device to enter a cursor trajectory processing mode corresponding to the cursor trajectory processing instruction based on the cursor trajectory processing instruction.
[0069] The cursor track processing instruction is an instruction corresponding to the cursor track processing requirement, that is, the cursor track processing instruction is issued by the user to the first device through the second device based on the user's own writing requirements in the blackboard screen. The cursor track processing instruction is used to limit the display mode of the cursor track in the blackboard screen. The display mode described here reflects the user's writing requirements, and the display mode may include: displaying the cursor track, deleting the cursor track, not displaying and not deleting the cursor track but moving the cursor position.
[0070] The cursor track processing mode entered by the first device is related to the display mode of the cursor track in the blackboard screen defined by the cursor track processing instruction currently received by the second device. When the cursor track processing instruction defines the display mode of the cursor track in the blackboard screen as displaying the cursor track, the cursor track processing mode controlled to enter by the first device is the chalk mode. In the chalk mode, you can draw on the blackboard screen, that is, you can write on the blackboard screen. When the cursor track processing instruction defines the display mode of the cursor track in the blackboard screen as deleting the cursor track, the cursor track processing mode controlled to enter by the first device is the eraser mode. In the eraser mode, the trace that has been drawn can be erased in the blackboard screen. The cursor track processing instruction defines the display mode of the cursor track in the blackboard screen as not displaying and not deleting the cursor track, but when moving the cursor position, the cursor track processing mode controlled to enter by the first device is the cursor moving mode. In the cursor moving mode, the cursor position can be moved in the blackboard screen.
[0071] First determination module 132:
[0072] The first determination module 132 is specifically used to select a target angular velocity from the angular velocities corresponding to the three axes included in the action data; determine the moving direction of the cursor based on the axis corresponding to the target angular velocity and the positive and negative conditions; and determine the moving distance of the cursor in the moving direction based on the target angular velocity and the preset cursor sensitivity.
[0073] The following steps 1 to 3 illustrate the process of the first determination module 132 determining the cursor position movement information based on the action data:
[0074] Step 1: Select a target angular velocity from the angular velocities corresponding to the three axes included in the motion data.
[0075] The action data is the action data corresponding to the posture change of the second device, which reflects the cursor movement required by the user, so the cursor position movement information can be determined based on the action data. The action data includes the angular velocity of the second device rotating around three axes, and the angular velocity reflects the posture change of the second device under somatosensory control. The method for selecting the target angular velocity from the action data is: determine the absolute value of the angular velocity corresponding to the target axis, and select the angular velocity whose absolute value is greater than the preset value as the target angular velocity.
[0076] In actual applications, different axes need to be assigned different cursor movement directions, that is, when the second device rotates around an axis to generate angular velocity, the cursor needs to move in the movement direction corresponding to the axis. It should be noted that the cursor only needs to move up and down or left and right in the blackboard screen, without moving inside and outside, so only two of the three axes need to be assigned a cursor movement direction. For example, the Z axis corresponds to left and right movement of the cursor, and the X axis corresponds to up and down movement of the cursor. When selecting the target angular velocity, only the axis that assigns the cursor movement direction is determined as the target axis.
[0077] In order to reduce the amount of calculation consumed in determining the position movement information, a preset value needs to be set. The angular velocity whose absolute value is not greater than the preset value is caused by the slight shaking of the user's body when the user controls the second device, and the user has no intention to move the cursor corresponding to these angular velocities. Therefore, only the angular velocity whose absolute value is greater than the preset value is selected as the target angular velocity.
[0078] Exemplarily, the target axes are the X-axis and the Z-axis, the preset value is 0.5, and the angular velocities corresponding to the three axes included in the action data are "X: 0.1, Y: -0.2, Z = -1.3 (rad / s)", then the angular velocity "-1.3" corresponding to the Z-axis is selected as the target angular velocity.
[0079] Exemplarily, the target axes are the X-axis and the Z-axis, the preset value is 0.5, and the angular velocities corresponding to the three axes included in the action data are "X: 0.8, Y: 0.6, Z=1.4 (rad / s)". Then the angular velocity "1.4" corresponding to the Z-axis and the angular velocity "0.8" corresponding to the X-axis are both selected as the target angular velocities.
[0080] Exemplarily, the target axes are the X-axis and the Z-axis, the preset value is 0.5, and the angular velocities corresponding to the three axes included in the action data are "X: -1.5, Y: 0.0, Z=0.2 (rad / s)", then the angular velocity "-1.5" corresponding to the X-axis is selected as the target angular velocity.
[0081] Step 2: Determine the direction of cursor movement based on the axis corresponding to the target angular velocity and the positive and negative conditions.
[0082] After selecting the target angular velocity, the cursor movement direction needs to be determined based on the axis corresponding to the target angular velocity and its positive and negative conditions. The axis corresponding to the target angular velocity is used to determine the cursor movement direction, and the positive and negative conditions are used to determine the specific movement direction of the cursor in the cursor movement direction.
[0083] For example, the angular velocities corresponding to the three axes included in the action data are "X: 0.1, Y: -0.2, Z = -1.3 (rad / s)", and the angular velocity "-1.3" corresponding to the Z axis is selected as the target angular velocity. Since the target angular velocity "-1.3" is a negative value and corresponds to the Z axis, the cursor movement direction is determined to be the cursor moving left and right, and the specific movement direction of the cursor in the cursor movement direction is determined to be moving right.
[0084] For example, the angular velocities corresponding to the three axes included in the motion data are "X: 0.9, Y: 0.6, Z = -1.3 (rad / s)", and the angular velocity "-1.3" corresponding to the Z axis and the angular velocity "0.9" corresponding to the X axis are both selected as the target angular velocities. Since the target angular velocity "-1.3" is a negative value, which corresponds to the Z axis, and the target angular velocity "0.9" is a positive value, which corresponds to the X axis, it is determined that the movement direction of the cursor is to the upper right.
[0085] Step three, based on the target angular velocity and the preset cursor sensitivity, determine the moving distance of the cursor in the moving direction.
[0086] Determine the moving distance of the cursor in the moving direction, which can be completed by the following formula:
[0087] S = -(int)(R×a+b)
[0088] Among them, S represents the moving distance; int represents rounding; R represents the target angular velocity; a represents the preset cursor sensitivity; and b represents the verification value. Among them, the preset cursor sensitivity represents the sensitivity of the cursor, and its value can be set by the user according to his own needs. For example, a is 5. The verification value is a priori value obtained through a large number of cursor movement examples. For example, b is 0.5.
[0089] For example, the angular velocities of the three axes included in the action data are "X: 0.1, Y: -0.2, Z = -1.3 (rad / s)", and the angular velocity "-1.3" corresponding to the Z axis is selected as the target angular velocity. The above formula shows that: S = -(int)(-1.5×5+0.5) = 7, indicating that the moving distance of the cursor to the right is 7 pixels.
[0090] Exemplarily, the angular velocities corresponding to the three axes included in the motion data are "X: 0.9, Y: 0.6, Z = -1.3 (rad / s)", and the angular velocity "-1.3" corresponding to the Z axis and the angular velocity "0.9" corresponding to the X axis are both selected as the target angular velocities. The above formulas show that: S1 = -(int)(-1.5×5+0.5) = 7, S2 = -(int)(0.9×5+0.5) = -5. This means that the cursor moves 7 pixels to the right, and after the cursor moves 7 pixels to the right, the cursor moves 5 pixels upward.
[0091] Display module 133:
[0092] The display module 133 is used to display the cursor track in the blackboard screen based on the position movement information in the cursor track processing mode.
[0093] Displaying the cursor track in the blackboard screen based on the position movement information is related to the current cursor track processing mode of the first device. Therefore, the display module 133 displays the cursor track in the blackboard screen based on the position movement information, including the following situations:
[0094] First, the display module 133 is specifically used to determine the drawing trajectory based on the position movement information and the current position of the cursor in the blackboard screen when the cursor trajectory processing mode is the chalk mode, and display the drawing trajectory in the blackboard screen.
[0095] When the cursor trajectory processing mode is the chalk mode, it is necessary to draw on the blackboard screen, so the drawing trajectory is determined based on the position movement information and the current position of the cursor on the blackboard screen. The method for determining the drawing trajectory is: determining the target pixel position where the cursor is currently located on the blackboard screen, and then taking the target pixel position as the base point, moving the cursor based on the position movement information, and determining the line between the position where the cursor is located after movement and the target pixel position as the drawing trajectory. After determining the drawing trajectory, the drawing trajectory is displayed on the blackboard screen, so as to complete the drawing for the position movement position on the blackboard screen.
[0096] Second, the display module 133 is specifically used to determine the erasing trajectory based on the position movement information and the current position of the cursor in the blackboard screen when the cursor trajectory processing mode is the eraser mode, and delete the picture corresponding to the erasing trajectory in the blackboard screen, wherein the picture corresponding to the erasing trajectory is the drawing trajectory that already exists in the blackboard screen.
[0097] When the cursor track processing mode is the blackboard eraser mode, it is necessary to erase the existing outline track in the blackboard screen, so the erase track is determined based on the position movement information and the current position of the cursor in the blackboard screen. The method for determining the erase track is: determine the target pixel position where the cursor is currently located in the blackboard screen, and then use the target pixel position as a base point to move the cursor based on the position movement information. Then, the erase track is determined based on the position of the cursor after movement and the target pixel position. After determining the erase track, delete the screen corresponding to the erase track in the blackboard screen. It should be noted that the method for determining the erase track based on the position of the cursor after movement and the target pixel position includes the following two methods: one is to determine the line between the position of the cursor after movement and the target pixel position as the erase track; the other is to generate a position frame based on the position of the cursor after movement and the target pixel position, and the area involved in the position frame is the erase track.
[0098] Thirdly, the display module 133 is specifically used to determine the cursor moving position based on the position movement information and the current position of the cursor in the blackboard screen when the cursor trajectory processing mode is the cursor moving mode, and display the cursor at a position corresponding to the cursor moving position in the blackboard screen.
[0099] When the cursor trajectory processing mode is the cursor movement mode, it is necessary to move the cursor in the blackboard screen, so the cursor movement position is determined based on the position movement information and the current position of the cursor in the blackboard screen. The method for determining the cursor movement position is: determining the target pixel position where the cursor is currently located in the blackboard screen, and then taking the target pixel position as a base point, the cursor is moved based on the position movement information, and the position where the cursor is located after the movement is determined as the cursor movement position. After determining the cursor movement position, the cursor is moved to the cursor movement position.
[0100] The electronic blackboard function implementation service end provided in the embodiment of the present application, when it is necessary to use existing equipment to implement the electronic blackboard function, first selects a first device with a display function and a second device provided with a sensor, then establishes a communication link between the first device and the second device, and displays the blackboard screen through the first device. When the second device sends the action data of the second device being controlled by the body sense collected by the sensor and the cursor track processing instruction corresponding to the cursor track processing requirement to the first device, the first device performs the cursor track display corresponding to the action data in the blackboard screen based on the cursor track processing instruction and the action data. It can be seen that in the scheme provided by the present application, the second device plays the role of a blackboard writing tool, which is responsible for transmitting the action data reflecting the cursor track to the first device. The first device plays the role of a blackboard screen, which is used to display the blackboard screen, and performs the cursor track display corresponding to the action data in the blackboard screen, thereby completing the user's blackboard writing needs. In practical applications, all electronic devices with a display function can be used as the first device, and all electronic devices provided with sensors for collecting action data can be used as the second device. The electronic blackboard function can be realized through the interaction between the first device and the second device, so the embodiment of the present application can use relatively cheap and popular electronic devices to realize the electronic blackboard function.
[0101] In some embodiments of the present application, further, after the first establishing unit 11 establishes a communication link with the second device, the display unit 12 determines whether a blackboard startup instruction issued by the second device is received; if received, it enters the electronic blackboard mode and displays the blackboard screen in the electronic blackboard mode.
[0102] After the first device and the second device establish a communication link, the user may not need to use the first device to write on the blackboard immediately. Therefore, in order not to affect the normal use of the first device after the first device and the second device establish a communication link, it is necessary to determine whether the blackboard startup instruction issued by the second device is received. When it is determined that the blackboard startup instruction is received, it means that the user needs to realize the electronic blackboard function through the first device at this time, so the first device is controlled to enter the electronic blackboard mode, and the blackboard screen is displayed in the electronic blackboard mode for the user to draw on the blackboard screen. When it is determined that the blackboard startup instruction is not received, it means that the user does not need to realize the electronic blackboard function through the first device at this time, and the blackboard startup instruction can be continued to be monitored.
[0103] In some embodiments of the present application, Figure 2 As shown, further, the electronic blackboard function implementation server may also include: a replacement unit 14, which is used to save the blackboard screen in the current cursor track display state based on the display screen replacement instruction sent by the second device, and display the display screen corresponding to the display screen replacement instruction.
[0104] In the scenario where the blackboard screen needs to be changed, the user can send a change display screen instruction to the first device through the second device to complete the switching of the two blackboard screens. In order to retain the blackboard content written by the user in the blackboard screen, when receiving the change display screen instruction sent by the second device, the blackboard screen in the current cursor track display state must first be saved to retain the blackboard content written in the blackboard screen before the time point of changing the display screen in the blackboard screen, so that the user can view it later. After saving the blackboard screen in the current cursor track display state, the display screen corresponding to the change display screen instruction is displayed, thereby completing the switching of the blackboard screen.
[0105] In some embodiments of the present application, Figure 2 As shown, further, the electronic blackboard function implementation server may also include: a reset unit 15, which is used to reset the cursor in the blackboard screen to a target position in the blackboard screen based on the cursor reset instruction sent by the second device.
[0106] The first device can send a light-beam reset instruction to the second device in the following scenarios: first, the cursor is lost in the blackboard screen; second, the current position of the cursor in the blackboard screen is far away from the position the user needs to draw or erase, but the position the user needs to draw or erase is relatively close to the target position.
[0107] When receiving the cursor reset instruction sent by the second device, the cursor in the blackboard screen is reset to the target position in the blackboard screen, so that the user can draw, erase or move the cursor based on the target position. The target position can be set by the user based on the user's usage habits.
[0108] In some embodiments of the present application, Figure 2 As shown, further, the electronic blackboard function implementation server may also include: a saving unit 16, which is used to save the blackboard screen in the current cursor track display state based on the blackboard saving instruction sent by the second device.
[0109] The first device can send a blackboard saving instruction to the second device in the following scenarios: First, when the user determines that the blackboard content written on the blackboard screen is worth saving, the first device is controlled to send a blackboard saving instruction to the second device; Second, in order to avoid the loss of the blackboard content written on the blackboard screen due to a malfunction of the first device, after the first device displays the blackboard screen, the first device sends a blackboard saving instruction to the second device, so that the second device continuously saves the blackboard screen in the current cursor track display state at a set frequency. Third, when the user needs to share the blackboard content written on the blackboard screen, the first device is controlled to send a blackboard saving instruction to the second device, so that after the first device saves the blackboard screen in the current cursor track display state, the saved screen can be shared with other users.
[0110] In some embodiments of the present application, Figure 2 As shown, further, the electronic blackboard function implementation server may also include: a recording unit 17, which is used to record the cursor track display on the blackboard screen based on the blackboard recording instruction sent by the second device.
[0111] When the user has a need to share the blackboard writing process on the blackboard screen with other users, the second device can send a blackboard recording instruction to the first device. Under the blackboard recording instruction, the second device records the cursor track display on the blackboard screen.
[0112] When the first device records the cursor track display on the blackboard screen, the recording process can be shared to the cloud platform in a live broadcast manner, so that the client connected to the cloud platform can watch the entire recording process in real time.
[0113] The first device records the cursor track display on the blackboard screen, and after the entire recording process is completed, transmits the recorded file to the cloud platform so that other users can download the file from the cloud platform for viewing.
[0114] In some embodiments of the present application, Figure 2 As shown, further, the electronic blackboard function implementation server may also include: a transmission unit 18, which is used to continuously transmit the blackboard screen in the latest cursor track display state to the cloud platform at a preset frequency based on the blackboard sharing instruction sent by the second device.
[0115] In order to enable users who are not in the same space as the first device to view the blackboard content on the blackboard screen through the network, a blackboard sharing instruction can be sent to the first device through the second device. Under the blackboard sharing instruction, the second device continuously transmits the blackboard screen in the latest cursor track display state to the cloud platform at a preset frequency, so that other users can download the blackboard screen in the latest cursor track display state from the cloud platform for viewing.
[0116] In some embodiments of the present application, Figure 2 As shown, further, the execution unit 13 in the electronic blackboard function implementation server is also used to execute the cursor trajectory display corresponding to the cursor trajectory data in the blackboard screen based on the cursor trajectory data sent by the cloud platform.
[0117] When a user who is not in the same space as the first device needs to write on the blackboard screen, he or she can transmit the cursor track data corresponding to the content he or she needs to write to the cloud platform, and then the cloud platform will send the cursor track data to the first device. The first device performs a cursor track display corresponding to the cursor track data on the blackboard screen.
[0118] The specific process of the first device performing the cursor track display corresponding to the cursor track data in the blackboard screen is as follows: determining the first pixel position and the second pixel position in the cursor track data, wherein the first pixel position is the starting position of the cursor track and the second pixel position is the ending position of the cursor track. Determining the cursor track processing requirement carried by the cursor track data, wherein the cursor track processing requirement includes drawing or erasing. Determining the cursor track corresponding to the first pixel position and the second pixel position, and then performing the cursor track display corresponding to the cursor track processing requirement based on the cursor track.
[0119] Based on the cursor track data sent from the cloud platform, a cursor track display corresponding to the cursor track data is executed in the blackboard screen, which can realize multi-user interaction in the blackboard screen and is more conducive to the exchange of ideas among users.
[0120] Another embodiment of the present application further provides a client for implementing the electronic blackboard function. The client for implementing the electronic blackboard function is applied to a second device provided with a sensor, and the sensor is used to collect motion data of the second device being controlled by body sensing, such as Figure 3 As shown, the electronic blackboard function implementation client includes the following steps:
[0121] The second establishing unit 21 is configured to establish a communication link with the first device.
[0122] The first sending unit 22 is used to send a cursor track processing instruction corresponding to the cursor track processing requirement to the first device when the first device displays a blackboard screen;
[0123] The second sending unit 23 is used to send the action data collected by the sensor to the first device, so that the first device executes the cursor track display corresponding to the action data in the blackboard screen under the cursor track processing instruction.
[0124] The following is a detailed description of each module in the electronic blackboard function implementation client:
[0125] Second Building Unit 21:
[0126] The specific implementation method of the second establishing unit 21 is basically the same as that described in the above-mentioned first establishing unit 11, so it will not be repeated here.
[0127] The first sending unit 22:
[0128] The first sending unit 22 is used for sending a cursor trajectory processing instruction corresponding to a cursor trajectory processing requirement to the first device when the first device displays a blackboard screen.
[0129] The first device displays the blackboard screen as a prerequisite for the user to write on the blackboard. Therefore, under the premise that the first device displays the blackboard screen, a cursor track processing instruction is sent to the first device. The cursor track processing instruction is an instruction corresponding to the cursor track processing requirement, that is, the cursor track processing instruction is issued by the user to the first device through the second device based on the user's own writing requirements in the blackboard screen. The cursor track processing instruction is used to limit the display mode of the cursor track in the blackboard screen. The display mode described here reflects the user's writing needs, and the display mode may include: displaying the cursor track, deleting the cursor track, not displaying and not deleting the cursor track, but moving the cursor position.
[0130] In practical applications, different cursor track processing requirements correspond to different cursor track processing instructions. Therefore, it is necessary to send a cursor track processing instruction to the first device based on the cursor track processing requirements. The following is an explanation of a method for determining the cursor track processing requirements, which includes the following:
[0131] The first one is to determine the cursor track processing requirement based on the collected audio signal, wherein each cursor track processing requirement has its own corresponding audio signal.
[0132] In order to facilitate determination of the user's cursor track processing requirements, a correspondence between the cursor track processing requirements and the audio signals may be preset, wherein each cursor track processing requirement in the correspondence has its own corresponding audio signal.
[0133] In actual application, an audio signal acquisition module is provided in the second device. The audio signal collected by the audio signal acquisition module is obtained, and then it is determined whether the collected audio signal has a corresponding cursor trajectory processing requirement. When it is determined that the collected audio signal does not have a corresponding cursor trajectory processing requirement, the collected audio signal is determined to be an invalid signal. When it is determined that the collected audio signal has a corresponding cursor trajectory processing requirement, the collected audio signal is determined to be a valid signal, and the cursor trajectory processing requirement corresponding to the collected audio signal is determined as the user's cursor trajectory processing requirement, and the cursor trajectory processing instruction corresponding to the cursor trajectory processing requirement is sent to the first device.
[0134] The second method is to determine the cursor track processing requirement based on the motion data collected by the sensor, wherein each cursor track processing requirement has its own corresponding motion data.
[0135] In order to facilitate determination of the user's cursor trajectory processing requirements, a correspondence between the cursor trajectory processing requirements and the action data may be preset, wherein each cursor trajectory processing requirement in the correspondence has its own corresponding action data.
[0136] In actual applications, a sensor is provided in the second device, and the sensor is used to collect motion data of the second device being manipulated by body sensation. When the user inputs a cursor trajectory processing requirement by manipulating the second device, the collected motion data can be used to determine what specific cursor trajectory processing requirements the user has. First, the motion data collected by the sensor is obtained, and then it is determined whether there is a corresponding cursor trajectory processing requirement for the motion data. When it is determined that there is no corresponding cursor trajectory processing requirement for the collected motion data, it is determined that the collected motion data is not data reflecting the cursor trajectory processing requirement. When it is determined that there is a corresponding cursor trajectory processing requirement for the collected motion data, the cursor trajectory processing requirement corresponding to the collected motion data is determined as the user's current cursor trajectory processing requirement, and the cursor trajectory processing instruction corresponding to the cursor trajectory processing requirement is sent to the first device.
[0137] The third one is to determine the cursor track processing requirement based on the triggering condition of the button in the second device, wherein each cursor processing requirement has its own corresponding button and the triggering strategy of the corresponding button.
[0138] In order to facilitate the determination of the user's cursor trajectory processing requirements, the correspondence between the cursor trajectory processing requirements and the buttons and button trigger strategies can be preset, wherein each cursor processing requirement in the correspondence has its own corresponding button and corresponding button trigger strategy.
[0139] In actual applications, buttons are provided in the second device. When any button in the second device is triggered, the triggering condition of the triggered button is determined. It is determined whether the triggering condition of the triggered button satisfies the triggering strategy corresponding to the triggered button. If the triggering condition of the triggered button does not satisfy the corresponding triggering strategy, it means that the button is triggered, but it is not a trigger for inputting a cursor trajectory processing requirement. If the triggering condition of the triggered button satisfies the corresponding triggering strategy, the cursor trajectory processing requirement corresponding to the button and its triggering strategy is determined as the user's cursor trajectory processing requirement, and the cursor trajectory processing instruction corresponding to the cursor trajectory processing requirement is sent to the first device. The type of button provided in the second device is not limited in this embodiment. For example, the button is a case already present in the second device, such as a volume button.
[0140] After determining the cursor trajectory processing requirement, a cursor trajectory processing instruction corresponding to the cursor trajectory processing requirement is sent to the first device. It should be noted that in order to reduce the amount of data interaction between the first device and the second device, the cursor trajectory processing instruction corresponding to the cursor trajectory processing requirement is sent to the first device only when the cursor trajectory processing requirement changes. If the cursor trajectory processing requirement does not change, the cursor trajectory processing instruction corresponding to the cursor trajectory processing requirement does not need to be sent again after being sent to the first device.
[0141] The second sending unit 23:
[0142] The second sending unit 23 is used to send the action data collected by the sensor to the first device, so that the first device executes the cursor track display corresponding to the action data in the blackboard screen under the cursor track processing instruction.
[0143] In actual applications, action data is sent to the first device based on the currently selected action data sending strategy. The action data sending strategies include the following two: one is to obtain action data collected by the sensor at preset time intervals, and then send the action data to the first device each time the action data corresponding to a time point is obtained. In this way, the first device can promptly execute the cursor track display corresponding to the action data in the blackboard screen. The other is to obtain action data collected by the sensor at preset time intervals, and when the action data corresponding to N time points are obtained, the action data of these N time points are sent to the first device at the same time. In this way, the number of interactions between the first device and the second device can be reduced, where N is an integer greater than or equal to 2.
[0144] It should be noted that when the user does not need to perform blackboard operations on the blackboard screen, it may also cause the second device to generate action data. Once these action data are transmitted to the first device, the first device will perform cursor track display corresponding to these action data on the blackboard screen, and the generated cursor track display is not required by the user. Therefore, in order to avoid the above situation, the second device triggers the sensor to collect action data only when it receives the action data acquisition instruction, and obtains the action data collected by the sensor and sends it to the first device.
[0145] In addition, the specific implementation method of the first device mentioned here executing the cursor trajectory display corresponding to the action data in the blackboard screen under the cursor trajectory processing instruction is basically the same as the description in the above-mentioned execution unit 13, so it will not be repeated here.
[0146] The electronic blackboard function realization client provided in the embodiment of the present application, when it is necessary to use existing equipment to realize the electronic blackboard function, first select the first device with display function and the second device provided with a sensor, then establish a communication link between the first device and the second device, and display the blackboard screen through the first device. When the second device sends the action data of the second device being controlled by the body sense collected by the sensor and the cursor track processing instruction corresponding to the cursor track processing requirement to the first device, the first device performs the cursor track display corresponding to the action data in the blackboard screen based on the cursor track processing instruction and the action data. It can be seen that in the scheme provided by the present application, the second device plays the role of a blackboard writing tool, which is responsible for transmitting the action data reflecting the cursor track to the first device. The first device plays the role of a blackboard screen, which is used to display the blackboard screen, and performs the cursor track display corresponding to the action data in the blackboard screen, thereby completing the user's blackboard writing needs. In practical applications, all electronic devices with display functions can be used as the first device, and all electronic devices provided with sensors for collecting action data can be used as the second device. The electronic blackboard function can be realized through the interaction between the first device and the second device, so the embodiment of the present application can use relatively cheap and popular electronic devices to realize the electronic blackboard function.
[0147] In some embodiments of the present application, Figure 4 As shown, further, the electronic blackboard function implementation client also includes: a third sending unit 24, which is used to send the material picture to the first device after the second establishing unit 21 establishes a communication link with the first device, so that the first device displays the material picture as a blackboard picture; or, send the network link of the target picture to the first device, so that the first device extracts the target picture based on the network link, and displays the target picture as a blackboard picture.
[0148] The material screen is a screen selected by the user on which the user intends to write on the blackboard. There are two forms of material screen switching: one is the courseware screen used by the user for lectures, such as a PPT image; the other is the blackboard background screen selected by the user, for example, if the user intends to write on the black blackboard, the material screen is a pure black image. When the first device receives the material screen, it directly uses the material screen as the blackboard screen and displays it so that the user can write on the blackboard in the displayed blackboard screen.
[0149] In order to reduce the amount of data transmission between the first device and the second device, the first device sends a network link of a target screen to the second device. The target screen is the screen on which the user intends to write on the blackboard. After receiving the network link, the first device extracts the target screen corresponding to the network link and displays the target screen as the blackboard screen.
[0150] In some embodiments of the present application, Figure 4 As shown, further, the electronic blackboard function realization client also includes: a fourth sending unit 25, which is used to send a blackboard saving instruction to the first device, so that the first device saves the blackboard screen in the current cursor track display state based on the blackboard saving instruction.
[0151] In some embodiments of the present application, Figure 4 As shown, further, the electronic blackboard function realization client also includes: a fifth sending unit 26, which is used to send a blackboard saving instruction to the first device, so that the first device saves the blackboard screen in the current cursor track display state based on the blackboard saving instruction.
[0152] In some embodiments of the present application, Figure 4 As shown, further, the electronic blackboard function realization client also includes: a sixth sending unit 27, which is used to send a blackboard recording instruction to the first device, so that the first device records the cursor track display on the blackboard screen based on the blackboard recording instruction.
[0153] In some embodiments of the present application, Figure 4 As shown, further, the electronic blackboard function implementation client also includes: a seventh sending unit 28, used to send a blackboard sharing instruction to the first device, so that the first device continuously transmits the blackboard screen in the latest cursor track display state to the cloud platform at a preset frequency based on the blackboard sharing instruction.
[0154] In some embodiments of the present application, Figure 4 As shown, further, the electronic blackboard function implementation client also includes: an eighth sending unit 29, which is used to send a blackboard sharing instruction to the first device, so that the first device continuously transmits the blackboard screen in the latest cursor track display state to the cloud platform at a preset frequency based on the blackboard sharing instruction.
[0155] Further, according to the above-mentioned electronic blackboard function implementation server embodiment applied to the first device and the above-mentioned electronic blackboard function implementation client embodiment applied to the second device, as Figure 5 As shown, an embodiment of the present application provides an electronic blackboard function implementation system, which includes: a first device 31 deployed with the above-mentioned electronic blackboard function implementation server 311 and a second device 32 deployed with the above-mentioned electronic blackboard function implementation client 321.
[0156] The beneficial effects of the electronic blackboard function implementation system provided in the embodiments of the present application can be referred to the description in the embodiments of the electronic blackboard function implementation server and the electronic blackboard function implementation client, and will not be repeated here.
[0157] Further, according to the above-mentioned electronic blackboard function implementation server embodiment applied to the first device, another embodiment of the present application also provides an electronic blackboard function implementation method, which is applied to the first device with a display function, such as Figure 6 As shown, the method for realizing the electronic blackboard function includes the following steps:
[0158] 401. Establish a communication link with a second device, wherein the second device is provided with a sensor, and the sensor is used to collect motion data of the second device being controlled by body sensing.
[0159] 402. Display the blackboard screen.
[0160] 403. Based on the cursor trajectory processing instruction and action data sent by the second device, a cursor trajectory display corresponding to the action data is executed in the blackboard screen, wherein the cursor trajectory processing instruction is an instruction corresponding to the cursor trajectory processing requirement.
[0161] The electronic blackboard function implementation method provided in the embodiment of the present application, when it is necessary to use existing equipment to implement the electronic blackboard function, first select a first device with a display function and a second device provided with a sensor, then establish a communication link between the first device and the second device, and display the blackboard screen through the first device. When the second device sends the action data of the second device being controlled by the body sense collected by the sensor and the cursor track processing instruction corresponding to the cursor track processing requirement to the first device, the first device performs the cursor track display corresponding to the action data in the blackboard screen based on the cursor track processing instruction and the action data. It can be seen that the second device in the scheme provided by the present application plays the role of charging the blackboard writing tool, which is responsible for transmitting the action data reflecting the cursor track to the first device. The first device plays the role of a blackboard screen, which is used to display the blackboard screen, and performs the cursor track display corresponding to the action data in the blackboard screen, thereby completing the user's blackboard writing needs. In practical applications, all electronic devices with a display function can be used as the first device, and all electronic devices provided with sensors for collecting action data can be used as the second device. The electronic blackboard function can be realized through the interaction between the first device and the second device, so the embodiment of the present application can use relatively cheap and popular electronic devices to realize the electronic blackboard function.
[0162] Optionally, the specific execution process of the above step 403 "based on the cursor track processing instruction and action data sent by the second device, executing the cursor track display corresponding to the action data in the blackboard screen" includes the following steps 403A to 403C:
[0163] 403A, based on the cursor trajectory processing instruction, control the first device to enter a cursor trajectory processing mode corresponding to the cursor trajectory processing instruction.
[0164] 403B, determining the position movement information of the cursor based on the motion data, wherein the position movement information defines the moving direction of the cursor and the moving distance in the moving direction.
[0165] 403C, in the cursor track processing mode, the cursor track is displayed in the blackboard screen based on the position movement information.
[0166] Optionally, the specific execution process of the above step 403B "determining the cursor position movement information based on the action data" includes: selecting the target angular velocity from the angular velocities corresponding to the three axes included in the action data; determining the cursor movement direction based on the axis corresponding to the target angular velocity and the positive and negative conditions; determining the cursor movement distance in the movement direction based on the target angular velocity and the preset cursor sensitivity.
[0167] Optionally, the specific execution process of the above step 403C "In the cursor trajectory processing mode, display the cursor trajectory in the blackboard screen based on the position movement information" includes: when the cursor trajectory processing mode is the chalk mode, the drawing trajectory is determined based on the position movement information and the current position of the cursor in the blackboard screen, and the drawing trajectory is displayed in the blackboard screen; when the cursor trajectory processing mode is the eraser mode, the erasure trajectory is determined based on the position movement information and the current position of the cursor in the blackboard screen, and the picture corresponding to the erasure trajectory is deleted from the blackboard screen, wherein the picture corresponding to the erasure trajectory is the drawing trajectory already existing in the blackboard screen; when the cursor trajectory processing mode is the cursor movement mode, the cursor movement position is determined based on the position movement information and the current position of the cursor in the blackboard screen, and the cursor is displayed in the blackboard screen at the position corresponding to the cursor movement position.
[0168] Optionally, the specific execution process of the above-mentioned step 402 "displaying the blackboard screen" includes: using the material screen sent by the second device as the blackboard screen, and displaying it; or, extracting the target screen based on the network link sent by the second device, using the target screen as the blackboard screen, and displaying it; or, using the preset screen stored in the preset storage area as the blackboard screen, and displaying it.
[0169] Optionally, the method for implementing the electronic blackboard function also includes the following steps: based on the blackboard saving instruction sent by the second device, saving the blackboard screen in the current cursor track display state.
[0170] Optionally, the method for implementing the electronic blackboard function also includes the following step: based on the blackboard recording instruction sent by the second device, recording the cursor track display on the blackboard screen.
[0171] Optionally, the method for implementing the electronic blackboard function also includes the following steps: based on the blackboard sharing instruction sent by the second device, continuously transmitting the blackboard screen in the latest cursor track display state to the cloud platform at a preset frequency.
[0172] Optionally, the method for realizing the electronic blackboard function further includes the following steps: based on the cursor trajectory data sent from the cloud platform, executing a cursor trajectory display corresponding to the cursor trajectory data in the blackboard screen under a cursor trajectory processing instruction.
[0173] Optionally, the method for implementing the electronic blackboard function also includes the following steps: based on the display screen change instruction sent by the second device, saving the blackboard screen in the current cursor track display state, and displaying the display screen corresponding to the display screen change instruction.
[0174] Optionally, the method for implementing the electronic blackboard function further includes the following step: based on a cursor reset instruction sent by the second device, resetting the cursor in the blackboard screen to a target position in the blackboard screen.
[0175] Optionally, the method for implementing the electronic blackboard function also includes the following steps: after establishing a communication link with the second device, determining whether a blackboard startup instruction issued by the second device is received; if received, entering the electronic blackboard mode, and displaying the blackboard screen in the electronic blackboard mode.
[0176] Optionally, the specific execution process of the above step 401 "establishing a communication link with the second device" includes: connecting the first device and the second device to the same local area network; interactively verifying the first device and the second device, and when the interactive verification passes, determining that the communication link between the first device and the second device is established.
[0177] The detailed explanation of the method for realizing the electronic blackboard function provided in the embodiment of the present application can be found in the corresponding detailed explanation of the above-mentioned electronic blackboard function realization server embodiment, which will not be repeated here.
[0178] Further, according to the above-mentioned electronic blackboard function implementation client embodiment applied to the second device, another embodiment of the present application also provides an electronic blackboard function implementation method, which is applied to a second device provided with a sensor, and the sensor is used to collect the action data of the second device being controlled by the body sense, such as Figure 7 As shown, the method for realizing the electronic blackboard function includes the following steps:
[0179] 501. Establish a communication link with a first device;
[0180] 502. When the first device displays a blackboard screen, a cursor track processing instruction corresponding to a cursor track processing requirement is sent to the first device;
[0181] 503. Send the action data collected by the sensor to the first device, so that the first device executes a cursor track display corresponding to the action data in the blackboard screen under the cursor track processing instruction.
[0182] The electronic blackboard function implementation method provided in the embodiment of the present application, when it is necessary to use existing equipment to implement the electronic blackboard function, first select a first device with a display function and a second device provided with a sensor, then establish a communication link between the first device and the second device, and display the blackboard screen through the first device. When the second device sends the action data of the second device being controlled by the body sense collected by the sensor and the cursor track processing instruction corresponding to the cursor track processing requirement to the first device, the first device performs the cursor track display corresponding to the action data in the blackboard screen based on the cursor track processing instruction and the action data. It can be seen that the second device in the scheme provided by the present application plays the role of charging the blackboard writing tool, which is responsible for transmitting the action data reflecting the cursor track to the first device. The first device plays the role of a blackboard screen, which is used to display the blackboard screen, and performs the cursor track display corresponding to the action data in the blackboard screen, thereby completing the user's blackboard writing needs. In practical applications, all electronic devices with a display function can be used as the first device, and all electronic devices provided with sensors for collecting action data can be used as the second device. The electronic blackboard function can be realized through the interaction between the first device and the second device, so the embodiment of the present application can use relatively cheap and popular electronic devices to realize the electronic blackboard function.
[0183] Optionally, the specific execution process of determining the cursor trajectory processing requirements includes: determining the cursor trajectory processing requirements based on the collected audio signal, wherein each cursor trajectory processing requirement has its own corresponding audio signal; or, determining the cursor trajectory processing requirements based on the action data collected by the sensor, wherein each cursor trajectory processing requirement has its own corresponding action data; or, determining the cursor trajectory processing requirements based on the triggering status of the buttons in the second device, wherein each cursor processing requirement has its own corresponding button and the triggering strategy of the corresponding button.
[0184] Optionally, the method for implementing the electronic blackboard function also includes the following steps: after establishing a communication link with the first device, sending the material picture to the first device so that the first device displays the material picture as a blackboard picture; or, sending the network link of the target picture to the first device so that the first device extracts the target picture based on the network link and displays the target picture as a blackboard picture.
[0185] Optionally, the method for implementing the electronic blackboard function also includes the following steps: sending a blackboard saving instruction to the first device, so that the first device saves the blackboard screen in the current cursor track display state based on the blackboard saving instruction; and / or, sending a blackboard recording instruction to the first device, so that the first device records the cursor track display on the blackboard screen based on the blackboard recording instruction; and / or, sending a blackboard sharing instruction to the first device, so that the first device continuously transmits the blackboard screen in the latest cursor track display state to the cloud platform at a preset frequency based on the blackboard sharing instruction.
[0186] The detailed explanation of the method for realizing the electronic blackboard function provided in the embodiment of the present application can be found in the corresponding detailed explanation of the above-mentioned electronic blackboard function realization client embodiment, which will not be repeated here.
[0187] Further, based on the above embodiments, another embodiment of the present application also provides a computer-readable storage medium, the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above-mentioned electronic blackboard function implementation method, and / or execute the above-mentioned electronic blackboard function implementation method.
[0188] The beneficial effects of the computer-readable storage medium provided in the embodiments of the present application can be referred to the description in the embodiments of the server and the client for realizing the electronic blackboard function, and will not be elaborated here.
[0189] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0190] It is understandable that the related features in the above methods and devices can be referenced to each other. In addition, the "first", "second" and the like in the above embodiments are used to distinguish the embodiments, but do not represent the advantages and disadvantages of the embodiments.
[0191] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0192] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the application is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to realize the content of the application described herein, and the description of the specific language above is for the purpose of disclosing the best mode of implementation of the application.
[0193] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0194] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0195] The various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the operating method, device, and framework of the deep neural network model according to the embodiment of the present application. The present application may also be implemented as a device or device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present application may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0196] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.
Claims
1. An electronic blackboard function implementation server, characterized in that: The electronic device function implementation server implements the electronic blackboard function based on the electronic device currently owned by the user, and the electronic blackboard function implementation server is applied to a first device with a display function, and the first device is selected from the electronic devices currently owned by the user, and the server includes: A first establishing unit is used to establish a communication link with a second device, wherein the second device is provided with a sensor and the second device is selected from electronic devices currently owned by the user; the sensor is used to collect motion data of the second device being somatosensory controlled, the motion data is data corresponding to a posture change of the second device being somatosensory controlled by the user, and the motion data is used to reflect a cursor movement condition required by the user; A display unit, used for displaying a blackboard screen; an execution unit, configured to execute, based on the cursor trajectory processing instruction sent by the second device and the action data, a cursor trajectory display corresponding to the action data in the blackboard screen, wherein the cursor trajectory processing instruction is an instruction corresponding to a cursor trajectory processing requirement; The execution unit comprises: A control module, for controlling the first device to enter a cursor trajectory processing mode corresponding to the cursor trajectory processing instruction based on the cursor trajectory processing instruction; the cursor trajectory processing instruction is used to indicate a display mode of the cursor trajectory in a blackboard screen, and the display mode includes any one of the following: displaying the cursor trajectory, deleting the cursor trajectory, not displaying and not deleting the cursor trajectory but moving the cursor position; when the cursor trajectory processing instruction indicates that the display mode of the cursor trajectory in the blackboard screen is to display the cursor trajectory, the cursor trajectory processing mode entered by the first device is controlled to be a chalk mode; when the cursor trajectory processing instruction indicates that the display mode of the cursor trajectory in the blackboard screen is to delete the cursor trajectory, the cursor trajectory processing mode entered by the first device is controlled to be an eraser mode; when the cursor trajectory processing instruction indicates that the display mode of the cursor trajectory in the blackboard screen is not to display and not to delete but to move the cursor position, the cursor trajectory processing mode entered by the first device is controlled to be a cursor moving mode; A first determination module, configured to determine position movement information of a cursor based on the action data, wherein the position movement information defines a moving direction of the cursor and a moving distance in the moving direction; A display module, used for displaying the cursor track in the blackboard screen based on the position movement information in the cursor track processing mode; The first determination module is specifically used to select a target angular velocity from the angular velocities corresponding to the three axes included in the action data; determine the moving direction of the cursor based on the axis corresponding to the target angular velocity and the positive and negative conditions; determine the moving distance of the cursor in the moving direction based on the target angular velocity and a preset cursor sensitivity; the target angular velocity is an angular velocity whose absolute value is greater than a preset value, and the angular velocity whose absolute value is not greater than the preset value is an angular velocity caused by a slight shaking of the user's limbs when the user operates the second device without the user's intention to move the cursor; and / or, The display module is specifically used to determine a drawing trajectory based on the position movement information and the current position of the cursor in the blackboard screen when the cursor trajectory processing mode is the chalk mode, and display the drawing trajectory in the blackboard screen; when the cursor trajectory processing mode is the eraser mode, determine an erasure trajectory based on the position movement information and the current position of the cursor in the blackboard screen, and delete the picture corresponding to the erasure trajectory in the blackboard screen, wherein the picture corresponding to the erasure trajectory is the drawing trajectory that already exists in the blackboard screen; when the cursor trajectory processing mode is the cursor movement mode, determine the cursor movement position based on the position movement information and the current position of the cursor in the blackboard screen, and display the cursor in the blackboard screen at the position corresponding to the cursor movement position.
2. The server according to claim 1, characterized in that: The display unit is specifically used to use the material screen sent by the second device as the blackboard screen and display it; or, based on the network link sent by the second device, extract the target screen, use the target screen as the blackboard screen and display it; or, use the preset screen stored in the preset storage area as the blackboard screen and display it; and / or, The first establishing unit is specifically configured to connect the first device and the second device to the same local area network; interactively verify the first device and the second device, and when the interactive verification passes, determine that the communication link between the first device and the second device is established; and / or, The server also includes: A saving unit, used for saving the blackboard picture in the current cursor track display state based on the blackboard saving instruction sent by the second device; and / or, The server also includes: A recording unit, configured to record the cursor track display on the blackboard screen based on the blackboard recording instruction sent by the second device; and / or, The server also includes: A changing unit, used for saving the blackboard screen in the current cursor track display state based on the display screen changing instruction sent by the second device, and displaying the display screen corresponding to the display screen changing instruction; and / or, The server also includes: A reset unit is used to reset the cursor in the blackboard writing screen to a target position in the blackboard writing screen based on the cursor reset instruction sent by the second device.
3. The server according to any one of claims 1-2, characterized in that: The server also includes: The transmission unit is used to continuously transmit the blackboard screen in the latest cursor track display state to the cloud platform at a preset frequency based on the blackboard sharing instruction sent by the second device.
4. The server according to claim 3, characterized in that: The execution unit is also used to execute a cursor trajectory display corresponding to the cursor trajectory data in the blackboard screen under the cursor trajectory processing instruction based on the cursor trajectory data issued by the cloud platform.
5. A client for realizing electronic blackboard function, characterized in that: The electronic blackboard function realization client realizes the server to realize the electronic blackboard function based on the electronic device currently owned by the user, and the electronic blackboard function realization client is applied to a second device provided with a sensor, the second device is selected from the electronic devices currently owned by the user, and the sensor is used to collect the motion data of the second device being controlled by body sensing, and the client includes: a second establishing unit, configured to establish a communication link with a first device, wherein the first device is an electronic device with a display function selected from electronic devices currently owned by the user; A first sending unit is used to send a cursor trajectory processing instruction corresponding to a cursor trajectory processing requirement to the first device when the first device displays a blackboard screen, wherein the cursor trajectory processing instruction is used to indicate a display mode of the cursor trajectory in the blackboard screen, and the display mode includes any one of the following: displaying the cursor trajectory, deleting the cursor trajectory, not displaying and not deleting the cursor trajectory but moving the cursor position; the cursor trajectory processing instruction is used to indicate a cursor trajectory processing mode that the first device needs to enter; if the display mode of the cursor trajectory in the blackboard screen is displaying the cursor trajectory, then the cursor trajectory processing mode entered by the first device is the chalk mode; if the display mode of the cursor trajectory in the blackboard screen is deleting the cursor trajectory, then the cursor trajectory processing mode entered by the first device is the eraser mode; if the display mode of the cursor trajectory in the blackboard screen is not displaying and not deleting but moving the cursor position, then the cursor trajectory processing mode entered by the first device is the cursor moving mode; A second sending unit is used to send the action data collected by the sensor to the first device, so that the first device enters a cursor trajectory processing mode corresponding to the cursor trajectory processing instruction under the cursor trajectory processing instruction, and performs a cursor trajectory display corresponding to the action data in the blackboard screen in the cursor trajectory processing mode; The action data is data corresponding to the posture change of the second device caused by the user's body control. The action data is used to reflect the cursor movement required by the user, and is used for the first device to determine the cursor position movement information. The position movement information limits the moving direction of the cursor and the distance moved in the moving direction. Then, in the cursor trajectory processing mode, the cursor trajectory display corresponding to the action data is executed in the blackboard screen, including: in the cursor trajectory processing mode, the cursor trajectory is displayed in the blackboard screen based on the position movement information.
6. A method for realizing the function of an electronic blackboard, characterized in that: The electronic blackboard function implementation method implements the electronic blackboard function based on the electronic device currently owned by the user. The electronic blackboard function implementation method is applied to a first device with a display function, and the first device is selected from the electronic devices currently owned by the user. The method includes: Establishing a communication link with a second device, wherein the second device is provided with a sensor, and the second device is selected from electronic devices currently owned by the user, the sensor is used to collect motion data of the second device being somatosensory controlled, the motion data is data corresponding to the posture change of the second device being somatosensory controlled by the user, and the motion data is used to reflect the cursor movement required by the user; Display the blackboard screen; Based on the cursor track processing instruction and the action data sent by the second device, a cursor track display corresponding to the action data is executed in the blackboard screen, wherein the cursor track processing instruction is an instruction corresponding to the cursor track processing requirement; Based on the cursor track processing instruction sent by the second device and the action data, executing cursor track display corresponding to the action data in the blackboard screen includes: Based on the cursor trajectory processing instruction, the first device is controlled to enter a cursor trajectory processing mode corresponding to the cursor trajectory processing instruction; when the cursor trajectory processing instruction indicates that the display mode of the cursor trajectory in the blackboard screen is to display the cursor trajectory, the cursor trajectory processing mode entered by the first device is controlled to be a chalk mode; when the cursor trajectory processing instruction indicates that the display mode of the cursor trajectory in the blackboard screen is to delete the cursor trajectory, the cursor trajectory processing mode entered by the first device is controlled to be an eraser mode; when the cursor trajectory processing instruction indicates that the display mode of the cursor trajectory in the blackboard screen is not to display and not to delete but to move the cursor position, the cursor trajectory processing mode entered by the first device is controlled to be a cursor moving mode; Determining position movement information of the cursor based on the motion data, wherein the position movement information defines a moving direction of the cursor and a moving distance in the moving direction; In the cursor track processing mode, the cursor track is displayed in the blackboard screen based on the position movement information; in, Determining the position movement information of the cursor based on the action data includes: selecting a target angular velocity from the angular velocities corresponding to the three axes included in the action data; determining the moving direction of the cursor based on the axis corresponding to the target angular velocity and the positive and negative conditions; determining the moving distance of the cursor in the moving direction based on the target angular velocity and a preset cursor sensitivity; the target angular velocity is an angular velocity whose absolute value is greater than a preset value, and the angular velocity whose absolute value is not greater than the preset value is an angular velocity caused by a slight shaking of the user's limbs when the user operates the second device without the user's intention to move the cursor; and / or, In the cursor trajectory processing mode, the cursor trajectory is displayed in the blackboard screen based on the position movement information, including: when the cursor trajectory processing mode is the chalk mode, the drawing trajectory is determined based on the position movement information and the current position of the cursor in the blackboard screen, and the drawing trajectory is displayed in the blackboard screen; when the cursor trajectory processing mode is the eraser mode, the erasure trajectory is determined based on the position movement information and the current position of the cursor in the blackboard screen, and the picture corresponding to the erase trajectory is deleted in the blackboard screen, wherein the picture corresponding to the erase trajectory is the drawing trajectory that already exists in the blackboard screen; when the cursor trajectory processing mode is the cursor movement mode, the cursor movement position is determined based on the position movement information and the current position of the cursor in the blackboard screen, and the cursor is displayed in the blackboard screen at the position corresponding to the cursor movement position.
7. A method for realizing the function of an electronic blackboard, characterized in that: The electronic blackboard function implementation method implements the electronic blackboard function based on the electronic device currently owned by the user. The electronic blackboard function implementation method is applied to a second device provided with a sensor, the second device is selected from the electronic devices currently owned by the user, and the sensor is used to collect motion data of the second device being controlled by body sensing. The method includes: Establishing a communication link with a first device, where the first device is an electronic device with a display function selected from electronic devices currently owned by the user; In the case where the first device displays a blackboard screen, a cursor track processing instruction corresponding to the cursor track processing requirement is sent to the first device, the cursor track processing instruction is used to indicate the display mode of the cursor track in the blackboard screen, and the display mode includes any one of the following: displaying the cursor track, deleting the cursor track, not displaying and not deleting the cursor track but moving the cursor position; the cursor track processing instruction is used to indicate the cursor track processing mode that the first device needs to enter; if the display mode of the cursor track in the blackboard screen is displaying the cursor track, then the cursor track processing mode entered by the first device is the chalk mode; if the display mode of the cursor track in the blackboard screen is deleting the cursor track, then the cursor track processing mode entered by the first device is the eraser mode; if the display mode of the cursor track in the blackboard screen is not displaying and not deleting but moving the cursor position, then the cursor track processing mode entered by the first device is the cursor moving mode; Sending the motion data collected by the sensor to the first device, so that the first device enters a cursor trajectory processing mode corresponding to the cursor trajectory processing instruction under the cursor trajectory processing instruction, and performs a cursor trajectory display corresponding to the motion data in the blackboard screen under the cursor trajectory processing mode; The action data is data corresponding to the posture change of the second device caused by the user's body control. The action data is used to reflect the cursor movement required by the user, and is used for the first device to determine the cursor position movement information. The position movement information limits the moving direction of the cursor and the distance moved in the moving direction. Then, in the cursor trajectory processing mode, the cursor trajectory display corresponding to the action data is executed in the blackboard screen, including: in the cursor trajectory processing mode, the cursor trajectory is displayed in the blackboard screen based on the position movement information.
8. An electronic blackboard function realization system, characterized in that: include: A first device is deployed with the electronic blackboard function implementation server described in any one of claims 1-4 and a second device is deployed with the electronic blackboard function implementation client described in claim 5.
