CN114827690A - Network resource display method, device and system - Google Patents
Network resource display method, device and system Download PDFInfo
- Publication number
- CN114827690A CN114827690A CN202210332694.3A CN202210332694A CN114827690A CN 114827690 A CN114827690 A CN 114827690A CN 202210332694 A CN202210332694 A CN 202210332694A CN 114827690 A CN114827690 A CN 114827690A
- Authority
- CN
- China
- Prior art keywords
- client
- screen projection
- target
- function
- display function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
- H04N21/41265—The peripheral being portable, e.g. PDAs or mobile phones having a remote control device for bidirectional communication between the remote control device and client device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4108—Peripherals receiving signals from specially adapted client devices characterised by an identification number or address, e.g. local network address
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/64—Addressing
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the invention provides a network resource display method, a device and a system.A terminal receives an adjustment instruction aiming at the currently displayed network resource of an initial screen-projecting client and used for indicating the initial screen-projecting client to start a target display function when the network resource is displayed; detecting whether the initial screen projection client supports a target display function or not; if the initial screen projection client does not support the target display function, determining a target screen projection client supporting the target display function from other screen projection clients installed in the target screen projection equipment provided with the initial screen projection client; and sending a screen projection instruction carrying the function identification of the target display function and the acquisition address of the network resource to the target screen projection client. And when receiving the screen projection instruction, the target screen projection client acquires the network resource according to the acquired address, and starts a target display function when displaying the acquired network resource. Based on the method, the screen projection efficiency of the network resources can be improved.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a network resource display method, device and system.
Background
With the development of internet technology, screen projection technology is widely applied. The user can send the acquired address of the network resource for screen projection to a screen projection device (such as a television) through a terminal (such as a mobile phone). The screen projection equipment can acquire the network resources according to the received acquisition address and display the acquired network resources.
The screen projection device is provided with an application program (which can be called a screen projection client) for communicating with a terminal for projecting a screen, and a user can send an adjusting instruction aiming at the currently displayed network resource to the screen projection client through the terminal in the process of projecting the screen of the network resource. The screen projection client can adjust the currently displayed network resources according to the adjustment instruction. For example, the network resource for performing screen projection is a video resource, a user may input a pause playing instruction for the video resource to the terminal, and the terminal may send the pause playing instruction to the screen projection client when receiving the pause playing instruction. And when the screen projection client receives the pause playing instruction, the playing of the video can be stopped.
The screen projection equipment can be provided with a plurality of screen projection clients, when a user uses a terminal to project screens, the user can select one screen projection client to project the screens, different screen projection clients provide different display functions, for example, network resources for projecting screens are video resources, some screen projection clients only provide basic display functions such as pause playing and start playing, and some screen projection clients provide more display functions such as barrage playing and double-speed playing. When the screen projection client selected by the user provides a small number of display functions, if the user needs to use other display functions, the user needs to manually operate the screen projection client to quit the current screen projection client, and then manually select the screen projection client capable of providing the display function needed by the user to use, and screen projection is carried out again. Therefore, in the related art, when the screen of the network resource is projected, the operation of a user is complicated, and the efficiency of the screen projection of the network resource is low.
Disclosure of Invention
The embodiment of the invention aims to provide a network resource display method, a network resource display device and a network resource display system, so that when an initial screen projection device does not support a target display function indicated by a user, a target screen projection client supporting the target display function is automatically switched to for screen projection, user operation can be simplified, and screen projection efficiency of network resources is improved. The specific technical scheme is as follows:
in a first aspect of the present invention, there is provided a method for displaying network resources, where the method is applied to a terminal, and the method includes:
receiving an adjusting instruction aiming at the currently displayed network resource of the initial screen projection client; the adjusting instruction is used for indicating the initial screen projection client to start a target display function when the network resources are displayed;
detecting whether the initial screen projection client supports the target display function;
if the initial screen projection client does not support the target display function, determining the screen projection client supporting the target display function from other screen projection clients installed in target screen projection equipment provided with the initial screen projection client as a target screen projection client;
and sending a screen projection instruction aiming at the network resource to the target screen projection client, wherein the screen projection instruction carries a function identifier of the target display function and an acquisition address of the network resource, so that the target screen projection client acquires the network resource according to the acquisition address when receiving the screen projection instruction, and starts the target display function when displaying the acquired network resource.
Optionally, the detecting whether the initial screen-projection client supports the target display function includes:
sending a configuration information acquisition request to the initial screen projection client so that the initial screen projection client sends the configuration information of the initial screen projection client to the terminal when receiving the configuration information acquisition request; wherein the configuration information comprises: the version number of the initial screen projection client and the equipment identification of each screen projection equipment supporting the target display function;
when the configuration information of the initial screen-projecting client is received, inquiring whether a function identifier of the target display function exists in a preset corresponding relation between the version number of the initial screen-projecting client and the function identifier of the display function;
if the function identification of the target display function does not exist in the corresponding relation, determining that the initial screen projection client does not support the target display function;
if the function identifier of the target display function exists in the corresponding relation, inquiring whether the device identifier of the target screen projection device exists in the device identifiers of the screen projection devices supporting the target display function; if the device identification of the target screen projection device exists in the device identifications of the screen projection devices supporting the target display function, determining that the initial screen projection client supports the target display function; and if the device identification of the target screen projection device does not exist in the device identifications of the screen projection devices supporting the target display function, determining that the initial screen projection client does not support the target display function.
Optionally, before the detecting whether the target display function is supported by the initial screen-projection client, the method further includes:
sending a function identifier acquisition request to the initial screen projection client, so that the initial screen projection client sends function identifiers of all display functions supported by the initial screen projection client to the terminal when receiving the function identifier acquisition request;
recording the received function identification of each display function supported by the initial screen projection client;
the detecting whether the initial screen projection client supports the target display function comprises:
inquiring whether function identifiers of the target display function exist in locally recorded function identifiers of all display functions supported by the initial screen projection client;
if the function identifier of the target display function exists in the locally recorded function identifiers of the display functions supported by the initial screen projection client, determining that the initial screen projection client supports the target display function;
and if the function identifier of the target display function does not exist in the locally recorded function identifiers of the display functions supported by the initial screen projection client, determining that the initial screen projection client does not support the target display function.
Optionally, the determining, from other screen-projecting clients already installed in the target screen-projecting device in which the initial screen-projecting client is installed, a screen-projecting client that supports the target display function as a target screen-projecting client includes:
inquiring whether function identifiers of the target display functions exist in function identifiers of all display functions supported by the screen-projecting client aiming at each screen-projecting client installed in the target screen-projecting equipment provided with the initial screen-projecting client;
and if the function identifier of the target display function exists in the function identifiers of the display functions supported by the screen projection client, determining that the screen projection client is the screen projection client supporting the target display function and serves as the target screen projection client.
Optionally, after the screen-casting instruction for the network resource is sent to the target screen-casting client, the method further includes:
when a function updating instruction sent by the target screen projection client is received, recording a function identifier of a display function supported by the target screen projection client, wherein the function identifier is carried in the function updating instruction; wherein the function update instruction is: and the target screen projection client is sent when determining that display functions conflicting with the target display function exist in the display functions supported currently.
Optionally, after the detecting whether the initial screen-projection client supports the target display function, the method further includes:
and if the initial screen projection client supports the target display function, sending a function identifier of the target display function to the initial screen projection client so as to start the target display function when the network resource is displayed by the initial screen projection client.
Optionally, after the detecting whether the initial screen-projection client supports the target display function, the method further includes:
and under the condition that the initial screen projection client does not support the target display function, if other screen projection clients are not installed in the target screen projection equipment, displaying a reminding message for reminding a user that the target display function is not supported currently.
In a second aspect of the present invention, there is also provided a network resource display method, where the method is applied to a target screen projection client, and the method includes:
when receiving a function identifier carrying a target display function and an acquisition address of a network resource, which are sent by a terminal, acquiring the network resource according to the acquisition address; wherein, the function identification of the target display function is as follows: the terminal receives an adjustment instruction which is carried in the network resource currently displayed by the initial screen projection client; the screen projection instruction is as follows: the terminal sends the target display function when the initial screen projection client side is determined not to support the target display function; the target screen projection client is as follows: the terminal is determined from other screen projection clients installed in the target screen projection equipment provided with the initial screen projection client and supports the screen projection client with the target display function;
and starting the target display function when the acquired network resources are displayed.
In a third aspect of the present invention, there is also provided a network resource display system, including: terminal and target screen projection client, wherein:
the terminal is used for receiving an adjusting instruction aiming at the network resource currently displayed by the initial screen projection client; the adjusting instruction is used for indicating the initial screen projection client to start a target display function when the network resources are displayed; detecting whether the initial screen projection client supports the target display function; if the initial screen projection client does not support the target display function, determining the screen projection client supporting the target display function from other screen projection clients installed in target screen projection equipment provided with the initial screen projection client as a target screen projection client; sending a screen projection instruction aiming at the network resource to the target screen projection client, wherein the screen projection instruction carries a function identifier of the target display function and an acquisition address of the network resource;
and the target screen projection client is used for acquiring the network resource according to the acquisition address when receiving the screen projection instruction, and starting the target display function when displaying the acquired network resource.
In a fourth aspect of the present invention, there is also provided a network resource display apparatus, where the apparatus is applied to a terminal, and the apparatus includes:
the receiving module is used for receiving an adjusting instruction aiming at the network resource currently displayed by the initial screen projection client; the adjusting instruction is used for indicating the initial screen projection client to start a target display function when the network resources are displayed;
the detection module is used for detecting whether the initial screen projection client supports the target display function or not;
a first determining module, configured to determine, if the initial screen-projecting client does not support the target display function, a screen-projecting client that supports the target display function from other screen-projecting clients already installed in a target screen-projecting device in which the initial screen-projecting client is installed, as a target screen-projecting client;
the first sending module is used for sending a screen projecting instruction aiming at the network resource to the target screen projecting client, wherein the screen projecting instruction carries a function identifier of the target display function and an acquisition address of the network resource, so that the target screen projecting client acquires the network resource according to the acquisition address when receiving the screen projecting instruction, and starts the target display function when displaying the acquired network resource.
Optionally, the detection module is specifically configured to send a configuration information acquisition request to the initial screen projection client, so that when receiving the configuration information acquisition request, the initial screen projection client sends the configuration information of the initial screen projection client to the terminal; wherein the configuration information comprises: the version number of the initial screen projection client and the equipment identification of each screen projection equipment supporting the target display function;
when the configuration information of the initial screen-projecting client is received, inquiring whether a function identifier of the target display function exists in a preset corresponding relation between the version number of the initial screen-projecting client and the function identifier of the display function;
if the function identification of the target display function does not exist in the corresponding relation, determining that the initial screen projection client does not support the target display function;
if the function identifier of the target display function exists in the corresponding relation, inquiring whether the device identifier of the target screen projection device exists in the device identifiers of the screen projection devices supporting the target display function; if the device identification of the target screen projection device exists in the device identifications of the screen projection devices supporting the target display function, determining that the initial screen projection client supports the target display function; and if the device identification of the target screen projection device does not exist in the device identifications of the screen projection devices supporting the target display function, determining that the initial screen projection client does not support the target display function.
Optionally, the apparatus further comprises:
a second sending module, configured to send a function identifier obtaining request to the initial screen-casting client before the detection module performs detection on whether the initial screen-casting client supports the target display function, so that the initial screen-casting client sends, to the terminal, function identifiers of display functions supported by the initial screen-casting client when receiving the function identifier obtaining request;
recording the received function identification of each display function supported by the initial screen projection client;
the detection module is specifically configured to query whether a function identifier of the target display function exists in function identifiers of display functions supported by the initial screen projection client recorded locally;
if the function identifier of the target display function exists in the locally recorded function identifiers of the display functions supported by the initial screen projection client, determining that the initial screen projection client supports the target display function;
and if the function identifier of the target display function does not exist in the locally recorded function identifiers of the display functions supported by the initial screen projection client, determining that the initial screen projection client does not support the target display function.
Optionally, the first determining module is specifically configured to query, for each screen-projecting client installed in the target screen-projecting device in which the initial screen-projecting client is installed, whether a function identifier of the target display function exists in function identifiers of display functions supported by the screen-projecting client;
and if the function identification of the target display function exists in the function identifications of the display functions supported by the screen projection client, determining the screen projection client as the screen projection client supporting the target display function and using the screen projection client as the target screen projection client.
Optionally, the apparatus further comprises:
the second recording module is used for recording the function identifier of the display function supported by the target screen-casting client, which is carried in the function updating instruction, when the function updating instruction sent by the target screen-casting client is received after the first sending module executes the screen-casting instruction aiming at the network resource to the target screen-casting client; wherein the function update instruction is: and the target screen projection client is sent when determining that display functions conflicting with the target display function exist in the display functions supported currently.
Optionally, the apparatus further comprises:
a fourth sending module, configured to send a function identifier of the target display function to the initial screen-casting client if the initial screen-casting client supports the target display function after the detection module performs detection that whether the initial screen-casting client supports the target display function, so that the initial screen-casting client starts the target display function when displaying the network resource.
Optionally, the apparatus further comprises:
and the display module is used for displaying a reminding message for reminding a user that the target display function is not supported currently if other screen projection clients are not installed in the target screen projection equipment under the condition that the target display function is not supported by the initial screen projection client after the detection module detects whether the initial screen projection client supports the target display function.
In a fifth aspect of the present invention, there is also provided a network resource display apparatus, where the apparatus is applied to a target screen-projection client, and the apparatus includes:
the acquisition module is used for acquiring the network resource according to the acquisition address when receiving the function identifier carrying the target display function and the acquisition address of the network resource sent by the terminal; wherein, the function identification of the target display function is as follows: the terminal receives an adjustment instruction which is carried in the network resource currently displayed by the initial screen projection client; the screen projection instruction is as follows: the terminal sends the information when the initial screen projection client side does not support the target display function; the target screen projection client is as follows: the terminal is determined from other screen projection clients installed in the target screen projection equipment provided with the initial screen projection client and supports the screen projection client with the target display function;
and the display module is used for starting the target display function when the acquired network resources are displayed.
In another aspect of the present invention, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor, configured to implement the steps of the method for displaying network resources applied to the terminal according to any one of the first aspect described above, or the steps of the method for displaying network resources applied to the target screen-projection client according to any one of the second aspect described above, when executing a program stored in the memory.
In another aspect of the present invention, there is further provided a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the network resource display method applied to the terminal according to any one of the first aspect, or the network resource display method applied to the target screen projection client according to any one of the second aspect.
In another aspect of the present invention, there is also provided a computer program product containing instructions, which when run on a computer, causes the computer to execute any one of the network resource display methods applied to a terminal according to the first aspect or any one of the network resource display methods applied to a target screen projection client according to the second aspect.
According to the network resource display method provided by the embodiment of the invention, a terminal receives an adjustment instruction aiming at the currently displayed network resource of an initial screen projection client; the adjusting instruction is used for indicating the initial screen projection client to start a target display function when the network resources are displayed; detecting whether the initial screen projection client supports a target display function or not; if the initial screen projection client does not support the target display function, determining the screen projection client supporting the target display function from other screen projection clients installed in the target screen projection equipment provided with the initial screen projection client as the target screen projection client; and sending a screen projection instruction aiming at the network resource to a target screen projection client, wherein the screen projection instruction carries a function identifier of a target display function and an acquisition address of the network resource. And when receiving the screen projection instruction, the target screen projection client acquires the network resource according to the acquired address, and starts a target display function when displaying the acquired network resource.
Based on the processing, when the initial screen projection client side of the current screen projection does not support the target display function indicated by the user, the screen projection client side of the target display function indicated by the user is automatically switched to for screen projection, and the user does not need to manually operate the screen projection client side which exits the current screen projection client side and then manually select the screen projection client side supporting the target display function for screen projection again, so that the user operation can be simplified, and the screen projection efficiency of network resources can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a flowchart of a network resource display method provided in an embodiment of the present invention;
fig. 2 is a schematic diagram of an operation interface of a terminal provided in an embodiment of the present invention;
fig. 3 is a flowchart of another network resource display method provided in the embodiment of the present invention;
fig. 4 is a flowchart of another network resource display method provided in the embodiment of the present invention;
fig. 5 is a flowchart of another network resource display method provided in the embodiment of the present invention;
fig. 6 is a structural diagram of a network resource display device according to an embodiment of the present invention;
fig. 7 is a block diagram of another network resource display device provided in the embodiment of the present invention;
fig. 8 is a structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a network resource display method according to an embodiment of the present invention, where the method is applied to a network resource display system, and the network resource display system includes: the method comprises the following steps:
s101: and the terminal receives an adjusting instruction aiming at the network resource currently displayed by the initial screen projection client.
The adjusting instruction is used for indicating the initial screen projection client to start a target display function when the network resources are displayed.
S102: the terminal detects whether the initial screen projection client supports a target display function.
S103: if the initial screen projection client does not support the target display function, the terminal determines the screen projection client supporting the target display function from other screen projection clients installed in the target screen projection equipment provided with the initial screen projection client as the target screen projection client.
S104: and the terminal sends a screen projection instruction aiming at the network resource to the target screen projection client.
The screen projection instruction carries a function identifier of a target display function and an acquisition address of a network resource.
S105: and when receiving the screen projection instruction, the target screen projection client acquires the network resource according to the acquired address, and starts a target display function when displaying the acquired network resource.
Based on the network resource display method provided by the embodiment of the invention, when the initial screen-projecting client of the current screen-projecting does not support the target display function indicated by the user, the initial screen-projecting client can be automatically switched to the target screen-projecting client supporting the target display function indicated by the user to project the screen, and the user does not need to manually operate the screen-projecting client which exits the current screen-projecting client and then manually select the screen-projecting client supporting the target display function to project the screen again, so that the user operation can be simplified, the screen-projecting efficiency of the network resource can be improved, and the user experience can be improved.
For step S101, the network resource may be a video resource, a picture resource, a text resource, and the like. When the display screen of the terminal used by the user is small, in order to obtain better viewing experience, the user can instruct the terminal to project the network resources to be viewed to the projection equipment with the large display screen for displaying. The terminal used by the user can be a mobile phone, a computer and the like, and the screen projection equipment can be a television, a projector and the like. For example, a user can project a video to a television for playing through a mobile phone, and the user can watch the video on the television, so that the watching experience of the user can be improved.
The initial screen projection client is a screen projection client installed in the target screen projection equipment and currently projecting a screen, and network resources currently projecting the screen are displayed in a display interface of the initial screen projection client. The target screen projection equipment is screen projection equipment for projecting a screen at present.
In the process of screen projection of the network resources, a user may need to adjust the currently displayed network resources, and then the user may input an adjustment instruction for the network resources to the terminal, so that the terminal sends the adjustment instruction to the initial screen projection client, and the initial screen projection client may start a target display function indicated by the adjustment instruction when the network resources are displayed. For example, the currently displayed network resource is a video resource, and in the process of playing the video resource, if the user needs to open the barrage, the user may input an adjustment instruction for instructing to open the barrage when the video resource is played to the terminal.
Exemplarily, referring to fig. 2, fig. 2 is a schematic view of an operation interface of a terminal according to an embodiment of the present invention. The operation interface of the terminal displays operation buttons corresponding to the respective display functions, for example, "album", "4K", "speed", "barrage", "music in secret", and "dolby". The "selection" function refers to selecting a video asset for playback. The "4K" function refers to playing the video asset at a resolution of 4K, the resolution of 4K refers to 4096 × 2160. The "speed doubling" function refers to adjusting the playing speed of the video resource. The 'steganography' function refers to playing video resources in the screen projection equipment and playing audio of the video resources in the terminal.
The current screen projection network resource is a video resource, and in the screen projection process of the video resource, if a user needs to start the barrage function, the user can click a 'barrage' operation button to input an adjustment instruction for starting the barrage function when the video resource is played to the terminal. If the user needs to start the Dolby sound effect function, the user can click the Dolby operation button to input an adjusting instruction for starting the Dolby sound effect function when the video resource is played to the terminal.
For step S102, after receiving the adjustment instruction input by the user, the terminal may detect whether the screen-projecting client currently performing screen projection (i.e., the initial screen-projecting client) supports the target display function, so as to perform corresponding processing according to the detection result.
In one implementation, on the basis of fig. 1, referring to fig. 3, step S102 may include the following steps:
s1021: the terminal sends a configuration information acquisition request to the initial screen projection client, so that the initial screen projection client sends the configuration information of the initial screen projection client to the terminal when receiving the configuration information acquisition request.
Wherein the configuration information includes: the version number of the initial screen projection client and the equipment identification of each screen projection equipment supporting the target display function.
S1022: when configuration information of the initial screen-projecting client is received, the terminal inquires whether a function identifier of a target display function exists in a preset corresponding relation between the version number of the initial screen-projecting client and the function identifier of the display function.
S1023: and if the function identification of the target display function does not exist in the corresponding relation, the terminal determines that the initial screen projection client does not support the target display function.
S1024: and if the function identification of the target display function exists in the corresponding relation, the terminal inquires whether the equipment identification of the target screen projection equipment exists in the equipment identifications of the screen projection equipment supporting the target display function.
S1025: and if the equipment identifier of the target screen projection equipment exists in the equipment identifiers of the screen projection equipment supporting the target display function, the terminal determines that the initial screen projection client supports the target display function.
S1026: and if the equipment identifier of the target screen projection equipment does not exist in the equipment identifiers of the screen projection equipment supporting the target display function, the terminal determines that the initial screen projection client does not support the target display function.
The function identifier of one display function may be a name of the display function, or the terminal may number each display function, and the function identifier of one display function may also be a number of the display function. The device identifier of one screen projection device may be a model of the screen projection device, and the like, and is not specifically limited in the embodiment of the present invention.
When receiving an adjustment instruction input by a user, the terminal can send a configuration information acquisition request to the initial screen-casting client to acquire configuration information of the initial screen-casting client. The initial screen-casting client may send the configuration information of the initial screen-casting client to the terminal when receiving the configuration information acquisition request.
The terminal locally records a corresponding relationship (which may be referred to as a first corresponding relationship) between a preset version number of the initial screen-projecting client and a function identifier of the display function, after the version number of the initial screen-projecting client is obtained, the terminal may query the locally recorded first corresponding relationship, and if the first corresponding relationship does not have the function identifier of the target display function, it may be determined that the initial screen-projecting client does not support the target display function. If the function identifier of the target display function exists in the first corresponding relationship, which indicates that the initial screen-projecting client may support the target display function, the initial screen-projecting client may continue to query whether the device identifier of the target screen-projecting device exists in the device identifiers of the screen-projecting devices supporting the target display function.
The device identifier of each screen projection device supporting the target display function may be: the white list of device identifications for each screen-projecting device that supports the target display function, for example, includes a first list of device identifications for each screen-projecting device that supports the target display function. Or, the device identifier of each screen projection device supporting the target display function may be: a blacklist of device identifications of screen-projecting devices that do not support the target display function, for example, a second list including device identifications of screen-projecting devices that do not support the target display function. The terminal may determine that the other screen projection devices except the screen projection device to which the device identifier in the second list belongs all support the target display function.
If the device identifier of the target screen projection device does not exist in the device identifiers of the screen projection devices supporting the target display function, the target screen projection device does not support the target display function, and the initial screen projection client is installed on the target screen projection device, it can be determined that the initial screen projection client does not support the target display function. If the device identifier of the target screen projection device exists in the device identifiers of the screen projection devices supporting the target display function, the target screen projection device is shown to support the target display function.
Illustratively, the configuration information acquired by the terminal includes: the device identification of each screen projection device supporting the target display function comprises: the screen projection device comprises a screen projection device 1, a screen projection device 2 and a screen projection device 3. If the target screen projection device is the screen projection device 1, it can be determined that the initial screen projection client supports the target display function. If the target screen projection device is the screen projection device 4, it can be determined that the initial screen projection client does not support the target display function.
The configuration information of the initial screen-projection client may further include: film source information and cloud control information. The film source information is parameter information of network resources which can be acquired by the initial screen projection client. For example, the initial screen-casting client can only obtain a 1080P video resource, and the initial screen-casting client does not support the 4K definition playing function. The cloud control information is whether the initial screen-projecting client acquires the device identifier of each screen-projecting device supporting the target display function from the server, and if the initial screen-projecting client does not acquire the device identifier of each screen-projecting device supporting the target display function and the terminal cannot acquire the device identifier of each screen-projecting device supporting the target display function, the terminal can determine whether the initial screen-projecting client supports the target display function based on other configuration information (for example, the version number of the initial screen-projecting client, film source information, and the like).
Based on the processing, the display function supported by the screen-casting client can be dynamically determined when the adjustment instruction of the user is received, and the condition that the recorded display function supported by the screen-casting client is inaccurate due to function upgrading of the screen-casting client is avoided to a certain extent.
In another implementation, on the basis of fig. 1, referring to fig. 4, before step S102, the method may further include the following steps:
s106: and the terminal sends a function identifier acquisition request to the initial screen projection client so that the initial screen projection client sends the function identifiers of all display functions supported by the initial screen projection client to the terminal when receiving the function identifier acquisition request.
S107: and the terminal records the received function identification of each display function supported by the initial screen projection client.
Accordingly, step S102 may include the steps of:
s1027: and the terminal inquires whether a function identifier of a target display function exists in the function identifiers of all display functions supported by the initial screen projection client recorded locally.
S1028: and if the function identification of the target display function exists in the locally recorded function identifications of all the display functions supported by the initial screen-projecting client, the terminal determines that the initial screen-projecting client supports the target display function.
S1029: and if the function identifier of the target display function does not exist in the locally recorded function identifiers of the display functions supported by the initial screen projection client, the terminal determines that the initial screen projection client does not support the target display function.
When the screen is projected to the initial screen projection client for the first time, the terminal can send a function identifier acquisition request to the initial screen projection client to determine the display function supported by the initial screen projection client. When receiving the function identifier acquisition request, the initial screen-casting client may send a function identifier of a display function supported by the initial screen-casting client to the terminal. In one implementation, the initial screen-casting client may send a numerical sequence to the terminal that represents the display functions supported by the initial screen-casting client. One numerical value in the numerical value sequence corresponds to one display function, when the numerical value is 1, the initial screen projection client side supports the corresponding display function, and when the numerical value is 0, the initial screen projection client side does not support the corresponding display function.
When the terminal receives the function identifier of the display function supported by the initial screen-projecting client, the function identifier of the display function supported by the initial screen-projecting client can be locally recorded. Subsequently, when an adjustment instruction of the user is received, the terminal can query whether a function identifier of the target display function exists in the locally recorded function identifiers of the display functions supported by the initial screen-projection client. If the function identifier of the target display function exists, the terminal can determine that the initial screen projection client supports the target display function. If the function identifier of the target display function does not exist, the terminal can determine that the initial screen projection client does not support the target display function.
Illustratively, the network resource is a video resource, and the adjustment instruction is used to instruct the initial screen projection client to start a 4K function when playing the video resource, that is, instruct the initial screen projection client to play the video resource according to a definition of 4K. Each display function includes: the system comprises a bullet screen function, a multiple speed playing function, a 4K definition playing function, a Dolby sound effect function and the like. If the numerical sequence sent by the initial screen-projecting client received by the terminal is 0101, the terminal can determine that the display function supported by the initial screen-projecting client includes: the double speed playing function and the Dolby sound effect function do not comprise the playing function according to the 4K definition.
Based on the processing, the display function supported by each screen projection client is determined only when the screen is projected for the first time, and the locally recorded function identifier of the display function supported by each screen projection client is directly inquired subsequently, so that the waiting time of a user in the screen projection process can be reduced, and the user experience is improved.
For step S103, if the terminal determines that the initial screen-projecting client does not support the target display function, the terminal may determine a screen-projecting client (i.e., a target screen-projecting client) that supports the target display function from other screen-projecting clients installed in the target screen-projecting device.
In an embodiment of the present invention, on the basis of fig. 1, referring to fig. 5, step S103 may include the following steps:
s1031: if the initial screen projection client does not support the target display function, inquiring whether the function identifier of the target display function exists in the function identifiers of the display functions supported by the screen projection client aiming at each screen projection client installed in the target screen projection equipment provided with the initial screen projection client.
S1032: and if the function identifier of the target display function exists in the function identifiers of the display functions supported by the screen projection client, determining that the screen projection client is the screen projection client supporting the target display function and serves as the target screen projection client.
In one implementation, for each screen projection client installed in the target screen projection device, the terminal may query whether a function identifier of the target display function exists in the locally recorded function identifiers of the display functions supported by the screen projection client.
In another implementation manner, for each screen projection client installed in the target screen projection device, the terminal may send a function identifier acquisition request message to the screen projection client. When receiving the function identifier acquisition request, the screen projection client can send a function identifier of a display function supported by the screen projection client to the terminal. When the terminal receives the function identifier of the display function supported by the screen projection client, whether the function identifier of the target display function exists in the function identifier of the display function supported by the screen projection client can be inquired.
If the function identifier of the target display function does not exist in the function identifiers of the display functions supported by the screen projection client, it can be determined that the screen projection client does not support the target display function. If the function identifier of the target display function exists in the function identifiers of the display functions supported by the screen projection client, the screen projection client can be determined to be the target screen projection client supporting the target display function.
If a plurality of screen projection clients supporting the target display function are determined, the terminal can randomly select one screen projection client supporting the target display function as the target screen projection client.
In one embodiment of the invention, the method may further comprise the steps of: and if the initial screen projection client supports the target display function, sending a function identifier of the target display function to the initial screen projection client so as to start the target display function when the initial screen projection client displays the network resources.
If the terminal detects that the initial screen projection client supports the target display function, the terminal can directly send the function identification of the target display function to the initial screen projection client. When the initial screen projection client receives the target function identification, the target display function can be started directly when the network resources are displayed.
Based on the processing, the screen-casting client does not need to be switched, the time required by switching the screen-casting client can be saved, and the user experience is improved.
In one embodiment of the invention, before determining the target screen-projecting client, the terminal may determine each screen-projecting client installed in the target screen-projecting device.
In one implementation, before screen projection, a terminal may send a screen projection broadcast message to determine a screen projection client that can currently perform screen projection. For each screen projection client, the screen projection client can send a screen projection response message to the terminal when receiving the screen projection broadcast message. Correspondingly, when receiving the screen-casting response message sent by the screen-casting client, the terminal can determine that the screen-casting client is the screen-casting client capable of casting the screen currently.
When receiving the screen-casting response message sent by each screen-casting client, the terminal may further determine an IP (Internet Protocol) address of each screen-casting client, and each screen-casting client having the same IP address is installed in the same screen-casting device. Furthermore, the terminal can determine the screen-casting client with the same IP address as the initial screen-casting client as the screen-casting client installed in the target screen-casting device.
In an embodiment of the present invention, after determining each screen-casting client that can perform screen casting currently, the terminal may further detect whether a communication protocol supported by the screen-casting client is a public DLNA (Digital Living Network Alliance) protocol or a private protocol (for example, a qimo protocol). The qimo protocol is obtained by adding an extension field on the basis of the DLNA protocol. Subsequently, under the condition that the communication protocol supported by the screen projection client is a private protocol, the terminal can communicate with the screen projection client based on the private protocol, and the extension field in the private protocol can be used for carrying the target function identifier.
In step S104, after the target screen-projecting client supporting the target display function is determined, the terminal may switch to the target screen-projecting client to project the network resource screen, so that the target screen-projecting client starts the target display function when displaying the network resource.
In one implementation, the terminal may send an exit instruction to the initial screen-casting client. The initial screen-casting client can stop displaying the network resources when receiving the quitting instruction. Then, the terminal can send a screen projection instruction to the target screen projection client. The screen projection instruction may carry a function identifier of the target display function and an acquisition address of the network resource.
Correspondingly, when receiving the screen projecting instruction, the target screen projecting client can acquire the network resource from the server according to the acquisition address carried in the screen projecting instruction, and when displaying the acquired network resource, the target display function is started.
In one embodiment of the invention, the method may further comprise the steps of: and when a function updating instruction sent by the target screen projection client is received, recording a function identifier of a display function supported by the target screen projection client, wherein the function identifier is carried in the function updating instruction. Wherein, the function updating instruction is as follows: and the target screen projection client sends the display function which conflicts with the target display function when determining that the display functions exist in the various display functions supported currently.
When receiving a screen projection instruction sent by a terminal, a target screen projection client can determine that a target display function needs to be started when network resources are displayed. Then, the target screen-projection client may determine whether a display function that conflicts with the target display function exists among the currently supported display functions, that is, determine whether a display function that cannot be simultaneously supported with the target display function exists among the currently supported display functions.
If the display function conflicting with the target display function exists in the currently supported display functions, the target screen-casting client may send a function update instruction to the terminal to notify the terminal that the target screen-casting client does not currently support the display function conflicting with the target display function.
Correspondingly, when the function updating instruction is received, the terminal can record the function identifier of the display function supported by the target screen-casting client carried in the function updating instruction, and the function identifier of the display function conflicting with the target display function is not included in the function identifier of the display function supported by the target screen-casting client recorded by the terminal this time.
Based on the processing, the display function supported by the target screen projection client can be dynamically determined, and the user can be prevented from using the display function which is not currently supported by the target screen projection client to a certain extent.
For example, the network resource is a video resource, and the screen projection instruction is used for instructing the target screen projection client to play the video resource according to the definition of "4K". And if the target screen projection client plays the video resources according to the definition of '4K', the bullet screen function cannot be started. Correspondingly, when the target screen projection client receives a screen projection instruction sent by the terminal, the target screen projection client can determine that the bullet screen function is not supported currently. Therefore, the target screen projection client can send a function updating instruction to the terminal to inform the terminal that the display functions supported by the target screen projection client do not include the bullet screen function.
Correspondingly, when the function updating instruction is received, the terminal can record the display function supported by the target screen-casting client, and the function identifier of the bullet screen function is not included in the function identifier of the display function supported by the target screen-casting client recorded by the terminal this time.
In an embodiment of the present invention, after step S102, the method may further include the steps of: and under the condition that the initial screen projection client does not support the target display function, if other screen projection clients are not installed in the target screen projection equipment, displaying a reminding message for reminding the user that the target display function is not supported currently.
If the terminal detects that the initial screen projection client does not support the target display function, the terminal needs to determine the target screen projection client supporting the target display function from other screen projection clients installed in the target screen projection equipment. If other screen projection clients are not installed in the target screen projection equipment, the target screen projection client supporting the target display function cannot be determined, the target screen projection client cannot be switched to for screen projection, and the terminal can display a reminding message for reminding a user that the target display function is not supported currently so as to remind the user to install other screen projection clients supporting the target display function in the target screen projection equipment.
Based on the processing, when the target screen projection equipment does not support the target display function currently, the user can be reminded to install other screen projection clients supporting the target display function in the target screen projection equipment, so that the subsequent screen projection of the user is facilitated, and the user experience can be improved.
The embodiment of the present invention further provides a network resource display system, where the network resource display system includes: terminal and target screen projection client, wherein:
the terminal is used for receiving an adjusting instruction aiming at the network resource currently displayed by the initial screen projection client; the adjusting instruction is used for indicating the initial screen projection client to start a target display function when the network resources are displayed; detecting whether the initial screen projection client supports the target display function; if the initial screen projection client does not support the target display function, determining the screen projection client supporting the target display function from other screen projection clients installed in target screen projection equipment provided with the initial screen projection client as a target screen projection client; sending a screen projection instruction aiming at the network resource to the target screen projection client, wherein the screen projection instruction carries a function identifier of the target display function and an acquisition address of the network resource;
and the target screen projection client is used for acquiring the network resource according to the acquisition address when receiving the screen projection instruction, and starting the target display function when displaying the acquired network resource.
Based on the network resource display system provided by the embodiment of the invention, when the initial screen projection client of the current screen projection does not support the target display function indicated by the user, the initial screen projection client of the current screen projection can be automatically switched to the target screen projection client of the target display function indicated by the user to carry out screen projection, and the user does not need to manually operate the screen projection client which exits the current screen projection client, manually select the screen projection client of the target display function and carry out screen projection again, so that the user operation can be simplified, the screen projection efficiency of network resources can be improved, and the user experience can be improved.
Corresponding to the embodiment of the method in fig. 1, referring to fig. 6, fig. 6 is a structural diagram of a network resource display device provided in the embodiment of the present invention, where the device is applied to a terminal, and the device includes:
a receiving module 601, configured to receive an adjustment instruction for a network resource currently displayed by an initial screen-casting client; the adjusting instruction is used for indicating the initial screen projection client to start a target display function when the network resources are displayed;
a detecting module 602, configured to detect whether the initial screen-projecting client supports the target display function;
a first determining module 603, configured to determine, if the initial screen-projecting client does not support the target display function, a screen-projecting client that supports the target display function from other screen-projecting clients already installed in a target screen-projecting device in which the initial screen-projecting client is installed, as a target screen-projecting client;
a first sending module 604, configured to send a screen projecting instruction for the network resource to the target screen projecting client, where the screen projecting instruction carries a function identifier of the target display function and an acquisition address of the network resource, so that the target screen projecting client acquires the network resource according to the acquisition address when receiving the screen projecting instruction, and starts the target display function when displaying the acquired network resource.
Optionally, the detecting module 602 is specifically configured to send a configuration information obtaining request to the initial screen-casting client, so that when receiving the configuration information obtaining request, the initial screen-casting client sends the configuration information of the initial screen-casting client to the terminal; wherein the configuration information comprises: the version number of the initial screen projection client and the equipment identification of each screen projection equipment supporting the target display function;
when the configuration information of the initial screen-projecting client is received, inquiring whether a function identifier of the target display function exists in a preset corresponding relation between the version number of the initial screen-projecting client and the function identifier of the display function;
if the function identification of the target display function does not exist in the corresponding relation, determining that the initial screen projection client does not support the target display function;
if the function identifier of the target display function exists in the corresponding relation, inquiring whether the device identifier of the target screen projection device exists in the device identifiers of the screen projection devices supporting the target display function; if the device identification of the target screen projection device exists in the device identifications of the screen projection devices supporting the target display function, determining that the initial screen projection client supports the target display function; and if the equipment identifier of the target screen projection equipment does not exist in the equipment identifiers of the screen projection equipment supporting the target display function, determining that the initial screen projection client does not support the target display function.
Optionally, the apparatus further comprises:
a second sending module, configured to send a function identifier obtaining request to the initial screen-casting client before the detecting module 602 performs detection on whether the initial screen-casting client supports the target display function, so that the initial screen-casting client sends, to the terminal, a function identifier of each display function supported by the initial screen-casting client when receiving the function identifier obtaining request;
the first recording module is used for recording the received function identification of each display function supported by the initial screen projection client;
the detection module 602 is specifically configured to query whether a function identifier of the target display function exists in function identifiers of display functions supported by the initial screen projection client recorded locally;
if the function identifier of the target display function exists in the locally recorded function identifiers of the display functions supported by the initial screen projection client, determining that the initial screen projection client supports the target display function;
and if the function identifier of the target display function does not exist in the locally recorded function identifiers of the display functions supported by the initial screen projection client, determining that the initial screen projection client does not support the target display function.
Optionally, the first determining module 603 is specifically configured to, for each screen-projecting client installed in the target screen-projecting device in which the initial screen-projecting client is installed, query whether a function identifier of the target display function exists in function identifiers of display functions supported by the screen-projecting client;
and if the function identifier of the target display function exists in the function identifiers of the display functions supported by the screen projection client, determining that the screen projection client is the screen projection client supporting the target display function and serves as the target screen projection client.
Optionally, the apparatus further comprises:
a second recording module, configured to record, after the first sending module 604 executes a screen projection instruction for the network resource to the target screen projection client, a function identifier of a display function supported by the target screen projection client, where the function identifier is carried in the function update instruction when the function update instruction sent by the target screen projection client is received; wherein the function update instruction is: and the target screen projection client is sent when determining that display functions conflicting with the target display function exist in the display functions supported currently.
Optionally, the apparatus further comprises:
a fourth sending module, configured to send a function identifier of the target display function to the initial screen-casting client if the initial screen-casting client supports the target display function after the detecting module 602 performs detection that whether the initial screen-casting client supports the target display function, so that the initial screen-casting client starts the target display function when displaying the network resource.
Optionally, the apparatus further comprises:
a display module, configured to, after the detection module 602 performs detection to determine whether the initial screen-projecting client supports the target display function, perform display of a prompt message for prompting a user that the target display function is not supported currently if no other screen-projecting client is installed in the target screen-projecting device under the condition that the initial screen-projecting client does not support the target display function.
Based on the network resource display device provided by the embodiment of the invention, when the initial screen-projecting client of the current screen-projecting does not support the target display function indicated by the user, the initial screen-projecting client can be automatically switched to the target screen-projecting client supporting the target display function indicated by the user to project the screen, and the user does not need to manually operate the screen-projecting client which exits the current screen-projecting client and then manually select the screen-projecting client supporting the target display function to project the screen again, so that the user operation can be simplified, the screen-projecting efficiency of the network resource can be improved, and the user experience can be improved.
Corresponding to the embodiment of the method in fig. 1, referring to fig. 7, fig. 7 is a structural diagram of a network resource display device provided in the embodiment of the present invention, where the device is applied to a terminal, and the device includes:
an obtaining module 701, configured to obtain a network resource according to an obtaining address when receiving a function identifier carrying a target display function and the obtaining address of the network resource, which are sent by a terminal; wherein, the function identification of the target display function is as follows: the terminal receives an adjustment instruction which is carried in the network resource currently displayed by the initial screen projection client; the screen projection instruction is as follows: the terminal sends the target display function when the initial screen projection client side is determined not to support the target display function; the target screen projection client is as follows: the terminal is determined from other screen projection clients installed in the target screen projection equipment provided with the initial screen projection client and supports the screen projection client with the target display function;
a display module 702, configured to start the target display function when the acquired network resource is displayed.
Based on the network resource display device provided by the embodiment of the invention, when the initial screen-projecting client of the current screen-projecting does not support the target display function indicated by the user, the initial screen-projecting client can be automatically switched to the target screen-projecting client supporting the target display function indicated by the user to project the screen, and the user does not need to manually operate the screen-projecting client which exits the current screen-projecting client and then manually select the screen-projecting client supporting the target display function to project the screen again, so that the user operation can be simplified, the screen-projecting efficiency of the network resource can be improved, and the user experience can be improved.
An embodiment of the present invention further provides an electronic device, as shown in fig. 8, which includes a processor 801, a communication interface 802, a memory 803, and a communication bus 804, where the processor 801, the communication interface 802, and the memory 803 complete mutual communication through the communication bus 804,
a memory 803 for storing a computer program;
the processor 801 is configured to, when executing the program stored in the memory 803, implement the network resource display method steps applied to the terminal or the network resource display method steps applied to the target screen-projection client described in any of the foregoing embodiments.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements any of the network resource display methods applied to a terminal or a target screen projection client described in the foregoing embodiments.
In another embodiment of the present invention, there is also provided a computer program product containing instructions, which when run on a computer, causes the computer to execute the network resource display method applied to the terminal or the network resource display method applied to the target screen-projection client described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, system, electronic device, computer-readable storage medium, and computer program product embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference may be made to some descriptions of the method embodiments for related points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (19)
1. A network resource display method is applied to a terminal, and comprises the following steps:
receiving an adjusting instruction aiming at the currently displayed network resource of the initial screen projection client; the adjusting instruction is used for indicating the initial screen projection client to start a target display function when the network resources are displayed;
detecting whether the initial screen-casting client supports the target display function;
if the initial screen projection client does not support the target display function, determining the screen projection client supporting the target display function from other screen projection clients installed in target screen projection equipment provided with the initial screen projection client as a target screen projection client;
and sending a screen projection instruction aiming at the network resource to the target screen projection client, wherein the screen projection instruction carries a function identifier of the target display function and an acquisition address of the network resource, so that the target screen projection client acquires the network resource according to the acquisition address when receiving the screen projection instruction, and starts the target display function when displaying the acquired network resource.
2. The method of claim 1, wherein the detecting whether the target display function is supported by the initial screen-casting client comprises:
sending a configuration information acquisition request to the initial screen projection client so that the initial screen projection client sends the configuration information of the initial screen projection client to the terminal when receiving the configuration information acquisition request; wherein the configuration information comprises: the version number of the initial screen projection client and the equipment identification of each screen projection equipment supporting the target display function;
when the configuration information of the initial screen-projecting client is received, inquiring whether a function identifier of the target display function exists in a preset corresponding relation between the version number of the initial screen-projecting client and the function identifier of the display function;
if the function identification of the target display function does not exist in the corresponding relation, determining that the initial screen projection client does not support the target display function;
if the function identifier of the target display function exists in the corresponding relation, inquiring whether the device identifier of the target screen projection device exists in the device identifiers of the screen projection devices supporting the target display function; if the device identification of the target screen projection device exists in the device identifications of the screen projection devices supporting the target display function, determining that the initial screen projection client supports the target display function; and if the device identification of the target screen projection device does not exist in the device identifications of the screen projection devices supporting the target display function, determining that the initial screen projection client does not support the target display function.
3. The method of claim 1, wherein prior to the detecting whether the target display function is supported by the initial screen-casting client, the method further comprises:
sending a function identifier acquisition request to the initial screen projection client, so that the initial screen projection client sends function identifiers of all display functions supported by the initial screen projection client to the terminal when receiving the function identifier acquisition request;
recording the received function identification of each display function supported by the initial screen projection client;
the detecting whether the initial screen projection client supports the target display function comprises:
inquiring whether function identifiers of the target display function exist in locally recorded function identifiers of all display functions supported by the initial screen projection client;
if the function identifier of the target display function exists in the locally recorded function identifiers of the display functions supported by the initial screen projection client, determining that the initial screen projection client supports the target display function;
and if the function identifier of the target display function does not exist in the locally recorded function identifiers of the display functions supported by the initial screen projection client, determining that the initial screen projection client does not support the target display function.
4. The method of claim 1, wherein the determining, as the target screen-casting client, the screen-casting client that supports the target display function from other screen-casting clients already installed in the target screen-casting device in which the initial screen-casting client is installed comprises:
inquiring whether function identifiers of the target display functions exist in function identifiers of all display functions supported by the screen-projecting client aiming at each screen-projecting client installed in the target screen-projecting equipment provided with the initial screen-projecting client;
and if the function identifier of the target display function exists in the function identifiers of the display functions supported by the screen projection client, determining that the screen projection client is the screen projection client supporting the target display function and serves as the target screen projection client.
5. The method of claim 1, wherein after sending the screen-casting instruction for the network resource to the target screen-casting client, the method further comprises:
when a function updating instruction sent by the target screen projection client is received, recording a function identifier of a display function supported by the target screen projection client, wherein the function identifier is carried in the function updating instruction; wherein the function update instruction is: and the target screen projection client is sent when determining that display functions conflicting with the target display function exist in the display functions supported currently.
6. The method of claim 1, wherein after the detecting whether the target display function is supported by the initial screen-casting client, the method further comprises:
and if the initial screen projection client supports the target display function, sending a function identifier of the target display function to the initial screen projection client so as to start the target display function when the network resource is displayed by the initial screen projection client.
7. The method of claim 1, wherein after the detecting whether the target display function is supported by the initial screen-casting client, the method further comprises:
and under the condition that the initial screen projection client does not support the target display function, if other screen projection clients are not installed in the target screen projection equipment, displaying a reminding message for reminding a user that the target display function is not supported currently.
8. A network resource display method is applied to a target screen projection client, and comprises the following steps:
when receiving a function identifier carrying a target display function and an acquisition address of a network resource, which are sent by a terminal, acquiring the network resource according to the acquisition address; wherein, the function identification of the target display function is as follows: the terminal receives an adjustment instruction which is carried in the network resource currently displayed by the initial screen projection client; the screen projection instruction comprises the following steps: the terminal sends the target display function when the initial screen projection client side is determined not to support the target display function; the target screen projection client is as follows: the screen projection client supporting the target display function is determined by the terminal from other installed screen projection clients in the target screen projection equipment provided with the initial screen projection client;
and starting the target display function when the acquired network resources are displayed.
9. A network resource display system, the network resource display system comprising: terminal and target screen projection client, wherein:
the terminal is used for receiving an adjusting instruction aiming at the network resource currently displayed by the initial screen projection client; the adjusting instruction is used for indicating the initial screen projection client to start a target display function when the network resources are displayed; detecting whether the initial screen-casting client supports the target display function; if the initial screen projection client does not support the target display function, determining the screen projection client supporting the target display function from other screen projection clients installed in target screen projection equipment provided with the initial screen projection client as a target screen projection client; sending a screen projection instruction aiming at the network resource to the target screen projection client, wherein the screen projection instruction carries a function identifier of the target display function and an acquisition address of the network resource;
and the target screen projection client is used for acquiring the network resource according to the acquisition address when receiving the screen projection instruction, and starting the target display function when displaying the acquired network resource.
10. A network resource display device, which is applied to a terminal, the device comprising:
the receiving module is used for receiving an adjusting instruction aiming at the network resource currently displayed by the initial screen projection client; the adjusting instruction is used for indicating the initial screen projection client to start a target display function when the network resources are displayed;
the detection module is used for detecting whether the initial screen projection client supports the target display function or not;
a first determining module, configured to determine, if the initial screen-projecting client does not support the target display function, a screen-projecting client that supports the target display function from other screen-projecting clients already installed in a target screen-projecting device in which the initial screen-projecting client is installed, as a target screen-projecting client;
the first sending module is used for sending a screen projecting instruction aiming at the network resource to the target screen projecting client, wherein the screen projecting instruction carries a function identifier of the target display function and an acquisition address of the network resource, so that the target screen projecting client acquires the network resource according to the acquisition address when receiving the screen projecting instruction, and starts the target display function when displaying the acquired network resource.
11. The apparatus according to claim 10, wherein the detection module is specifically configured to send a configuration information acquisition request to the initial screen-casting client, so that the initial screen-casting client sends the configuration information of the initial screen-casting client to the terminal when receiving the configuration information acquisition request; wherein the configuration information comprises: the version number of the initial screen projection client and the equipment identification of each screen projection equipment supporting the target display function;
when the configuration information of the initial screen-projecting client is received, inquiring whether a function identifier of the target display function exists in a preset corresponding relation between the version number of the initial screen-projecting client and the function identifier of the display function;
if the function identification of the target display function does not exist in the corresponding relation, determining that the initial screen projection client does not support the target display function;
if the function identifier of the target display function exists in the corresponding relation, inquiring whether the device identifier of the target screen projection device exists in the device identifiers of the screen projection devices supporting the target display function; if the device identification of the target screen projection device exists in the device identifications of the screen projection devices supporting the target display function, determining that the initial screen projection client supports the target display function; and if the device identification of the target screen projection device does not exist in the device identifications of the screen projection devices supporting the target display function, determining that the initial screen projection client does not support the target display function.
12. The apparatus of claim 10, further comprising:
a second sending module, configured to send a function identifier obtaining request to the initial screen-casting client before the detection module performs detection on whether the initial screen-casting client supports the target display function, so that the initial screen-casting client sends, to the terminal, function identifiers of display functions supported by the initial screen-casting client when receiving the function identifier obtaining request;
recording the received function identification of each display function supported by the initial screen projection client;
the detection module is specifically configured to query whether a function identifier of the target display function exists in function identifiers of display functions supported by the initial screen projection client recorded locally;
if the function identifier of the target display function exists in the locally recorded function identifiers of the display functions supported by the initial screen projection client, determining that the initial screen projection client supports the target display function;
and if the function identifier of the target display function does not exist in the locally recorded function identifiers of the display functions supported by the initial screen projection client, determining that the initial screen projection client does not support the target display function.
13. The apparatus according to claim 10, wherein the first determining module is specifically configured to query, for each screen-projecting client installed in a target screen-projecting device in which the initial screen-projecting client is installed, whether a function identifier of the target display function exists in function identifiers of display functions supported by the screen-projecting client;
and if the function identifier of the target display function exists in the function identifiers of the display functions supported by the screen projection client, determining that the screen projection client is the screen projection client supporting the target display function and serves as the target screen projection client.
14. The apparatus of claim 10, further comprising:
the second recording module is used for recording the function identifier of the display function supported by the target screen-casting client, which is carried in the function updating instruction, when the function updating instruction sent by the target screen-casting client is received after the first sending module executes the screen-casting instruction aiming at the network resource to the target screen-casting client; wherein the function update instruction is: and the target screen projection client is sent when determining that display functions conflicting with the target display function exist in the display functions supported currently.
15. The apparatus of claim 10, further comprising:
a fourth sending module, configured to send a function identifier of the target display function to the initial screen-casting client if the initial screen-casting client supports the target display function after the detection module performs detection that whether the initial screen-casting client supports the target display function, so that the initial screen-casting client starts the target display function when displaying the network resource.
16. The apparatus of claim 10, further comprising:
and the display module is used for displaying a reminding message for reminding a user that the target display function is not supported currently if other screen projection clients are not installed in the target screen projection equipment under the condition that the target display function is not supported by the initial screen projection client after the detection module detects whether the initial screen projection client supports the target display function.
17. A network resource display device is applied to a target screen projection client, and comprises:
the acquisition module is used for acquiring the network resource according to the acquisition address when receiving the function identifier carrying the target display function and the acquisition address of the network resource sent by the terminal; wherein, the function identification of the target display function is as follows: the terminal receives an adjustment instruction which is carried in the network resource currently displayed by the initial screen projection client; the screen projection instruction is as follows: the terminal sends the target display function when the initial screen projection client side is determined not to support the target display function; the target screen projection client is as follows: the terminal is determined from other screen projection clients installed in the target screen projection equipment provided with the initial screen projection client and supports the screen projection client with the target display function;
and the display module is used for starting the target display function when the acquired network resources are displayed.
18. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 7, or claim 8, when executing a program stored in the memory.
19. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method steps of one of the claims 1 to 7 or 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210332694.3A CN114827690B (en) | 2022-03-30 | 2022-03-30 | Network resource display method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210332694.3A CN114827690B (en) | 2022-03-30 | 2022-03-30 | Network resource display method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114827690A true CN114827690A (en) | 2022-07-29 |
CN114827690B CN114827690B (en) | 2023-07-25 |
Family
ID=82533012
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210332694.3A Active CN114827690B (en) | 2022-03-30 | 2022-03-30 | Network resource display method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114827690B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100265312A1 (en) * | 2009-04-20 | 2010-10-21 | Samsung Electronics Co., Ltd. | Portable terminal with projector and method for displaying data thereon |
JP2015100074A (en) * | 2013-11-20 | 2015-05-28 | 株式会社リコー | Image projection device, and image processing apparatus |
CN109120970A (en) * | 2018-09-30 | 2019-01-01 | 珠海市君天电子科技有限公司 | It is a kind of wirelessly to throw screen method, terminal device and storage medium |
CN110995923A (en) * | 2019-11-22 | 2020-04-10 | 维沃移动通信(杭州)有限公司 | Screen projection control method and electronic equipment |
CN111787392A (en) * | 2020-08-06 | 2020-10-16 | 北京字节跳动网络技术有限公司 | Video screen projection method and device, electronic equipment and storage medium |
CN112331202A (en) * | 2020-11-04 | 2021-02-05 | 北京奇艺世纪科技有限公司 | Voice screen projection method and device, electronic equipment and computer readable storage medium |
WO2021109418A1 (en) * | 2019-12-04 | 2021-06-10 | 聚好看科技股份有限公司 | Video resource display method, mobile terminal and server |
WO2021179931A1 (en) * | 2020-03-13 | 2021-09-16 | 华为技术有限公司 | Url screen projection method and apparatus |
WO2021223453A1 (en) * | 2020-05-06 | 2021-11-11 | 上海幻电信息科技有限公司 | Multi-screen interactive display method and apparatus |
CN113656713A (en) * | 2021-08-23 | 2021-11-16 | 北京奇艺世纪科技有限公司 | Network resource processing method, device and system |
WO2021249318A1 (en) * | 2020-06-08 | 2021-12-16 | 华为技术有限公司 | Screen projection method and terminal |
WO2022028189A1 (en) * | 2020-08-05 | 2022-02-10 | 中兴通讯股份有限公司 | Screen projection method and apparatus, electronic device, and computer readable storage medium |
WO2022042364A1 (en) * | 2020-08-28 | 2022-03-03 | 华为技术有限公司 | Screen projection method and apparatus, and projecting terminal |
-
2022
- 2022-03-30 CN CN202210332694.3A patent/CN114827690B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100265312A1 (en) * | 2009-04-20 | 2010-10-21 | Samsung Electronics Co., Ltd. | Portable terminal with projector and method for displaying data thereon |
JP2015100074A (en) * | 2013-11-20 | 2015-05-28 | 株式会社リコー | Image projection device, and image processing apparatus |
CN109120970A (en) * | 2018-09-30 | 2019-01-01 | 珠海市君天电子科技有限公司 | It is a kind of wirelessly to throw screen method, terminal device and storage medium |
CN110995923A (en) * | 2019-11-22 | 2020-04-10 | 维沃移动通信(杭州)有限公司 | Screen projection control method and electronic equipment |
WO2021109418A1 (en) * | 2019-12-04 | 2021-06-10 | 聚好看科技股份有限公司 | Video resource display method, mobile terminal and server |
WO2021179931A1 (en) * | 2020-03-13 | 2021-09-16 | 华为技术有限公司 | Url screen projection method and apparatus |
WO2021223453A1 (en) * | 2020-05-06 | 2021-11-11 | 上海幻电信息科技有限公司 | Multi-screen interactive display method and apparatus |
WO2021249318A1 (en) * | 2020-06-08 | 2021-12-16 | 华为技术有限公司 | Screen projection method and terminal |
WO2022028189A1 (en) * | 2020-08-05 | 2022-02-10 | 中兴通讯股份有限公司 | Screen projection method and apparatus, electronic device, and computer readable storage medium |
CN111787392A (en) * | 2020-08-06 | 2020-10-16 | 北京字节跳动网络技术有限公司 | Video screen projection method and device, electronic equipment and storage medium |
WO2022042364A1 (en) * | 2020-08-28 | 2022-03-03 | 华为技术有限公司 | Screen projection method and apparatus, and projecting terminal |
CN112331202A (en) * | 2020-11-04 | 2021-02-05 | 北京奇艺世纪科技有限公司 | Voice screen projection method and device, electronic equipment and computer readable storage medium |
CN113656713A (en) * | 2021-08-23 | 2021-11-16 | 北京奇艺世纪科技有限公司 | Network resource processing method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN114827690B (en) | 2023-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110741651B (en) | Methods, systems, and media for presenting notifications indicating recommended content | |
JP7351907B2 (en) | Online document sharing methods, devices, electronic devices and storage media | |
KR101494569B1 (en) | Media context information | |
CN102263782B (en) | Information processor, information processing method and information processing system | |
KR20110137784A (en) | Platform or user sensitive advertising | |
CN111901695B (en) | Video content interception method, device and equipment and computer storage medium | |
US20180096063A1 (en) | Audio file acquisition and update notification sending method, device, and system | |
US11070659B2 (en) | Incoming voice calling method and terminal | |
JP6484934B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION MANAGEMENT SYSTEM, COMMUNICATION CONTROL METHOD, AND PROGRAM | |
CN113542904A (en) | Video screen projection playing method and device, electronic equipment and storage medium | |
CN112584200A (en) | Screen projection method and system, electronic equipment and storage medium | |
CN102707914B (en) | Messaging device and method | |
JP7058795B2 (en) | Video processing methods, devices, terminals and storage media | |
CN112565877B (en) | Screen projection method and system, electronic equipment and storage medium | |
CN104243607A (en) | Method and device for acquiring equipment information | |
WO2020233171A1 (en) | Song list switching method, apparatus and system, terminal, and storage medium | |
CN114827690B (en) | Network resource display method, device and system | |
CN111356006B (en) | Video playing method, device, server and storage medium | |
CN114827675A (en) | Video data processing method and device for application program | |
CN114157991B (en) | Recording and playing method and equipment for group call | |
CN107911717A (en) | Screen control method, apparatus and system | |
CN108196817B (en) | Audio recognition method, device and storage medium | |
CN112866066A (en) | Interaction method, device, system, electronic equipment and storage medium | |
WO2018060199A1 (en) | Smart start-up of audio/visual equipment | |
CN113365112B (en) | Remote assistance method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |