CN113259615A - Focal length adjusting method and device, terminal equipment and storage medium - Google Patents

Focal length adjusting method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN113259615A
CN113259615A CN202110365115.0A CN202110365115A CN113259615A CN 113259615 A CN113259615 A CN 113259615A CN 202110365115 A CN202110365115 A CN 202110365115A CN 113259615 A CN113259615 A CN 113259615A
Authority
CN
China
Prior art keywords
focal length
mobile terminal
panoramic
user
screen
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
Application number
CN202110365115.0A
Other languages
Chinese (zh)
Other versions
CN113259615B (en
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.)
Hainan Shilian Communication Technology Co ltd
Original Assignee
Hainan Shilian Communication Technology 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 Hainan Shilian Communication Technology Co ltd filed Critical Hainan Shilian Communication Technology Co ltd
Priority to CN202110365115.0A priority Critical patent/CN113259615B/en
Priority claimed from CN202110365115.0A external-priority patent/CN113259615B/en
Publication of CN113259615A publication Critical patent/CN113259615A/en
Application granted granted Critical
Publication of CN113259615B publication Critical patent/CN113259615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides a focal length adjusting method, a focal length adjusting device, terminal equipment and a storage medium, wherein the method comprises the following steps: under the condition of receiving panoramic data sent by panoramic equipment, responding to a sliding instruction input by a user on a screen of a mobile terminal, and acquiring a sliding distance of the user on the screen of the mobile terminal; the sliding distance is sent to a video network server, so that the video network server determines a focal length zooming multiple according to the sliding distance and a preset focal length, and sends a focal length adjusting instruction to the panoramic equipment, so that the panoramic equipment adjusts the focal length according to the focal length zooming multiple in the focal length adjusting instruction.

Description

Focal length adjusting method and device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a method and an apparatus for adjusting a focal length, a terminal device, and a storage medium.
Background
With the continuous development of the video networking technology, a video networking conference can be started through the video networking, when the video networking video conference is carried out, conference site data are generally required to be collected through a camera in order to obtain video data of a conference site, and the collected conference site data are sent to a video networking terminal through a video networking server and displayed. In the prior art, a camera in a video conference of a video network can only collect conference site data with fixed resolution, conference data with different resolutions cannot be provided, and if conference data with different resolutions meeting user requirements are obtained, the problem that needs to be solved at present is urgently needed.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a focus adjustment method, apparatus, terminal device and storage medium that overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention provides a method for adjusting a focal length, where the method includes:
under the condition of receiving panoramic data sent by panoramic equipment, responding to a sliding instruction input by a user on a screen of a mobile terminal, and acquiring a sliding distance of the user on the screen of the mobile terminal;
and sending the sliding distance to a video network server so that the video network server determines a focal length zooming multiple according to the sliding distance and a preset focal length, and sending a focal length adjusting instruction to the panoramic equipment so that the panoramic equipment adjusts the focal length according to the focal length zooming multiple in the focal length adjusting instruction.
Optionally, the obtaining a sliding distance of the user on the screen of the mobile terminal in response to a sliding instruction input by the user on the screen of the mobile terminal includes:
responding to a sliding instruction input by a user on the screen of the mobile terminal, and respectively acquiring a first linear distance and a second linear distance of the sliding of the user on the screen of the mobile terminal, wherein the first linear distance and the second linear distance are distances at different moments;
and determining the sliding distance according to the first linear distance and the second linear distance.
Optionally, the acquiring a first linear distance and a second linear distance of a sliding of the user on the screen of the mobile terminal includes:
responding to a user clicking a mobile terminal screen, and acquiring first coordinate information of a contact of the user and the mobile terminal screen;
determining a first linear distance according to the first coordinate information;
acquiring second coordinate information in response to a sliding instruction input by a user on the mobile terminal screen, wherein the second coordinate information is coordinate information of a contact point of the user and the mobile terminal screen when the user leaves the mobile terminal screen;
and determining a second straight-line distance according to the second coordinate information.
Optionally, the determining, by the server of the internet of view, a focal length zoom factor according to the sliding distance and a preset focal length, and sending a focal length adjustment instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length zoom factor in the focal length adjustment instruction, includes:
the video network server determines the ratio of the sliding distance to a preset focal length as the focal length zooming multiple;
if the first linear distance is smaller than the second linear distance, sending a focal length amplification instruction to the panoramic equipment so that the panoramic equipment can carry out focal length amplification according to the focal length zooming times in the focal length amplification instruction;
and if the first linear distance is greater than the second linear distance, sending a focal length reduction instruction to the panoramic equipment so that the panoramic equipment performs focal length reduction according to the focal length scaling multiple in the focal length reduction instruction.
Optionally, the method further comprises:
under the condition that the video conference is started, displaying a participant terminal list in the video conference on the mobile terminal interface, wherein the participant terminal list comprises terminal identifications of video networking terminals;
and controlling the video network server to send the panoramic data to a plurality of displays connected with video network terminals corresponding to the terminal identifications for displaying.
Optionally, the method further comprises:
receiving an updating instruction of a video network terminal input by a user, wherein the updating instruction comprises a terminal identifier of the video network terminal;
and sending the updating instruction to a video networking server so that the video networking server determines the number of video networking terminals in a video networking conference according to the updating instruction, determines the number of screen blocks and the spacing degree according to the number of the video networking terminals, segments the panoramic video data according to the spacing degree, sends the segmented sub-panoramic data to the video networking terminals, and displays the sub-panoramic data on a display connected with the video networking terminals.
In a second aspect, an embodiment of the present invention provides a focal length adjustment apparatus, including:
the acquisition module is used for responding to a sliding instruction input by a user on a screen of the mobile terminal under the condition of receiving panoramic data sent by the panoramic equipment and acquiring the sliding distance of the user on the screen of the mobile terminal;
and the first adjusting module is used for sending the sliding distance to a video network server so that the video network server determines a focal length zooming multiple according to the sliding distance and a preset focal length and sends a focal length adjusting instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length zooming multiple in the focal length adjusting instruction.
Optionally, the obtaining module is configured to:
responding to a sliding instruction input by a user on the screen of the mobile terminal, and respectively acquiring a first linear distance and a second linear distance of the sliding of the user on the screen of the mobile terminal, wherein the first linear distance and the second linear distance are distances at different moments;
and determining the sliding distance according to the first linear distance and the second linear distance.
Optionally, the obtaining module is configured to:
responding to a user clicking a mobile terminal screen, and acquiring first coordinate information of a contact of the user and the mobile terminal screen;
determining a first linear distance according to the first coordinate information;
acquiring second coordinate information in response to a sliding instruction input by a user on the mobile terminal screen, wherein the second coordinate information is coordinate information of a contact point of the user and the mobile terminal screen when the user leaves the mobile terminal screen;
and determining a second straight-line distance according to the second coordinate information.
Optionally, the video network server comprises a second adjusting module, and the second adjusting module is configured to:
determining the ratio of the sliding distance to a preset focal length as the focal length zooming multiple;
if the first linear distance is smaller than the second linear distance, sending a focal length amplification instruction to the panoramic equipment so that the panoramic equipment can carry out focal length amplification according to the focal length zooming times in the focal length amplification instruction;
and if the first linear distance is greater than the second linear distance, sending a focal length reduction instruction to the panoramic equipment so that the panoramic equipment performs focal length reduction according to the focal length scaling multiple in the focal length reduction instruction.
Optionally, the apparatus further comprises a display module, the display module is configured to:
under the condition that the video conference is started, displaying a participant terminal list in the video conference on the mobile terminal interface, wherein the participant terminal list comprises terminal identifications of video networking terminals;
and controlling the video network server to send the panoramic data to a plurality of displays connected with video network terminals corresponding to the terminal identifications for displaying.
Optionally, the apparatus further comprises an update module, the update module is configured to:
receiving an updating instruction of a video network terminal input by a user, wherein the updating instruction comprises a terminal identifier of the video network terminal;
and sending the updating instruction to a video networking server so that the video networking server determines the number of video networking terminals in a video networking conference according to the updating instruction, determines the number of screen blocks and the spacing degree according to the number of the video networking terminals, segments the panoramic video data according to the spacing degree, sends the segmented sub-panoramic data to the video networking terminals, and displays the sub-panoramic data on a display connected with the video networking terminals.
In a third aspect, an embodiment of the present invention provides a terminal device, including: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the focus adjustment method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed, the computer program implements the focus adjusting method provided in the first aspect.
The embodiment of the invention has the following advantages:
according to the focal length adjusting method, the focal length adjusting device, the terminal device and the storage medium, under the condition that panoramic data sent by the panoramic device are received, the sliding distance of a user on a screen of a mobile terminal is obtained in response to a sliding instruction input by the user on the screen of the mobile terminal; the sliding distance is sent to a video network server, so that the video network server determines a focal length zooming multiple according to the sliding distance and a preset focal length, and sends a focal length adjusting instruction to the panoramic equipment, so that the panoramic equipment adjusts the focal length according to the focal length zooming multiple in the focal length adjusting instruction.
Drawings
FIG. 1 is a flowchart illustrating the steps of an embodiment of a focus adjustment method according to the present invention;
FIG. 2 is a flow chart of steps of another embodiment of a focus adjustment method of the present invention;
FIG. 3 is a block diagram of a focus adjustment system according to an embodiment of the present invention;
FIG. 4 is a block diagram of a focus adjustment apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
An embodiment of the present invention provides a focal length adjustment method, which is used for adjusting a focal length of a panoramic device in a video networking conference. The execution main body of the embodiment is a focal length adjustment device, and is arranged on a mobile terminal, wherein the electronic device may be a tablet terminal, a mobile phone terminal, or the like.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a focus adjusting method according to the present invention is shown, where the method may specifically include the following steps:
s101, under the condition of receiving panoramic data sent by panoramic equipment, responding to a sliding instruction input by a user on a screen of a mobile terminal, and acquiring a sliding distance of the user on the screen of the mobile terminal;
specifically, the embodiment of the invention comprises a mobile terminal, a streaming media server, a video network server, a panoramic device and a video network terminal, wherein the mobile terminal and the panoramic device are respectively connected to the video network server through the streaming media server, the video network server is connected with the video network terminal through a video network protocol, and each video network terminal is respectively connected with a corresponding display, wherein the mobile terminal at least comprises a mobile phone terminal or a tablet terminal, and the panoramic device comprises a panoramic camera which can be a camera of 360-180 degrees or a camera of 120-130 degrees.
After the video conference of the video network is started, the mobile terminal is connected with the video server through the streaming media server and is connected with a chairman terminal in the video conference, so that panoramic data can be watched on the mobile terminal.
After the video conference is started, panoramic equipment collects panoramic data of a conference site, the panoramic equipment sends the panoramic data to a video network server, the video network server sends the panoramic data to a mobile terminal to be displayed, and meanwhile, the panoramic data can also be sent to the video network terminal and displayed on a display connected with the video network terminal.
When a user views panoramic data through a mobile terminal, if the user wants to acquire panoramic data with different resolutions, the user can input a sliding instruction on a screen of the mobile terminal, and the mobile terminal acquires a sliding distance included in the sliding instruction.
And S102, sending the sliding distance to a video network server so that the video network server determines a focal length zooming multiple according to the sliding distance and a preset focal length, and sending a focal length adjusting instruction to the panoramic equipment so that the panoramic equipment adjusts the focal length according to the focal length zooming multiple in the focal length adjusting instruction.
Specifically, the mobile terminal sends the sliding distance to a video network server through a streaming media server, the video network server determines the focal length zooming multiple of the panoramic equipment according to the sliding distance and a preset focal length, then the mobile terminal sends a focal length adjusting instruction to the panoramic equipment, the focal length adjusting instruction comprises the focal length zooming multiple, and the panoramic equipment carries out focal length adjustment according to the focal length zooming multiple of the focal length adjusting instruction.
Exemplarily, if the sliding distance received by the mobile terminal is 6cm and the preset focal length is 3cm, the network of vision server obtains a focal length zoom factor 2 according to the sliding distance and the preset focal length, that is, 6/3 is 2, therefore, the network of vision server sends a focal length adjustment instruction to the panoramic equipment, where the focal length adjustment instruction includes 2, so that the panoramic equipment performs focal length adjustment according to the focal length zoom factor 2 in the focal length adjustment instruction.
According to the focal length adjusting method provided by the embodiment of the invention, under the condition of receiving panoramic data sent by panoramic equipment, the sliding distance of a user on a screen of a mobile terminal is obtained in response to a sliding instruction input by the user on the screen of the mobile terminal; the sliding distance is sent to a video network server, so that the video network server determines a focal length zooming multiple according to the sliding distance and a preset focal length, and sends a focal length adjusting instruction to the panoramic equipment, so that the panoramic equipment adjusts the focal length according to the focal length zooming multiple in the focal length adjusting instruction.
The present invention further provides a supplementary explanation of the method for adjusting a focal length provided in the above embodiment.
As shown in fig. 2, a flowchart illustrating steps of another embodiment of a focus adjustment method of the present invention is shown, the focus adjustment method comprising:
s201, under the condition that the video conference is started, displaying a participant terminal list in the video conference on a mobile terminal interface, wherein the participant terminal list comprises terminal identifications of video networking terminals;
specifically, the embodiment of the invention comprises a mobile terminal, a streaming media server, a video network server, a panoramic device and a video network terminal, wherein the mobile terminal and the panoramic device are respectively connected to the video network server through the streaming media server, the video network server is connected with the video network terminal through a video network protocol, and each video network terminal is respectively connected with a corresponding display.
After the video conference is started, displaying each participating terminal list in the video conference on a mobile terminal interface, where the participating terminal list includes terminal identifiers of each video terminal participating in the video conference, and the terminal identifiers may be MAC addresses of the video terminals, or video numbers, or names of each video terminal, which is not limited in the embodiment of the present invention.
S202, controlling the video network server to send the panoramic data to a plurality of displays connected with video network terminals corresponding to the terminal identifications to be displayed.
Specifically, the user may select, on the mobile terminal interface, a terminal identifier of the video networking terminal that is to display the conference video data, so that the video networking server may send the conference data, that is, the panoramic data, to the video networking terminal corresponding to the selected terminal identifier.
S203, under the condition of receiving panoramic data sent by panoramic equipment, responding to a sliding instruction input by a user on a screen of the mobile terminal, and respectively acquiring a first linear distance and a second linear distance of the user sliding on the screen of the mobile terminal, wherein the first linear distance and the second linear distance are distances at different moments;
specifically, the step S203 includes:
step A1, responding to the click of a mobile terminal screen by a user, and acquiring first coordinate information of a contact point between the user and the mobile terminal screen;
specifically, in the case of receiving panoramic data sent by a panoramic device, a user clicks a screen of a mobile terminal, and at this time, the mobile terminal acquires first coordinate information of a contact point of the user and the screen of the mobile terminal, that is, (x1, y 1);
step A2, determining a first linear distance according to the first coordinate information;
specifically, the mobile terminal calculates the first linear distance s1 according to the first coordinate information, i.e., (x1, y1), and the specific calculation method is as follows:
Figure BDA0003004195140000081
step A3, responding to a sliding instruction input by a user on the screen of the mobile terminal, and acquiring second coordinate information, wherein the second coordinate information is coordinate information of a contact point of the user and the screen of the mobile terminal when the user leaves the screen of the mobile terminal;
specifically, the user finger slides on the screen of the mobile terminal, that is, the mobile terminal receives a sliding instruction input by the user, and when the user finger leaves the screen of the mobile terminal, the mobile terminal acquires second coordinate information of a contact point of the user with the screen of the mobile terminal (x2, y 2).
And A4, determining a second straight-line distance according to the second coordinate information.
Specifically, the mobile terminal calculates the second linear distance according to the second coordinate information (x2, y2), and the specific calculation method is as follows:
Figure BDA0003004195140000091
and S204, determining the sliding distance according to the first straight-line distance and the second straight-line distance.
Specifically, the mobile terminal calculates the first and second linear distances s1 and s2, i.e., the absolute values of (s1-s2), which are determined as the sliding distances.
That is, the user's finger may perform an enlarging operation or a reducing operation on the screen of the mobile terminal, and the mobile terminal calculates the sliding distance according to the different operations.
And S205, sending the sliding distance to a video network server.
Specifically, the mobile terminal sends the sliding distance, the first straight-line distance and the second straight-line distance to the video network server together, so that the video network server determines the focal length zooming times according to the sliding distance.
Exemplarily, in the picture display process of the mobile terminal, the screen can be directly touched by two fingers on the mobile terminal, and then the distance between the two fingers is reduced (at this time, the fingers need to press the screen), that is, it is determined that the user needs to execute the reduction operation; the two fingers touch the screen, and then the distance between the two fingers is enlarged (at the moment, the fingers need to press the screen), namely, the fact that the user needs to execute the enlarging operation is judged; in the process, first coordinate information which is just contacted with the mobile terminal and second coordinate information of a contact point of a finger which leaves the mobile terminal are respectively obtained, a first straight line distance A and a second straight line distance B are respectively calculated according to the first coordinate information and the second coordinate information, the sizes of A and B are compared to obtain whether the user is gesture enlargement or gesture reduction, the difference value of A and B is calculated, A, B and the difference value are sent to a video network server at the moment, the video network server determines a focal length zooming multiple according to the difference value data, then the focal length zooming multiple is sent to panoramic equipment, and the panoramic equipment carries out related operation after obtaining the focal length zooming multiple.
S206, the server of the video network determines a focal length zooming multiple according to the sliding distance and the preset focal length, and sends a focal length adjusting instruction to the panoramic equipment, so that the panoramic equipment can adjust the focal length according to the focal length zooming multiple in the focal length adjusting instruction.
Specifically, the step S206 includes:
step B1, the ratio of the sliding distance to the preset focal length is determined as the focal length zoom factor by the video network server;
specifically, the ratio of the sliding distance to the preset focal length is calculated by the video network server, wherein the value of the preset focal length may be set by itself according to the requirement, which is not specifically limited in the embodiment of the present invention.
Step B2, if the first straight-line distance is smaller than the second straight-line distance, sending a focal length amplification instruction to the panoramic equipment so that the panoramic equipment can carry out focal length amplification according to the focal length zoom factor in the focal length amplification instruction;
specifically, the video network server judges the focal length zoom factor, if the focal length zoom factor is greater than 1, sends a focal length zoom instruction to the panoramic equipment, and if the focal length zoom factor is not an integer, performs rounding according to a rounding method, for example, if the focal length zoom factor is 1.8, performs rounding to obtain the final focal length zoom factor of 2, and sends the focal length zoom factor 2 to the panoramic equipment.
And step B3, if the first straight-line distance is greater than the second straight-line distance, sending a focal length reduction instruction to the panoramic equipment so that the panoramic equipment can carry out focal length reduction according to the focal length scaling multiple in the focal length reduction instruction.
S207, receiving an updating instruction of the video network terminal input by a user, wherein the updating instruction comprises a terminal identifier of the video network terminal;
specifically, in the embodiment of the present invention, a panoramic device is used, panoramic data is collected by the panoramic device, and in order to clearly view the panoramic device, the internet of vision server needs to divide the panoramic data, then send the data to a plurality of terminals of the internet of vision in the same meeting place as the panoramic device, and display the data through a display connected to the terminals of the internet of vision.
When the video network terminals in the meeting place change, for example, the video network terminals decrease or the video network terminals increase, at this time, the user may increase or decrease the video network terminals on the mobile terminal, and the mobile terminal receives the update instruction of the video network terminals input by the user, where the update instruction includes the terminal identification of the video network terminals.
And S208, sending the updating instruction to the video networking server so that the video networking server determines the number of video networking terminals in the video networking conference according to the updating instruction, determines the number of screen blocks and the spacing degree according to the number of the video networking terminals, segments the panoramic video data according to the spacing degree, sends the segmented sub-panoramic data to the video networking terminals, and displays the sub-panoramic data on a display connected with the video networking terminals.
Specifically, the mobile terminal sends the update instruction to the video network server, and the video network terminal can be dynamically added or reduced in the process of video conference, and because the video network terminal and the display are in one-to-one correspondence, the number of displays can be dynamically added or reduced, for example, 4 displays are used in a meeting, and the configuration horizontal angle interval is 90 degrees; if it is desired to add 2 displays, i.e. 6 displays, then the spacing between each block is 60 °; if one display, namely 5 displays, is removed at the moment, each interval is 72 degrees, so that panoramic pictures with different splicing effects can be seen according to the number of the displays and the requirements of the users.
The operation is as follows, in the video network panoramic conference, in a video conference meeting place, except one panoramic device, the other terminals are all video network terminals and have unique device numbers, each terminal is connected with a display, terminal numbers (which can be seen by mobile devices) arranged in sequence can be seen in the conference process, some video network terminals can be deleted manually, or some video network terminals (terminal numbers of adding terminals are input), after the deletion or addition is completed, a reset button is clicked, namely when a user clicks the reset button on a mobile terminal interface, the deleted terminal numbers and the added terminal numbers, the video network server receives an instruction, the deleted terminal exits the conference, the added terminal joins the conference, and at the moment, the video network server calculates the number of screen blocks and the interval degree according to the number of the video network terminals, therefore, a brand-new panoramic conference picture is displayed, the removed terminal is not in the picture display state at the moment, and the added terminal displays the picture.
Fig. 3 is a block diagram of a focus adjustment system according to an embodiment of the present invention, and as shown in fig. 3, the focus adjustment system includes: the mobile terminal, the streaming media server, the video network server, panorama equipment and video network terminal, mobile terminal and panorama equipment are connected to the video network server through the streaming media server respectively, the video network server passes through the video network agreement and links to each other with the video network terminal, and each video network terminal links to each other with the display that corresponds respectively, wherein, mobile terminal includes cell-phone terminal or panel terminal at least, panorama equipment includes the panorama camera, this panorama camera can be 360 to 180 camera, also can be 120 to 130 camera.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
According to the focal length adjusting method provided by the embodiment of the invention, under the condition of receiving panoramic data sent by panoramic equipment, the sliding distance of a user on a screen of a mobile terminal is obtained in response to a sliding instruction input by the user on the screen of the mobile terminal; the sliding distance is sent to a video network server, so that the video network server determines a focal length zooming multiple according to the sliding distance and a preset focal length, and sends a focal length adjusting instruction to the panoramic equipment, so that the panoramic equipment adjusts the focal length according to the focal length zooming multiple in the focal length adjusting instruction.
Another embodiment of the present invention provides a focal length adjusting apparatus, configured to perform the focal length adjusting method provided in the foregoing embodiment.
Referring to fig. 4, a block diagram of a focal length adjusting apparatus according to an embodiment of the present invention is shown, and the apparatus may specifically include the following modules: an obtaining module 401 and a first adjusting module 402, wherein:
the obtaining module 401 is configured to, in a case that panoramic data sent by the panoramic apparatus is received, respond to a sliding instruction input by a user on a mobile terminal screen, and obtain a sliding distance of the user on the mobile terminal screen;
the first adjusting module 402 is configured to send the sliding distance to a video network server, so that the video network server determines a focal length zoom factor according to the sliding distance and a preset focal length, and sends a focal length adjusting instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length zoom factor in the focal length adjusting instruction.
The focal length adjusting device provided by the embodiment of the invention responds to a sliding instruction input by a user on a screen of a mobile terminal under the condition of receiving panoramic data sent by panoramic equipment, and obtains the sliding distance of the user on the screen of the mobile terminal; the sliding distance is sent to a video network server, so that the video network server determines a focal length zooming multiple according to the sliding distance and a preset focal length, and sends a focal length adjusting instruction to the panoramic equipment, so that the panoramic equipment adjusts the focal length according to the focal length zooming multiple in the focal length adjusting instruction.
The present invention further provides a supplementary explanation of the focal length adjusting device provided in the above embodiment.
Optionally, the obtaining module is configured to:
responding to a sliding instruction input by a user on a screen of the mobile terminal, and respectively acquiring a first linear distance and a second linear distance of the sliding of the user on the screen of the mobile terminal, wherein the first linear distance and the second linear distance are distances at different moments;
and determining the sliding distance according to the first straight-line distance and the second straight-line distance.
Optionally, the obtaining module is configured to:
responding to a user clicking a mobile terminal screen, and acquiring first coordinate information of a contact of the user and the mobile terminal screen;
determining a first linear distance according to the first coordinate information;
acquiring second coordinate information in response to a sliding instruction input by a user on the screen of the mobile terminal, wherein the second coordinate information is coordinate information of a contact point between the user and the screen of the mobile terminal when the user leaves the screen of the mobile terminal;
and determining a second straight-line distance according to the second coordinate information.
Optionally, the video network server comprises a second adjusting module, and the second adjusting module is configured to:
determining the ratio of the sliding distance to a preset focal length as a focal length zooming multiple;
if the first linear distance is smaller than the second linear distance, sending a focal length amplification instruction to the panoramic equipment so that the panoramic equipment can carry out focal length amplification according to the focal length zoom factor in the focal length amplification instruction;
and if the first linear distance is greater than the second linear distance, sending a focal length reduction instruction to the panoramic equipment so that the panoramic equipment can reduce the focal length according to the focal length scaling times in the focal length reduction instruction.
Optionally, the apparatus further comprises a display module, the display module is configured to:
under the condition that the video conference is started, displaying a participant terminal list in the video conference on a mobile terminal interface, wherein the participant terminal list comprises terminal identifications of video networking terminals;
and controlling the video network server to send the panoramic data to a plurality of displays connected with video network terminals corresponding to the terminal identifications for displaying.
Optionally, the apparatus further comprises an update module, the update module is configured to:
receiving an updating instruction of a video network terminal input by a user, wherein the updating instruction comprises a terminal identifier of the video network terminal;
and sending the updating instruction to a video network server so that the video network server determines the number of video network terminals in the video network conference according to the updating instruction, determines the number of screen blocks and the spacing degree according to the number of the video network terminals, segments the panoramic video data according to the spacing degree, sends the segmented sub-panoramic data to the video network terminals, and displays the sub-panoramic data on a display connected with the video network terminals.
It should be noted that the respective implementable modes in the present embodiment may be implemented individually, or may be implemented in combination in any combination without conflict, and the present application is not limited thereto.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The focal length adjusting device provided by the embodiment of the invention responds to a sliding instruction input by a user on a screen of a mobile terminal under the condition of receiving panoramic data sent by panoramic equipment, and obtains the sliding distance of the user on the screen of the mobile terminal; the sliding distance is sent to a video network server, so that the video network server determines a focal length zooming multiple according to the sliding distance and a preset focal length, and sends a focal length adjusting instruction to the panoramic equipment, so that the panoramic equipment adjusts the focal length according to the focal length zooming multiple in the focal length adjusting instruction.
Still another embodiment of the present invention provides a terminal device, configured to execute the focal length adjustment method provided in the foregoing embodiment.
Fig. 5 is a schematic structural diagram of a terminal device of the present invention, and as shown in fig. 5, the terminal device includes: at least one processor 501 and memory 502;
the memory stores a computer program; at least one processor executes the computer program stored in the memory to implement the focus adjustment method provided by the above-mentioned embodiments.
The terminal device provided by this embodiment obtains a sliding distance of a user on a screen of a mobile terminal by responding to a sliding instruction input by the user on the screen of the mobile terminal in the case of receiving panoramic data sent by a panoramic device; the sliding distance is sent to a video network server, so that the video network server determines a focal length zooming multiple according to the sliding distance and a preset focal length, and sends a focal length adjusting instruction to the panoramic equipment, so that the panoramic equipment adjusts the focal length according to the focal length zooming multiple in the focal length adjusting instruction.
Yet another embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed, implements the focus adjustment method provided in any of the above embodiments.
According to the computer-readable storage medium of the embodiment, the sliding distance of the user on the screen of the mobile terminal is acquired by responding to the sliding instruction input by the user on the screen of the mobile terminal under the condition of receiving the panoramic data sent by the panoramic equipment; the sliding distance is sent to a video network server, so that the video network server determines a focal length zooming multiple according to the sliding distance and a preset focal length, and sends a focal length adjusting instruction to the panoramic equipment, so that the panoramic equipment adjusts the focal length according to the focal length zooming multiple in the focal length adjusting instruction.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, electronic devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing electronic device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing electronic device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing electronic devices to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing electronic device to cause a series of operational steps to be performed on the computer or other programmable electronic device to produce a computer implemented process such that the instructions which execute on the computer or other programmable electronic device provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be 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 electronic device 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 electronic device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or electronic device that comprises the element.
The above detailed description is provided for a focus adjusting method and a focus adjusting apparatus, and the principle and the implementation of the present invention are explained in the present document by applying specific examples, and the description of the above examples is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method of focal length adjustment, the method comprising:
under the condition of receiving panoramic data sent by panoramic equipment, responding to a sliding instruction input by a user on a screen of a mobile terminal, and acquiring a sliding distance of the user on the screen of the mobile terminal;
and sending the sliding distance to a video network server so that the video network server determines a focal length zooming multiple according to the sliding distance and a preset focal length, and sending a focal length adjusting instruction to the panoramic equipment so that the panoramic equipment adjusts the focal length according to the focal length zooming multiple in the focal length adjusting instruction.
2. The method according to claim 1, wherein the obtaining of the sliding distance of the user on the screen of the mobile terminal in response to the sliding instruction input by the user on the screen of the mobile terminal comprises:
responding to a sliding instruction input by a user on the screen of the mobile terminal, and respectively acquiring a first linear distance and a second linear distance of the sliding of the user on the screen of the mobile terminal, wherein the first linear distance and the second linear distance are distances at different moments;
and determining the sliding distance according to the first linear distance and the second linear distance.
3. The method according to claim 2, wherein the obtaining the first linear distance and the second linear distance of the sliding of the user on the screen of the mobile terminal comprises:
responding to a user clicking a mobile terminal screen, and acquiring first coordinate information of a contact of the user and the mobile terminal screen;
determining a first linear distance according to the first coordinate information;
acquiring second coordinate information in response to a sliding instruction input by a user on the mobile terminal screen, wherein the second coordinate information is coordinate information of a contact point of the user and the mobile terminal screen when the user leaves the mobile terminal screen;
and determining a second straight-line distance according to the second coordinate information.
4. The method of claim 3, wherein the internet of things server determines a focal length zoom factor according to the sliding distance and a preset focal length, and sends a focal length adjustment instruction to the panoramic apparatus, so that the panoramic apparatus performs focal length adjustment according to the focal length zoom factor in the focal length adjustment instruction, including:
the video network server determines the ratio of the sliding distance to a preset focal length as the focal length zooming multiple;
if the first linear distance is smaller than the second linear distance, sending a focal length amplification instruction to the panoramic equipment so that the panoramic equipment can carry out focal length amplification according to the focal length zooming times in the focal length amplification instruction;
and if the first linear distance is greater than the second linear distance, sending a focal length reduction instruction to the panoramic equipment so that the panoramic equipment performs focal length reduction according to the focal length scaling multiple in the focal length reduction instruction.
5. The method of claim 1, further comprising:
under the condition that the video conference is started, displaying a participant terminal list in the video conference on the mobile terminal interface, wherein the participant terminal list comprises terminal identifications of video networking terminals;
and controlling the video network server to send the panoramic data to a plurality of displays connected with video network terminals corresponding to the terminal identifications for displaying.
6. The method of claim 1, further comprising:
receiving an updating instruction of a video network terminal input by a user, wherein the updating instruction comprises a terminal identifier of the video network terminal;
and sending the updating instruction to a video networking server so that the video networking server determines the number of video networking terminals in a video networking conference according to the updating instruction, determines the number of screen blocks and the spacing degree according to the number of the video networking terminals, segments the panoramic video data according to the spacing degree, sends the segmented sub-panoramic data to the video networking terminals, and displays the sub-panoramic data on a display connected with the video networking terminals.
7. A focus adjustment apparatus, comprising:
the acquisition module is used for responding to a sliding instruction input by a user on a screen of the mobile terminal under the condition of receiving panoramic data sent by the panoramic equipment and acquiring the sliding distance of the user on the screen of the mobile terminal;
and the first adjusting module is used for sending the sliding distance to a video network server so that the video network server determines a focal length zooming multiple according to the sliding distance and a preset focal length and sends a focal length adjusting instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length zooming multiple in the focal length adjusting instruction.
8. The apparatus of claim 7, wherein the obtaining module is configured to:
responding to a sliding instruction input by a user on the screen of the mobile terminal, and respectively acquiring a first linear distance and a second linear distance of the sliding of the user on the screen of the mobile terminal, wherein the first linear distance and the second linear distance are distances at different moments;
and determining the sliding distance according to the first linear distance and the second linear distance.
9. A terminal device, comprising: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the memory-stored computer program to implement the focus adjustment method of any of claims 1-6.
10. A computer-readable storage medium, characterized in that a computer program is stored therein, which when executed implements the focus adjustment method of any one of claims 1-6.
CN202110365115.0A 2021-04-01 Focal length adjusting method and device, terminal equipment and storage medium Active CN113259615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110365115.0A CN113259615B (en) 2021-04-01 Focal length adjusting method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110365115.0A CN113259615B (en) 2021-04-01 Focal length adjusting method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113259615A true CN113259615A (en) 2021-08-13
CN113259615B CN113259615B (en) 2024-05-28

Family

ID=

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117082345A (en) * 2023-10-17 2023-11-17 智广海联(天津)大数据技术有限公司 PTZ camera frame selection screen control holder method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324329A (en) * 2012-03-23 2013-09-25 联想(北京)有限公司 Touch control method and device
CN103729128A (en) * 2012-10-10 2014-04-16 腾讯科技(深圳)有限公司 Method and device for transforming focal length of camera shooting equipment
CN104486543A (en) * 2014-12-09 2015-04-01 北京时代沃林科技发展有限公司 Equipment and method for controlling cloud deck camera by intelligent terminal in touch manner
CN105554364A (en) * 2015-07-30 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Image processing method and terminal
CN107426524A (en) * 2017-06-06 2017-12-01 微鲸科技有限公司 A kind of method and apparatus of the Multi-Party Conference based on virtual panoramic
CN110661974A (en) * 2019-09-30 2020-01-07 联想(北京)有限公司 Image acquisition method and device and electronic equipment
US20200084375A1 (en) * 2017-05-18 2020-03-12 Sony Corporation Imaging apparatus and imaging method
CN111131754A (en) * 2019-12-25 2020-05-08 视联动力信息技术股份有限公司 Control split screen method and device of conference management system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324329A (en) * 2012-03-23 2013-09-25 联想(北京)有限公司 Touch control method and device
CN103729128A (en) * 2012-10-10 2014-04-16 腾讯科技(深圳)有限公司 Method and device for transforming focal length of camera shooting equipment
CN104486543A (en) * 2014-12-09 2015-04-01 北京时代沃林科技发展有限公司 Equipment and method for controlling cloud deck camera by intelligent terminal in touch manner
CN105554364A (en) * 2015-07-30 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Image processing method and terminal
US20200084375A1 (en) * 2017-05-18 2020-03-12 Sony Corporation Imaging apparatus and imaging method
CN107426524A (en) * 2017-06-06 2017-12-01 微鲸科技有限公司 A kind of method and apparatus of the Multi-Party Conference based on virtual panoramic
CN110661974A (en) * 2019-09-30 2020-01-07 联想(北京)有限公司 Image acquisition method and device and electronic equipment
CN111131754A (en) * 2019-12-25 2020-05-08 视联动力信息技术股份有限公司 Control split screen method and device of conference management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117082345A (en) * 2023-10-17 2023-11-17 智广海联(天津)大数据技术有限公司 PTZ camera frame selection screen control holder method and device

Similar Documents

Publication Publication Date Title
US10650244B2 (en) Video conferencing system and related methods
AU2013236158B2 (en) Teleconference system and teleconference terminal
JP7209312B2 (en) Business negotiation support device, method, and computer program
JP2004064784A (en) Method for providing multi-resolution video to plural users, computer program product, and apparatus
US20180091727A1 (en) Systems and methods for gesture-based control of equipment in video communication
EP3131257A1 (en) Program, information processing apparatus, and information processing system for use in an electronic conference system
US11871137B2 (en) Method and apparatus for converting picture into video, and device and storage medium
CN111935442A (en) Information display method and device and electronic equipment
CN111986601A (en) Screen display method and device, terminal equipment and storage medium
CN111105521A (en) Data reading method and device
US10764535B1 (en) Facial tracking during video calls using remote control input
CN113259615B (en) Focal length adjusting method and device, terminal equipment and storage medium
CN113259615A (en) Focal length adjusting method and device, terminal equipment and storage medium
WO2021095598A1 (en) Information processing device, information processing method, information processing program, terminal device, terminal device control method, and control program
CN105335124A (en) Image processing method and system based on multi-screen interaction
CN115529485A (en) Live video processing method, device, equipment and medium
CN104469249A (en) Information processing method and first electronic equipment
CN113259314A (en) Split screen display method and device, terminal equipment and storage medium
CN112463089A (en) Cross-terminal picture synchronous zooming method and device, electronic medium and storage medium
JP6102961B2 (en) Information processing apparatus, program, and information processing method
JP6540732B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, PROGRAM, AND INFORMATION PROCESSING SYSTEM
JP5692204B2 (en) Information processing apparatus, program, and information processing method
US7801528B2 (en) Method of changing standby order of waiting mobile terminals in mobile terminal
CN117424975A (en) Video conference management method, device, equipment and storage medium
CN115019023A (en) Image processing method and device, storage medium and electronic equipment

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