CN113259615B - 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
CN113259615B
CN113259615B CN202110365115.0A CN202110365115A CN113259615B CN 113259615 B CN113259615 B CN 113259615B CN 202110365115 A CN202110365115 A CN 202110365115A CN 113259615 B CN113259615 B CN 113259615B
Authority
CN
China
Prior art keywords
focal length
mobile terminal
panoramic
instruction
user
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.)
Active
Application number
CN202110365115.0A
Other languages
Chinese (zh)
Other versions
CN113259615A (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
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

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 focal length adjusting 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 mobile terminal screen, and acquiring the sliding distance of the user on the mobile terminal screen; the sliding distance is sent to the video networking server, so that the video networking server determines focal length scaling factors according to the sliding distance and a preset focal length, and sends a focal length adjustment instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length scaling factors in the focal length adjustment 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 focal length adjustment method, a focal length adjustment device, a terminal device, and a storage medium.
Background
Along with the continuous development of the technology of the visual networking, the visual networking conference can be started through the visual networking, and when the visual networking video conference is carried out, in order to acquire video data of a conference site, the camera is usually required to acquire conference site data, and the camera sends the acquired conference site data to the visual networking terminal for display through the visual networking server. In the prior art, a camera in a video conference of the video network can only collect conference place data with fixed resolution, conference data with different resolutions cannot be provided, and if conference data with different resolutions meeting the demands of users are obtained, the problem to be solved is urgently needed at present.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention have been made to provide a focal length adjustment method, apparatus, terminal device, and storage medium that overcome or at least partially solve the foregoing problems.
In a first aspect, an embodiment of the present invention provides a focal length adjustment method, including:
Under the condition of receiving panoramic data sent by panoramic equipment, responding to a sliding instruction input by a user on a mobile terminal screen, and acquiring the sliding distance of the user on the mobile terminal screen;
And sending the sliding distance to a video networking server, so that the video networking server determines focal length scaling factors 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 scaling factors in the focal length adjustment instruction.
Optionally, the responding to the sliding instruction input by the user on the mobile terminal screen obtains the sliding distance of the user on the mobile terminal screen, including:
Responding to a sliding instruction input by a user on the mobile terminal screen, respectively acquiring a first linear distance and a second linear distance of the sliding of the user on the mobile terminal screen, 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 the first linear distance and the second linear distance of the sliding of the user on the mobile terminal screen includes:
Responding to clicking 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;
determining a first linear distance according to the first coordinate information;
Responding to a sliding instruction input by a user on the mobile terminal screen, and acquiring second coordinate information, wherein the second coordinate information is coordinate information of a contact point between the user and the mobile terminal screen when the user leaves the mobile terminal screen;
and determining a second linear distance according to the second coordinate information.
Optionally, the internet of view server determines a focal length scaling multiple according to the sliding distance and a preset focal length, and sends a focal length adjustment instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length scaling multiple in the focal length adjustment instruction, and the method includes:
the video networking server determines the ratio of the sliding distance to a preset focal length as the focal length scaling multiple;
If the first linear distance is smaller than the second linear distance, sending a focal length amplifying instruction to the panoramic equipment so that the panoramic equipment performs focal length amplifying according to the focal length scaling multiple in the focal length amplifying 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 reduction times in the focal length reduction instruction.
Optionally, the method further comprises:
Displaying a participant terminal list in the video conference on the mobile terminal interface under the condition that the video conference is started, wherein the participant terminal list comprises terminal identifiers of video networking terminals;
And controlling the visual network server to send the panoramic data to a plurality of displays connected with the visual network terminals corresponding to the terminal identifiers for displaying.
Optionally, the method further comprises:
receiving an update instruction of a video networking terminal input by a user, wherein the update instruction comprises a terminal identifier of the video networking 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 number of interval degrees according to the number of the video networking terminals, divides the panoramic video data according to the interval degrees, sends the divided 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 device, including:
The mobile terminal comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for responding to a sliding instruction input by a user on a mobile terminal screen under the condition of receiving panoramic data sent by panoramic equipment, and acquiring the sliding distance of the user on the mobile terminal screen;
the first adjusting module is used for sending the sliding distance to the video networking server, so that the video networking server determines focal length scaling factors according to the sliding distance and a preset focal length, and sends focal length adjusting instructions to the panoramic equipment, so that the panoramic equipment can adjust the focal length according to the focal length scaling factors in the focal length adjusting instructions.
Optionally, the acquiring module is configured to:
Responding to a sliding instruction input by a user on the mobile terminal screen, respectively acquiring a first linear distance and a second linear distance of the sliding of the user on the mobile terminal screen, 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 module is configured to:
Responding to clicking 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;
determining a first linear distance according to the first coordinate information;
Responding to a sliding instruction input by a user on the mobile terminal screen, and acquiring second coordinate information, wherein the second coordinate information is coordinate information of a contact point between the user and the mobile terminal screen when the user leaves the mobile terminal screen;
and determining a second linear distance according to the second coordinate information.
Optionally, the internet of view server includes a second adjustment module, where the second adjustment module is configured to:
determining the ratio of the sliding distance to a preset focal length as the focal length scaling multiple;
If the first linear distance is smaller than the second linear distance, sending a focal length amplifying instruction to the panoramic equipment so that the panoramic equipment performs focal length amplifying according to the focal length scaling multiple in the focal length amplifying 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 reduction times in the focal length reduction instruction.
Optionally, the device further comprises a display module, wherein the display module is used for:
Displaying a participant terminal list in the video conference on the mobile terminal interface under the condition that the video conference is started, wherein the participant terminal list comprises terminal identifiers of video networking terminals;
And controlling the visual network server to send the panoramic data to a plurality of displays connected with the visual network terminals corresponding to the terminal identifiers for displaying.
Optionally, the apparatus further comprises an update module, where the update module is configured to:
receiving an update instruction of a video networking terminal input by a user, wherein the update instruction comprises a terminal identifier of the video networking 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 number of interval degrees according to the number of the video networking terminals, divides the panoramic video data according to the interval degrees, sends the divided 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 having stored therein a computer program that when executed implements the focus adjustment 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 equipment and the storage medium, under the condition that panoramic data sent by the panoramic equipment are received, a sliding instruction input by a user on a mobile terminal screen is responded, and the sliding distance of the user on the mobile terminal screen is obtained; the sliding distance is sent to the video networking server, so that the video networking server determines focal length scaling factors according to the sliding distance and a preset focal length, and sends a focal length adjustment instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length scaling factors in the focal length adjustment instruction.
Drawings
FIG. 1 is a flow chart of steps of an embodiment of a focus adjustment method of the present invention;
FIG. 2 is a flowchart illustrating steps of another embodiment of a focus adjustment method according to the present invention;
FIG. 3 is a block diagram of an embodiment of a focus adjustment system of the present invention;
FIG. 4 is a block diagram of an embodiment of a focus adjustment apparatus of the present invention;
fig. 5 is a schematic structural view of a terminal device of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
The video networking is an important milestone for network development, is a real-time network, can realize real-time transmission of high-definition videos, and pushes numerous internet applications to high-definition videos, and the high definition faces.
The video networking adopts a real-time high-definition video exchange technology, and can integrate all required services such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delay television, network teaching, live broadcast, VOD on demand, television mail, personal record (PVR), intranet (self-processing) channel, intelligent video playing control, information release and other tens of services into one system platform, and realize high-definition quality video playing through television or computer.
An embodiment of the invention provides a focal length adjusting method for adjusting focal length of panoramic equipment in a video networking conference. The execution body of the embodiment is a focal length adjusting device, which is disposed 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 adjustment method of the present invention may specifically include the steps of:
S101, under the condition that panoramic data sent by panoramic equipment is received, responding to a sliding instruction input by a user on a mobile terminal screen, and acquiring the sliding distance of the user on the mobile terminal screen;
Specifically, the embodiment of the invention comprises a mobile terminal, a streaming media server, a video networking server, panoramic equipment and a video networking terminal, wherein the mobile terminal and the panoramic equipment are respectively connected to the video networking server through the streaming media server, the video networking server is connected with the video networking terminal through a video networking protocol, each video networking terminal is respectively connected with a corresponding display, the mobile terminal at least comprises a mobile phone terminal or a tablet terminal, the panoramic equipment comprises a panoramic camera, and the panoramic camera 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 network server through the streaming media server and is connected with the chairman terminal in the video conference, so that panoramic data can be watched on the mobile terminal.
After the video conference is started, panoramic data of the conference site are collected by the panoramic equipment, the panoramic data are sent to the video networking server, the video networking server sends the panoramic data to the mobile terminal for displaying, and meanwhile, the panoramic data can be sent to the video networking terminal and displayed on a display connected with the video networking terminal.
When the user views panoramic data through the 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 the sliding distance included in the sliding instruction.
S102, sending the sliding distance to the video networking server, so that the video networking server determines focal length scaling factors 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 scaling factors in the focal length adjustment instruction.
Specifically, the mobile terminal sends the sliding distance to the video networking server through the streaming media server, the video networking server determines the focal length scaling factor of the panoramic equipment according to the sliding distance and the preset focal length, then the mobile terminal sends a focal length adjustment instruction to the panoramic equipment, the focal length adjustment instruction comprises the focal length scaling factor, and the panoramic equipment performs focal length adjustment according to the focal length scaling factor of the focal length adjustment instruction.
For example, if the sliding distance received by the mobile terminal is 6cm, the preset focal length is 3cm, and the view networking server obtains focal length scaling multiple 2 according to the sliding distance and the preset focal length, that is, 6/3=2, so that the view networking server sends a focal length adjustment instruction to the panoramic apparatus, where the focal length adjustment instruction includes 2, and thus the panoramic apparatus performs focal length adjustment according to the focal length scaling multiple 2 in the focal length adjustment instruction.
According to the focal length adjustment method provided by the embodiment of the invention, under the condition that panoramic data sent by panoramic equipment is received, a sliding instruction input by a user on a mobile terminal screen is responded, and the sliding distance of the user on the mobile terminal screen is obtained; the sliding distance is sent to the video networking server, so that the video networking server determines focal length scaling factors according to the sliding distance and a preset focal length, and sends a focal length adjustment instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length scaling factors in the focal length adjustment instruction.
The focal length adjusting method provided by the embodiment of the invention is further described in a further embodiment of the invention.
As shown in fig. 2, a flowchart illustrating steps of another embodiment of a focus adjustment method of the present invention, the focus adjustment method includes:
S201, under the condition that a 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 networking server, panoramic equipment and a video networking terminal, wherein the mobile terminal and the panoramic equipment are respectively connected to the video networking server through the streaming media server, the video networking server is connected with the video networking terminal through a video networking protocol, and each video networking terminal is respectively connected with a corresponding display.
After the video conference of the video network is started, displaying a list of each participant terminal in the video conference on a mobile terminal interface, wherein the list of participant terminals comprises terminal identifiers of each video network terminal of the participant in the conference, and the terminal identifiers can be MAC addresses of the video network terminals or video network numbers or names of each video network terminal, and are not limited in the embodiment of the invention.
S202, controlling the video networking server to send panoramic data to a plurality of displays connected with the video networking terminals corresponding to the terminal identifiers for displaying.
Specifically, the user may select a terminal identifier of the video networking terminal to display the conference video data on the mobile terminal interface, so that the video networking server sends the conference data, that is, panoramic data, to the video networking terminal corresponding to the selected terminal identifier.
S203, under the condition that panoramic data sent by panoramic equipment are received, responding to a sliding instruction input by a user on a mobile terminal screen, respectively acquiring a first linear distance and a second linear distance of sliding of the user on the mobile terminal screen, wherein the first linear distance and the second linear distance are distances at different moments;
specifically, this step S203 includes:
A1, responding to clicking 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 transmitted by the panoramic apparatus, the user clicks the mobile terminal screen, and at this time, the mobile terminal acquires first coordinate information of a contact point between the user and the mobile terminal screen, that is, (x 1, y 1);
a2, determining a first linear distance according to the first coordinate information;
specifically, the mobile terminal calculates a first linear distance s1 according to the first coordinate information, that is, (x 1, y 1), and the specific calculation method is as follows:
A3, responding to a sliding instruction input by a user on the mobile terminal screen, and acquiring second coordinate information, wherein the second coordinate information is the coordinate information of a contact point between the user and the mobile terminal screen when the user leaves the mobile terminal screen;
specifically, the user's finger slides on the mobile terminal screen, that is, the mobile terminal receives a sliding instruction input by the user, and when the user's finger leaves the mobile terminal screen, the mobile terminal acquires second coordinate information (x 2, y 2) of the contact point between the user and the mobile terminal screen.
And A4, determining a second linear distance according to the second coordinate information.
Specifically, the mobile terminal calculates a second linear distance according to the second coordinate information (x 2, y 2), and the specific calculation method is as follows:
s204, determining the sliding distance according to the first linear distance and the second linear distance.
Specifically, the mobile terminal calculates the first linear distance s1 and the second linear distance s2, that is, absolute values of (s 1-s 2), and determines the absolute values as the sliding distances.
That is, the user's finger may perform an enlargement operation or a reduction operation on the screen of the mobile terminal, and the mobile terminal calculates the sliding distance according to the different operations.
S205, the sliding distance is sent to the video networking server.
Specifically, the mobile terminal transmits the sliding distance, the first linear distance and the second linear distance together to the vision networking server, so that the vision networking server determines the focal length scaling multiple according to the sliding distance.
In the 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 (the fingers still need to press the screen at the moment), namely the user is judged to need to execute the reduction operation; two fingers touch the screen, and then the distance between the two fingers is enlarged (the fingers still need to press the screen at the moment), namely the user is judged to need to execute the enlarging operation; in the process, first coordinate information just contacted and second coordinate information of a contact point of a finger leaving the mobile terminal are respectively obtained, a first linear distance A and a second linear distance B are respectively calculated according to the first coordinate information and the second coordinate information, the sizes of the first linear distance A and the second linear distance B are compared to obtain whether a user is gesture amplification or gesture reduction, a difference value of the first linear distance A and the second linear distance B is calculated, at the moment, A, B and the difference value of the first linear distance A and the second linear distance B are sent to a video networking server, the video networking server determines a focal length scaling multiple according to the difference value data, then the focal length scaling multiple is sent to panoramic equipment, and related operation is carried out after the panoramic equipment obtains the focal length scaling multiple, so that the user can intuitively and conveniently see the picture change on a mobile screen, and meanwhile, the user can see the picture change on a display connected with the video networking terminal.
S206, the video networking server determines focal length scaling factors according to the sliding distance and the preset focal length, and sends a focal length adjustment instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length scaling factors in the focal length adjustment instruction.
Specifically, the step S206 includes:
step B1, the video networking server determines the ratio of the sliding distance to a preset focal length as a focal length scaling multiple;
Specifically, the internet of view server calculates the ratio of the sliding distance to the preset focal length, where the value of the preset focal length can be set according to the needs, and the embodiment of the invention is not specifically limited.
Step B2, if the first linear distance is smaller than the second linear distance, sending a focal length amplifying instruction to the panoramic equipment so that the panoramic equipment performs focal length amplifying according to focal length scaling times in the focal length amplifying instruction;
Specifically, the view networking server judges the focal length scaling factor, if the focal length scaling factor is greater than 1, a focal length scaling instruction is sent to the panoramic equipment, if the focal length scaling factor is not an integer, rounding is performed according to a rounding method, and if the focal length scaling factor is 1.8, rounding is performed to obtain a final focal length scaling factor of 2, and the focal length scaling factor 2 is sent to the panoramic equipment.
And B3, 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.
S207, receiving an update instruction of the video networking terminal input by a user, wherein the update instruction comprises a terminal identifier of the video networking terminal;
specifically, in the embodiment of the invention, panoramic equipment is adopted, panoramic data is acquired through the panoramic equipment, so that in order to clearly view the panoramic equipment, the panoramic data is required to be segmented by the view networking server, and then the segmented panoramic data is sent to a plurality of view networking terminals at the same meeting place with the panoramic equipment and displayed through a display connected with the view networking terminals.
When the video networking terminal in the meeting place changes, for example, the video networking terminal is reduced or the video networking terminal is increased, the video networking terminal can be increased or reduced on the mobile terminal by the user, and the mobile terminal receives an updating instruction of the video networking terminal input by the user, wherein the updating instruction comprises a terminal identification of the video networking terminal.
S208, sending an updating instruction to the 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 number of interval degrees according to the number of the video networking terminals, divides panoramic video data according to the interval degrees, sends the divided 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 networking server, and in the video conference process, the video networking terminal can be dynamically added or reduced, and as the video networking terminal and the display are in one-to-one correspondence, the number of the displays can be dynamically added or reduced, for example, 4 displays are used in the conference, and the configuration horizontal angle interval is 90 degrees; if at this point it is desired to add 2 displays, i.e. 6 displays, then the spacing per block is 60 °; if one display is removed at this time, namely 5 displays, 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 displays.
In a video conference place, except one panoramic device, the rest are video network terminals, each terminal is connected with a display, terminal numbers (mobile devices can see) which are sequentially arranged in the conference process can be manually deleted or added (terminal numbers of added terminals are input), after 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 exit the conference through a video network server, the added terminals join the conference after receiving an instruction, and at the moment, the video network server calculates the number of screen blocks and the interval number according to the number of the video network terminals at the moment, so that a brand-new panoramic conference picture is displayed, at the moment, the removed terminals are not in a display picture, and at the moment, the added terminals are not in a display picture.
FIG. 3 is a block diagram of an embodiment of a focus adjustment system of the present invention, as shown in FIG. 3, comprising: the mobile terminal, the streaming media server, the visual networking server, the panoramic equipment and the visual networking terminal are respectively connected to the visual networking server through the streaming media server, the visual networking server is connected with the visual networking terminal through a visual networking protocol, and each visual networking terminal is respectively connected with a corresponding display, wherein the mobile terminal at least comprises a mobile phone terminal or a tablet terminal, the panoramic equipment comprises a panoramic camera, and the panoramic camera can be a camera of 360-180 degrees or a camera of 120-130 degrees.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
According to the focal length adjustment method provided by the embodiment of the invention, under the condition that panoramic data sent by panoramic equipment is received, a sliding instruction input by a user on a mobile terminal screen is responded, and the sliding distance of the user on the mobile terminal screen is obtained; the sliding distance is sent to the video networking server, so that the video networking server determines focal length scaling factors according to the sliding distance and a preset focal length, and sends a focal length adjustment instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length scaling factors in the focal length adjustment instruction.
Another embodiment of the present invention provides a focal length adjusting device, configured to perform the focal length adjusting method provided in the foregoing embodiment.
Referring to fig. 4, there is shown a block diagram of an embodiment of a focus adjustment device of the present invention, which may include the following modules: an acquisition module 401 and a first adjustment module 402, wherein:
The obtaining module 401 is configured to, when panoramic data sent by the panoramic apparatus is received, obtain a sliding distance of a user on a screen of the mobile terminal in response to a sliding instruction input by the user on the screen of the mobile terminal;
The first adjustment module 402 is configured to send the sliding distance to the internet of view server, so that the internet of view server determines a focal length scaling factor according to the sliding distance and a preset focal length, and send a focal length adjustment instruction to the panoramic apparatus, so that the panoramic apparatus performs focal length adjustment according to the focal length scaling factor in the focal length adjustment instruction.
According to the focal length adjusting device provided by the embodiment of the invention, under the condition that panoramic data sent by panoramic equipment is received, a sliding instruction input by a user on a mobile terminal screen is responded, and the sliding distance of the user on the mobile terminal screen is obtained; the sliding distance is sent to the video networking server, so that the video networking server determines focal length scaling factors according to the sliding distance and a preset focal length, and sends a focal length adjustment instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length scaling factors in the focal length adjustment instruction.
In another embodiment of the present invention, the focal length adjusting device provided in the above embodiment is further described in a supplementary manner.
Optionally, the acquiring module is configured to:
responding to a sliding instruction input by a user on a mobile terminal screen, respectively acquiring a first linear distance and a second linear distance of sliding of the user on the mobile terminal screen, wherein the first linear distance and the second linear distance are distances at different moments;
The sliding distance is determined based on the first linear distance and the second linear distance.
Optionally, the acquiring module is configured to:
Responding to clicking 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;
determining a first linear distance according to the first coordinate information;
Responding to a sliding instruction input by a user on a mobile terminal screen, and acquiring second coordinate information, wherein the second coordinate information is the coordinate information of a contact point between the user and the mobile terminal screen when the user leaves the mobile terminal screen;
and determining a second linear distance according to the second coordinate information.
Optionally, the internet of view server includes a second adjustment module, where the second adjustment module is configured to:
Determining the ratio of the sliding distance to a preset focal length as a focal length scaling multiple;
If the first linear distance is smaller than the second linear distance, sending a focal length amplifying instruction to the panoramic equipment so that the panoramic equipment can amplify the focal length according to the focal length scaling multiple in the focal length amplifying 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 device further comprises a display module, wherein the display module is used for:
Displaying a participant terminal list in the video conference on a mobile terminal interface under the condition that the video conference is started, wherein the participant terminal list comprises terminal identifiers of video networking terminals;
And controlling the visual network server to send the panoramic data to a plurality of displays connected with the visual network terminals corresponding to the terminal identifiers for displaying.
Optionally, the apparatus further comprises an update module, where the update module is configured to:
receiving an update instruction of the video networking terminal input by a user, wherein the update instruction comprises a terminal identifier of the video networking terminal;
and 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 number of interval degrees according to the number of the video networking terminals, divides panoramic video data according to the interval degrees, sends the divided sub-panoramic data to the video networking terminals, and displays the sub-panoramic data on a display connected with the video networking terminals.
It should be noted that, in this embodiment, each of the embodiments may be implemented separately, or may be implemented in any combination without conflict, without limiting the application.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
According to the focal length adjusting device provided by the embodiment of the invention, under the condition that panoramic data sent by panoramic equipment is received, a sliding instruction input by a user on a mobile terminal screen is responded, and the sliding distance of the user on the mobile terminal screen is obtained; the sliding distance is sent to the video networking server, so that the video networking server determines focal length scaling factors according to the sliding distance and a preset focal length, and sends a focal length adjustment instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length scaling factors in the focal length adjustment instruction.
Still another embodiment of the present invention provides a terminal device configured to perform the focal length adjustment method provided in the foregoing embodiment.
Fig. 5 is a schematic structural view of a terminal device of the present invention, 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 focal length adjustment method provided in the above embodiment.
The terminal equipment provided by the embodiment responds to a sliding instruction input by a user on a mobile terminal screen under the condition of receiving panoramic data sent by the panoramic equipment, and acquires the sliding distance of the user on the mobile terminal screen; the sliding distance is sent to the video networking server, so that the video networking server determines focal length scaling factors according to the sliding distance and a preset focal length, and sends a focal length adjustment instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length scaling factors in the focal length adjustment instruction.
Still another embodiment of the present application provides a computer-readable storage medium having stored therein a computer program which, when executed, implements the focal length adjustment method provided in any of the above embodiments.
According to the computer-readable storage medium of the present embodiment, by responding to a sliding instruction input by a user on a mobile terminal screen in the case of receiving panoramic data transmitted by a panoramic apparatus, a sliding distance of the user on the mobile terminal screen is acquired; the sliding distance is sent to the video networking server, so that the video networking server determines focal length scaling factors according to the sliding distance and a preset focal length, and sends a focal length adjustment instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length scaling factors in the focal length adjustment instruction.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that 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 invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus 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 in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or electronic device that comprises the element.
The foregoing has described in detail a focal length adjustment method and a focal length adjustment device according to the present invention, and specific examples have been used herein to illustrate the principles and embodiments of the present invention, where the foregoing examples are provided only to assist in understanding the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (7)

1. A focal length adjustment method, 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 mobile terminal screen, and acquiring the sliding distance of the user on the mobile terminal screen;
The sliding distance is sent to a video networking server, so that the video networking server determines focal length scaling factors according to the sliding distance and a preset focal length, and sends a focal length adjustment instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length scaling factors in the focal length adjustment instruction;
the responding to the sliding instruction input by the user on the mobile terminal screen, the sliding distance of the user on the mobile terminal screen is obtained, and the method comprises the following steps:
Responding to a sliding instruction input by a user on the mobile terminal screen, respectively acquiring a first linear distance and a second linear distance of the sliding of the user on the mobile terminal screen, wherein the first linear distance and the second linear distance are distances at different moments;
determining the sliding distance according to the first linear distance and the second linear distance;
the video networking server determines focal length scaling factors according to the sliding distance and a preset focal length, and sends a focal length adjustment instruction to the panoramic equipment, so that the panoramic equipment performs focal length adjustment according to the focal length scaling factors in the focal length adjustment instruction, and the video networking server comprises:
the video networking server determines the ratio of the sliding distance to a preset focal length as the focal length scaling multiple;
If the first linear distance is smaller than the second linear distance, sending a focal length amplifying instruction to the panoramic equipment so that the panoramic equipment performs focal length amplifying according to the focal length scaling multiple in the focal length amplifying 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 reduction times in the focal length reduction instruction.
2. The method of claim 1, wherein the obtaining the first linear distance and the second linear distance of the user's sliding on the mobile terminal screen comprises:
Responding to clicking 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;
determining a first linear distance according to the first coordinate information;
Responding to a sliding instruction input by a user on the mobile terminal screen, and acquiring second coordinate information, wherein the second coordinate information is coordinate information of a contact point between the user and the mobile terminal screen when the user leaves the mobile terminal screen;
and determining a second linear distance according to the second coordinate information.
3. The method according to claim 1, wherein the method further comprises:
Displaying a participant terminal list in the video conference on the mobile terminal interface under the condition that the video conference is started, wherein the participant terminal list comprises terminal identifiers of video networking terminals;
And controlling the visual network server to send the panoramic data to a plurality of displays connected with the visual network terminals corresponding to the terminal identifiers for displaying.
4. The method according to claim 1, wherein the method further comprises:
receiving an update instruction of a video networking terminal input by a user, wherein the update instruction comprises a terminal identifier of the video networking 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 number of interval degrees according to the number of the video networking terminals, divides the panoramic video data according to the interval degrees, sends the divided sub panoramic data to the video networking terminals, and displays the sub panoramic data on a display connected with the video networking terminals.
5. A focus adjustment device, the device comprising:
The mobile terminal comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for responding to a sliding instruction input by a user on a mobile terminal screen under the condition of receiving panoramic data sent by panoramic equipment, and acquiring the sliding distance of the user on the mobile terminal screen;
The first adjusting module is used for sending the sliding distance to a video networking server so that the video networking server can determine focal length scaling factors 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 can adjust the focal length according to the focal length scaling factors in the focal length adjusting instruction;
The acquisition module is used for:
Responding to a sliding instruction input by a user on the mobile terminal screen, respectively acquiring a first linear distance and a second linear distance of the sliding of the user on the mobile terminal screen, wherein the first linear distance and the second linear distance are distances at different moments;
determining the sliding distance according to the first linear distance and the second linear distance;
The video networking server comprises a second adjusting module, wherein the second adjusting module is used for:
determining the ratio of the sliding distance to a preset focal length as the focal length scaling multiple;
If the first linear distance is smaller than the second linear distance, sending a focal length amplifying instruction to the panoramic equipment so that the panoramic equipment performs focal length amplifying according to the focal length scaling multiple in the focal length amplifying 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 reduction times in the focal length reduction instruction.
6. A terminal device, comprising: at least one processor and memory;
The memory stores a computer program; the at least one processor executing the computer program stored by the memory to implement the focus adjustment method of any one of claims 1-4.
7. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when executed, implements the focus adjustment method of any one of claims 1-4.
CN202110365115.0A 2021-04-01 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 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 2021-04-01 Focal length adjusting method and device, terminal equipment and storage medium

Publications (2)

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

Family

ID=77220295

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN113259615B (en)

Families Citing this family (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 (7)

* 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
CN111131754A (en) * 2019-12-25 2020-05-08 视联动力信息技术股份有限公司 Control split screen method and device of conference management system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200009005A (en) * 2017-05-18 2020-01-29 소니 주식회사 Imaging device, imaging method

Patent Citations (7)

* 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
CN111131754A (en) * 2019-12-25 2020-05-08 视联动力信息技术股份有限公司 Control split screen method and device of conference management system

Also Published As

Publication number Publication date
CN113259615A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
US9473741B2 (en) Teleconference system and teleconference terminal
US6380968B1 (en) Method and apparatus for controlling a remote video camera in a video conferencing system
US9851892B2 (en) Information processing device, recording medium, and information processing method
JP7209312B2 (en) Business negotiation support device, method, and computer program
EP3131257B1 (en) Program, information processing apparatus, and information processing system for use in an electronic conference system
US20140157294A1 (en) Content providing apparatus, content providing method, image displaying apparatus, and computer-readable recording medium
CN113259615B (en) Focal length adjusting method and device, terminal equipment and storage medium
CN111986601A (en) Screen display method and device, terminal equipment and storage medium
KR101581343B1 (en) Method and apparatus for providing user interface menu of multi-angle video service
WO2021095598A1 (en) Information processing device, information processing method, information processing program, terminal device, terminal device control method, and control program
CN101710944A (en) Method for controlling all-around zoom and focus of device without all-around zoom and focus function
US10764535B1 (en) Facial tracking during video calls using remote control input
CN115529485A (en) Live video processing method, device, equipment and medium
WO2016206468A1 (en) Method and device for processing video communication image
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
JP2007243605A (en) Communication equipment, communication method, and program
CN104796753A (en) TV program picture frame capturing device and system, TV program picture frame obtaining device, and method
JP6102961B2 (en) Information processing apparatus, program, and information processing method
JP2019061629A (en) Information processing apparatus, information processing method, program, display control device, display control method, program, and information processing system
JP5692204B2 (en) Information processing apparatus, program, and information processing method
JP6540732B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, PROGRAM, AND INFORMATION PROCESSING SYSTEM
CN113727054A (en) Method and device for sharing information in video conference and computer readable storage medium
KR101533837B1 (en) Mobile smart terminal with purview cursor movement function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant