CN113434105A - Screen projection control method and device, storage medium and electronic equipment - Google Patents

Screen projection control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113434105A
CN113434105A CN202110721978.7A CN202110721978A CN113434105A CN 113434105 A CN113434105 A CN 113434105A CN 202110721978 A CN202110721978 A CN 202110721978A CN 113434105 A CN113434105 A CN 113434105A
Authority
CN
China
Prior art keywords
screen
file
terminal
user terminal
link address
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.)
Pending
Application number
CN202110721978.7A
Other languages
Chinese (zh)
Inventor
谢欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110721978.7A priority Critical patent/CN113434105A/en
Publication of CN113434105A publication Critical patent/CN113434105A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Projection Apparatus (AREA)

Abstract

The invention discloses a screen projection control method and device, a storage medium and electronic equipment. Wherein, the method comprises the following steps: responding to a screen projection instruction of a file to be screen projected, and generating a link address corresponding to the file to be screen projected, wherein the link address is generated by adopting a server running in a user terminal; sending the link address to a screen projection terminal, wherein the screen projection terminal is used for sending a file screen projection request determined based on the link address to the user terminal; and responding to the file screen-casting request, and sending the to-be-cast screen file to the screen-casting terminal, wherein the screen-casting terminal is used for locally displaying the to-be-cast screen file. The invention solves the technical problems that the screen projection control method in the prior art has large resource information transmission amount and is easy to expose private information.

Description

Screen projection control method and device, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of screen projection, in particular to a screen projection control method and device, a storage medium and electronic equipment.
Background
With the function of the mobile phone becoming more and more abundant, in daily life or work, some files, pictures and videos on the mobile phone often need to be displayed through a larger screen; at present, a great number of mature mobile phone screen projection technologies exist, interaction between a resource file of a mobile phone end and a large screen end is achieved, and convenience is brought to life and work.
However, the screen projection scheme in the market at present almost displays the whole mobile phone screen, and such scheme not only needs to transmit a large amount of resource information, but also inevitably exposes the private information of the mobile phone user. Therefore, only certain resource files are displayed in the screen projection process, and the problem of reducing the transmission of resource information is to be solved urgently.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a screen projection control method, a screen projection control device, a storage medium and electronic equipment, and at least solves the technical problems that in the prior art, the screen projection control method is large in resource information transmission amount and private information is easy to expose.
According to an aspect of an embodiment of the present invention, there is provided a screen projection control method, including: responding to a screen projection instruction of a file to be screen projected, and generating a link address corresponding to the file to be screen projected, wherein the link address is generated by adopting a server running in a user terminal; sending the link address to a screen projection terminal, wherein the screen projection terminal is used for sending a file screen projection request determined based on the link address to the user terminal; and responding to the file screen-casting request, and sending the to-be-cast screen file to the screen-casting terminal, wherein the screen-casting terminal is used for locally displaying the to-be-cast screen file.
In an exemplary embodiment, generating a link address corresponding to a file to be screened includes: determining a screen projection application program running in the user terminal; starting the server running on the user terminal by adopting the screen projection application program; and controlling the server to generate the link address corresponding to the file to be screened.
In an exemplary embodiment, before responding to a screen-throwing instruction of a file to be screened and generating a link address corresponding to the file to be screened, the method further includes: responding to the authority setting operation of a user, and determining the screen projection authority of the user terminal to a local file, wherein the local file comprises at least one of the following: PPT files, Word files, Excel files, image files and video files; and determining the file to be screened from the local file based on the screen-screening authority.
In an exemplary embodiment, before responding to a screen-throwing instruction of a file to be screened and generating a link address corresponding to the file to be screened, the method further includes: sending broadcast information to the screen projection terminal, wherein the screen projection terminal and the user terminal are in the same local area network, the broadcast information carries identity authentication information and first IP address information of the user terminal, and the screen projection terminal is used for verifying the identity authentication information and returning response information to the user terminal based on the first IP address information when the verification is passed; and receiving the response information returned by the screen projection terminal, wherein the response information at least carries a verification result, the equipment information of the screen projection terminal and second IP address information.
In an exemplary embodiment, the sending the link address to the screen projection terminal includes: and acquiring the link address generated by the server by adopting a screen projection application program running in the user terminal, and sending the link address to the screen projection terminal based on the second IP address information.
According to another aspect of the embodiments of the present invention, there is provided another screen projection control method, including: receiving a link address sent by a user terminal, wherein the user terminal is used for responding to a screen projection instruction of a file to be screen projected and generating the link address corresponding to the file to be screen projected, and the link address is generated by adopting a server running in the user terminal; determining a file screen-casting request based on the link address, and sending the file screen-casting request to the user terminal, wherein the user terminal is used for responding to the file screen-casting request and sending the file to be screen-cast to the screen-casting terminal; and receiving the to-be-screen-projected file sent by the user terminal, and performing local screen projection display on the to-be-screen-projected file.
According to another aspect of the embodiments of the present invention, there is also provided a screen projection control apparatus, including: the generating module is used for responding to a screen projection instruction of a file to be projected and generating a link address corresponding to the file to be projected, wherein the link address is generated by adopting a server running in a user terminal; the first sending module is used for sending the link address to a screen projection terminal, wherein the screen projection terminal is used for sending a file screen projection request determined based on the link address to the user terminal; and the second sending module is used for responding to the file screen-casting request and sending the to-be-cast screen file to the screen-casting terminal, wherein the screen-casting terminal is used for locally displaying the to-be-cast screen file in a screen casting mode.
According to another aspect of the embodiments of the present invention, there is provided another screen projection control apparatus, including: the system comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a link address sent by a user terminal, the user terminal is used for responding to a screen projection instruction of a file to be screen projected and generating the link address corresponding to the file to be screen projected, and the link address is generated by adopting a server running in the user terminal; a third sending module, configured to determine a file screen-casting request based on the link address, and send the file screen-casting request to the user terminal, where the user terminal is configured to respond to the file screen-casting request and send the file to be screen-cast to the screen-casting terminal; and the display module is used for receiving the to-be-screen-projected file sent by the user terminal and carrying out local screen projection display on the to-be-screen-projected file.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor and to execute any one of the above-mentioned screen projection control methods.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program is configured to execute any one of the above screen projection control methods when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform any one of the above-mentioned screen projection control methods.
In the embodiment of the application, a link address corresponding to a file to be screen-projected is generated by responding to a screen-projecting instruction of the file to be screen-projected, wherein the link address is generated by adopting a server running in a user terminal; sending the link address to a screen projection terminal, wherein the screen projection terminal is used for sending a file screen projection request determined based on the link address to the user terminal; the method comprises the steps of responding to a file screen-casting request, and sending the to-be-cast screen file to the screen-casting terminal, wherein the screen-casting terminal is used for carrying out local screen-casting display on the to-be-cast screen file, so that the purpose of displaying only determined resource files during screen casting is achieved, the resource information transmission amount is reduced, the technical effect of private information is avoided, only a mobile phone end and the screen-casting terminal are required to work interactively, the matching and restriction of a server and other third-party technologies are reduced, and the technical problems that the resource information transmission amount is large and the private information is easy to expose in a screen-casting control method in the prior art are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a computer terminal according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for controlling screen projection according to an embodiment of the present application;
FIG. 3 is a flow chart of another screen projection control method according to an embodiment of the present application;
FIG. 4 is a flow chart of yet another method of screen projection control according to an embodiment of the present invention;
FIG. 5 is a block diagram of a projection control device according to an embodiment of the present application;
fig. 6 is a block diagram of another screen projection control device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method provided by the embodiment of the application can be executed in a computer terminal, a computer terminal or a similar operation device. Taking an example of the application running on a computer terminal, fig. 1 is a hardware structure block diagram of the computer terminal of a screen projection control method according to an embodiment of the application. As shown in fig. 1, the computer terminal may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and in an exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the screen projection control method in the embodiment of the present application, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high-speed random access memory and may also include memory, such as one or more magnetic storage devices, flash memory, or other solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a computer terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the present embodiment, a screen projection control method is provided, and fig. 2 is a flowchart of a screen projection control method according to an embodiment of the present application, where the flowchart includes the following steps:
step S202, responding to a screen projection instruction of a to-be-projected screen file, and generating a link address corresponding to the to-be-projected screen file, wherein the link address is generated by adopting a server running in a user terminal;
step S204, sending the link address to a screen projection terminal, wherein the screen projection terminal is used for sending a file screen projection request determined based on the link address to the user terminal;
and step S206, responding to the file screen-casting request, and sending the file to be screen-cast to the screen-casting terminal, wherein the screen-casting terminal is used for locally screen-casting and displaying the file to be screen-cast.
Responding to a screen projection instruction of a file to be screen projected, and generating a link address corresponding to the file to be screen projected, wherein the link address is generated by adopting a server running in a user terminal; sending the link address to a screen projection terminal, wherein the screen projection terminal is used for sending a file screen projection request determined based on the link address to the user terminal; the method comprises the steps of responding to a file screen-casting request, and sending the to-be-cast screen file to the screen-casting terminal, wherein the screen-casting terminal is used for carrying out local screen-casting display on the to-be-cast screen file, so that the purpose of displaying only determined resource files during screen casting is achieved, the resource information transmission amount is reduced, the technical effect of private information is avoided, only a mobile phone end and the screen-casting terminal are required to work interactively, the matching and restriction of a server and other third-party technologies are reduced, and the technical problems that the resource information transmission amount is large and the private information is easy to expose in a screen-casting control method in the prior art are solved.
It should be noted that the user terminal includes, but is not limited to: devices such as mobile phones and computers which can perform information interaction with the screen projection terminal; the screen projection terminal includes but is not limited to: large screen devices such as televisions, displays, and the like. The file to be projected is a file to be displayed selected by a user, such as a file of a picture, a word file, a video image and the like; and the number and the file type of the files to be projected are not limited. The link address is generated by a server running in a user terminal and corresponds to a file to be screen-cast, and the screen-casting terminal determines a file screen-casting request based on the link address.
In the embodiment of the application, the server may be a micro server running in a resident sub-thread, and the sub-thread is started internally by an APP of the user terminal through a program; the server is used for generating the link address corresponding to the file to be projected; after determining a file screen-casting request, the screen-casting terminal sends the file screen-casting request to the user terminal; and after the file screen-casting request is confirmed, the screen-casting terminal performs local screen-casting display on the file to be screen-cast.
In the prior art, the screen projection scheme of the mobile phone mostly shows the whole mobile phone screen, wherein a lot of contents are not wanted to be shown by users, and private information is inevitably leaked in the display process. The screen projection control method avoids the situation, only the determined resource file can be displayed through the scheme, and transmission of resource information is reduced; in the display process, only the interaction work of the mobile phone end and the screen projection terminal is used, and the cooperation and restriction of the server and other third-party technologies are reduced.
In an exemplary embodiment, generating a link address corresponding to a file to be screened includes:
step S302, determining a screen projection application program running in the user terminal;
step S304, starting the server running on the user terminal by adopting the screen projection application program;
step S306, controlling the server to generate the link address corresponding to the to-be-screened file.
Optionally, the screen-casting application program running in the user terminal may be a corresponding APP downloaded from a mobile phone, and a micro server running in a resident sub-thread is started in the screen-casting application program; and after the server is started, the user terminal responds to a screen projection instruction of a file to be screen projected and controls the server to generate the link address corresponding to the file to be screen projected.
As an optional embodiment, a user downloads an application program in an application store of a mobile phone or a computer, selects a screen projection option after opening the application program, and selects a to-be-projected screen file to be projected; at this time, the application program starts a server running on the user terminal, and the server can start to generate the link address corresponding to the file to be screened.
In an exemplary embodiment, before responding to a screen-throwing instruction of a file to be screened and generating a link address corresponding to the file to be screened, the method further includes:
step S402, responding to the authority setting operation of the user, and determining the screen projection authority of the user terminal to the local file, wherein the local file comprises at least one of the following: PPT files, Word files, Excel files, image files and video files;
and step S404, determining the file to be screen-cast from the local file based on the screen-casting permission.
Optionally, after the application program is downloaded or in a setting center of the user terminal, the application program may be restricted or have an authority opened; the target object of the restriction or the open right may be a specific file, for example: a file in a document may also be a specific other application, such as: the whole photo album. The above-mentioned local files are not limited to specific file types, including but not limited to: PPT files, Word files, Excel files, image files and video files.
It should be noted that the application program for screen projection can select the file to be screen projected only after the file to be screen projected has the access right. And the application program APP generates the authorized resource file obtained by the user terminal in the micro server and stores the authorized resource file by adopting a corresponding HTTP link address.
In an exemplary embodiment, before responding to a screen-throwing instruction of a file to be screened and generating a link address corresponding to the file to be screened, the method further includes:
step S502, sending broadcast information to the screen projection terminal, wherein the screen projection terminal and the user terminal are in the same local area network, the broadcast information carries the authentication information and the first IP address information of the user terminal, the screen projection terminal is used for verifying the authentication information, and when the authentication passes, response information is returned to the user terminal based on the first IP address information;
step S504, receiving the response information returned by the screen projection terminal, where the response information at least carries a verification result, the device information of the screen projection terminal, and the second IP address information.
Optionally, when the user terminal and the screen projection terminal are in the same local area network, the user terminal may click a screen projection option in the application APP, and after clicking, the user terminal sends broadcast information to the screen projection terminal; the broadcast information may be used to prompt the screen projection terminal whether to receive a screen projection application from the user terminal, and may also be used to carry device information of the user terminal to send to the screen projection terminal, where the device information of the user terminal includes but is not limited to: the authentication information and the first IP address information of the user terminal. The screen projection terminal is further used for verifying the identity verification information, and after the identity verification information passes the verification, the first IP address information is returned to the user terminal, and the returned response information can be used for prompting whether the screen projection application sent by the user terminal is successful or whether the screen projection terminal is successfully connected; the returned response information can also be used for carrying a verification result, the equipment information of the screen projection terminal and the second IP address information and sending the verification result, the equipment information of the screen projection terminal and the second IP address information to the user terminal.
In an exemplary embodiment, the sending the link address to the screen projection terminal includes:
step S602, obtaining the link address generated by the server by using the screen-casting application running in the user terminal, and sending the link address to the screen-casting terminal based on the second IP address information.
Optionally, after the user terminal is successfully connected to the screen projection terminal, the user terminal generates the link address in the server, and the user terminal sends the link address to the screen projection terminal according to the second IP address information; after receiving the file link, the screen projection terminal makes an HTTP request to the user terminal: namely, a request is sent from the user terminal to the screen projection terminal, and the stored file to be screen projected corresponding to the HTTP link address is downloaded.
In this embodiment, another screen projection control method is further provided, and fig. 3 is a flowchart of another screen projection control method according to an embodiment of the present application, where the flowchart includes the following steps:
step S702, receiving a link address sent by a user terminal, wherein the user terminal is used for responding to a screen projection instruction of a file to be screen projected and generating the link address corresponding to the file to be screen projected, and the link address is generated by adopting a server running in the user terminal;
step S704, determining a file screen-casting request based on the link address, and sending the file screen-casting request to the user terminal, wherein the user terminal is used for responding to the file screen-casting request and sending the file to be screen-cast to the screen-casting terminal;
step S706, receiving the to-be-screen-projected file sent by the user terminal, and performing local screen projection display on the to-be-screen-projected file.
By the embodiment, the link address sent by the user terminal is received, wherein the user terminal is used for responding to a screen projection instruction of the file to be screen projected and generating the link address corresponding to the file to be screen projected, and the link address is generated by adopting a server running in the user terminal; determining a file screen-casting request based on the link address, and sending the file screen-casting request to the user terminal, wherein the user terminal is used for responding to the file screen-casting request and sending the file to be screen-cast to the screen-casting terminal; the screen-casting method comprises the steps of receiving the to-be-cast screen file sent by the user terminal, and carrying out local screen-casting display on the to-be-cast screen file, so that the purposes of displaying only determined resource files and reducing the resource information transmission amount are achieved, the interaction work of only a mobile phone end and a screen-casting terminal is realized, the technical effects of matching and restriction of a server and other third-party technologies are reduced, and the technical problems that the resource information transmission amount is large and private information is easily exposed in the screen-casting control method in the prior art are solved.
Through the embodiment, in the process of displaying the user terminal file by the screen projection terminal, the interaction of only a mobile phone end and a screen projection end is realized, and the matching limit of other ends is required as little as possible; only the corresponding file is displayed, so that the private information on the mobile phone is not easily exposed, and file information display errors and excessive transmission of resource information are reduced; a lightweight scheme which can be built quickly and can realize large screen projection of files in a local area network.
As an alternative embodiment, fig. 4 is a flowchart of another screen projection control method according to an embodiment of the present invention, which includes the following specific steps:
under the same local area network, the screen projection equipment of the screen projection terminal receives broadcast information of the user terminal APP, wherein the broadcast information carries relevant information of the user terminal and screen projection application; the screen-casting terminal receives broadcast information and then feeds back self equipment IP information and the like to a user terminal APP, a micro server is started in the user terminal APP, a link address is produced, the link address comprises an HTTP link for producing a file to be screen-cast, and the link address of the file to be screen-cast is sent to the screen-casting terminal; and the screen projection terminal feeds back the request file after receiving the request file, and if the user terminal confirms the screen projection operation, the corresponding file is downloaded at the screen projection terminal and large-screen display is carried out.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method of the embodiments of the present application.
FIG. 5 is a block diagram of a projection control device according to an embodiment of the present application; as shown in fig. 5, includes: the generating module 50 is configured to respond to a screen-casting instruction of a to-be-screened file, and generate a link address corresponding to the to-be-screened file, where the link address is generated by using a server running in a user terminal; a first sending module 52, configured to send the link address to a screen projection terminal, where the screen projection terminal is configured to send a file screen projection request determined based on the link address to the user terminal; and a second sending module 54, configured to respond to the file screen-casting request, and send the to-be-screened file to the screen-casting terminal, where the screen-casting terminal is configured to perform local screen-casting display on the to-be-screened file.
It should be noted that the specific structure of the projection control device shown in fig. 5 in the present application is merely an illustration, and the projection control device in the present application may have more or less structures than the projection control device shown in fig. 5 in specific applications.
It should be noted that the above-mentioned screen projection control device corresponds to steps S202 to S206 in the embodiment, and the modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure of the above-mentioned embodiment. It should be noted that the modules described above may be implemented in a computer terminal as part of an apparatus.
Moreover, it should be noted that alternative or preferred embodiments of this embodiment may be described in relation to the specific embodiments, and are not described herein again.
According to an embodiment of the present application, there is provided another embodiment of an apparatus for implementing the above-mentioned screen projection control method, fig. 6 is a schematic structural diagram of another screen projection control apparatus according to an embodiment of the present application, and as shown in fig. 6, the above-mentioned screen projection control apparatus includes: a receiving module 60, a third transmitting module 62 and a presentation module 64, wherein:
a receiving module 60, configured to receive a link address sent by a user terminal, where the user terminal is configured to respond to a screen projection instruction of a to-be-projected-screen file, and generate a link address corresponding to the to-be-projected-screen file, where the link address is generated by using a server running in the user terminal; a third sending module 62, configured to determine a file screen-casting request based on the link address, and send the file screen-casting request to the user terminal, where the user terminal is configured to respond to the file screen-casting request and send the file to be screen-cast to the screen-casting terminal; and the display module 64 is configured to receive the to-be-screen-projected file sent by the user terminal, and perform local screen-projection display on the to-be-screen-projected file.
It should be noted that the above-mentioned screen projection control device corresponds to steps S702 to S706 in the embodiment, and the modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure of the above-mentioned embodiment. It should be noted that the modules described above may be implemented in a computer terminal as part of an apparatus.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
It should be noted that, for alternative or preferred embodiments of the present embodiment, reference may be made to the relevant description in the embodiments, and details are not described herein again.
The projection control device may further include a processor and a memory, and the projection control device and the like are stored in the memory as a program unit, and the processor executes the program unit stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory, wherein one or more than one kernel can be arranged. The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or internal memory, such as Read Only Memory (ROM) or flash memory (flash RAM), including at least one memory chip.
According to the embodiment of the application, the embodiment of the storage medium is also provided. Optionally, in this embodiment, the storage medium includes a stored program, and the device on which the storage medium is located is controlled to execute any one of the screen projection control methods when the program runs.
Optionally, in this embodiment, the storage medium may be located in any one of a group of computer terminals in a computer network, or in any one of a group of mobile terminals, and the storage medium includes a stored program.
Optionally, the program controls the device on which the storage medium is located to perform the following functions when running: responding to a screen projection instruction of a file to be screen projected, and generating a link address corresponding to the file to be screen projected, wherein the link address is generated by adopting a server running in a user terminal; sending the link address to a screen projection terminal, wherein the screen projection terminal is used for sending a file screen projection request determined based on the link address to the user terminal; and responding to the file screen-casting request, and sending the to-be-cast screen file to the screen-casting terminal, wherein the screen-casting terminal is used for locally displaying the to-be-cast screen file.
Optionally, the program controls the device on which the storage medium is located to perform the following functions when running: determining a screen projection application program running in the user terminal; starting the server running on the user terminal by adopting the screen projection application program; and controlling the server to generate the link address corresponding to the file to be screened.
Optionally, the program controls the device on which the storage medium is located to perform the following functions when running: responding to the authority setting operation of a user, and determining the screen projection authority of the user terminal to a local file, wherein the local file comprises at least one of the following: PPT files, Word files, Excel files, image files and video files; and determining the file to be screened from the local file based on the screen-screening authority.
Optionally, the program controls the device on which the storage medium is located to perform the following functions when running: sending broadcast information to the screen projection terminal, wherein the screen projection terminal and the user terminal are in the same local area network, the broadcast information carries identity authentication information and first IP address information of the user terminal, and the screen projection terminal is used for verifying the identity authentication information and returning response information to the user terminal based on the first IP address information when the verification is passed; and receiving the response information returned by the screen projection terminal, wherein the response information at least carries a verification result, the equipment information of the screen projection terminal and second IP address information.
Optionally, the program controls the device on which the storage medium is located to perform the following functions when running: and acquiring the link address generated by the server by adopting a screen projection application program running in the user terminal, and sending the link address to the screen projection terminal based on the second IP address information.
Optionally, the program controls the device on which the storage medium is located to perform the following functions when running: receiving a link address sent by a user terminal, wherein the user terminal is used for responding to a screen projection instruction of a file to be screen projected and generating the link address corresponding to the file to be screen projected, and the link address is generated by adopting a server running in the user terminal; determining a file screen-casting request based on the link address, and sending the file screen-casting request to the user terminal, wherein the user terminal is used for responding to the file screen-casting request and sending the file to be screen-cast to the screen-casting terminal; and receiving the to-be-screen-projected file sent by the user terminal, and performing local screen projection display on the to-be-screen-projected file.
According to an embodiment of the present application, there is also provided an embodiment of a processor. Optionally, in this embodiment, the processor is configured to execute a program, where the program executes any one of the screen projection control methods.
According to an embodiment of the present application, there is also provided an embodiment of an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to run the computer program to execute any one of the above-mentioned screen projection control methods.
According to an embodiment of the present application, there is also provided an embodiment of a computer program product, which is adapted to execute a program initializing the steps of the screen projection control method of any of the above.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A screen projection control method is characterized by comprising the following steps:
responding to a screen projection instruction of a file to be screen projected, and generating a link address corresponding to the file to be screen projected, wherein the link address is generated by adopting a server running in a user terminal;
sending the link address to a screen projection terminal, wherein the screen projection terminal is used for sending a file screen projection request determined based on the link address to the user terminal;
and responding to the file screen-casting request, and sending the file to be screen-cast to the screen-casting terminal, wherein the screen-casting terminal is used for locally displaying the file to be screen-cast.
2. The method of claim 1, wherein generating a link address corresponding to a file to be screened comprises:
determining a screen projection application program running in the user terminal;
starting the server running on the user terminal by adopting the screen projection application program;
and controlling the server to generate the link address corresponding to the file to be screened.
3. The method of claim 1, before generating a link address corresponding to the file to be screen-cast in response to a screen-casting instruction of the file to be screen-cast, the method further comprising:
responding to the authority setting operation of a user, and determining the screen projection authority of the user terminal to a local file, wherein the local file comprises at least one of the following: PPT files, Word files, Excel files, image files and video files;
and determining the file to be screen-projected from the local file based on the screen projection permission.
4. The method of claim 1, before generating a link address corresponding to the file to be screen-cast in response to a screen-casting instruction of the file to be screen-cast, the method further comprising:
sending broadcast information to the screen projection terminal, wherein the screen projection terminal and the user terminal are in the same local area network, the broadcast information carries identity authentication information and first IP address information of the user terminal, and the screen projection terminal is used for verifying the identity authentication information and returning response information to the user terminal based on the first IP address information when the verification is passed;
and receiving the response information returned by the screen projection terminal, wherein the response information at least carries a verification result, the equipment information of the screen projection terminal and second IP address information.
5. The method of claim 4, wherein sending the link address to a screen projection terminal comprises:
and acquiring the link address generated by the server by adopting a screen projection application program running in the user terminal, and sending the link address to the screen projection terminal based on the second IP address information.
6. A screen projection control method is characterized by comprising the following steps:
receiving a link address sent by a user terminal, wherein the user terminal is used for responding to a screen projection instruction of a file to be screen projected and generating the link address corresponding to the file to be screen projected, and the link address is generated by adopting a server running in the user terminal;
determining a file screen-casting request based on the link address, and sending the file screen-casting request to the user terminal, wherein the user terminal is used for responding to the file screen-casting request and sending the file to be screen-cast to the screen-casting terminal;
and receiving the file to be screen-projected sent by the user terminal, and performing local screen-projection display on the file to be screen-projected.
7. A screen projection control device, comprising:
the generating module is used for responding to a screen projection instruction of a file to be projected and generating a link address corresponding to the file to be projected, wherein the link address is generated by adopting a server running in a user terminal;
the first sending module is used for sending the link address to a screen projection terminal, wherein the screen projection terminal is used for sending a file screen projection request determined based on the link address to the user terminal;
and the second sending module is used for responding to the file screen-casting request and sending the file to be screen-cast to the screen-casting terminal, wherein the screen-casting terminal is used for locally displaying the file to be screen-cast.
8. A screen projection control device, comprising:
the system comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a link address sent by a user terminal, the user terminal is used for responding to a screen projection instruction of a file to be screen projected and generating the link address corresponding to the file to be screen projected, a server runs on a sub-thread of the user terminal, and the server is used for generating the link address corresponding to the file to be screen projected;
the third sending module is used for determining a file screen casting request based on the link address and sending the file screen casting request to the user terminal, wherein the user terminal is used for responding to the file screen casting request and sending the file to be subjected to screen casting to the screen casting terminal;
and the display module is used for receiving the to-be-screen-projected file sent by the user terminal and carrying out local screen projection display on the to-be-screen-projected file.
9. A storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the screen projection control method of any one of claims 1 to 6.
10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the screen projection control method according to any one of claims 1 to 6.
CN202110721978.7A 2021-06-28 2021-06-28 Screen projection control method and device, storage medium and electronic equipment Pending CN113434105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110721978.7A CN113434105A (en) 2021-06-28 2021-06-28 Screen projection control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110721978.7A CN113434105A (en) 2021-06-28 2021-06-28 Screen projection control method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN113434105A true CN113434105A (en) 2021-09-24

Family

ID=77757352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110721978.7A Pending CN113434105A (en) 2021-06-28 2021-06-28 Screen projection control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113434105A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114089891A (en) * 2021-10-28 2022-02-25 北京字节跳动网络技术有限公司 Display control method and device and electronic equipment
CN115499256A (en) * 2022-07-27 2022-12-20 深圳市酷开网络科技股份有限公司 Resource linkage display method, device and system, storage medium and electronic equipment
WO2023045687A1 (en) * 2021-09-27 2023-03-30 华为技术有限公司 Screen projection method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519397A (en) * 2013-09-29 2015-04-15 北大方正集团有限公司 Audio and video screen-projection playing method, set-top box and terminal device
CN112218151A (en) * 2019-07-11 2021-01-12 上海博泰悦臻电子设备制造有限公司 Screen projection method, device, computer storage medium and system
CN112256225A (en) * 2020-10-21 2021-01-22 深圳前海茂佳软件科技有限公司 Screen projection method, server, terminal device and computer readable storage medium
CN112565877A (en) * 2020-12-10 2021-03-26 北京奇艺世纪科技有限公司 Screen projection method and system, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519397A (en) * 2013-09-29 2015-04-15 北大方正集团有限公司 Audio and video screen-projection playing method, set-top box and terminal device
CN112218151A (en) * 2019-07-11 2021-01-12 上海博泰悦臻电子设备制造有限公司 Screen projection method, device, computer storage medium and system
CN112256225A (en) * 2020-10-21 2021-01-22 深圳前海茂佳软件科技有限公司 Screen projection method, server, terminal device and computer readable storage medium
CN112565877A (en) * 2020-12-10 2021-03-26 北京奇艺世纪科技有限公司 Screen projection method and system, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023045687A1 (en) * 2021-09-27 2023-03-30 华为技术有限公司 Screen projection method, device and system
CN114089891A (en) * 2021-10-28 2022-02-25 北京字节跳动网络技术有限公司 Display control method and device and electronic equipment
CN115499256A (en) * 2022-07-27 2022-12-20 深圳市酷开网络科技股份有限公司 Resource linkage display method, device and system, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN113434105A (en) Screen projection control method and device, storage medium and electronic equipment
CN108810123B (en) Method and apparatus for provisioning mobile cellular network services
US20190392197A1 (en) Face swap method, face swap device, host terminal and audience terminal
US9602656B2 (en) Method, apparatus and system for providing caller identification
EP3142006A2 (en) Device control method and apparatus
EP3902239A1 (en) Camera sharing method and apparatus
US20220279218A1 (en) Live broadcast method and apparatus, electronic device, and storage medium
CN104580930A (en) Group photo taking method and system
CN106385403B (en) A kind of the user account register method and relevant device of self-help print equipment
CN113179208B (en) Interaction method, interaction device and storage medium
CN114816308B (en) Information partition display method and related equipment
CN114237840A (en) Resource interaction method, device, terminal and storage medium
CN107071138B (en) Video call method and device
CN106302670B (en) A kind of picture update method, communication terminal and server
JP4592694B2 (en) Database synchronization
CN111459571A (en) Configuration method, processing method and device
CN116567342A (en) Screen projection method and device
US9307193B2 (en) Communication method and electronic device
CN115225627B (en) File transmission method, device, computer equipment and storage medium
CN105099765A (en) Data updating method and device
CN109511118A (en) WLAN access exception processing method, mobile terminal and usim card
CN104954437A (en) Situation card pushing method and system
CN112383617A (en) Method, device, terminal equipment and medium for long connection
CN107181670B (en) Picture processing method and device and storage medium
CN113613348B (en) Connection establishment method, 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