Display control method and device, equipment and medium
By receiving control requests from the user terminal on the server and calling the service interface of the functional module, the problem of cumbersome data display in the business system is solved, and a simple and fast data display effect is achieved.
Patent Information
- Application Number
- CN202411631694.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-02-11
AI Technical Summary
In the business system, as the increase in functional modules, it becomes cumbersome to view various business data, and there is a lack of simple and fast display control methods.
By receiving the control request of the user terminal on the server side, obtaining user operation information based on the graphical interface of the functional module, calling the service interface of the corresponding functional module, and determining the target display terminal, sending the return data of the service interface to the target display terminal for rendering and show.
It realizes that users can quickly display the service data corresponding to each functional module by simply operating the graphical interface of the functional modules in the user terminal, simplifying the data display process.
Smart Images

Figure CN119414991A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display control technology, and in particular to display control methods, devices, equipment and media. Background Art
[0002] With the development of computer technology, all walks of life usually build business systems corresponding to their own businesses to manage their businesses digitally. With the long-term operation of business systems and the continuous increase of functional modules, viewing various business data has become more and more cumbersome. Therefore, how to display the business data of each functional module simply and quickly is a problem that needs to be solved at present. Summary of the invention
[0003] In view of this, the purpose of this application is to provide a display control method, device, equipment and medium, which can easily and quickly display the business data of each functional module. The specific scheme is as follows:
[0004] In a first aspect, the present application discloses a display control method, which is applied to a server and includes:
[0005] Receiving a first control request sent by a user terminal, wherein the first control request is a control request generated by the user terminal based on user operation information obtained by a graphical interface of a functional module;
[0006] Calling a service interface corresponding to the functional module based on the module identifier of the functional module carried in the first control request;
[0007] Determine, based on the user terminal identifier of the user terminal carried in the first control request, a target display terminal corresponding to the function module from display terminals corresponding to the user terminal identifier;
[0008] The returned data of the service interface is sent to the target display terminal, so that the target display terminal renders and displays according to the data type of the returned data.
[0009] Optionally, also include:
[0010] Receiving registration information corresponding to the display terminal and carrying a display terminal identifier, and registering the display terminal, wherein the display terminal identifier is a unique identifier of the display terminal;
[0011] Receiving registration information corresponding to a user terminal and carrying a user terminal identifier, and registering the user terminal, wherein the user terminal identifier is a unique identifier of the user terminal;
[0012] Establishing a correspondence between a user terminal identifier and a display terminal identifier, wherein any user terminal identifier corresponds to one display terminal identifier or multiple display terminal identifiers;
[0013] A correspondence between a module identifier and a display terminal identifier is established, wherein any display terminal identifier corresponds to one module identifier or multiple module identifiers.
[0014] Optionally, also include:
[0015] Receiving a second control request sent by a user terminal, wherein the second control request is a control request generated by the user terminal based on user operation information obtained by a control interface corresponding to the hardware device;
[0016] The hardware device is controlled based on the second control request.
[0017] Optionally, also include:
[0018] Establish a corresponding relationship between hardware devices and user terminals to configure the user terminal's control authority over the corresponding hardware devices.
[0019] Optionally, also include:
[0020] A correspondence between a functional module and a user terminal is established to configure the access rights of the user terminal to the corresponding functional module.
[0021] Optionally, sending the return data of the service interface to the target display terminal so that the target display terminal renders and displays the return data according to the data type of the return data includes:
[0022] Acquire return data of the business interface, wherein the return data includes target data processed by a preset algorithm and algorithm information of the preset algorithm;
[0023] The returned data is sent to the target display terminal, so that the target display terminal renders and displays the data according to the data type of the target data and the algorithm information.
[0024] In a second aspect, the present application discloses a display control method, which is applied to a user terminal, comprising:
[0025] Obtain user operation information based on the graphical interface of the functional module;
[0026] generating a first control request based on the user operation information;
[0027] The first control request is sent to the server, so that the server calls the business interface corresponding to the function module based on the module identifier of the function module carried in the first control request; the target display terminal corresponding to the function module is determined from the display terminals corresponding to the user terminal identifier based on the user terminal identifier of the user terminal carried in the first control request; the return data of the business interface is sent to the target display terminal, and the target display terminal renders and displays the data according to the data type of the return data.
[0028] In a third aspect, the present application discloses a display control device, which is applied to a server and includes:
[0029] A request receiving module, configured to receive a first control request sent by a user terminal, wherein the first control request is a control request generated by the user terminal based on user operation information obtained by a graphical interface of a functional module;
[0030] an interface calling module, configured to call a service interface corresponding to the functional module based on the module identifier of the functional module carried in the first control request;
[0031] a terminal determining module, configured to determine, based on the user terminal identifier of the user terminal carried in the first control request, a target display terminal corresponding to the function module from display terminals corresponding to the user terminal identifier;
[0032] The data return module is used to send the return data of the service interface to the target display terminal, so that the target display terminal renders and displays according to the data type of the return data.
[0033] In a fourth aspect, the present application discloses an electronic device, including a memory and a processor, wherein:
[0034] The memory is used to store the computer program;
[0035] The processor is used to execute the computer program to implement the aforementioned display control method.
[0036] In a fifth aspect, the present application discloses a computer-readable storage medium for storing a computer program, wherein the computer program implements the aforementioned display control method when executed by a processor.
[0037] It can be seen from the above scheme that the present application provides a display control method, which is applied to a server, including: receiving a first control request sent by a user terminal, wherein the first control request is a control request generated by the user terminal based on user operation information obtained by the graphical interface of the functional module; calling the business interface corresponding to the functional module based on the module identifier of the functional module carried in the first control request; determining the target display terminal corresponding to the functional module from the display terminals corresponding to the user terminal identifier based on the user terminal identifier of the user terminal carried in the first control request; sending the return data of the business interface to the target display terminal, so that the target display terminal renders and displays according to the data type of the return data.
[0038] It can be seen that the beneficial effects of the present application are: the server receives the control request sent by the user terminal, and the user can operate based on the graphical interface of the functional module in the user terminal, triggering the user terminal to generate a control request for the corresponding functional module. The server calls the business interface corresponding to the functional module based on the module identifier carried in the control request, and determines the target display terminal corresponding to the functional module based on the user terminal identifier, and uses the target display terminal to render and display the return data of the business interface according to the corresponding data type. In this way, the user only needs to simply operate the graphical interface of the functional module in the user terminal to realize the data display of the business data corresponding to each functional module on the display terminal, and can display the business data of each functional module simply and quickly.
[0039] Correspondingly, the display control method, display control device, equipment and readable storage medium applied to the user terminal provided in the present application also have the above-mentioned technical effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0041] Figure 1 A flow chart of a display control method provided in an embodiment of the present application;
[0042] Figure 2 A flow chart of another display control method provided in an embodiment of the present application;
[0043] Figure 3 A structural diagram of a display control system provided in an embodiment of the present application;
[0044] Figure 4A schematic diagram of the structure of a display control device provided in an embodiment of the present application;
[0045] Figure 5 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0047] See also Figure 1 As shown, the embodiment of the present application discloses a display control method, which is applied to a server and includes:
[0048] Step S11: receiving a first control request sent by a user terminal, wherein the first control request is a control request generated by the user terminal based on user operation information obtained by a graphical interface of a functional module.
[0049] Among them, the user terminal includes but is not limited to smart phones, tablet computers, personal computers, etc., and the corresponding control program can be installed in the user terminal. The control program is a client program, such as an APP (i.e., Application) of a smart phone, which can display the graphical interface of each functional module on the user terminal to facilitate user interaction. The functional module is a module corresponding to the function in the business system. The functional module in the business system can be understood as a series of independent but interrelated functional units designed and developed to achieve specific business goals or processes. These modules are usually divided according to business needs, and each module is responsible for processing specific tasks or providing specific services. The functional module can be understood as a functional module with more functions, or a submodule of the functional module with more functions. User operations may include but are not limited to click operations on buttons in the graphical interface and input operations in the output window. Accordingly, user operation information may include but is not limited to buttons corresponding to click operations, input content, etc.
[0050] In an optional implementation of this embodiment, registration information carrying a display terminal identifier corresponding to a display terminal can be received, and the display terminal can be registered, wherein the display terminal identifier is a unique identifier of the display terminal; registration information carrying a user terminal identifier corresponding to a user terminal is received, and the user terminal can be registered, wherein the user terminal identifier is a unique identifier of the user terminal; a correspondence between a user terminal identifier and a display terminal identifier is established, wherein any user terminal identifier corresponds to one display terminal identifier or multiple display terminal identifiers; a correspondence between a module identifier and a display terminal identifier is established, wherein any display terminal identifier corresponds to one module identifier or multiple module identifiers.
[0051] That is, in the embodiment of the present application, it is necessary to first register the user terminal and the display terminal, and establish a corresponding relationship between the user terminal and the display terminal, that is, the user terminal has corresponding control authority over the display terminal, and one user terminal can control one or more display terminals. In addition, it is necessary to establish a corresponding relationship between the functional module and the display terminal so that the data of the corresponding functional module can be displayed on the display terminal. Different display terminals can display the data of different functional modules, which is convenient for users to compare and view, and the data of different functional modules can be switched and displayed on the same display terminal.
[0052] Furthermore, in an optional implementation, a correspondence between a functional module and a user terminal may be established to configure the user terminal's access rights to the corresponding functional module, that is, different users may have different access rights to the functional module.
[0053] In addition, in an optional implementation, the embodiment of the present application may also establish a correspondence between hardware devices and user terminals to configure the user terminal's control authority over the corresponding hardware devices.
[0054] In a specific implementation, the user can log in to the control program through the account information, register the user terminal, and bind the hardware device corresponding to the user terminal. When the user changes the logged-in user terminal, the user terminal used historically can be unbound and a new user terminal can be re-registered.
[0055] In an optional implementation, the user terminal is connected to the server based on socket communication, and the server receives the first control request and registration information sent by the user terminal based on socket communication. In addition, the data in the control request can be encrypted for transmission.
[0056] Step S12: calling a service interface corresponding to the functional module based on the module identifier of the functional module carried in the first control request.
[0057] Among them, the business interface can be understood as a predefined function, which contains the processing logic of the corresponding functional module, can handle specific business logic and realize the transmission, sharing and interaction of data information.
[0058] This embodiment can pre-configure the information of the function module, including the module identification of the function module and the corresponding service interface, etc. By calling the service interface and executing the logic corresponding to the service interface, the return data of the service interface can be obtained.
[0059] Step S13: determining a target display terminal corresponding to the functional module from display terminals corresponding to the user terminal identifier based on the user terminal identifier of the user terminal carried in the first control request.
[0060] In this embodiment, the display terminal corresponding to the user terminal can be determined based on the correspondence between the user terminal identifier and the display terminal identifier, and then the target display terminal corresponding to the functional module can be determined from the determined display terminals based on the correspondence between the module identifier and the display terminal identifier.
[0061] Step S14: sending the return data of the service interface to the target display terminal, so that the target display terminal renders and displays according to the data type of the return data.
[0062] Among them, the data type may include but is not limited to various document formats, video streams, business panoramas, etc. The embodiment of the present application pre-sets the rendering logic corresponding to various data types, and can call the corresponding rendering logic based on the data type to render and display the returned data.
[0063] In an optional embodiment, return data of the business interface can be obtained, wherein the return data includes target data processed by a preset algorithm and algorithm information of the preset algorithm; the return data is sent to the target display terminal so that the target display terminal renders and displays according to the data type of the target data and the algorithm information.
[0064] Among them, the algorithm information can be a unique identifier of the algorithm, and the preset algorithm can run in an intelligent hardware device. For example, when rendering, the cashier detection algorithm marks the cash box on the image frame in the video stream, which can be a detection box.
[0065] In addition, the returned data may also include module identification, configuration parameters of intelligent hardware (such as serial number), events detected by the algorithm, time, etc. For example, private cash events.
[0066] Furthermore, this embodiment may also receive a second control request sent by a user terminal, wherein the second control request is a control request generated by the user terminal based on user operation information obtained by a control interface corresponding to the hardware device; and the hardware device is controlled based on the second control request. For example, if the hardware device is a camera, the angle of the camera may be controlled to be adjusted.
[0067] In an optional embodiment, after receiving the second control request sent by the user terminal, the first control request sent by the user terminal is received, wherein the first control request is a control request generated by the user terminal based on the user operation information obtained by the graphical interface of the video stream display module; based on the module identifier of the video stream display module carried in the first control request, the video stream acquisition interface corresponding to the video stream display module is called to display the video stream with the adjusted angle on the target display terminal. In another optional embodiment, after controlling the hardware device based on the second control request, the video stream acquisition interface is automatically called without receiving the control request from the user terminal to display the video stream with the adjusted angle on the target display terminal.
[0068] For example, a user terminal is installed with client software, which integrates multiple functional modules. The user uses the user terminal to transfer requests through the server, and finally realizes the display of different forms of data content corresponding to multiple functional modules on the display terminal. The client software requires user login, and different users have different control permissions for smart hardware devices. Different functional modules may involve calling different smart hardware devices, that is, the user's account information is related to the access permissions of the functional module or the control permissions of the smart hardware device.
[0069] First, the display terminal is registered to the server based on the unique identifier of the display terminal; the control terminal (i.e., the user terminal) is registered to the server based on the unique identifier of the control terminal; the id (i.e., the identifier) of the display terminal controlled by the control terminal must also be pre-configured (one control terminal corresponds to one or more screens, i.e., one display terminal or multiple display terminals). In addition, it can be configured in advance, and the configuration information may include: configuring which control terminals (such as smart terminals such as mobile phones or tablets) can support which functional modules (such as store inspection modules, training modules, OA (i.e., Office Automation) modules, hotspot analysis modules, etc.), configuring what algorithms are used by smart hardware devices, configuring device streaming media ids, etc.; configuring hardware information, querying the video information captured by the hardware (i.e., query interface), etc. The control terminal is a remote control, which sends encrypted data (including display information, which can be the display terminal id), the server receives the data, finds the corresponding display, and sends the remote control command to the display.
[0070] Furthermore, the user sends a target control request to the server by clicking on a function module on the client software (such as clicking on a button on the page to play a video or picture, or to view the camera live view, etc.); after receiving the target control request, the server calls the interface of the corresponding business line (the interface calling rules can be set according to the business line or the purpose of the function module), and encapsulates the parameters returned by the interface (i.e., the return data of the interface) and sends them to the display terminal; after receiving the corresponding interface data, the display terminal uses the relevant parameters (which may include module ID and sub-module ID), configuration parameters of the smart hardware (serial number, the unique identifier of the algorithm it carries), events (content), time, etc.) as rendering parameters of the corresponding display module, completes the final module rendering and performs function display. For example, when the control request is to display the real-time video stream of the camera in the cash register area of a store, after receiving the control request, the server calls the corresponding function interface to obtain the device serial number and other information of the camera in the cash register area of the corresponding store, and returns the relevant parameters to the front-end display page. Furthermore, if the user clicks the camera rotate left button on the device terminal interface, a control request to rotate the camera to the left is generated and sent to the background server. The server sends the left rotation request to the corresponding cash register camera side and rotates it. At this time, the video stream of the large-screen display page is also dynamically updated to the real-time video stream after rotating to the left.
[0071] It can be seen that the beneficial effects of the present application are: the server receives the control request sent by the user terminal, and the user can operate based on the graphical interface of the functional module in the user terminal, triggering the user terminal to generate a control request for the corresponding functional module. The server calls the business interface corresponding to the functional module based on the module identifier carried in the control request, and determines the target display terminal corresponding to the functional module based on the user terminal identifier, and uses the target display terminal to render and display the return data of the business interface according to the corresponding data type. In this way, the user only needs to simply operate the graphical interface of the functional module in the user terminal to realize the data display of the business data corresponding to each functional module on the display terminal, and can display the business data of each functional module simply and quickly.
[0072] For further information, see Figure 2 As shown, Figure 2 A display control method disclosed in an embodiment of the present application is applied to a user terminal, comprising:
[0073] Step S21: Acquire user operation information based on the graphical interface of the functional module.
[0074] Step S22: Generate a first control request based on the user operation information.
[0075] Step S23: Send the first control request to the server, so that the server calls the business interface corresponding to the function module based on the module identifier of the function module carried in the first control request; determines the target display terminal corresponding to the function module from the display terminals corresponding to the user terminal identifier based on the user terminal identifier of the user terminal carried in the first control request; sends the return data of the business interface to the target display terminal, and the target display terminal renders and displays the data according to the data type of the return data.
[0076] It can be seen that in the embodiment of the present application, the user can operate based on the graphical interface of the functional module in the user terminal, trigger the user terminal to generate a control request for the corresponding functional module, and receive the control request sent by the user terminal through the server. The server calls the business interface corresponding to the functional module based on the module identifier carried in the control request, and determines the target display terminal corresponding to the functional module based on the user terminal identifier, and uses the target display terminal to render and display the return data of the business interface according to the corresponding data type. In this way, the user only needs to simply operate the graphical interface of the functional module in the user terminal to realize the data display of the business data corresponding to each functional module on the display terminal, and can easily and quickly display the business data of each functional module.
[0077] For further information, see Figure 3 As shown, Figure 3 A structure diagram of a display control system provided in an embodiment of the present application. It includes a control terminal (i.e., a user terminal), a display terminal (i.e., a display terminal), a server (a server that executes the aforementioned display control method), a backend (a backend server that can store configuration information for a developer terminal or a developer terminal and a user), and a business line, which is used to obtain corresponding business data.
[0078] In a specific implementation, the display control method may include the following steps:
[0079] Step 101: Configure the function module content of the control terminal (i.e., user terminal) in the background; configure intelligent hardware; install the control program on the display terminal and the control terminal (the control program is controlled through socket communication and performs corresponding operations based on the received information); register the display terminal; register the control terminal (connect to the server through socket communication. Large screen ID and function module ID information are required).
[0080] For example, the backend stores configuration information, such as company introduction information, which is transmitted to the display terminal when the business module interface is called, so as to realize the function of displaying the company introduction information on the corresponding module display on the large screen. Configuration information can also include basic information of functional modules, such as module icon button, module description, business interface in the module, equipment used by the module and other basic information.
[0081] Step 102: The control terminal can see the display terminals (one or more screens) under its authority; the background configures functional modules, intelligent hardware and other contents.
[0082] Step 103: The control terminal selects functional modules of different business lines to operate or control intelligent hardware (such as playing videos, playing ppt, jumping to monitoring real-scene pages, controlling camera rotation, etc.).
[0083] Step 104, the display terminal displays different smart hardware data, report data, etc.
[0084] Users can control one or more large screens through the mobile app (one control terminal can control one or more large screens, such as screen A showing the ppt of the training module, screen B showing the real-time video stream data of the store inspection module, etc., just need to associate the module id with the screen id during configuration); multiple accounts control their respective large screens, and the mobile device (i.e. user terminal) id corresponds to the screen (i.e. display terminal) id; the same large screen can switch to display the contents of different modules. The large screen can be understood as a display terminal with a screen size larger than the specified size. The large screen can display different BI data (i.e. Business Intelligence) and algorithm information according to different business processes according to the mobile phone operation commands; the background can arbitrarily configure the content of the functional modules. BI is used to describe the process of using software and technology to transform data into insights into business decisions.
[0085] This solution supports mobile terminals, registration mechanisms, background extensible functional modules, automatic reporting and presentation of various business data, involving Android / IOS systems, java, socket, terminal registration and intelligent hardware. Through the mobile terminal, it is easy to operate, integrates the data of various business lines, reporting processing and other business logic (according to the business type configured for each functional module, call the interfaces of different business production lines to obtain the data reported by the equipment), integrates different business processes, and controls the large TV screen. The background can arbitrarily configure or expand functional modules, involving the integration of business processes of multiple business lines; intelligent hardware control; flexible configuration of display terminals; real-time monitoring of intelligent hardware data; flexible configuration of functional modules and intelligent hardware; arbitrary matching of multiple control terminals and display terminals. It provides a way for the company's various business data to be displayed in real time and flexibly on the large screen side, which can realize the function of enterprises to display different forms of data of multiple modules and multiple business lines in real time in the exhibition hall or headquarters. The data type supports multiple document formats, video stream formats, business panoramas, etc.
[0086] See also Figure 4 As shown, the embodiment of the present application discloses a display control device, which is applied to a server, including:
[0087] A request receiving module 11, configured to receive a first control request sent by a user terminal, wherein the first control request is a control request generated by the user terminal based on user operation information obtained by a graphical interface of a functional module;
[0088] An interface calling module 12, configured to call a service interface corresponding to the functional module based on the module identifier of the functional module carried in the first control request;
[0089] A terminal determination module 13, configured to determine a target display terminal corresponding to the function module from display terminals corresponding to the user terminal identifier based on the user terminal identifier of the user terminal carried in the first control request;
[0090] The data return module 14 is used to send the return data of the service interface to the target display terminal, so that the target display terminal renders and displays according to the data type of the return data.
[0091] In an optional embodiment, the device further comprises:
[0092] A display terminal registration module, used to receive registration information corresponding to a display terminal and carrying a display terminal identifier, and register the display terminal, wherein the display terminal identifier is a unique identifier of the display terminal;
[0093] A user terminal registration module, configured to receive registration information corresponding to a user terminal and carrying a user terminal identifier, and register the user terminal, wherein the user terminal identifier is a unique identifier of the user terminal;
[0094] A corresponding relationship establishing module, used to establish a corresponding relationship between a user terminal identifier and a display terminal identifier, wherein any user terminal identifier corresponds to one display terminal identifier or multiple display terminal identifiers;
[0095] The corresponding relationship establishing module is further used to establish a corresponding relationship between a module identifier and a display terminal identifier, wherein any display terminal identifier corresponds to one module identifier or multiple module identifiers.
[0096] In an optional embodiment, the request receiving module 11 is also used to: receive a second control request sent by a user terminal, wherein the second control request is a control request generated by the user terminal based on user operation information obtained by a control interface corresponding to the hardware device; accordingly, the device also includes a hardware device control module for controlling the hardware device based on the second control request.
[0097] In an optional implementation, the correspondence establishing module is further used to establish a correspondence between the hardware device and the user terminal to configure the control authority of the user terminal to the corresponding hardware device.
[0098] In an optional implementation, the correspondence establishing module is further used to establish a correspondence between the functional modules and the user terminals, so as to configure the access rights of the user terminals to the corresponding functional modules.
[0099] In an optional embodiment, the data return module 14 is specifically used to: obtain return data from the business interface, wherein the return data includes target data processed by a preset algorithm and algorithm information of the preset algorithm; send the return data to the target display terminal so that the target display terminal renders and displays according to the data type of the target data and the algorithm information.
[0100] It can be seen that the embodiment of the present application receives the control request sent by the user terminal through the server, and the user can operate based on the graphical interface of the functional module in the user terminal to trigger the user terminal to generate a control request for the corresponding functional module. The server calls the business interface corresponding to the functional module based on the module identifier carried in the control request, and determines the target display terminal corresponding to the functional module based on the user terminal identifier, and uses the target display terminal to render and display the return data of the business interface according to the corresponding data type. In this way, the user only needs to simply operate the graphical interface of the functional module in the user terminal to realize the data display of the business data corresponding to each functional module on the display terminal, and can easily and quickly display the business data of each functional module.
[0101] See also Figure 5 As shown, an embodiment of the present application discloses an electronic device 20, including a processor 21 and a memory 22; wherein the memory 22 is used to store a computer program; and the processor 21 is used to execute the computer program, the display control method disclosed in the above embodiment.
[0102] For the specific process of the above display control method, reference may be made to the corresponding contents disclosed in the above embodiments, which will not be elaborated here.
[0103] Furthermore, the memory 22 as a carrier for storing resources may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the storage method may be temporary storage or permanent storage.
[0104] In addition, the electronic device 20 also includes a power supply 23, a communication interface 24, an input / output interface 25 and a communication bus 26; wherein the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input / output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0105] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the display control method disclosed in the aforementioned embodiment.
[0106] For the specific process of the above display control method, reference may be made to the corresponding contents disclosed in the above embodiments, which will not be elaborated here.
[0107] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0108] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0109] The display control method, device, equipment and medium provided by the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A display control method, characterized in that: Applicable to servers, including: Receiving a first control request sent by a user terminal, wherein the first control request is a control request generated by the user terminal based on user operation information obtained by a graphical interface of a functional module; Calling a service interface corresponding to the functional module based on the module identifier of the functional module carried in the first control request; Determine, based on the user terminal identifier of the user terminal carried in the first control request, a target display terminal corresponding to the function module from display terminals corresponding to the user terminal identifier; The returned data of the service interface is sent to the target display terminal, so that the target display terminal renders and displays according to the data type of the returned data.
2. The display control method according to claim 1, characterized in that: Also includes: Receiving registration information corresponding to the display terminal and carrying a display terminal identifier, and registering the display terminal, wherein the display terminal identifier is a unique identifier of the display terminal; Receiving registration information corresponding to a user terminal and carrying a user terminal identifier, and registering the user terminal, wherein the user terminal identifier is a unique identifier of the user terminal; Establishing a correspondence between a user terminal identifier and a display terminal identifier, wherein any user terminal identifier corresponds to one display terminal identifier or multiple display terminal identifiers; A correspondence between a module identifier and a display terminal identifier is established, wherein any display terminal identifier corresponds to one module identifier or multiple module identifiers.
3. The display control method according to claim 1, characterized in that: Also includes: Receiving a second control request sent by a user terminal, wherein the second control request is a control request generated by the user terminal based on user operation information obtained by a control interface corresponding to the hardware device; The hardware device is controlled based on the second control request.
4. The display control method according to claim 3, characterized in that: Also includes: Establish a corresponding relationship between hardware devices and user terminals to configure the user terminal's control authority over the corresponding hardware devices.
5. The display control method according to claim 1, characterized in that: Also includes: A correspondence between a functional module and a user terminal is established to configure the access rights of the user terminal to the corresponding functional module.
6. The display control method according to any one of claims 1 to 5, characterized in that: The sending of the return data of the service interface to the target display terminal so that the target display terminal renders and displays the return data according to the data type of the return data includes: Acquire return data of the business interface, wherein the return data includes target data processed by a preset algorithm and algorithm information of the preset algorithm; The returned data is sent to the target display terminal, so that the target display terminal renders and displays the target data according to the data type of the target data and the algorithm information.
7. A display control method, characterized in that: Applied to user terminals, including: Obtain user operation information based on the graphical interface of the functional module; generating a first control request based on the user operation information; The first control request is sent to the server, so that the server calls the business interface corresponding to the function module based on the module identifier of the function module carried in the first control request; the target display terminal corresponding to the function module is determined from the display terminals corresponding to the user terminal identifier based on the user terminal identifier of the user terminal carried in the first control request; the return data of the business interface is sent to the target display terminal, and the target display terminal renders and displays the data according to the data type of the return data.
8. A display control device, characterized in that: Applicable to servers, including: A request receiving module, configured to receive a first control request sent by a user terminal, wherein the first control request is a control request generated by the user terminal based on user operation information obtained by a graphical interface of a functional module; an interface calling module, configured to call a service interface corresponding to the functional module based on the module identifier of the functional module carried in the first control request; a terminal determining module, configured to determine, based on the user terminal identifier of the user terminal carried in the first control request, a target display terminal corresponding to the function module from display terminals corresponding to the user terminal identifier; The data return module is used to send the return data of the service interface to the target display terminal, so that the target display terminal renders and displays according to the data type of the return data.
9. An electronic device, characterized in that: comprising a memory and a processor, wherein: The memory is used to store the computer program; The processor is used to execute the computer program to implement the display control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein when the computer program is executed by a processor, the display control method according to any one of claims 1 to 7 is implemented.