Service device and display device

By establishing a long-lived connection between the service device and the display device and building a target group, the problem of excessive load on the service device caused by multiple long-lived connections is solved, improving user experience and resource utilization efficiency.

CN117768524BActive Publication Date: 2026-05-29JUHAOKAN TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
JUHAOKAN TECH CO LTD
Filing Date
2023-03-17
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

In real-time communication services based on long connections, the establishment of multiple long connections between the terminal device and the service device can lead to excessive load on the service device, affecting the user experience.

Method used

By establishing a long-lived connection between the service device and the display device, and building a target group based on this long-lived connection, various additional functions can be implemented, avoiding the need to repeatedly establish multiple long-lived connections.

Benefits of technology

It reduced the load on service equipment, improved the user experience of real-time communication applications, and optimized resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117768524B_ABST
    Figure CN117768524B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a service device and a display device, after a first additional function of a target application needs to be started, a long connection is established. Then a group corresponding to the first additional function is constructed. When other additional functions of the target application need to be started, a group of the second additional function is re-constructed. The service device and the display device provided by the present application can reuse through group management based on a long connection between each display device and the service device, so that the situation that the load of the service device is heavy due to the need to establish multiple long connections with each display device when the display device needs to start multiple different additional functions, and the use of both is affected, can be avoided or improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of instant messaging technology, and more particularly to a service device and a display device. Background Technology

[0002] Currently, some real-time communication services based on persistent connections are widely used, and the functions supported by these services are constantly expanding. After starting an application that supports real-time communication, the corresponding terminal device will establish a communication connection with the service device (this communication connection can be a short connection or a persistent connection). After establishing a communication connection, if other additional functions of the application that supports real-time communication need to be enabled, the terminal device needs to establish a persistent connection with the service device for each additional function. Over time, the terminal device will establish multiple persistent connections with the service device.

[0003] However, most of these long-lived connections remain idle after being established, and multiple long-lived connections can overload the service device, affecting the use of real-time communication applications and further impacting the user's real-time communication experience. Summary of the Invention

[0004] This application provides a service device and a display device. After the service device establishes a corresponding long connection with each display device, it can perform a variety of additional functions based on the connection. This can avoid or improve the situation where the service device is overloaded due to the need to establish multiple long connections with each display device when the display device needs to start a variety of additional functions, thus affecting the use of both.

[0005] In a first aspect, embodiments of this application provide a service device, including:

[0006] The communication interface is configured to communicate with the display device via a persistent connection;

[0007] The processor is configured as follows:

[0008] After determining that the first user needs to activate the first additional function of the target application, a first long connection is established with the first display device corresponding to the first user.

[0009] Construct a first target group corresponding to the first user, wherein the first target group includes the first long connection;

[0010] Execute the first operation corresponding to the first additional function based on the first long connection included in the first target group;

[0011] After the first long connection is established, if the first user needs to activate the second additional function of the target application, a second target group containing the first user is constructed, and the second target group includes the first long connection;

[0012] The second operation corresponding to the second additional function is performed based on the second target group and the first long connection.

[0013] Secondly, embodiments of this application provide a display device, characterized in that it includes:

[0014] The monitor is configured to display various applications and all the functions of each application.

[0015] The controller is configured as follows:

[0016] In response to a first target operation by a target user on the display, an eighth request is generated and sent to the service device, the eighth request being used to request the activation of a first additional function of the target application;

[0017] The service device receives a first message for the eighth request, the first message carrying a unique identifier of the first target group and a first entry token, the first entry token being used for verification when constructing the first target group corresponding to the target user;

[0018] A ninth request is generated and sent to the service device. The ninth request is used to request the establishment of a target long connection with the service device.

[0019] After determining that the target long connection is established with the service device, a tenth request is generated and sent to the service device through the target long connection. The tenth request is used to request the construction of the first target group corresponding to the target user. The tenth request carries the unique identifier of the first target group and a first verification token. The first verification token may be the same as or different from the first group entry token.

[0020] After determining that the service device has successfully built the first target group for the target user, the first operation corresponding to the first additional function is executed based on the target long connection and the first target group.

[0021] In response to a second target operation by a target user on the display, an eleventh request is generated and sent to the service device via the target long connection. The eleventh request is used to request the activation of a second additional function of the target application.

[0022] The service device receives a second message in response to the eleventh request. The second message carries a unique identifier of the second target group and a second entry token. The second entry token is used for verification when constructing the second target group corresponding to the target user.

[0023] A twelfth request is generated and sent to the service device through the target long connection. The twelfth request is used to request the construction of the second target group corresponding to the target user. The twelfth request carries the unique identifier of the second target group and a second verification token. The second verification token may be the same as or different from the second group entry token.

[0024] After determining that the service device has successfully built the second target group for the target user, the second operation corresponding to the second additional function is performed based on the target long connection and the second target group.

[0025] Thirdly, embodiments of this application provide an instant messaging method applied to a service device, the method comprising:

[0026] After determining that the first user needs to activate the first additional function of the target application, a first long connection is established with the first display device corresponding to the first user.

[0027] Construct a first target group corresponding to the first user, wherein the first target group includes the first long connection;

[0028] Execute the first operation corresponding to the first additional function based on the first long connection included in the first target group;

[0029] After the first long connection is established, if the first user needs to activate the second additional function of the target application, a second target group containing the first user is constructed, and the second target group includes the first long connection;

[0030] Fourthly, embodiments of this application provide an instant messaging method, characterized in that it is applied to a display device, the method comprising:

[0031] In response to a first target operation by a target user on the display, an eighth request is generated and sent to the service device, the eighth request being used to request the activation of a first additional function of the target application;

[0032] The service device receives a first message for the eighth request, the first message carrying a unique identifier of the first target group and a first entry token, the first entry token being used for verification when constructing the first target group corresponding to the target user;

[0033] A ninth request is generated and sent to the service device. The ninth request is used to request the establishment of a target long connection with the service device.

[0034] After determining that the target long connection is established with the service device, a tenth request is generated and sent to the service device through the target long connection. The tenth request is used to request the construction of the first target group corresponding to the target user. The tenth request carries the unique identifier of the first target group and a first verification token. The first verification token may be the same as or different from the first group entry token.

[0035] After determining that the service device has successfully built the first target group for the target user, the first operation corresponding to the first additional function is executed based on the target long connection and the first target group.

[0036] In response to a second target operation by a target user on the display, an eleventh request is generated and sent to the service device via the target long connection. The eleventh request is used to request the activation of a second additional function of the target application.

[0037] The service device receives a second message in response to the eleventh request. The second message carries a unique identifier of the second target group and a second entry token. The second entry token is used for verification when constructing the second target group corresponding to the target user.

[0038] A twelfth request is generated and sent to the service device through the target long connection. The twelfth request is used to request the construction of the second target group corresponding to the target user. The twelfth request carries the unique identifier of the second target group and a second verification token. The second verification token may be the same as or different from the second group entry token.

[0039] After determining that the service device has successfully built the second target group for the target user, the second operation corresponding to the second additional function is performed based on the target long connection and the second target group.

[0040] The service device and display device provided in this application embodiment: After a first user needs to activate a first additional function of the target application, the first display device corresponding to the first user establishes a long connection with the service device. Similarly, other second users who need to activate the first additional function of the target application also need to establish a long connection between their corresponding second display devices and the service device. Then, a group is constructed including all users who need to use the first additional function of the target application, so that each user can perform the operation corresponding to the first additional function of the target application based on the long connection established between the group and the long connection established between the display device and the service device. When the first user needs to activate other additional functions of the target application, another group is re-established including all users who need to use the second additional function of the target application, so that each user can perform the operation corresponding to the second additional function of the target application based on the long connection established between the other group and the long connection established between the display device and the service device. The service device and display device provided in this application do not need to establish multiple long connections between the service device and the display device for each user's corresponding display device when multiple additional functions of the application need to be enabled. Instead, they only need to reuse the single long connection between each display device and the service device through group management. This avoids or improves the situation where the service device is overloaded due to the need to establish multiple long connections with each display device when the display device needs to start multiple different additional functions, which affects the use of both devices. Attached Figure Description

[0041] Figure 1 This is a schematic diagram illustrating an operational scenario between a display device and a service display device provided in some embodiments of this application;

[0042] Figure 2 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of the display device;

[0043] Figure 3 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of the central control device;

[0044] Figure 4 Provided for some embodiments of this application Figure 1 A schematic diagram of the software configuration in the display device;

[0045] Figure 5 This is a schematic flowchart illustrating an exemplary embodiment of this application of a service device performing an instant messaging method;

[0046] Figure 6 This is a schematic flowchart illustrating an exemplary embodiment of this application of a service device performing an instant messaging method;

[0047] Figure 7This is a schematic flowchart illustrating an exemplary embodiment of this application of a service device performing an instant messaging method;

[0048] Figure 8 This is a schematic flowchart illustrating the execution of an instant messaging method by various modules of a service device according to an exemplary embodiment of this application;

[0049] Figure 9 This is a schematic flowchart illustrating an exemplary embodiment of this application of a service device performing an instant messaging method;

[0050] Figure 10 This is a schematic flowchart illustrating an exemplary embodiment of this application of a service device performing an instant messaging method;

[0051] Figure 11 This is a schematic flowchart illustrating an exemplary embodiment of this application of a service device performing an instant messaging method;

[0052] Figure 12 This is a schematic flowchart illustrating an exemplary embodiment of this application of a service device performing an instant messaging method;

[0053] Figure 13 This is a schematic flowchart illustrating an exemplary embodiment of this application of a service device performing an instant messaging method;

[0054] Figure 14 This is a schematic flowchart illustrating an exemplary embodiment of this application of a service device performing an instant messaging method;

[0055] Figure 15 This is a schematic diagram illustrating a group of service devices constructed according to an exemplary embodiment of this application;

[0056] Figure 16 This is a schematic diagram illustrating another group of service devices constructed according to an exemplary embodiment of this application;

[0057] Figure 17 This is a schematic flowchart illustrating an exemplary embodiment of the present application of a display device performing an instant messaging method;

[0058] Figure 18 This is an example of an interactive diagram shown in an exemplary embodiment of this application. Detailed Implementation

[0059] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.

[0060] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the embodiments of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0061] It should be understood that although the terms first, second, third, etc., may be used to describe various information in the embodiments of this application, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of the embodiments of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."

[0062] The terminology used in the embodiments of this application is for the purpose of describing specific embodiments only and is not intended to limit the embodiments of this application. Unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by those skilled in the art to which the embodiments of this application pertain. The terms "first," "second," and similar words used in the specification and claims of this application do not indicate any order, quantity, or importance, but are only used to distinguish different components. Similarly, the terms "a" or "one," etc., do not indicate a quantity limitation, but rather indicate the presence of at least one. "A plurality" or "several" indicates two or more.

[0063] The word "includes" or similar terms means that the elements or objects preceding "includes" or "include" cover the elements or objects listed after "includes" or "includes" and their equivalents, and do not exclude other elements or objects. The word "communication connection" or similar terms are not limited to physical or mechanical communication connections, and can include electrical communication connections, whether direct or indirect.

[0064] Before describing the technical solutions of the embodiments of this application, the application scenarios of the embodiments of this application will first be described with reference to the accompanying drawings.

[0065] To make the objectives, technical solutions, and advantages of some embodiments of this application clearer, the technical solutions of some embodiments of this application will be clearly and completely described below with reference to specific embodiments and corresponding drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.

[0066] It should be noted that the brief descriptions of terms in some embodiments of this application are only for the convenience of understanding the implementation methods described below, and are not intended to limit the implementation methods of some embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0067] In some embodiments of this application, the terms "first," "second," "third," etc., in the specification, claims, and accompanying drawings are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms can be used interchangeably where appropriate.

[0068] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

[0069] The term "module" refers to any known or subsequently developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.

[0070] Figure 1 This is a schematic diagram illustrating an operational scenario between a display device 200 and a service device 400 provided in some embodiments of this application. For example... Figure 1 As shown, the user can operate the display device 200 through the mobile terminal 300 and the control device 100.

[0071] In some embodiments, the mobile terminal 300 may install software applications with the display device 200 to establish a connection and communication via a network communication protocol, thereby achieving one-to-one control operation and data communication. Alternatively, audio and video content displayed on the mobile terminal 300 can be transmitted to the display device 200 to achieve synchronous display.

[0072] like Figure 1The diagram also shows that the display device 200 communicates with the service device 400 via various communication methods. This allows the display device 200 to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.

[0073] In addition to providing broadcast television reception functions, the display device 200 can also be equipped with intelligent network television functions that provide computer support, including but not limited to network television, smart television, Internet Protocol television (IPTV), etc.

[0074] Figure 2 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of display device 200.

[0075] In some embodiments, the display device 200 includes at least one of a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.

[0076] In some embodiments, the detector 230 is used to collect signals from the external environment or to interact with the outside world.

[0077] In some embodiments, the display 260 includes a display screen component for presenting an image, a driving component for driving image display, a component for receiving image signals output from a controller, and a user control UI interface, etc.

[0078] In some embodiments, the communicator 220 is a component for communicating with external devices or the server 400 according to various communication protocol types.

[0079] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display device 200.

[0080] In some embodiments, a user can input user commands through a graphical user interface (GUI) displayed on a display 260, and the user input interface receives user input commands through the graphical user interface (GUI).

[0081] In some embodiments, user interface 280 is an interface that can be used to receive control input.

[0082] Figure 3 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of the central control device. (Example) Figure 3As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface, a memory, and a power supply.

[0083] The control device 100 is configured to control the display device 200, and to receive user input operation commands and convert the operation commands into commands that the display device 200 can recognize and respond to, thus acting as an intermediary for interaction between the user and the display device 200.

[0084] In some embodiments, the control device 100 may be an intelligent device. For example, the control device 100 may be equipped with various applications for controlling the display device 200 according to user needs.

[0085] In some embodiments, such as Figure 1 As shown, the mobile terminal 300 or other smart electronic devices can perform similar functions to the control device 100 after installing the application of the control display device 200.

[0086] The controller 110 includes a processor 112, RAM 113, ROM 114, a communication interface 130, and a communication bus. The controller 110 is used to control the operation of the control device 100, as well as the communication and cooperation between internal components and the external and internal data processing functions.

[0087] Under the control of the controller 110, the communication interface 130 enables communication of control signals and data signals with the display device 200. The communication interface 130 may include at least one of other near-field communication modules such as WiFi chip 131, Bluetooth module 132, and NFC module 133.

[0088] User input / output interface 140, wherein the input interface includes at least one of other input interfaces such as microphone 141, touchpad 142, sensor 143, button 144, etc.

[0089] In some embodiments, the control device 100 includes at least one of a communication interface 130 and an input / output interface 140. The control device 100 is configured with the communication interface 130, such as a WiFi, Bluetooth, or NFC module, which can encode user input commands via WiFi, Bluetooth, or NFC protocols and send them to the display device 200.

[0090] The memory 190 is used to store various operating programs, data, and applications for driving and controlling the control device 100 under the control of the controller. The memory 190 can also store various control signal instructions input by the user.

[0091] The power supply 180 is used to provide operating power support for the various components of the control device 100 under the control of the controller.

[0092] Figure 4 Provided for some embodiments of this application Figure 1 The diagram shows the software configuration in the display device. In some embodiments, the system is divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the Android runtime and the System Library layer (referred to as the "System Runtime Library Layer"), and the kernel layer.

[0093] In some embodiments, at least one application runs in the application layer. These applications may be Windows programs that come with the operating system, system settings programs, clock programs, camera applications, etc., or they may be applications developed by third-party developers.

[0094] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer includes predefined functions. It acts as a central processing unit, determining the actions taken by applications within the application layer.

[0095] like Figure 4 As shown, in some embodiments of this application, the application framework layer includes managers, content providers, and a view system.

[0096] In some embodiments, the Activity Manager is used to: manage the lifecycle of individual applications and the usual navigation back functionality.

[0097] In some embodiments, the window manager is used to manage all window programs.

[0098] In some embodiments, the system runtime library layer provides support for the upper layer, namely the framework layer. When the framework layer is accessed, the Android operating system runs the C / C++ libraries contained in the system runtime library layer to implement the functions that the framework layer needs to perform.

[0099] In some embodiments, the kernel layer is a layer between hardware and software. For example... Figure 4 As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, touch sensor, pressure sensor, etc.).

[0100] In some embodiments, the kernel layer also includes a power driver module for power management.

[0101] In some embodiments, Figure 4 The software programs and / or modules corresponding to the software architecture in the document are stored in [the relevant database]. Figure 2 or Figure 3 In the first or second memory shown.

[0102] Before explaining the corresponding steps for performing the service equipment and display equipment provided in this application, let's first explain the concept of a long connection:

[0103] Long-lived connections: Persistent connections established based on WebSocket (a full-duplex communication protocol of TCP). When the service device and the display device exchange data, there is no need to send HTTP (Hypertext Transfer Protocol) requests. Messages can be sent and received on the same TCP (Transmission Control Protocol) connection. In addition, there is a reuse function, and several different URIs can reuse the same long-lived connection.

[0104] Next, see Figure 5 As shown, Figure 5 When the service device provided in this application interacts with the display device, the steps of the service device operation are as follows:

[0105] Step S501: After determining that the first user needs to start the first additional function of the target application, establish a first long connection with the first display device corresponding to the first user.

[0106] The service device can be a single server, a server cluster, a host computer, or other similar devices. The service device includes a memory and a processor. The memory stores executable instructions and / or multiple different images. The processor can establish long-lived connections with various display devices by executing the instructions stored in the memory, allowing each device to perform different additional functions of the same application through these long-lived connections. The service device can communicate with multiple display devices. When different display devices send request information to the service device, they may carry a unique identifier for each display device, enabling the service device to distinguish between them and allocate different long-lived connections based on the load. The unique identifier of the display device can be represented by special symbols, numbers, letters, etc., and this application does not limit this.

[0107] The service equipment includes a communication interface capable of establishing a long-term connection with the display device, and the number of such communication interfaces is at least one.

[0108] The first user can be any user capable of operating, logging into, and using the first display device. The first user can activate the first additional function of the target application by performing an operation on the first display device. The first display device sends trigger information to the service device via the network, so that the service device can determine that the first user needs to activate the first additional function of the target application. This operation may include, for example, clicking a touch control in the target application that represents the first additional function, or inputting a command to the first display device that represents activating the first additional function; this application does not limit this to any particular operation.

[0109] The target application can be one of multiple applications downloaded or set on the first display device, such as a video conferencing application, a live streaming application, or an online chat application.

[0110] The first additional function is one of several functions in the target application besides the main function. For example, if the target application is a video conferencing application, and its main function is video conferencing, and additional functions include real-time chat during the meeting and the use of a whiteboard during the meeting, then the first additional function is either real-time chat during the meeting or the use of a whiteboard during the meeting.

[0111] In the field of instant messaging, different functions are implemented based on different logic. For example, the meeting invitation function needs to send invitation information to the devices corresponding to each account participating in the meeting; the meeting chat function needs to send chat information to the display devices corresponding to each user based on their user ID and the corresponding display device ID. Therefore, to use different additional functions, different long-lived connections need to be established between the display device and the service device to support the implementation of each additional function. However, most of the time, the long-lived connections established for different additional functions are idle, which not only increases the load on the service device but also wastes resources.

[0112] Next, to address the aforementioned issues, after determining that the first user needs to activate the first additional function of the target application, the service device of this application establishes a first long connection with the first display device corresponding to the first user. This first long connection can be reused for various additional functions to reduce the construction of long connections between each display device and the service device. Before the service device establishes the first long connection with the first display device corresponding to the first user, in order to achieve normal communication between the service device and the first display device, it is also necessary to establish a communication connection with the first display device to provide a communication foundation for subsequent operations such as establishing the first long connection. Specifically:

[0113] In one embodiment, such as Figure 6 As shown, Figure 6An optional operation of the service device provided in an exemplary embodiment of this application before establishing a first long connection includes the following steps:

[0114] Step S601: Before establishing the first long connection, in response to the first user's operation of logging into the target application through the first display device, a communication connection is established with the first display device;

[0115] The first user can log in to the target application by entering their username and password on the target interface of the first display device.

[0116] Of course, the first display device can also trigger the establishment of a communication connection with the service device in other ways, such as when the first user turns on the first display device, which triggers the service device to establish a communication connection with the first display device. This application does not limit this.

[0117] The first display device and service device can establish a communication connection based on one of the following methods: communication interface, 2G communication network, 3G communication network, 4G communication network, 5G communication network, WIFI, local area network, Bluetooth, etc. This application does not limit this.

[0118] If the first display device and the service device establish a communication connection based on a communication interface, the communication connection can be established by plugging cables into the communication interfaces of the first display device and the service device respectively.

[0119] If the first display device and the service device establish a communication connection based on Wi-Fi, the first display device can obtain the service device's signal by searching for it, enter the corresponding verification code set by the service device, and establish a communication connection between the two after successful verification. This will not be listed exhaustively here.

[0120] In addition to the first user, the service device can also establish communication connections with the second display devices corresponding to other users (hereinafter referred to as the second user, which includes multiple second users) and exchange information with the second display devices corresponding to the second users through the communication connections.

[0121] Step S602: Receive a first request from the first display device via the communication connection. The first request is used to request the activation of a first additional function of the target application.

[0122] The communication connection can be a short connection or a long connection; this application does not limit this. The first display device can exchange information with the service device through the communication connection established with it. The first request is information sent by the first display device to the service device through the communication connection. Since the first display device relies on the long connection and the established group between itself and the service device to activate the first additional function of the target application, the first display device needs to send a activation request to the service device when it needs to activate the first additional function of the target application. This prompts the service device to allocate a long connection and a corresponding group for it, thereby achieving the purpose of activating the first additional function of the target application.

[0123] Step S603: Generate a first message for the first request. The first message carries a unique identifier of the first target group and a first entry token. The first entry token is used to verify the first user when constructing the first target group corresponding to the first user.

[0124] The first message is the unique identifier and first group entry token of the first target group with which the first user needs to establish a corresponding relationship, which is transmitted by the service device to the first display device through a communication connection.

[0125] A unique identifier for a group is used to mark different groups in order to distinguish them. The unique identifier for a group may be represented by symbols, numbers, letters, special characters, Chinese characters, images, etc., and this application does not limit this.

[0126] The first entry token is used by the service device to verify the account of the first user when it joins the first target group. This ensures that the user who needs to activate the first additional function of the target application can successfully join the first target group. It also prevents other users from joining, which could lead to leaks of group messages, disruption of group order, or leakage of user account information within the group. The first entry token can be generated by the service device through encryption of a string, or it can be randomly generated by a key generator, etc. This application does not limit its scope.

[0127] Groups are suitable for multi-person conversations, enabling the exchange of information among multiple users. Before creating a group, any display device can send the group name and the user accounts included in the group to the service device. The service device returns a unique identifier for the created group to the display devices corresponding to each user account, and then saves the record of creating the first target group using the unique identifier locally on the service device. Messages sent by any user account in the group, as well as user accounts included in the group, can be found using the group's unique identifier. Users corresponding to each user account in the group can join the group after verification using a group entry token, using the group's unique identifier. Once a user account has successfully joined the group, it can send and receive messages from other user accounts through the group.

[0128] Furthermore, if the service device determines that a created group has idle time exceeding a time threshold or has no information interaction within a duration threshold, it can disband the group. The service device can also assign roles and corresponding permissions to users in the group as needed, which is not limited here.

[0129] Based on the above description of the group's functions, if a first user wishes to activate the first additional function, they can first send the group name and the user accounts included in the group to the service device. This triggers the service device to configure and create a first target group for the first display device, allowing the first user to establish a correspondence between their account and the first target group through operations on the first display device. After creating the first target group for the first display device, the service device generates a first message carrying a unique identifier for the first target group and a first group entry token, enabling the first user to join the first target group based on the first message.

[0130] In addition, when the first user starts the first additional function of the target application, it is generally necessary to use the first additional function together with other users. Therefore, after the first display device sends the group name and the user accounts included in the group to the service device, the service device needs to send the unique identifier of the first target group and the first group entry token to the display devices corresponding to all user accounts so that all user accounts in the group can successfully join.

[0131] Step S604: Send the first message to the first display device.

[0132] After generating the first message, the service device sends the first message to the first display device through a communication connection established with the first display device.

[0133] In another embodiment, such as Figure 7 As shown, Figure 7The service device provided for an exemplary embodiment of this application establishes a first long connection with a first display device and performs an operation, the operation steps of which include:

[0134] Step S701: Receive a third request sent by the first display device based on the communication connection. The third request is used to request the establishment of a long connection with the service device.

[0135] Based on the above description, the first display device and the service device establish a communication connection, enabling information exchange between them. Furthermore, since the first user's activation of the target application's first additional function relies on the establishment of a persistent connection between the first display device and the service device, the first display device needs to request the establishment of a persistent connection with the service device, generate a corresponding third request, and send it to the service device through the communication connection, so that the service device can perform the corresponding operation based on the third request.

[0136] Step S702: According to the load balancing configuration principle, configure a first long connection for the first display device. The first long connection is any one of the multiple long connections with remaining load on the service device.

[0137] Among them, the load status of the service equipment itself, based on the load balancing configuration principle, configures the first long connection for the first display device.

[0138] In another embodiment, such as Figure 8 As shown, the service device may be equipped with at least one message connection module, and each display device may establish a long connection with the message connection module in the service device. Therefore, after the first display device requests to establish a long connection with the service device, the service device may configure a first long connection for the first display device based on the load of each message connection module. For example, the service device may configure the first message connection module to establish a first long connection with the first display device.

[0139] Additionally, when the first user initiates the first additional function of the target application, it may require a second user (any user in the first target group other than the first user) to also join the first target group. In this case, the second user also needs to establish a second long connection between the second display device and the service device. Alternatively, the second user may send a request to the service device through the communication connection established with the service device, so that the service device can configure a second long connection for the second display device according to its own load, or allocate a corresponding message connection module to the second display device.

[0140] Step S703: Send the unique identifier of the first long connection to the first display device to establish the first long connection with the first display device.

[0141] The unique identifier of the first long connection can be the interface identifier of the service device, the message connection module identifier, etc. The unique identifier of the first long connection can be represented by symbols, numbers, letters, special characters, Chinese characters, images, etc., and this application does not limit it in this regard.

[0142] After the first display device receives the unique identifier of the first long connection sent by the service device, and the second display device receives the unique identifier of the second long connection sent by the service device, the first display device and the second display device can establish a long connection with the service device after finding the long connection corresponding to the unique identifier.

[0143] In yet another embodiment, after establishing the first long connection with the first display device, the service device also needs to perform the following operations:

[0144] First corresponding information is generated based on the unique identifier of the first display device and the unique identifier of the first long connection, and the first corresponding information is stored in the user pool. The user pool includes the unique identifiers of multiple display devices and the unique identifiers of the long connections corresponding to the multiple display devices.

[0145] Since the service device may establish long connections with multiple display devices, a user pool is set up to facilitate subsequent lookup of the long connections corresponding to each display device and to send information to the display devices through the corresponding long connections. This user pool stores the unique identifier of each display device and the unique identifier of the long connections corresponding to the multiple display devices. This allows for quick lookup of the long connections corresponding to display devices based on the user pool. Therefore, after the service device establishes the first long connection with the first display device, it can generate a mapping information between the unique identifier of the first display device and the unique identifier of the first long connection, and store it in the user pool. This facilitates the quick lookup of the first long connection corresponding to the first display device when information from the first target group needs to be sent to the first display device through the first long connection, by referring to the user pool.

[0146] Step S502: Construct the first target group corresponding to the first user, the first target group including the first long connection;

[0147] Once the first display device and the second display device successfully establish the first long connection and the second long connection with the service device, it is necessary to construct a first target group including the first user and the second user, so as to launch the first additional function of the target application based on the first target group and the long connection corresponding to each display device.

[0148] In another embodiment, such as Figure 9 As shown, Figure 9 The operation performed when a service device provided for an exemplary embodiment of this application constructs a first target group includes the following steps:

[0149] Step S901: After establishing the first long connection, receive the second request sent by the first display device through the first long connection. The second request carries the first token to be verified and the unique identifier of the first target group.

[0150] In this scenario, after the service device establishes a first long connection with the first display device, the first user needs to join the first target group created by the service device in order to perform the operation corresponding to the first additional function. The first display device then needs to send a second request to the service device based on the unique identifier of the first target group and the first group entry token provided by the service device, in order to request to join the first target group.

[0151] After receiving the second request sent by the first display device through the first long connection, the service device may first parse the second request to obtain the unique identifier of the first target group and the first group entry token.

[0152] It should be noted here that, alternatively, a second user may send a request to the service device to perform an operation corresponding to the first additional function. The service device then constructs a first target group for the second user in response to this request. In this case, the second display device needs to send a request to the service device based on the unique identifier and first group entry token provided by the service device to join the first target group. That is, any user corresponding to any display device that has established a long connection with the service device can launch any additional function of any application. The method by which the service device constructs a group for the second user is the same as the method for constructing a group for the first user, and this application does not limit this aspect.

[0153] Step S902: Based on the group pool, find the first target group using the unique identifier of the first target group;

[0154] Since the service device may have multiple groups to implement different additional functions, based on the above description of the group pool, the service device can match the unique identifier of the first target group with the group pool, and then find the first target group based on the matching result.

[0155] Step S903: Obtain the first entry token from the first target group;

[0156] The first entry token is used to verify the user account applying to join the first target group. By verifying entry requests sent from various display devices using the first entry token, issues such as information leakage within the first target group due to other users mistakenly joining can be prevented. After the service device finds the first target group through the group pool, it obtains the first entry token from the first target group and uses it to verify the first token to be verified.

[0157] In another embodiment, continue as follows Figure 8 As shown, the service device is also equipped with a message control module. After receiving the first token to be verified sent by the first display device, the service device can obtain the first group entry token through the message control module. This application does not limit this.

[0158] Step S904: Match the first token to be verified with the first group entry token; if the match is successful, proceed to step S905; if the match fails, proceed to step S906.

[0159] Step S905: Construct the first target group for the first user;

[0160] Step S906: Refuse to build the first target group for the first user.

[0161] If the two requests match, it means the first user is allowed to join the first target group by the service device, and the first target group is created for the first user, meaning the user account corresponding to the first user is allowed to join the first target group. Conversely, if the match fails, the creation of the first target group for the first user is refused, meaning the user account corresponding to the first user is refused to join the first target group. Verifying the requests sent by each display device to join the corresponding group through this verification method improves the security of each group and the security of information exchanged between users through the display devices and the service device.

[0162] In another embodiment, such as Figure 10 As shown, Figure 10 The operation performed by the service device provided in an exemplary embodiment of this application after constructing the first target group includes the following steps:

[0163] Step S1001: After constructing the first target group, generate second corresponding information based on the unique identifier of the first user and the unique identifier of the first target group;

[0164] The unique identifier of the first user can be the user account entered by the first user when logging into the target application set on the first display device, or it can be other identifiers used to represent the first user. This unique identifier can be represented by numbers, letters, text, images, special characters, etc. The second correspondence information represents the correspondence between the unique identifier of the first user and the unique identifier of the first target group. The unique identifier of the first user and the second correspondence information can be used to find the group to which the first user belongs. Similarly, the unique identifier of the first target group and the second correspondence information can be used to obtain information that the first user belongs to the first target group.

[0165] Step S1002: Store the second corresponding information in the group pool. The group pool includes the unique identifiers of multiple groups and the unique identifiers of multiple users corresponding to each group.

[0166] The group pool contains information on the correspondence between multiple groups and all users within those groups. The group pool allows for quick retrieval of user information within each group, as well as the group each user belongs to. Since the service device creates multiple different groups for different applications and additional functions, it can store the correspondence information between each group and its users in the corresponding group owner pool immediately upon obtaining the information, facilitating subsequent searches.

[0167] Step S503: Execute the first operation corresponding to the first additional function based on the first long connection included in the first target group;

[0168] In yet another embodiment, such as Figure 11 As shown, Figure 11 The steps of performing a first operation by a service device provided for an exemplary embodiment of this application:

[0169] Step S1101: Receive the first target message sent by the first display device through the first long connection;

[0170] Among them, the first additional function is, for example, real-time chat during a meeting, and the first target message can be the chat content sent by the first user through the first display device.

[0171] It should be noted here that, when performing the first additional function, the service device can also receive a second target message sent by the second display device through a second long connection; the service device can also receive a third target message sent by the third display device through a third long connection, etc. The service device can receive target messages sent by any user in the first target group through the corresponding display device, and this application does not limit this. That is, any user in the first target group can perform the first operation to send the corresponding message.

[0172] In another embodiment, continue as follows Figure 8 As shown, the first display device can send the first target message to the message connection module through the first long connection.

[0173] Step S1102: Determine the unique identifier of the second user based on the unique identifier of the group pool and the first target group. The second user is any user other than the first user.

[0174] The first target message is a message sent by the first user to the service device via the first display device and the first long connection, intended for display to other users in the first target group. Other users need to receive the first target message through their corresponding long connections. Since the group pool includes the correspondence between the unique identifier of the first target group and the unique identifiers of multiple users, the unique identifier of other users in the first target group (hereinafter referred to as the second user) can be found in the group pool using the unique identifier of the first target group.

[0175] In another embodiment, continue as follows Figure 8 As shown, after receiving the first target message, the message connection module may send the first target message to the message control module, which will then obtain the unique identifier of the second user from the group pool based on the unique identifier of the first target group.

[0176] Step S1103: Determine the unique identifier of the second long connection corresponding to the second user based on the unique identifier of the second user and the user pool. The second long connection is a long connection established between the second display device corresponding to the second user and the service device.

[0177] Specifically, the unique identifier of the second user can be determined based on the group pool and the unique identifier of the first target group. Since the service device has a user pool storing the unique identifiers of multiple users and the corresponding long-connection identifiers, after determining the unique identifier of the second user, the unique identifier of the long-connection corresponding to the second user's unique identifier (hereinafter referred to as the unique identifier of the second long-connection) can be quickly obtained through the user pool. The method for establishing the second long-connection between the second display device corresponding to the second user and the service device is the same as the method for establishing the first long-connection between the first display device corresponding to the first user and the service device, which has been described above and will not be repeated here.

[0178] In another embodiment, continue as follows Figure 8 As shown, the message control module can also determine the unique identifier of the second long connection corresponding to the second user based on the unique identifier of the second user and the user pool.

[0179] Step S1104: Send the first target message to the second display device through the second long connection.

[0180] In this process, after the service device obtains the second long connection corresponding to the second user through the above method, it sends the first target message to the second display device through the second long connection, so that the second user corresponding to the second display device can read the first target message sent by the first user. Furthermore, it can send a reply message to the first target message and send it to the service device through the second long connection, and the service device can then send it to the first display device through the first long connection.

[0181] In another embodiment, continue as follows Figure 8 As shown, the service device is also equipped with a message push module. After the message control module determines the second long connection corresponding to the second user, it can push the first target message to the second long connection through the message push module to send the first target message to the second display device.

[0182] In addition, the service device may also be equipped with a publish / subscribe-based messaging system. The message control module may also store the first target message on the publish / subscribe-based messaging system after determining the second long connection corresponding to the second user. When push is required, the message push module retrieves the first target message and the second long connection from the publish / subscribe-based messaging system and pushes the first target message to the second long connection.

[0183] The above describes the corresponding operations required for the first user or the second user to launch the first additional function of the target application. The following describes the operations required for the first user or the second user to launch the second additional function of the target application:

[0184] Step S504: After establishing the first long connection, if the first user needs to start the second additional function of the target application, a second target group containing the first user is constructed, and the second target group includes the first long connection.

[0185] The second additional function is another function of the target application that is different from the first additional function. For example, if the first additional function is real-time chat in the meeting, then the second additional function is the use of a whiteboard in the meeting.

[0186] The second target group is constructed by the service device to enable the first user to launch the second additional function of the target application. It can also be constructed by the service device to enable the second additional function of the target application for a second user; this application does not limit this. The second target group can include all users who use the second additional function of the target application. If the first user needs to launch the second additional function of the target application, the service device needs to construct a second target group for the first user so that the first user can perform the operation corresponding to the second additional function based on the second target group and the first long connection. By constructing different groups for different additional functions, and managing each group, the long connection established between each display device and the service device can be reused, avoiding excessive load on the service device caused by establishing multiple long connections between each display device and the service device, which would affect the use of each application.

[0187] The following describes a method for constructing a second target group corresponding to a first user using a service device: In another embodiment, as... Figure 12 As shown, Figure 12 The operations performed when building a second target group for a service device include the following steps:

[0188] Step S1201: Receive a fifth request from the first display device through the first long connection. The fifth request is used to request the activation of a second additional function of the target application.

[0189] The fifth request may be a request message triggered by the first user through a touch operation on the first display device. This touch operation may be, for example, clicking the second additional function identifier corresponding to the target application or entering an instruction to start the second additional function of the target application.

[0190] After generating the fifth request, the first display device may send the fifth request to the service device through the first long connection established with the service device.

[0191] Step S1202: Generate a third message for the fifth request. The third message carries a second inbound token and a unique identifier of the second target group. The second target group includes the first long connection.

[0192] In this process, after receiving the fifth request sent by the first display device through the first long connection, the service device constructs a corresponding second target group for the first user and sends the unique identifier of the constructed second target group to the first display device.

[0193] In addition, to prevent information leaks within the group caused by other users joining the second target group, the service device is also equipped with a second entry token to verify the first display device joining the second target group. This ensures that users allowed to join the second target group can do so smoothly and that the security of the second target group is guaranteed.

[0194] After obtaining the unique identifier of the second target group and the second group entry token, the service device may encapsulate both into a third message to generate a third message for the fifth request.

[0195] Step S1203: Send the third message to the first display device.

[0196] In this case, after the service device generates the third message, the third message can be sent to the first display device through the first long connection.

[0197] In another embodiment, such as Figure 13 As shown, Figure 13 Other operations are performed when building a second target group for the service equipment, including the following steps:

[0198] Step S1301: Receive a sixth request sent by the first display device through the first long connection. The sixth request carries a second token to be verified and a unique identifier of the second target group.

[0199] In this scenario, after the service device establishes a first long connection with the first display device, the second user needs to join the second target group created by the service device for the first user in order to complete the second additional function through the first display device. The first display device then needs to send a sixth request to the service device based on the unique identifier and second entry token of the second target group provided by the service device, in order to request to join the second target group.

[0200] After receiving the sixth request sent by the first display device through the first long connection, the service device may first parse the sixth request to obtain the unique identifier of the second target group and the second group entry token.

[0201] It should be noted here that, alternatively, a second user may send a request to the service device to perform an operation corresponding to the second additional function. The service device then constructs a second target group for the second user in response to this request. In this case, the second display device needs to send a request to the service device based on the unique identifier and second entry token of the second target group provided by the service device, in order to join the second target group. That is to say, any user corresponding to any display device that has established a long connection with the service device can launch any additional function of any application. The method by which the service device constructs a group for the second user is the same as the method for constructing a group for the first user, and this application does not limit this aspect.

[0202] Step S1302: Based on the group pool, find the second target group using the unique identifier of the second target group;

[0203] Since the service device may have multiple groups to implement different additional functions, based on the above description of the group pool, the service device can match the unique identifier of the second target group with the group pool, and then find the second target group based on the matching result.

[0204] Step S1303: Obtain the second entry token from the second target group;

[0205] The second entry token is used to verify the user account applying to join the second target group. By verifying entry requests sent from various display devices using the second entry token, issues such as information leakage within the second target group due to other users mistakenly joining can be prevented. After the service device finds the second target group through the group pool, it obtains the second entry token from the second target group and uses it to verify the second token to be verified.

[0206] Step S1304: Match the second token to be verified with the second group entry token; if the match is successful, proceed to step S1305; if the match fails, proceed to step S1306.

[0207] Step S1305: Construct a second target group for the first user;

[0208] Step S1306: Reject the creation of a second target group for the first user.

[0209] If the two requests match, it means the first user is allowed to join the second target group by the service device, and the second target group is created for the first user, allowing the user account corresponding to the first user to join the second target group. Conversely, if the match fails, the creation of the second target group for the first user is refused, preventing the user account from joining the second target group. Verifying the requests sent by each display device to join the corresponding group through this verification method improves the security of each group and the security of information exchanged between users through the display devices and the service device.

[0210] After constructing the second target group for the first user, the operation corresponding to the second additional function can be executed based on the second target group and the first long connection, specifically including the following steps:

[0211] Step S505: Execute the second operation corresponding to the second additional function based on the second target group and the first long connection.

[0212] The second operation could be, for example, presenting a document on a whiteboard, sending a notification, or chatting.

[0213] In yet another embodiment, such as Figure 14 As shown, Figure 14 The steps performed by the service device provided in an exemplary embodiment of this application when performing a second operation are as follows:

[0214] Step S1401: Receive a seventh request sent by the first display device through the first long connection. The seventh request carries a second target message.

[0215] One example of the second additional function is the use of a whiteboard in a meeting, where the second target message could be the first user demonstrating the corresponding content on the whiteboard.

[0216] It should be noted here that, when performing the second additional function, the service device can also receive the second target message sent by the second display device through the second long connection; the service device can also receive the second target message sent by the third display device through the third long connection, etc. The service device can receive target messages sent by any user in the first target group through the corresponding display device, and this application does not limit this. That is, any user in the second target group can perform the second operation and send the corresponding message.

[0217] Step S1402: Determine the unique identifier of the third user based on the group pool and the second target group. The third user is any user in the second target group other than the first user.

[0218] The second target message is a message sent by the first user to the service device via the first display device and the first long connection, intended for display to other users in the second target group. Other users receive the second target message via their respective long connections. Since the group pool includes the correspondence between the unique identifier of the second target group and the unique identifiers of multiple users, the unique identifier of the second target group can be used to find the unique identifiers of other users in the second target group (hereinafter referred to as third users). The third user can be the same user as the second user, or it can include users other than the second user; this application does not limit this.

[0219] Step S1403: Determine the unique identifier of the third long connection corresponding to the third user based on the unique identifier of the third user and the user pool. The third long connection is a long connection established between the third display device corresponding to the third user and the service device.

[0220] Specifically, the unique identifier of the third user can be determined based on the unique identifiers of the group pool and the second target group. Since the service device has a user pool storing the unique identifiers of multiple users and the corresponding long-connection identifiers, after determining the unique identifier of the third user, the unique identifier of the long-connection corresponding to the third user's unique identifier (hereinafter referred to as the unique identifier of the third long-connection) can be quickly obtained through the user pool. The method for establishing the third long-connection between the third display device corresponding to the third user and the service device is the same as the method for establishing the first long-connection between the first display device corresponding to the first user and the service device, which has been described above and will not be repeated here.

[0221] Step S1404: Send the second target message to the third display device via the third long connection.

[0222] In this process, after the service device obtains the third long connection corresponding to the third user through the above method, it sends the second target message to the third display device through the third long connection, so that the third user corresponding to the third display device can read the second target message sent by the first user. Furthermore, it can send a reply message to the second target message and send it to the service device through the third long connection. The service device then sends it to the first display device through the first long connection.

[0223] For example, such as Figure 15 As shown, message connection module IP1 established long connections with user A and user B respectively. Message connection module IP1 constructed group 1 and group 2 for user A. The unique identifier of user A in group 1 is g1-a, and the unique identifier of user A in group 2 is g2-a. Message connection module IP1 constructed group 3 for user B. The unique identifier of user B in group 3 is g3-b.

[0224] like Figure 16 As shown, message connection module IP2 established long connections with users C and D respectively. Message connection module IP2 constructed group 1 and group 4 for user C. The unique identifier of user C in group 1 is g1-c, and the unique identifier of user C in group 4 is g4-c. Message connection module IP2 constructed group 5 for user D. The unique identifier of user D in group 5 is g5-d.

[0225] Secondly, this application also provides a display device. The technical solution of this application will be described below from the perspective of the display device: The display device may be, for example, a television, a desktop computer, a laptop computer, a tablet computer, etc. The display device may refer to the first display device described above, or it may be the second display device described above, or it may be the third display device described above. The first display device, the second display device, and the third display device may be devices with the same structure and configuration, or they may be devices with different structures and configurations; this application does not limit this.

[0226] Display devices include monitors, which can display various applications and the functions of those applications. Examples of monitors include CRT monitors, LCD monitors, LED monitors, 3D monitors, and plasma monitors.

[0227] The display device also includes a controller, which executes commands such as... Figure 17 The operation shown:

[0228] Step S1701: In response to the first target operation by the target user on the display, an eighth request is generated and sent to the service device. The eighth request is used to request the activation of the first additional function of the target application.

[0229] The first target operation may be an operation in which the target user clicks the icon corresponding to the first additional function on the display, or an operation in which the user inputs an instruction to start the first additional function through the display, etc. This application does not limit it in this way.

[0230] The first additional feature is any feature in the target application other than the main feature. For example, the first additional feature could be real-time chat during a meeting or the use of a whiteboard during a meeting.

[0231] Step S1702: Receive a first message from the service device for the eighth request. The first message carries a unique identifier of the first target group and a first entry token. The first entry token is used for verification when constructing the first target group corresponding to the target user.

[0232] The first message is the message generated by the service device in response to the eighth request sent by the display device. The first target group is a group constructed by the service device for the target user to support the target user in performing the first additional function. The first target group includes the user accounts of all other users who will be performing the first additional function with the target user. The first group entry token is set by the service device and is used to verify entry after receiving a group entry request from any user through the corresponding display device, in order to ensure the security of the first target group and prevent other users from entering the first target group, thus avoiding message leakage.

[0233] Step S1703: Generate the ninth request and send the ninth request to the service device. The ninth request is used to request the establishment of a target long connection with the service device.

[0234] When the display device performs the first additional function, it needs to rely on the long connection established with the service device. Therefore, after starting the first additional function, the display device generates a ninth request to request the establishment of a target long connection with the service device.

[0235] After receiving the ninth request from the display device, the service device can allocate a target long connection to the display device based on its own load and send the unique identifier of the target long connection to the display device.

[0236] Step S1704: After determining that a target long connection has been established with the service device, a tenth request is generated and sent to the service device through the target long connection. The tenth request is used to request the construction of the first target group corresponding to the target user. The tenth request carries the unique identifier of the first target group and the first verification token. The first verification token may be the same as or different from the first group entry token.

[0237] The display device may determine whether to establish a target long connection with the service device or the message connection module set by the service device based on the message returned by the service device, or it may determine whether to establish a target long connection with the service device or the message connection module set by the service device based on the connection interface information of the target long connection. This application does not limit this.

[0238] In order to execute the first operation corresponding to the first additional function, it is also necessary to rely on the first target group built by the service device for the target user. In the process of the service device building the first target group for the target user, the first target group can be built first, and then the unique identifier of the first target group and the first group entry token used to verify the target user's request to join the first target group can be sent to the display device.

[0239] After receiving the unique identifier of the first target group and the first group entry token from the service device, the display device may generate a tenth request carrying the unique identifier of the first target group and the first token to be verified, in order to apply to the service device to join the first target group. If the display device is a device allowed by the service device to join the first target group, the first token to be verified carried by the display device is the first group entry token; if the display device is not a device allowed by the service device to join the first target group, the first token to be verified carried by the display device is any other group entry token.

[0240] After receiving the tenth request through the target long connection, the service device parses the tenth request to obtain the unique identifier of the first target group and the first token to be verified. This allows it to construct the first target group for the target user based on the unique identifier of the first target group and the first token to be verified.

[0241] Step S1705: After determining that the service device has successfully built the first target group for the target user, execute the first operation corresponding to the first additional function based on the target long connection and the first target group;

[0242] The service device can locate the first target group by its unique identifier, obtain the first entry token from the first target group, and match the first token to be verified sent by the display device with the first entry token. If the match is successful, the first target group is created for the target user. Otherwise, the creation of the first target group for the target user is refused, that is, the target user is refused to join the first target group.

[0243] The service device may send a message to the display device after confirming a successful match. This message indicates that a first target group has been successfully established for the target user. The display device may then determine that the service device has successfully established a first target group for the target user upon receiving this message.

[0244] The first operation corresponding to the first additional function refers to any one of all operations that the target user can perform under the first additional function, and this application does not limit this. For example, if the first additional function is chat in a meeting, then the first operation is sending a chat message.

[0245] Step S1706: In response to the second target operation of the target user on the display, an eleventh request is generated and sent to the service device through the target long connection. The eleventh request is used to request the activation of the second additional function of the target application.

[0246] The second target operation can be the operation of the target user clicking the icon corresponding to the second additional function on the display, or the operation of inputting a command to start the second additional function through the display, etc. This application does not limit it.

[0247] The second additional function is any function in the target application other than the main function and the first additional function. For example, if the first additional function is real-time chat during a meeting, then the second additional function is using a whiteboard during a meeting, etc.

[0248] Step S1707: Receive a second message from the service device in response to the eleventh request. The second message carries a unique identifier of the second target group and a second entry token. The second entry token is used for verification when constructing the second target group corresponding to the target user.

[0249] The second message is generated by the service device in response to the eleventh request sent by the display device. The second target group is a group created by the service device for the target user to support the target user in performing the second additional function. The second target group includes the user accounts of all other users who will be performing the second additional function with the target user. The second group entry token is set by the service device and is used to verify entry after receiving a group entry request from any user through the corresponding display device, in order to ensure the security of the second target group and prevent other users from entering the second target group, thus avoiding message leakage.

[0250] Step S1708: Generate the twelfth request and send it to the service device through the target long connection. The twelfth request is used to request the construction of the second target group corresponding to the target user. The twelfth request carries the unique identifier of the second target group and the second verification token. The second verification token is the same as or different from the second group entry token.

[0251] In order to execute the second operation corresponding to the second additional function, it is also necessary to rely on the second target group built by the service device for the target user. In the process of the service device building the second target group for the target user, the second target group can be built first, and then the unique identifier of the second target group and the second group entry token used to verify the target user's request to join the second target group can be sent to the display device.

[0252] After receiving the unique identifier and the second entry token of the second target group from the service device, the display device may generate a twelfth request carrying the unique identifier of the second target group and the second token to be verified, to apply to the service device to join the second target group. If the display device is a device allowed by the service device to join the second target group, the second token to be verified carried by the display device is the second entry token; if the display device is not allowed by the service device to join the second target group, the second token to be verified carried by the display device is any other entry token.

[0253] After receiving the twelfth request through the target long connection, the service device parses the twelfth request to obtain the unique identifier of the second target group and the second token to be verified. This allows it to construct a second target group for the target user based on the unique identifier and the second token.

[0254] Step S1709: After determining that the service device has successfully built a second target group for the target user, perform the second operation corresponding to the second additional function based on the target long connection and the second target group.

[0255] The service device can locate the second target group by its unique identifier, obtain the second entry token from the second target group, and match the second unverified token sent by the display device with the second entry token. If the match is successful, the second target group is created for the target user. Otherwise, the creation of the second target group for the target user is refused, that is, the target user is refused to join the second target group.

[0256] The service device may send a message to the display device after confirming a successful match. This message indicates that a second target group has been successfully created for the target user. Upon receiving this message, the display device may determine that the service device has successfully created a first target group for the target user.

[0257] The second operation corresponding to the second additional function refers to any one of all operations that the second additional function supports the target user to perform, and this application does not limit it. For example, if the second additional function is using a whiteboard in a meeting, then the second operation is sending information that needs to be displayed on the whiteboard.

[0258] In another embodiment, the display device also performs the following operations:

[0259] In response to a target user logging into the target application, a communication connection is established with the service device;

[0260] The login operation could be, for example, a user entering their username and password at a target location on the display and clicking a login control. The communication connection can be a persistent connection or a short connection; this application does not limit this. The display device can establish a communication connection with the service device via a local area network, Ethernet cable, Wi-Fi, Bluetooth, or other methods.

[0261] The eighth request is sent to the service device via the communication connection;

[0262] Receive the first message sent by the service device through the communication connection.

[0263] After the display device and the service device successfully establish a communication connection, the display device can send an eighth request through the communication connection and receive a first message sent by the service device through the communication connection.

[0264] like Figure 18 As shown below, a general example of this application will be provided:

[0265] Step S1801: The display device sends a first request to the service device. The first request is used to request the establishment of a communication connection.

[0266] In step S1802, the service device establishes a communication connection with the display device based on the first request;

[0267] In step S1803, the display device sends a second request to the service device based on the operation of the target user to start the first additional function of the target application. The second request is used to request the start of the first additional function.

[0268] In step S1804, the service device generates a first message carrying a unique identifier of the first target group and a first group entry token in response to the first request, and sends the first message to the display device.

[0269] Step S1805: After receiving the first message, the display device generates a third request and sends it to the service device through the communication connection. The third request is used to request the establishment of a target long connection with the service device.

[0270] In step S1806, after receiving the third request through the communication connection, the service device allocates a target long connection according to its own load balancing and sends the unique identifier of the target long connection to the display device through the communication connection.

[0271] Step S1807: After receiving the unique identifier of the target long connection sent by the service device through the communication connection, the display device establishes a target long connection with the service device.

[0272] Step S1808: The display device sends a fourth request to the service device through the target long connection. The fourth request is used to request the construction of the first target group. The fourth request carries the unique identifier of the first target group and the first token to be verified.

[0273] In step S1808, the service device receives the fourth request sent by the display device through the target long connection, searches for the first target group through the unique identifier of the first target group, obtains the first entry token from the first target group, and matches the first entry token with the first token to be verified. If the match is successful, the first target group is built for the target user; if the match fails, the first target group is refused to be built for the target user.

[0274] Step S1809: After the service device successfully builds the first target group for the target user, the display device performs the first operation of the first additional function based on the first target group and the target long connection.

[0275] In step S1810, the display device sends a fifth request to the service device through the target long connection based on the operation of the target user to start the second additional function of the target application. The fifth request is used to request the start of the second additional function.

[0276] In step S1811, the service device generates a second message carrying a unique identifier of the second target group and a second group entry token in response to the fifth request, and sends the second message to the display device.

[0277] In step S1812, the display device sends a sixth request to the service device through the target long connection. The sixth request is used to request the construction of a second target group. The sixth request carries the unique identifier of the second target group and the second token to be verified.

[0278] In step S1813, the service device receives the sixth request sent by the display device through the target long connection, searches for the second target group through the unique identifier of the second target group, obtains the second entry token from the second target group, and matches the second entry token with the second token to be verified. If the match is successful, the second target group is built for the target user; if the match fails, the second target group is refused to be built for the target user.

[0279] In step S1814, after the service device successfully builds the second target group for the target user, the display device performs the second operation of the second additional function based on the second target group and the target long connection.

[0280] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0281] In addition, this embodiment also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the method steps of the above-mentioned service device.

[0282] Additionally, this embodiment also provides a computer program product, including a computer program that, when executed by a processor, implements the method steps performed by the service device described above.

[0283] It is readily understood that, based on the several embodiments provided in this application, those skilled in the art can combine, split, or reorganize the embodiments of this application to obtain other embodiments, none of which exceed the protection scope of this application.

[0284] The above detailed embodiments further illustrate the purpose, technical solution, and beneficial effects of the embodiments of this application. It should be understood that the above are merely specific embodiments of the embodiments of this application and are not intended to limit the protection scope of the embodiments of this application. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solutions of the embodiments of this application should be included within the protection scope of the embodiments of this application.

Claims

1. A service device, characterized in that, include: The communication interface is configured to communicate with the display device via a persistent connection; The processor is configured as follows: After determining that the first user needs to activate the first additional function of the target application, a first long connection is established with the first display device corresponding to the first user. Construct a first target group corresponding to the first user, wherein the first target group includes the first long connection; Execute the first operation corresponding to the first additional function based on the first long connection included in the first target group; After the first long connection is established, if the first user needs to activate the second additional function of the target application, a second target group containing the first user is constructed, and the second target group includes the first long connection; The second operation corresponding to the second additional function is performed based on the second target group and the first long connection.

2. The service equipment according to claim 1, characterized in that, The processor is further configured to: Before establishing the first long connection, in response to the first user's operation of logging into the target application through the first display device, a communication connection is established with the first display device; Through the communication connection, a first request is received from the first display device, the first request being used to request the activation of the first additional function of the target application; Generate a first message in response to the first request. The first message carries a unique identifier of the first target group and a first group entry token. The first group entry token is used for verification when constructing the first target group corresponding to the first user. The first message is sent to the first display device.

3. The service equipment according to claim 2, characterized in that, The processor is further configured to: After establishing the first long connection, a second request sent by the first display device is received through the first long connection. The second request carries a first token to be verified and a unique identifier of the first target group. The first target group is located based on the unique identifier of the first target group using the group pool; Obtain the first verification code from the first target group; The first token to be verified is verified using the first verification code; Obtain the first group entry token from the first target group; Match the first token to be verified with the first group entry token; If a match is found, the first target group is created for the first user; If a match fails, the first target group will not be constructed for the first user.

4. The service equipment according to claim 2, characterized in that, The processor is further configured to: Based on the communication connection, the third request sent by the first display device is received, the third request being used to request the establishment of a long connection with the service device; According to the load balancing configuration principle, the first long connection is configured for the first display device. The first long connection is any one of the multiple long connections with remaining load in the service device. Send the unique identifier of the first long connection to the first display device to establish the first long connection with the first display device.

5. The service equipment according to claim 4, characterized in that, The processor is further configured to: First correspondence information is generated based on the unique identifier of the first display device and the unique identifier of the first long connection, and the first correspondence information is stored in the user pool, the user pool including the unique identifiers of multiple display devices and the unique identifiers of long connections corresponding to the multiple display devices.

6. The service equipment according to claim 3, characterized in that, The processor is further configured to: After constructing the first target group, second corresponding information is generated based on the user's unique identifier and the unique identifier of the first target group; The second corresponding information is stored in a group pool, which includes unique identifiers for multiple groups and unique identifiers for multiple users corresponding to each group.

7. The service equipment according to claim 6, characterized in that, The processor is further configured to: Receive the first target message sent by the first display device through the first long connection; The unique identifier of the second user is determined based on the unique identifier of the group pool and the first target group, and the second user is a user other than the first user; The unique identifier of the second long connection corresponding to the second user is determined based on the unique identifier of the second user and the user pool. The second long connection is a long connection established between the second display device corresponding to the second user and the service device. The first target message is sent to the second display device via the second long connection.

8. The service equipment according to claim 7, characterized in that, The processor is further configured to: The first long connection is used to receive a fifth request from the first display device, the fifth request being used to request the activation of a second additional function of the target application; Generate a third message in response to the fifth request, the third message carrying a second inbound token and a unique identifier of a second target group, the second target group including the first long connection; The third message is sent to the first display device.

9. The service equipment according to claim 8, characterized in that, The processor is further configured to: The first long connection is used to receive a sixth request sent by the first display device, the sixth request carrying a second token to be verified and a unique identifier of the second target group; Based on the group pool, the second target group is located using its unique identifier. Obtain the second entry token from the second target group; Match the second token to be verified with the second group entry token; If a match is found, then the second target group is created for the first user; If a match fails, the second target group will not be constructed for the first user.

10. The service equipment according to claim 9, characterized in that, The processor is further configured to: The seventh request sent by the first display device is received through the first long connection, and the seventh request carries a second target message; The unique identifier of the third user is determined based on the group pool and the second target group. The third user is any user in the second target group other than the first user. The unique identifier of the third long connection corresponding to the third user is determined based on the unique identifier of the third user and the user pool. The third long connection is a long connection established between the third display device corresponding to the third user and the service device. The second target message is sent to the third display device via the third long connection.

11. A display device, characterized in that, include: The monitor is configured to display various applications and all the functions of each application. The controller is configured as follows: In response to a first target operation by a target user on the display, an eighth request is generated and sent to the service device, the eighth request being used to request the activation of a first additional function of the target application; The service device receives a first message for the eighth request, the first message carrying a unique identifier of the first target group and a first entry token, the first entry token being used for verification when constructing the first target group corresponding to the target user; A ninth request is generated and sent to the service device. The ninth request is used to request the establishment of a target long connection with the service device. After determining that the target long connection is established with the service device, a tenth request is generated and sent to the service device through the target long connection. The tenth request is used to request the construction of the first target group corresponding to the target user. The tenth request carries the unique identifier of the first target group and a first verification token. The first verification token may be the same as or different from the first group entry token. After determining that the service device has successfully built the first target group for the target user, the first operation corresponding to the first additional function is executed based on the target long connection and the first target group. In response to a second target operation by a target user on the display, an eleventh request is generated and sent to the service device via the target long connection. The eleventh request is used to request the activation of a second additional function of the target application. The service device receives a second message in response to the eleventh request. The second message carries a unique identifier of the second target group and a second entry token. The second entry token is used for verification when constructing the second target group corresponding to the target user. A twelfth request is generated and sent to the service device through the target long connection. The twelfth request is used to request the construction of the second target group corresponding to the target user. The twelfth request carries the unique identifier of the second target group and a second verification token. The second verification token may be the same as or different from the second group entry token. After determining that the service device has successfully built the second target group for the target user, the second operation corresponding to the second additional function is performed based on the target long connection and the second target group.

12. The display device according to claim 11, characterized in that, The controller is further configured to: In response to the target user's login to the target application, a communication connection is established with the service device; The eighth request is sent to the service device via the communication connection; The service device sends the first message through the communication connection.