Screen projection method, device and system of display screen
By obtaining and controlling the multicast address, the problem in the existing technology of being unable to project different projection images of multiple application software to different display screens is solved, and a more efficient display screen projection display is achieved.
Patent Information
- Application Number
- CN202410673485.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-03
AI Technical Summary
The existing technology cannot project different screen projection images of multiple application software onto different display screens respectively, resulting in insufficient convenience of screen projection display on the display screen.
By obtaining the target application software currently running in the screen casting receiving device, obtain the target multicast address corresponding to the target application software, and control the screen casting receiving device to join the target multicast address, and obtain the screen casting sending device based on the target multicast address. Target projection screen, control the corresponding display screen to display the target projection screen, support multiple application software to be projected to different displays.
It realizes that different projection images of multiple application software can be displayed on different display screens respectively, which improves the convenience of screen projection display on the display screen.
Smart Images

Figure CN118590692A
Abstract
Description
Technical Field
[0001] The present application relates to the field of screen projection display technology, and in particular to a screen projection method, device and system for a display screen. Background Art
[0002] After a taxi company purchases a taxi from a car factory, the taxi industry equipment supplier needs to install industry equipment on the taxi, such as taxi industry supervision equipment and meters. In the past, the functions of the taxi central control screen were relatively simple, with only simple entertainment and display functions, so most taxi industry equipment suppliers would use industry equipment with taxi industry supervision requirements and pricing functions to replace the original car's central control screen. As the level of vehicle intelligence increases, more and more functions are integrated into the central control screen, so taxi industry equipment suppliers have begun to use screen projection to project the display screen of industry equipment onto the central control screen in the rental. However, in the current technical solution, the display screen of industry equipment can only be projected onto other display screens. When there are multiple display screens, different display screens cannot be projected to multiple display screens separately.
[0003] Therefore, how to project different projection images corresponding to multiple application software of industry equipment onto different display screens for display is a technical problem that technical personnel in this field currently need to solve. Summary of the invention
[0004] The purpose of the present application is to provide a screen projection method, device, screen projection receiving device, screen projection system and computer-readable storage medium for a display screen. The screen projection sending device can project different projection images of multiple application software onto different display screens for display, thereby further improving the convenience of screen projection display of the display screen.
[0005] In a first aspect, the present application provides a screen projection method for a display screen; a screen projection receiving device applied to a screen projection system, the screen projection system comprising a screen projection sending device, at least two of the screen projection receiving devices and a display screen corresponding to each of the screen projection receiving devices, the screen projection sending device being respectively connected to each of the screen projection receiving devices in communication; the method comprising:
[0006] Obtain the target application software currently running in the screen projection receiving device;
[0007] Obtain a target multicast address corresponding to the target application software, and control the screen projection receiving device to join the target multicast address;
[0008] Acquire a target projection screen corresponding to the target application software and sent by the projection sending device based on the target multicast address;
[0009] Control the corresponding display screen to display the target projection screen.
[0010] In one embodiment, the acquiring a target multicast address corresponding to the target application software and controlling the screen projection receiving device to join the target multicast address includes:
[0011] Query whether the screen projection receiving device stores a target multicast address corresponding to the target application software;
[0012] If a target multicast address corresponding to the target application software is stored, obtaining the target multicast address;
[0013] If the target multicast address corresponding to the target application software is not stored, the target software identification information corresponding to the target application software is sent to the screen projection sending device, and the target multicast address corresponding to the target application software fed back by the screen projection sending device is received;
[0014] Control the screen projection receiving device to join the target multicast address.
[0015] In one embodiment, sending the target software identification information corresponding to the target application software to the screen projection sending device, and receiving the target multicast address corresponding to the target application software fed back by the screen projection sending device, includes:
[0016] The target software identification information corresponding to the target application software is sent to the screen projection sending device, so that the screen projection sending device can determine the target multicast address corresponding to the target application software according to the correspondence between the multicast address and the application software, and use the target software identification information and the target multicast address to update the mapping relationship table, and broadcast the mapping relationship table to each of the screen projection receiving devices.
[0017] In one of the embodiments, the acquiring, based on the target multicast address, a target projection screen corresponding to the target application software and sent by the projection sending device includes:
[0018] Determine whether there are other screen projection receiving devices that have joined the target multicast address;
[0019] If so, obtaining the target projection screen corresponding to the target application software and sent by the projection sending device based on the target multicast address;
[0020] If it does not exist, a screen projection prompt message is sent to the screen projection sending device to obtain the target screen projection picture corresponding to the target application software sent by the screen projection sending device based on the target multicast address; the screen projection prompt message is used to prompt the screen projection sending device to send the target screen projection picture to the target multicast address.
[0021] In one of the embodiments, before controlling the corresponding display screen to display the target projection screen, the method further includes:
[0022] The target projection screen is scaled.
[0023] In one of the embodiments, before controlling the corresponding display screen to display the target projection screen, the method further includes:
[0024] The target projection screen is cropped.
[0025] In one embodiment, if there are at least two target application software currently running in the screen projection receiving device; the step of obtaining the target screen projection picture corresponding to the target application software and sent by the screen projection sending device based on the target multicast address includes:
[0026] Based on each of the target multicast addresses, obtaining the target projection screen images corresponding to each of the target application software and sent by the projection sending device;
[0027] The controlling the corresponding display screen to display the target projection screen includes:
[0028] Control the corresponding display screen to display the target projection screen in split screen or floating window.
[0029] In one embodiment, the method further comprises:
[0030] Obtain an operation instruction, and send the operation instruction to the screen projection sending device, so that when the screen projection sending device determines that the operation instruction has operation authority, it controls the corresponding application software to perform the corresponding operation according to the operation instruction; the operation instruction includes the device identification of the screen projection receiving device and the software identification of the operating application software.
[0031] In the second aspect, the present application also provides a screen projection device for a display screen; a screen projection receiving device applied to a screen projection system, the screen projection system comprising a screen projection sending device, at least two of the screen projection receiving devices and a display screen corresponding to each of the screen projection receiving devices, the screen projection sending device is respectively communicated with each of the screen projection receiving devices; the device comprises:
[0032] An application software acquisition module, used to acquire the target application software currently running in the screen projection receiving device;
[0033] A multicast address joining module, used to obtain a target multicast address corresponding to the target application software, and control the screen projection receiving device to join the target multicast address;
[0034] A projection screen acquisition module, used to acquire a target projection screen corresponding to the target application software and sent by the projection screen sending device based on the target multicast address;
[0035] A screen projection control module is used to control the corresponding display screen to display the target screen projection picture. In the third aspect, the present application also provides a screen projection receiving device. The screen projection receiving device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the above method when executing the computer program.
[0036] In a fourth aspect, the present application further provides a screen projection system, the screen projection system comprising a screen projection sending device, at least two screen projection receiving devices and display screens corresponding to each of the screen projection receiving devices, the screen projection sending device being communicatively connected to each of the screen projection receiving devices;
[0037] The screen projection sending device is used to send the corresponding screen projection picture to each multicast address;
[0038] The screen projection receiving device is used to obtain the target application software currently running in the screen projection receiving device; obtain the target multicast address corresponding to the target application software, and control the screen projection receiving device to join the target multicast address; obtain the target screen projection picture corresponding to the target application software sent by the screen projection sending device based on the target multicast address; control the corresponding display screen to display the target screen projection picture;
[0039] The display screen is used to display the target projection screen.
[0040] In a fifth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0041] The present application provides a screen projection method for a display screen, which is applied to a screen projection receiving device in a screen projection system. The screen projection system includes a screen projection sending device, at least two screen projection receiving devices and display screens corresponding to each screen projection receiving device, and the screen projection sending device is respectively communicated with each screen projection receiving device; in the present method, each screen projection receiving device joins a corresponding target multicast address according to the target application software running by itself, and the screen projection sending device sends a target projection screen corresponding to the target application software to the target multicast address; the screen projection receiving device can obtain the target projection screen corresponding to the target application software running by itself, and control the corresponding display screen to display the target projection screen; therefore, the screen projection sending device can project different projection screens of multiple application software onto different display screens for display, thereby further improving the convenience of screen projection display of the display screen.
[0042] It can be understood that the screen projection device, screen projection receiving device, screen projection system and computer-readable storage medium provided in the embodiments of the present application have the same beneficial effects as the screen projection method of the above-mentioned display screen, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0044] Figure 1 A schematic diagram of the structure of a screen projection system provided in an embodiment of the present application;
[0045] Figure 2 A flowchart of a method for projecting a display screen provided in an embodiment of the present application;
[0046] Figure 3 A schematic diagram of the correspondence between application software and multicast addresses provided in an embodiment of the present application;
[0047] Figure 4 A schematic diagram of the structure of a screen projection device for a display screen provided in an embodiment of the present application;
[0048] Figure 5 A structural schematic diagram of a screen projection receiving device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0050] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0051] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0052] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0053] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0054] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. "Multiple" means "two or more".
[0055] A display screen projection method provided in an embodiment of the present application is applied to Figure 1 In the screen projection system shown, the processor of the screen projection receiving device executes when running the corresponding computer program. The screen projection system 100 includes a screen projection sending device 110, at least two screen projection receiving devices 120 and display screens 130 corresponding to each screen projection receiving device, and the screen projection sending device 110 is respectively connected in communication with each screen projection receiving device 120. Among them, the screen projection sending device 110 refers to a device for sending a projection screen, which can be a taxi industry device; the screen projection receiving device 120 refers to a device for receiving a projection screen, which can be a car machine; the screen projection sending device 110 and each screen projection receiving device 120 can be respectively connected in communication through unicast, that is, the screen projection sending device 110 and each screen projection receiving device 120 are linked to the same network; specifically, they can be connected through Bluetooth, mobile communication network or WiFi. Each screen projection receiving device 120 is respectively connected in communication with the corresponding display screen 130, such as different car machines are respectively connected to the central control screen, the co-pilot display screen and the rear display screen.
[0056] Figure 2This is a flow chart of a method for projecting a display screen provided in an embodiment of the present application. For ease of explanation, only the part related to the present embodiment is shown. The method provided in the present embodiment includes the following steps:
[0057] S100: Obtain the target application software currently running in the screen projection receiving device.
[0058] In this embodiment, after starting the application software in the screen projection receiving device, the currently running target application software is correspondingly obtained. Among them, the target application software in the screen projection receiving device is the application software that can be projected through the screen projection sending device.
[0059] S200: Obtain a target multicast address corresponding to the target application software, and control the screen projection receiving device to join the target multicast address.
[0060] Among them, the multicast address uses a Class D IP address (Internet Protocol Address) as the destination address of the multicast message; in an IP multicast ring, the destination address of the data packet is not one, but a group, forming a group address; all information receivers are added to a group, and once added, the data flowing to the group address immediately begins to be transmitted to the receiver, and all members of the group can receive the data packet.
[0061] In this embodiment, the screen projection sending device presets a corresponding multicast address for each application software that can support screen projection operations; after determining the target application software, the screen projection receiving device determines the target multicast address corresponding to the target application software based on the correspondence between the preset application software and the multicast address.
[0062] After determining the target multicast address corresponding to the target application software, the screen projection receiving device is controlled to join the target multicast address, so that the screen projection receiving device can obtain the target screen projection image corresponding to the target application software from the target multicast address.
[0063] Figure 3 A schematic diagram of the correspondence between application software and multicast addresses provided in an embodiment of the present application; Figure 3As shown, it is assumed that there are three application software in the screen projection sending device, namely APP1, APP2 and APP3, and the three application software have their own corresponding multicast addresses, such as multicast address 1, multicast address 2 and multicast address 3 respectively; the screen projection sending device sends the projection screen corresponding to the application software to the multicast address; the screen projection receiving device joins the corresponding multicast address and obtains the corresponding projection screen. For example, the screen projection sending device 1 joins three multicast addresses (multicast address 1, multicast address 2 and multicast address 3), and will obtain the projection screens corresponding to the three application software APP1, APP2 and APP3 corresponding to multicast address 1, multicast address 2 and multicast address 3 respectively; the screen projection sending device 2 only joins multicast address 2 and multicast address 3, and can obtain the projection screens of the two application software APP2 and APPp3; the screen projection sending device only joins multicast address 3, and can obtain the projection screen of the application software APPp3.
[0064] S300: Obtain the target projection screen corresponding to the target application software sent by the projection sending device based on the target multicast address.
[0065] Specifically, the screen projection sending device determines the corresponding target projection screen for each running target application software according to the preset display size, and sends the target projection screen to the target multicast address corresponding to the target application software; based on the screen projection receiving device joining the target multicast address, the corresponding target projection screen can be obtained from the target multicast address.
[0066] In other embodiments, the screen projection sending device can also pre-set a self-starting application software. After the screen projection sending device and the screen projection receiving device are both started, the screen projection sending device sends the target projection screen corresponding to the self-starting application software to the target multicast address, so that the screen projection receiving device obtains the corresponding target projection screen from the target multicast address. In this embodiment, the target projection screen is transmitted between the screen projection sending device and the screen projection receiving device based on the multicast address, so that network bandwidth can be saved.
[0067] S400: Control the corresponding display screen to display the target projection screen.
[0068] In this step, the screen projection receiving device controls the display screen corresponding to itself to display the acquired target screen projection picture. It can be understood that the screen projection receiving device can obtain the screen information of the corresponding display screen, and control the display screen to display the target screen projection picture according to the screen information; wherein the screen information includes information such as screen resolution, screen density and screen direction; wherein the screen resolution refers to the number of pixels in the vertical and horizontal directions of the display screen, and the unit is px; the screen density (Dots Per Inch) refers to the pixels per inch of the display screen, that is, the scanning accuracy. The lower the screen density, the lower the scanning clarity; the screen direction includes horizontal and vertical directions.
[0069] It should be noted that for each screen projection receiving device in the screen projection system, it can obtain the corresponding target projection screen for its currently running target application software, and control the corresponding display screen to display the corresponding target projection screen. That is, it can flexibly monitor one or more application software on different display screens, and the corresponding target projection screens displayed on each display screen do not interfere with each other.
[0070] An embodiment of the present application provides a screen projection method for a display screen, which is applied to a screen projection receiving device in a screen projection system. The screen projection system includes a screen projection sending device, at least two screen projection receiving devices and display screens corresponding to each screen projection receiving device, and the screen projection sending device is respectively communicated with each screen projection receiving device. In this method, each screen projection receiving device joins the corresponding target multicast address according to the target application software running by itself, and the screen projection sending device sends the target projection screen corresponding to the target application software to the target multicast address. The screen projection receiving device can obtain the target projection screen corresponding to the target application software running by itself, and control the corresponding display screen to display the target projection screen. Therefore, the screen projection sending device can project different projection screens of multiple application software onto different display screens for display, thereby further improving the convenience of screen projection display of the display screen.
[0071] Based on the above embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, obtaining the target multicast address corresponding to the target application software and controlling the screen projection receiving device to join the target multicast address include:
[0072] Check whether the target multicast address corresponding to the target application software is stored in the screen projection receiving device;
[0073] If a target multicast address corresponding to the target application software is stored, obtaining the target multicast address;
[0074] If the target multicast address corresponding to the target application software is not stored, the target software identification information corresponding to the target application software is sent to the screen projection sending device, and the target multicast address corresponding to the target application software fed back by the screen projection sending device is received;
[0075] Control the screen projection receiving device to join the target multicast address.
[0076] In this embodiment, after determining the target application software, the screen projection receiving device queries whether the target multicast address corresponding to the target application software is stored in the screen projection receiving device, that is, it determines whether the target multicast address corresponding to the target application software has been obtained in advance.
[0077] If the target multicast address corresponding to the target application software is stored in the screen projection receiving device, the target multicast address can be obtained directly; if the target multicast address corresponding to the target application software is not stored in the screen projection receiving device, the target multicast address is obtained from the screen projection sending device.
[0078] Specifically, the target software identification information corresponding to the target application software is sent to the screen projection sending device. The screen projection sending device determines the target multicast address corresponding to the target software identification information of the target application software based on the correspondence between the multicast address and the application software, and then sends the target multicast address to the screen projection receiving device; correspondingly, the screen projection receiving device obtains the target multicast address corresponding to the target application software. After obtaining the target multicast address corresponding to the target application software (target software identification information), the screen projection receiving device controls the screen projection receiving device to join the target multicast address.
[0079] Among them, the screen projection sending device can directly send the target multicast address corresponding to the target application software to the screen projection receiving device through unicast, or send the target multicast address corresponding to the target application software to each screen projection receiving device through broadcast, so that the screen projection receiving device running the target application software can obtain the corresponding target multicast address.
[0080] It can be seen that according to the method of this embodiment, the screen projection receiving device can stably and reliably obtain the target multicast address corresponding to the target application software and join the target multicast address.
[0081] On the basis of the above-mentioned embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, the target software identification information corresponding to the target application software is sent to the screen projection sending device, and the target multicast address corresponding to the target application software fed back by the screen projection sending device is received, including:
[0082] The target software identification information corresponding to the target application software is sent to the screen projection sending device, so that the screen projection sending device can determine the target multicast address corresponding to the target application software based on the correspondence between the multicast address and the application software, and use the target software identification information and the target multicast address to update the mapping relationship table, and broadcast the mapping relationship table to each screen projection receiving device.
[0083] In this embodiment, when it is determined that the target multicast address corresponding to the target application software is not stored in the screen projection receiving device, the target software identification information corresponding to the target application software is sent to the screen projection sending device; after obtaining the target software identification information corresponding to the target application software, the screen projection sending device determines the target multicast address corresponding to the target application software based on the target software identification information query according to the correspondence between the multicast address and the application software; then the mapping relationship table is updated using the target software identification information and the target multicast address; the mapping relationship table stores the correspondence between the software identification information and the multicast address; the mapping relationship table is broadcast to each screen projection receiving device; therefore, the screen projection receiving device corresponding to the target application software can also obtain the mapping relationship table, and determine the target multicast address corresponding to the target application software according to the mapping relationship table.
[0084] That is to say, every time the screen projection receiving device starts the target application software, the screen projection sending device will broadcast the mapping relationship table to each screen projection receiving device, so that each screen projection receiving device can obtain the correspondence between each application software and the multicast address.
[0085] It can be seen that according to the method of this embodiment, the screen projection receiving device can efficiently and conveniently obtain the target multicast address corresponding to the target application software.
[0086] On the basis of the above-mentioned embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, obtaining the target projection screen corresponding to the target application software sent by the projection screen sending device based on the target multicast address includes:
[0087] Determine whether there are other screen projection receiving devices joining the target multicast address;
[0088] If it exists, the target projection screen corresponding to the target application software sent by the projection sending device is obtained based on the target multicast address;
[0089] If it does not exist, a screen projection prompt message is sent to the screen projection sending device to obtain the target screen projection picture corresponding to the target application software sent by the screen projection sending device based on the target multicast address; the screen projection prompt message is used to prompt the screen projection sending device to send the target screen projection picture to the target multicast address.
[0090] In this embodiment, after controlling the screen projection receiving device to join the target multicast address, it is first determined whether there are other screen projection receiving devices that have joined the target multicast address; if so, it means that other screen projection receiving devices need to obtain the target projection screen corresponding to the target application software, and the screen projection sending device has sent the target projection screen to the target multicast address. Therefore, the current screen projection receiving device can directly obtain the target projection screen corresponding to the target application software sent by the screen projection sending device based on the target multicast address.
[0091] If it does not exist, it means that no other screen projection device needs to obtain the target screen projection image corresponding to the target application software, and the screen projection sending device has not sent the target screen projection image to the target multicast address. Therefore, the current screen projection receiving device needs to remind the screen projection sending device to send the target screen projection image corresponding to the target application software to the target multicast address through unicast. Specifically, the screen projection receiving device sends a screen projection prompt message to the screen projection sending device, and the screen projection prompt message is used to prompt the screen projection sending device to send the target screen projection image to the target multicast address; thereby, the screen projection receiving device obtains the target screen projection image corresponding to the target application software sent by the screen projection sending device based on the target multicast address.
[0092] It can be seen that according to the method of this embodiment, the screen projection receiving device can stably and reliably obtain the target projection screen corresponding to the target application software sent by the screen projection sending device based on the target multicast address, thereby improving the stability and reliability of the screen projection.
[0093] On the basis of the above embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, before controlling the corresponding display screen to display the target projection screen, the method further includes:
[0094] Scale the target projection screen.
[0095] Among them, scaling refers to the process of adjusting the size of a digital image; among them, scaling includes reducing the image and downsampling the image. The main purpose of reducing the image (or downsampling) is to make the image fit the size of the display area, and the second is to generate a thumbnail of the corresponding image. The main purpose of enlarging the image (or upsampling or image interpolating) is to enlarge the original image so that it can be displayed on a higher resolution display.
[0096] In this embodiment, after acquiring the target projection screen, the screen projection receiving device determines whether to reduce or enlarge the target projection screen according to the display requirements or the screen information of the corresponding display screen, and scales the target display screen according to the determined processing method.
[0097] Specifically, after determining the target projection screen, determine the screen size of the target projection screen, including the screen width and the screen height; determine the width and height of the display resolution according to the screen information of the corresponding display screen. In order to maintain the aspect ratio of the screen displayed on the display screen, determine the height scaling ratio and the width scaling ratio according to the display resolution and the screen size, respectively. Specifically, determine the width scaling ratio according to the ratio of the width of the display resolution and the screen width; determine the height scaling ratio according to the ratio of the height of the display resolution and the screen height; compare the size relationship between the width scaling ratio and the height scaling ratio, and determine the smaller value of the width scaling ratio and the height scaling ratio as the target scaling ratio; and scale the target projection screen according to the target scaling ratio.
[0098] In this embodiment, by further scaling the target projection screen, the processed target projection screen can be made more consistent with the corresponding display screen, thereby improving the display effect of the target projection screen on the display screen.
[0099] On the basis of the above embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, before controlling the corresponding display screen to display the target projection screen, the method further includes:
[0100] Crop the target projection screen.
[0101] It can be understood that the screen projection sending device determines the projection screen corresponding to the application software based on the preset display size. The projection screen may not match the screen size of the display screen. Therefore, after the screen projection receiving device obtains the target projection screen, it will crop the target projection screen according to the screen size of the corresponding display screen, and use the display screen to display the cropped target projection screen.
[0102] Alternatively, the projection screen corresponding to the application software determined by the projection sending device also includes information that the user does not need to know, such as the top status bar and the bottom status bar. Therefore, after obtaining the target projection screen, the projection receiving device can crop the target projection screen according to the coordinates of the area of interest in the target projection screen, and use the display screen to display the cropped target projection screen.
[0103] In this embodiment, by further cropping the target projection screen image, the target projection screen image can be displayed better on each display screen.
[0104] Based on the above embodiments, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, if there are at least two target application software currently running in the screen projection receiving device; obtaining the target screen projection picture corresponding to the target application software sent by the screen projection sending device based on the target multicast address includes:
[0105] Based on each target multicast address, the target projection screen images corresponding to each target application software are obtained and sent by the projection sending device;
[0106] Control the corresponding display screen to display the target projection screen, including:
[0107] Control the corresponding display screen to display each target projection screen in split screen or floating window.
[0108] In this embodiment, the situation where at least two application software are running simultaneously in the screen projection receiving device is further taken into consideration, that is, at least two target application software are currently running in the screen projection receiving device; therefore, the screen projection receiving device will determine the target multicast address corresponding to each target application software, and control the screen projection receiving device to join the target multicast address respectively; the screen projection sending device sends the target projection screen of the corresponding target application software to each target multicast address; the screen projection receiving device obtains the target projection screen corresponding to each target application software based on each target multicast address.
[0109] After obtaining the target projection screens corresponding to multiple target application software, the screen projection receiving device controls the corresponding display screen to display each target projection screen in a split screen or a floating window.
[0110] Among them, split screen display refers to dividing the display screen into multiple areas, each area displays the corresponding target projection screen. In this embodiment, the number of split screens is determined according to the number of target projection screens, and the size and shape of each split screen are not limited.
[0111] Among them, the floating window refers to a movable window floating on the surface of other applications; in this embodiment, a movable window is floating on the surface of a target projection screen, and the window displays another target projection screen.
[0112] According to the method of this embodiment, when there are at least two target application software currently running in the screen projection receiving device, the display screen can be used to display the target projection images corresponding to the multiple target application software.
[0113] On the basis of the above embodiments, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, a method for projecting a display screen further includes:
[0114] Obtain operation instructions and send the operation instructions to the screen projection sending device, so that when the screen projection sending device determines that the operation instruction has operation authority, it controls the corresponding application software to perform the corresponding operation according to the operation instruction; the operation instruction includes the device identification of the screen projection receiving device and the software identification of the operating application software.
[0115] Specifically, the screen projection receiving device can determine the corresponding operation instruction in response to the user's touch operation on the display screen, or can determine the corresponding operation instruction in response to the user's operation through physical buttons; this embodiment does not limit the specific method of obtaining the operation instruction. In this embodiment, the operation instruction includes the device identification of the screen projection receiving device and the software identification of the operating application software.
[0116] In actual applications, if the screen projection sending device is an industrial device and the screen projection receiving device is a car computer, the operation instructions include but are not limited to stopping or pausing pricing.
[0117] Specifically, after determining the operation instruction, the screen projection receiving device sends the operation instruction to the screen projection sending device; after receiving the operation instruction sent by the screen projection receiving device, the screen projection sending device determines whether the operation instruction has the operation permission according to the device identification and software identification; when it is determined that the operation instruction has the operation permission, the corresponding application software is controlled to perform the corresponding operation according to the operation instruction.
[0118] Specifically, a correspondence between the device identifier and the software identifier is pre-set, indicating that the screen projection receiving device has operating authority over the application software.
[0119] In one embodiment, since some application software in the industry equipment (such as pricing software) can only be controlled by a designated vehicle computer, the main vehicle computer is determined from each vehicle computer (screen projection receiving device), and when the screen projection receiving device is determined to be the main vehicle computer according to the device identifier, it is determined that the operation instruction has operation permissions for the application software in the industry equipment. After receiving the operation instruction, the industry equipment determines whether the operation instruction has operation permissions for the corresponding application software according to the main vehicle computer identifier; it responds to the operation instruction only if the operation instruction has operation permissions for the corresponding application software, and controls the corresponding application software to perform the corresponding operation, thereby avoiding misoperation of the application software of the industry equipment.
[0120] It can be seen that according to the method of this embodiment, it is possible to prevent the screen projection receiving device from erroneously operating the application software in the screen projection sending device, thereby further ensuring the accuracy of the screen projection display.
[0121] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0122] Figure 4 FIG. 1 is a schematic diagram of the structure of a screen projection device for a display screen provided in an embodiment of the present application. Figure 4As shown, the screen projection device of the display screen of this embodiment is applied to the screen projection receiving device in the screen projection system. The screen projection system includes a screen projection sending device, at least two screen projection receiving devices and display screens corresponding to each screen projection receiving device, and the screen projection sending device is respectively communicated and connected with each screen projection receiving device; the device includes: an application software acquisition module 410, a multicast address joining module 420, a screen projection picture acquisition module 430 and a screen projection control module 440; wherein,
[0123] The application software acquisition module 410 is used to acquire the target application software currently running in the screen projection receiving device;
[0124] The multicast address joining module 420 is used to obtain the target multicast address corresponding to the target application software and control the screen projection receiving device to join the target multicast address;
[0125] The projection screen acquisition module 430 is used to acquire the target projection screen corresponding to the target application software sent by the projection screen sending device based on the target multicast address;
[0126] The screen projection control module 440 is used to control the corresponding display screen to display the target screen projection image.
[0127] A screen projection device for a display screen provided in an embodiment of the present application has the same beneficial effects as the screen projection method for a display screen described above.
[0128] In one embodiment, the multicast address joining module 420 includes:
[0129] A query submodule is used to query whether the target multicast address corresponding to the target application software is stored in the screen projection receiving device;
[0130] A first target multicast address acquisition submodule, configured to acquire the target multicast address if a target multicast address corresponding to the target application software is stored;
[0131] The second target multicast address acquisition submodule is used to send the target software identification information corresponding to the target application software to the screen projection sending device if the target multicast address corresponding to the target application software is not stored, and receive the target multicast address corresponding to the target application software fed back by the screen projection sending device;
[0132] The multicast address joining submodule is used to control the screen projection receiving device to join the target multicast address.
[0133] In one embodiment, the second target multicast address acquisition submodule includes:
[0134] The multicast address acquisition unit is used to send the target software identification information corresponding to the target application software to the screen projection sending device, so that the screen projection sending device can determine the target multicast address corresponding to the target application software according to the correspondence between the multicast address and the application software, and use the target software identification information and the target multicast address to update the mapping relationship table, and broadcast the mapping relationship table to each screen projection receiving device.
[0135] In one embodiment, the projection image acquisition module 430 includes:
[0136] The determination submodule is used to determine whether there are other screen projection receiving devices joining the target multicast address;
[0137] A first projection screen acquisition submodule is used to acquire a target projection screen corresponding to the target application software and sent by the projection screen sending device based on the target multicast address, if any;
[0138] The second projection screen acquisition submodule is used to send projection prompt information to the projection screen sending device if it does not exist, so as to obtain the target projection screen corresponding to the target application software sent by the projection screen sending device based on the target multicast address; the projection prompt information is used to prompt the projection screen sending device to send the target projection screen to the target multicast address.
[0139] In one embodiment, a screen projection device for a display screen further includes:
[0140] The zoom processing module is used to zoom the target projection screen.
[0141] In one embodiment, a screen projection device for a display screen further includes:
[0142] The cropping processing module is used to crop the target projection screen.
[0143] In one embodiment, if there are at least two target application software currently running in the screen projection receiving device; the screen projection image acquisition module 430 includes:
[0144] The third projection screen acquisition submodule is used to acquire the target projection screens corresponding to the target application software respectively and sent by the projection screen sending device based on the target multicast addresses;
[0145] The screen projection control module 440 includes:
[0146] The screen projection control submodule is used to control the corresponding display screen to display split screen or floating window to display each target projection screen.
[0147] In one embodiment, a screen projection device for a display screen further includes:
[0148] The instruction control module is used to obtain operation instructions and send the operation instructions to the screen projection sending device, so that when the screen projection sending device determines that the operation instruction has operation authority, it controls the corresponding application software to perform the corresponding operation according to the operation instruction; the operation instruction includes the device identification of the screen projection receiving device and the software identification of the operating application software.
[0149] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0150] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0151] Figure 5 This is a schematic diagram of the structure of a screen projection receiving device provided in an embodiment of the present application. Figure 5 As shown, the screen projection receiving device 500 of this embodiment includes a memory 501, a processor 502, and a computer program 503 stored in the memory 501 and executable on the processor 502; when the processor 502 executes the computer program 503, the steps in the screen projection method embodiments for the above-mentioned display screens are implemented; or when the processor 502 executes the computer program 503, the functions of each module / unit in the above-mentioned device embodiments are implemented.
[0152] Exemplarily, the computer program 503 can be divided into one or more modules / units, one or more modules / units are stored in the memory 501, and are executed by the processor 502 to implement the method of the embodiment of the present application. One or more modules / units can be a series of computer program instruction segments that can perform specific functions, and the instruction segments are used to describe the execution process of the computer program 503 in the screen projection receiving device 500. For example, the computer program 503 can be divided into an application software acquisition module, a multicast address joining module, a screen projection image acquisition module, and a screen projection control module. The specific functions of each module are as follows:
[0153] Application software acquisition module, multicast address joining module, screen projection image acquisition module and screen projection control module; wherein,
[0154] An application software acquisition module, used to acquire the target application software currently running in the screen projection receiving device;
[0155] A multicast address joining module, used to obtain a target multicast address corresponding to the target application software, and control the screen projection receiving device to join the target multicast address;
[0156] A projection screen acquisition module, used to acquire a target projection screen corresponding to the target application software and sent by the projection screen sending device based on the target multicast address;
[0157] The screen projection control module is used to control the corresponding display screen to display the target screen projection image.
[0158] In the application, the screen projection receiving device 500 can be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, or a vehicle computer. The screen projection receiving device 500 may include but is not limited to a memory 501 and a processor 502. Those skilled in the art will understand that Figure 5 It is only an example of a screen projection receiving device and does not constitute a limitation of the screen projection receiving device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the screen projection receiving device may also include input and output devices, network access devices, buses, etc.; wherein the input and output devices may include cameras, audio acquisition / playback devices, display screens, etc.; the network access device may include a communication module for wireless communication with external devices.
[0159] In applications, the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0160] In applications, the memory can be an internal storage unit of the projection receiving device, such as a hard disk or memory of the projection receiving device; it can also be an external storage device of the projection receiving device, such as a plug-in hard disk equipped on the projection receiving device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc.; it can also include both the internal storage unit and the external storage device of the projection receiving device. The memory is used to store operating systems, applications, boot loaders (Boot Loader), data and other programs, such as program codes of computer programs. The memory can also be used to temporarily store data that has been output or is about to be output.
[0161] The present application also provides a screen projection system, combined with Figure 1 The structural schematic diagram of the screen projection system shown in the figure, the screen projection system 100 includes a screen projection sending device 110, at least two screen projection receiving devices 120 and a display screen 130 corresponding to each of the screen projection receiving devices, and the screen projection sending device 110 is respectively connected to each of the screen projection receiving devices 120 for communication;
[0162] The screen projection sending device 110 is used to send the corresponding screen projection picture to each multicast address;
[0163] The screen projection receiving device 120 is used to obtain the target application software currently running in the screen projection receiving device 120; obtain the target multicast address corresponding to the target application software, and control the screen projection receiving device to join the target multicast address; obtain the target screen projection picture corresponding to the target application software sent by the screen projection sending device based on the target multicast address; control the corresponding display screen 130 to display the target screen projection picture;
[0164] The display screen 130 is used to display the target projection screen.
[0165] Among them, the screen projection sending device 110 refers to a device for sending the projection screen, which can be a taxi industry device; the screen projection receiving device 120 refers to a device for receiving the projection screen, which can be a car computer; the screen projection sending device 110 and each screen projection receiving device 120 can be respectively connected in communication through unicast; specifically, they can be connected through Bluetooth, mobile communication network or WiFi. Each screen projection receiving device 120 is respectively connected to the corresponding display screen 130, such as different car computers are respectively connected to the central control screen, the co-pilot display screen and the rear display screen.
[0166] A screen projection system provided in an embodiment of the present application has the same beneficial effects as the screen projection method of the above-mentioned display screen.
[0167] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0168] The present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of each of the above-mentioned method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include at least: any entity or device capable of carrying the computer program code to the projection receiving device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.
[0169] A computer-readable storage medium provided in an embodiment of the present application has the same beneficial effects as the screen projection method of the above-mentioned display screen.
[0170] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0171] Those of ordinary skill in the art will appreciate that the devices and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0172] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interface, indirect coupling or communication connection of devices, which can be electrical, mechanical or other forms.
[0173] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for projecting a display screen, characterized in that: A screen projection receiving device applied to a screen projection system, the screen projection system comprising a screen projection sending device, at least two of the screen projection receiving devices and display screens corresponding to each of the screen projection receiving devices, the screen projection sending device being communicatively connected with each of the screen projection receiving devices; the method comprising: Obtain the target application software currently running in the screen projection receiving device; Obtain a target multicast address corresponding to the target application software, and control the screen projection receiving device to join the target multicast address; Acquire a target projection screen corresponding to the target application software and sent by the projection sending device based on the target multicast address; Control the corresponding display screen to display the target projection screen.
2. The method according to claim 1, characterized in that: The acquiring the target multicast address corresponding to the target application software and controlling the screen projection receiving device to join the target multicast address includes: Query whether the screen projection receiving device stores a target multicast address corresponding to the target application software; If a target multicast address corresponding to the target application software is stored, obtaining the target multicast address; If the target multicast address corresponding to the target application software is not stored, the target software identification information corresponding to the target application software is sent to the screen projection sending device, and the target multicast address corresponding to the target application software fed back by the screen projection sending device is received; Control the screen projection receiving device to join the target multicast address.
3. The method according to claim 2, characterized in that The sending of the target software identification information corresponding to the target application software to the screen projection sending device, and receiving the target multicast address corresponding to the target application software fed back by the screen projection sending device, comprises: The target software identification information corresponding to the target application software is sent to the screen projection sending device, so that the screen projection sending device can determine the target multicast address corresponding to the target application software according to the correspondence between the multicast address and the application software, and use the target software identification information and the target multicast address to update the mapping relationship table, and broadcast the mapping relationship table to each of the screen projection receiving devices.
4. The method according to claim 1, characterized in that: The acquiring, based on the target multicast address, a target projection screen corresponding to the target application software and sent by the projection sending device includes: Determine whether there are other screen projection receiving devices that have joined the target multicast address; If so, obtaining the target projection screen corresponding to the target application software and sent by the projection sending device based on the target multicast address; If it does not exist, a screen projection prompt message is sent to the screen projection sending device to obtain the target screen projection picture corresponding to the target application software sent by the screen projection sending device based on the target multicast address; the screen projection prompt message is used to prompt the screen projection sending device to send the target screen projection picture to the target multicast address.
5. The method according to claim 1, characterized in that Before controlling the corresponding display screen to display the target projection screen, the method further includes: The target projection screen is scaled.
6. The method according to claim 1, characterized in that Before controlling the corresponding display screen to display the target projection screen, the method further includes: The target projection screen is cropped.
7. The method according to any one of claims 1 to 6, characterized in that: If there are at least two target application software currently running in the screen projection receiving device; obtaining the target screen projection picture corresponding to the target application software and sent by the screen projection sending device based on the target multicast address includes: Based on each of the target multicast addresses, obtaining the target projection screen images corresponding to each of the target application software and sent by the projection sending device; The controlling the corresponding display screen to display the target projection screen includes: Control the corresponding display screen to display the target projection screen in split screen or floating window.
8. The method according to claim 7, characterized in that The method further comprises: Obtain an operation instruction, and send the operation instruction to the screen projection sending device, so that when the screen projection sending device determines that the operation instruction has operation authority, it controls the corresponding application software to perform the corresponding operation according to the operation instruction; the operation instruction includes the device identification of the screen projection receiving device and the software identification of the operating application software.
9. A screen projection device for a display screen, characterized in that: A screen projection receiving device used in a screen projection system, the screen projection system comprising a screen projection sending device, at least two of the screen projection receiving devices and display screens corresponding to each of the screen projection receiving devices, the screen projection sending device being communicatively connected to each of the screen projection receiving devices; the device comprising: An application software acquisition module, used to acquire the target application software currently running in the screen projection receiving device; A multicast address joining module, used to obtain a target multicast address corresponding to the target application software, and control the screen projection receiving device to join the target multicast address; A projection screen acquisition module, used to acquire a target projection screen corresponding to the target application software and sent by the projection screen sending device based on the target multicast address; The screen projection control module is used to control the corresponding display screen to display the target screen projection image.
10. A screen projection system, characterized in that: The screen projection system comprises a screen projection sending device, at least two screen projection receiving devices and display screens corresponding to each of the screen projection receiving devices, wherein the screen projection sending device is respectively connected to each of the screen projection receiving devices for communication; The screen projection sending device is used to send the corresponding screen projection picture to each multicast address; The screen projection receiving device is used to obtain the target application software currently running in the screen projection receiving device; Obtain a target multicast address corresponding to the target application software, and control the screen projection receiving device to join the target multicast address; Acquire a target projection screen corresponding to the target application software and sent by the projection sending device based on the target multicast address; Controlling the corresponding display screen to display the target projection screen; The display screen is used to display the target projection screen.
