CN105373308A - Picture processing method and mounted equipment - Google Patents

Picture processing method and mounted equipment Download PDF

Info

Publication number
CN105373308A
CN105373308A CN201510754983.2A CN201510754983A CN105373308A CN 105373308 A CN105373308 A CN 105373308A CN 201510754983 A CN201510754983 A CN 201510754983A CN 105373308 A CN105373308 A CN 105373308A
Authority
CN
China
Prior art keywords
picture
display screen
original picture
original
preview
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
CN201510754983.2A
Other languages
Chinese (zh)
Other versions
CN105373308B (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.)
Shape Hill Technology (shenzhen) Co Ltd
Original Assignee
Shape Hill Technology (shenzhen) 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 Shape Hill Technology (shenzhen) Co Ltd filed Critical Shape Hill Technology (shenzhen) Co Ltd
Priority to CN201510754983.2A priority Critical patent/CN105373308B/en
Publication of CN105373308A publication Critical patent/CN105373308A/en
Application granted granted Critical
Publication of CN105373308B publication Critical patent/CN105373308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a picture processing method and mounted equipment. The picture processing method comprises the following steps: receiving a picture display instruction carrying an original picture; obtaining the bottom edge length value and the side edge height value of a display screen of the mounted equipment and the length value and the width value of the original picture; determining a reference position relationship of the original picture in the display screen according to the bottom edge length value and the side edge height value of the display screen and the length value and the width value of the original picture; adjusting the original picture according to a preset picture adjusting strategy so as to obtain a picture to be displayed; and displaying the picture to be displayed in the display screen according to the reference position relationship of the original picture in the display screen. By means of the technical scheme provided in the embodiment of the invention, the utilization rate of the display screen of the mounted equipment is improved easily; and thus, the user experience is improved.

Description

Picture processing method and mounting equipment
Technical Field
The invention relates to the technical field of content sharing, in particular to a picture processing method and mounting equipment.
Background
With the development of microelectronic technology, a content sharing system composed of a terminal device, an application server, and a mount device, for example, a large screen display of a built-in set-top box in a company or a hotel lobby, a projector display system in a conference room, etc., is increasingly powerful, and a user can conveniently push content (such as video, pictures, text, etc.) to be displayed to the mount device through the terminal device via the application server or directly (limited to the local area network, which can be directly pushed), and display of the pushed content is realized by the mount device.
The inventor of the present invention finds, in a research process, that after the mount device receives an original picture, the mount device can generally only scale the original picture to obtain a preview picture according to a fixed scaling rule, for example, without losing picture content, by using a length value of the mount device as a reference, and display the preview picture, and the utilization rate of the scheme of performing picture transformation according to the fixed scaling rule to the display screen of the mount device is not ideal in some cases, for example, when the mount device performs more image-like placement by using a length as a bottom edge, if a reference horizontal line of image information of the original picture is based on a width of the picture (the length value of a default display screen and the picture is greater than the width), the preview picture obtained by using the original picture according to the existing scheme can only be displayed at a central position of the display screen (assuming that the length value of the preview picture is consistent with the width of the display screen, the width value of the preview picture is obtained by multiplying the width of the display screen and the wallpaper of the length of the original picture by the width of the original picture), and the shadow area areas left on the two sides are larger.
Disclosure of Invention
The embodiment of the invention provides a picture processing method and mounting equipment, aiming at improving the utilization rate of a display screen of the mounting equipment and improving user experience.
A first aspect of an embodiment of the present invention provides an image processing method, including:
receiving a picture display instruction carrying an original picture;
acquiring a bottom edge length value and a side edge height value of a display screen of the mounting equipment, and a length value and a width value of the original picture;
determining a reference position relationship of the original picture on the display screen according to the length value and the height value of the side edge of the display screen and the length value and the width value of the original picture, wherein the reference position relationship comprises any one of the following: the length of the original picture is parallel to the bottom edge of the display screen, and the width of the original picture is parallel to the bottom edge of the display screen;
adjusting the original picture according to a preset picture adjusting strategy to obtain a picture to be displayed;
and displaying the picture to be displayed in the display screen based on the reference position relation of the original picture in the display screen.
In a first possible implementation manner of the first aspect of the embodiments of the present invention, the determining a reference position relationship of the original picture on the display screen according to the length value of the bottom side and the height value of the side of the display screen, and the length value and the width value of the original picture, includes:
determining the sizes of a first preview picture and a second preview picture corresponding to the original picture according to a preset scaling strategy, the bottom edge length value of the display screen and the length value and the width value of the original picture;
determining the sizes of a third preview picture and a fourth preview picture corresponding to the original picture according to the preset zooming strategy, the side height value of the display screen and the length value and the width value of the original picture;
selecting a preview picture of which the picture area is smaller than or equal to the display area of the display screen from the first preview picture, the second preview picture, the third preview picture and the fourth preview picture;
and determining the reference position relation of the original picture on the display screen based on the preview picture with the largest picture area in the selected preview pictures.
With reference to the first aspect of the embodiment of the present invention or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect of the embodiment of the present invention, after the displaying the picture to be displayed in the display screen based on the reference position relationship of the original picture on the display screen, the method further includes:
detecting whether a reference horizontal line corresponding to the image information in the displayed picture to be displayed is parallel to the bottom edge of the display screen;
and if the reference horizontal line corresponding to the image information is not parallel to the bottom edge of the display screen, rotating the display screen to enable the reference horizontal line corresponding to the image information in the reference preview picture to be parallel to the bottom edge of the display screen.
With reference to the first aspect of the embodiment of the present invention or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect of the embodiment of the present invention, after the displaying the picture to be displayed in the display screen based on the reference position relationship of the original picture on the display screen, the method further includes:
receiving a rotation control instruction sent by terminal equipment in communication connection with the mounting equipment;
and rotating the display screen according to the rotation control instruction.
With reference to the first aspect of the embodiment of the present invention or the first or second or third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect of the embodiment of the present invention, the receiving a picture display instruction carrying an original picture includes:
receiving a picture display instruction carrying an original picture, which is sent by a terminal device in communication connection with a mounting device;
or,
and receiving a picture display instruction which is sent by the application server and carries an original picture.
A second aspect of an embodiment of the present invention provides a mounting apparatus, including:
the receiving unit is used for receiving a picture display instruction carrying an original picture;
the obtaining unit is used for obtaining a bottom edge length value and a side edge height value of a display screen of the mounting equipment, and a length value and a width value of the original picture;
a determining unit, configured to determine, according to a length value and a height value of a bottom side of the display screen, and a length value and a width value of the original picture, a reference position relationship of the original picture on the display screen, where the reference position relationship includes any one of: the length of the original picture is parallel to the bottom edge of the display screen, and the width of the original picture is parallel to the bottom edge of the display screen;
the adjusting unit is used for adjusting the original picture according to a preset picture adjusting strategy to obtain a picture to be displayed;
and the display unit is used for displaying the picture to be displayed in the display screen based on the reference position relation of the original picture on the display screen.
In a first possible implementation manner of the second aspect of the embodiments of the present invention, the determining unit is specifically configured to:
determining the sizes of a first preview picture and a second preview picture corresponding to the original picture according to a preset scaling strategy, the bottom edge length value of the display screen and the length value and the width value of the original picture;
determining the sizes of a third preview picture and a fourth preview picture corresponding to the original picture according to the preset zooming strategy, the side height value of the display screen and the length value and the width value of the original picture;
selecting a preview picture of which the picture area is smaller than or equal to the display area of the display screen from the first preview picture, the second preview picture, the third preview picture and the fourth preview picture;
and determining the reference position relation of the original picture on the display screen based on the preview picture with the largest picture area in the selected preview pictures.
With reference to the second aspect of the embodiment of the present invention or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect of the embodiment of the present invention, the mount device further includes:
the detection unit is used for detecting whether a reference horizontal line corresponding to the image information in the displayed picture to be displayed is parallel to the bottom edge of the display screen;
the first rotating unit is used for rotating the display screen to enable the reference horizontal line corresponding to the image information in the reference preview picture to be parallel to the bottom edge of the display screen if the reference horizontal line corresponding to the image information is not parallel to the bottom edge of the display screen.
With reference to the second aspect of the embodiment of the present invention or the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect of the embodiment of the present invention,
the receiving unit is also used for receiving a rotation control instruction sent by the terminal equipment in communication connection with the mounting equipment;
the mounting apparatus further includes:
and the second rotating unit is used for rotating the display screen according to the rotation control instruction.
With reference to the second aspect of the embodiment of the present invention or the first, second, or third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect of the embodiment of the present invention, the receiving unit is specifically configured to:
receiving a picture display instruction carrying an original picture, which is sent by a terminal device in communication connection with a mounting device;
or,
and receiving a picture display instruction which is sent by the application server and carries an original picture.
It can be seen that, in the embodiment of the present invention, a mount device first receives a picture display instruction carrying an original picture, and then, the mount device obtains a length value of a bottom edge and a height value of a side edge of a display screen of the mount device, and a length value and a width value of the original picture, and then, the mount device determines a reference position relationship of the original picture on the display screen according to the length value of the bottom edge and the height value of the side edge of the display screen, and the length value and the width value of the original picture, and then, the mount device adjusts the original picture according to a preset picture adjustment policy to obtain a picture to be displayed, and finally, the mount device displays the picture to be displayed in the display screen based on the reference position relationship of the original picture on the display screen. Therefore, the mounting equipment can determine the reference position relation of the original picture on the display screen, and displays the picture to be displayed corresponding to the original picture in the display screen based on the reference position relation, so that the mounting equipment can easily realize the optimized display of the picture without using attitude sensors such as a gyroscope, an electronic compass and the like, the utilization rate of the display screen of the mounting equipment is favorably improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a network architecture diagram of a picture display system according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a picture processing method according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating a picture processing method according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating a picture processing method according to a third embodiment of the present invention;
fig. 5 is a flowchart illustrating a picture processing method according to a fourth embodiment of the present invention;
fig. 6 is a block diagram illustrating a soft system function unit of a mounting apparatus according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of another mounting apparatus according to a sixth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following are detailed below.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, and in the above-described drawings, are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention provides a picture processing method and mounting equipment, aiming at improving the utilization rate of a display screen of the mounting equipment and improving user experience.
In order to better understand the content presentation method, the terminal device and the system disclosed in the embodiments of the present invention, a network architecture of a content presentation system applicable to the embodiments of the present invention is described below. Referring to fig. 1, fig. 1 is a schematic diagram of a network architecture of a content display system according to an embodiment of the present invention. As shown in fig. 1, the network architecture may include an application server, a terminal device, and a designated mount device group (including a multi-region multi-level mount device, such as N mount devices and M mount device groups, where the mount devices or the mount groups may be the same or different, and the present invention is not limited thereto), where the application server may be, for example, a data server, a service host, a service system, a cloud service platform, etc., the terminal device may be, for example, a tablet computer, a mobile phone, an e-reader, a remote controller, a Personal Computer (PC), a notebook computer, a vehicle-mounted device, a network television, a wearable device, etc., and any device having communication and storage functions, and the mount device may be, for example, a handheld device such as a conventional mobile terminal, a display device configured with a network access apparatus such as a set-top box, etc., a display device, a network access device, the system comprises a projection device system and multimedia equipment such as an intelligent television and the like which is provided with an intelligent operating system and has an autonomous network access function, wherein the application server can be in communication connection with the terminal equipment and the mounting equipment through the Internet, and certainly, the terminal equipment can also be in communication connection with the mounting equipment directly through a local area network.
Based on the network architecture shown in fig. 1, a first embodiment of the present invention discloses a picture processing method. Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a picture processing method according to a first embodiment of the present invention, as shown in fig. 2, including the following steps:
s201, receiving a picture display instruction carrying an original picture by mounting equipment;
in a specific implementation, a specific implementation manner of the mount device receiving the picture display instruction carrying the original picture may be as follows:
the mounting equipment receives a picture display instruction which is sent by terminal equipment in communication connection with the mounting equipment and carries an original picture;
or,
the mounting equipment receives a picture display instruction which is sent by an application server and carries an original picture.
The size information of the original picture may include, for example, a length and a width of the original picture.
S202, the mounting equipment acquires a bottom edge length value and a side edge height value of a display screen of the mounting equipment, and a length value and a width value of the original picture;
s203, the mounting device determines a reference position relationship of the original picture on the display screen according to the length value of the bottom side and the height value of the side of the display screen, and the length value and the width value of the original picture, wherein the reference position relationship includes any one of the following: the length of the original picture is parallel to the bottom edge of the display screen, and the width of the original picture is parallel to the bottom edge of the display screen;
it can be understood that, the mounting device may determine the reference position relationship of the original picture on the display screen according to the length value of the bottom side and the height value of the side of the display screen, and the length value and the width value of the original picture in various specific implementation manners.
In an embodiment, the specific implementation manner of determining, by the mount device, the reference position relationship of the original picture on the display screen according to the length value of the bottom side and the height value of the side of the display screen, and the length value and the width value of the original picture, is as follows:
determining the sizes of a first preview picture and a second preview picture corresponding to the original picture according to a preset scaling strategy, the bottom edge length value of the display screen and the length value and the width value of the original picture;
determining the sizes of a third preview picture and a fourth preview picture corresponding to the original picture according to the preset zooming strategy, the side height value of the display screen and the length value and the width value of the original picture;
selecting a preview picture of which the picture area is smaller than or equal to the display area of the display screen from the first preview picture, the second preview picture, the third preview picture and the fourth preview picture;
and determining the reference position relation of the original picture on the display screen based on the preview picture with the largest picture area in the selected preview pictures.
S204, the mounting equipment adjusts the original picture according to a preset picture adjusting strategy to obtain a picture to be displayed;
it can be understood that the specific implementation manner of the mount device adjusting the original picture according to the preset picture adjustment policy to obtain the picture to be displayed may be various.
In one embodiment, the mount device may clip the original picture, and retain the main image information (i.e. the image corresponding to the pixel point) of the original picture, for example, retain the central portion of the picture, and take 80% of the ratio as an example, then clip the image information of the remaining 20% of the peripheral picture.
In another embodiment, the original picture may be subjected to local image deformation processing, such as processing a central predetermined area portion of the original picture into a concave lens effect.
S205, the mounting equipment displays the picture to be displayed in the display screen based on the reference position relation of the original picture in the display screen.
It can be seen that, in the embodiment of the present invention, a mount device first receives a picture display instruction carrying an original picture, and then, the mount device obtains a length value of a bottom edge and a height value of a side edge of a display screen of the mount device, and a length value and a width value of the original picture, and then, the mount device determines a reference position relationship of the original picture on the display screen according to the length value of the bottom edge and the height value of the side edge of the display screen, and the length value and the width value of the original picture, and then, the mount device adjusts the original picture according to a preset picture adjustment policy to obtain a picture to be displayed, and finally, the mount device displays the picture to be displayed in the display screen based on the reference position relationship of the original picture on the display screen. Therefore, the mounting equipment can determine the reference position relation of the original picture on the display screen, and displays the picture to be displayed corresponding to the original picture in the display screen based on the reference position relation, so that the mounting equipment can easily realize the optimized display of the picture without using attitude sensors such as a gyroscope, an electronic compass and the like, the utilization rate of the display screen of the mounting equipment is favorably improved, and the user experience is improved.
Optionally, after the mount device displays the to-be-displayed picture in the display screen based on the reference position relationship of the original picture on the display screen, the method further includes:
the mounting equipment detects whether a reference horizontal line corresponding to the image information in the displayed picture to be displayed is parallel to the bottom edge of the display screen;
if the reference horizontal line corresponding to the image information is not parallel to the bottom edge of the display screen, the mounting equipment rotates the display screen to enable the reference horizontal line corresponding to the image information in the reference preview picture to be parallel to the bottom edge of the display screen.
Optionally, after the mount device displays the to-be-displayed picture in the display screen based on the reference position relationship of the original picture on the display screen, the method further includes:
the mounting equipment receives a rotation control instruction sent by terminal equipment which is in communication connection with the mounting equipment;
and the mounting equipment rotates the display screen according to the rotation control instruction.
Based on the network architecture shown in fig. 1, a second embodiment of the present invention discloses a picture processing method. Referring to fig. 3, fig. 3 is a flowchart illustrating a picture processing method according to a second embodiment of the present invention, as shown in fig. 3, including the following steps:
s301, the mounting equipment receives a picture display instruction carrying an original picture;
in a specific implementation, a specific implementation manner of the mount device receiving the picture display instruction carrying the original picture may be as follows:
the mounting equipment receives a picture display instruction which is sent by terminal equipment in communication connection with the mounting equipment and carries an original picture;
or,
the mounting equipment receives a picture display instruction which is sent by an application server and carries an original picture.
S302, the mounting equipment acquires a bottom edge length value and a side edge height value of a display screen of the mounting equipment, and a length value and a width value of the original picture;
s303, the mounting equipment determines the sizes of a first preview picture and a second preview picture corresponding to the original picture according to a preset scaling strategy, the bottom edge length value of the display screen and the length value and the width value of the original picture;
s304, the mounting equipment determines the sizes of a third preview picture and a fourth preview picture corresponding to the original picture according to the preset zooming strategy, the side height value of the display screen and the length value and the width value of the original picture;
s305, selecting a preview picture with a picture area smaller than or equal to the display area of the display screen from the first preview picture, the second preview picture, the third preview picture and the fourth preview picture by the mounting equipment;
s306, the mounting equipment determines the reference position relation of the original picture on the display screen based on the preview picture with the largest picture area in the selected preview pictures.
S307, the mounting equipment adjusts the original picture according to a preset picture adjusting strategy to obtain a picture to be displayed;
s308, the mounting equipment displays the picture to be displayed in the display screen based on the reference position relation of the original picture in the display screen.
It can be seen that, in the embodiment of the present invention, a mount device first receives a picture display instruction carrying an original picture, and then, the mount device obtains a length value of a bottom edge and a height value of a side edge of a display screen of the mount device, and a length value and a width value of the original picture, and then, the mount device determines a reference position relationship of the original picture on the display screen according to the length value of the bottom edge and the height value of the side edge of the display screen, and the length value and the width value of the original picture, and then, the mount device adjusts the original picture according to a preset picture adjustment policy to obtain a picture to be displayed, and finally, the mount device displays the picture to be displayed in the display screen based on the reference position relationship of the original picture on the display screen. Therefore, the mounting equipment can determine the reference position relation of the original picture on the display screen, and displays the picture to be displayed corresponding to the original picture in the display screen based on the reference position relation, so that the mounting equipment can easily realize the optimized display of the picture without using attitude sensors such as a gyroscope, an electronic compass and the like, the utilization rate of the display screen of the mounting equipment is favorably improved, and the user experience is improved.
Based on the network architecture shown in fig. 1, the embodiment of the invention discloses a picture processing method. Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a picture processing method according to a fourth embodiment of the present invention, as shown in fig. 4, including the following steps:
s401, receiving a picture display instruction carrying an original picture by mounting equipment;
in a specific implementation, a specific implementation manner of the mount device receiving the picture display instruction carrying the original picture may be as follows:
the mounting equipment receives a picture display instruction which is sent by terminal equipment in communication connection with the mounting equipment and carries an original picture;
or,
the mounting equipment receives a picture display instruction which is sent by an application server and carries an original picture.
S402, the mounting equipment acquires a bottom edge length value and a side edge height value of a display screen of the mounting equipment, and a length value and a width value of the original picture;
s403, the mounting device determines a reference position relationship of the original picture on the display screen according to the length value and the height value of the bottom side and the height value of the side of the display screen, and the length value and the width value of the original picture, wherein the reference position relationship includes any one of the following: the length of the original picture is parallel to the bottom edge of the display screen, and the width of the original picture is parallel to the bottom edge of the display screen;
s404, the mounting equipment adjusts the original picture according to a preset picture adjusting strategy to obtain a picture to be displayed;
s405, the mounting equipment displays the picture to be displayed in the display screen based on the reference position relation of the original picture in the display screen.
S406, the mounting equipment detects whether a reference horizontal line corresponding to the image information in the displayed picture to be displayed is parallel to the bottom edge of the display screen;
and S507, if the reference horizontal line corresponding to the image information is not parallel to the bottom edge of the display screen, the mounting equipment rotates the display screen to enable the reference horizontal line corresponding to the image information in the reference preview picture to be parallel to the bottom edge of the display screen.
It can be seen that, in the embodiment of the present invention, a mount device first receives a picture display instruction carrying an original picture, and then, the mount device obtains a length value of a bottom edge and a height value of a side edge of a display screen of the mount device, and a length value and a width value of the original picture, and then, the mount device determines a reference position relationship of the original picture on the display screen according to the length value of the bottom edge and the height value of the side edge of the display screen, and the length value and the width value of the original picture, and then, the mount device adjusts the original picture according to a preset picture adjustment policy to obtain a picture to be displayed, and finally, the mount device displays the picture to be displayed in the display screen based on the reference position relationship of the original picture on the display screen. Therefore, the mounting equipment can determine the reference position relation of the original picture on the display screen, and displays the picture to be displayed corresponding to the original picture in the display screen based on the reference position relation, so that the mounting equipment can easily realize the optimized display of the picture without using attitude sensors such as a gyroscope, an electronic compass and the like, the utilization rate of the display screen of the mounting equipment is favorably improved, and the user experience is improved.
Based on the network architecture shown in fig. 1, a fourth embodiment of the present invention discloses a picture processing method. Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a picture processing method according to a fourth embodiment of the present invention, as shown in fig. 5, including the following steps:
s501, receiving a picture display instruction carrying an original picture by mounting equipment;
in a specific implementation, a specific implementation manner of the mount device receiving the picture display instruction carrying the original picture may be as follows:
the mounting equipment receives a picture display instruction which is sent by terminal equipment in communication connection with the mounting equipment and carries an original picture;
or,
the mounting equipment receives a picture display instruction which is sent by an application server and carries an original picture.
S502, the mounting equipment acquires a bottom edge length value and a side edge height value of a display screen of the mounting equipment, and a length value and a width value of the original picture;
s503, the mounting device determines a reference position relationship of the original picture on the display screen according to the length value of the bottom side and the height value of the side of the display screen, and the length value and the width value of the original picture, wherein the reference position relationship includes any one of the following: the length of the original picture is parallel to the bottom edge of the display screen, and the width of the original picture is parallel to the bottom edge of the display screen;
s504, the mounting equipment adjusts the original picture according to a preset picture adjusting strategy to obtain a picture to be displayed;
and S505, the mounting equipment displays the picture to be displayed in the display screen based on the reference position relation of the original picture in the display screen.
S506, the mounting equipment receives a rotation control instruction sent by terminal equipment in communication connection with the mounting equipment;
and S507, the mounting equipment rotates the display screen according to the rotation control instruction.
It can be seen that, in the embodiment of the present invention, a mount device first receives a picture display instruction carrying an original picture, and then, the mount device obtains a length value of a bottom edge and a height value of a side edge of a display screen of the mount device, and a length value and a width value of the original picture, and then, the mount device determines a reference position relationship of the original picture on the display screen according to the length value of the bottom edge and the height value of the side edge of the display screen, and the length value and the width value of the original picture, and then, the mount device adjusts the original picture according to a preset picture adjustment policy to obtain a picture to be displayed, and finally, the mount device displays the picture to be displayed in the display screen based on the reference position relationship of the original picture on the display screen. Therefore, the mounting equipment can determine the reference position relation of the original picture on the display screen, and displays the picture to be displayed corresponding to the original picture in the display screen based on the reference position relation, so that the mounting equipment can easily realize the optimized display of the picture without using attitude sensors such as a gyroscope, an electronic compass and the like, the utilization rate of the display screen of the mounting equipment is favorably improved, and the user experience is improved.
The following is an embodiment of the apparatus of the present invention, which is a method for performing an embodiment of the method of the present invention. Referring to fig. 6, fig. 6 is a block diagram of a soft system function unit of a mounting apparatus according to a fifth embodiment of the present invention. As shown in fig. 6, the mounting apparatus includes a receiving unit 601, an obtaining unit 602, a determining unit 603, an adjusting unit 604, and a displaying unit 605, where the receiving unit 601, the obtaining unit 602, the determining unit 603, the adjusting unit 604, and the displaying unit 605 are included in the mounting apparatus, where the determining unit
The receiving unit 601 is configured to receive a picture display instruction carrying an original picture;
the obtaining unit 602 is configured to obtain a length value of a bottom side and a height value of a side of a display screen of the mounted device, and a length value and a width value of the original picture;
the determining unit 603 is configured to determine, according to the length value of the bottom side and the height value of the side of the display screen, and the length value and the width value of the original picture, a reference position relationship of the original picture on the display screen, where the reference position relationship includes any one of: the length of the original picture is parallel to the bottom edge of the display screen, and the width of the original picture is parallel to the bottom edge of the display screen;
the adjusting unit 604 is configured to adjust the original picture according to a preset picture adjustment policy to obtain a picture to be displayed;
the displaying unit 605 is configured to display the to-be-displayed picture in the display screen based on the reference position relationship of the original picture on the display screen.
Optionally, the determining unit 603 is specifically configured to:
determining the sizes of a first preview picture and a second preview picture corresponding to the original picture according to a preset scaling strategy, the bottom edge length value of the display screen and the length value and the width value of the original picture;
determining the sizes of a third preview picture and a fourth preview picture corresponding to the original picture according to the preset zooming strategy, the side height value of the display screen and the length value and the width value of the original picture;
selecting a preview picture of which the picture area is smaller than or equal to the display area of the display screen from the first preview picture, the second preview picture, the third preview picture and the fourth preview picture;
and determining the reference position relation of the original picture on the display screen based on the preview picture with the largest picture area in the selected preview pictures.
Optionally, the mounting device further includes:
the detection unit is used for detecting whether a reference horizontal line corresponding to the image information in the displayed picture to be displayed is parallel to the bottom edge of the display screen;
the first rotating unit is used for rotating the display screen to enable the reference horizontal line corresponding to the image information in the reference preview picture to be parallel to the bottom edge of the display screen if the reference horizontal line corresponding to the image information is not parallel to the bottom edge of the display screen.
Optionally, the receiving unit is further configured to receive a rotation control instruction sent by a terminal device in communication connection with the mounting device;
the mounting apparatus further includes:
and the second rotating unit is used for rotating the display screen according to the rotation control instruction.
Optionally, the receiving unit 601 is specifically configured to:
receiving a picture display instruction carrying an original picture, which is sent by a terminal device in communication connection with a mounting device;
or,
and receiving a picture display instruction which is sent by the application server and carries an original picture.
It can be understood that the functions of each module of the mount device in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description of the foregoing method embodiment, which is not described herein again.
It can be seen that, in the embodiment of the present invention, a mount device first receives a picture display instruction carrying an original picture, and then, the mount device obtains a length value of a bottom edge and a height value of a side edge of a display screen of the mount device, and a length value and a width value of the original picture, and then, the mount device determines a reference position relationship of the original picture on the display screen according to the length value of the bottom edge and the height value of the side edge of the display screen, and the length value and the width value of the original picture, and then, the mount device adjusts the original picture according to a preset picture adjustment policy to obtain a picture to be displayed, and finally, the mount device displays the picture to be displayed in the display screen based on the reference position relationship of the original picture on the display screen. Therefore, the mounting equipment can determine the reference position relation of the original picture on the display screen, and displays the picture to be displayed corresponding to the original picture in the display screen based on the reference position relation, so that the mounting equipment can easily realize the optimized display of the picture without using attitude sensors such as a gyroscope, an electronic compass and the like, the utilization rate of the display screen of the mounting equipment is favorably improved, and the user experience is improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another mounting apparatus according to an eighth embodiment of the present invention. As shown in fig. 7, the mounting apparatus in the embodiment of the present invention includes: at least one processor 701, e.g., a CPU, at least one receiver 703, at least one memory 704, at least one transmitter 705, at least one communication bus 702. Wherein a communication bus 702 is used to enable connective communication between these components. The receiver 703 and the transmitter 705 of the apparatus in the embodiment of the present invention may be wired transmission ports, or may also be wireless devices, for example, including an antenna apparatus, for performing signaling or data communication with other node devices. The memory 704 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 704 may alternatively be at least one memory device located remotely from the processor 701. A set of program code is stored in the memory 704 and the processor 701 is used to call the program code stored in the memory for performing the following operations:
receiving a picture display instruction carrying an original picture;
acquiring a bottom edge length value and a side edge height value of a display screen of the mounting equipment, and a length value and a width value of the original picture;
determining a reference position relationship of the original picture on the display screen according to the length value and the height value of the side edge of the display screen and the length value and the width value of the original picture, wherein the reference position relationship comprises any one of the following: the length of the original picture is parallel to the bottom edge of the display screen, and the width of the original picture is parallel to the bottom edge of the display screen;
adjusting the original picture according to a preset picture adjusting strategy to obtain a picture to be displayed;
and displaying the picture to be displayed in the display screen based on the reference position relation of the original picture in the display screen.
Optionally, the determining a reference position relationship of the original picture on the display screen according to the length value of the bottom side and the height value of the side of the display screen, and the length value and the width value of the original picture includes:
determining the sizes of a first preview picture and a second preview picture corresponding to the original picture according to a preset scaling strategy, the bottom edge length value of the display screen and the length value and the width value of the original picture;
determining the sizes of a third preview picture and a fourth preview picture corresponding to the original picture according to the preset zooming strategy, the side height value of the display screen and the length value and the width value of the original picture;
selecting a preview picture of which the picture area is smaller than or equal to the display area of the display screen from the first preview picture, the second preview picture, the third preview picture and the fourth preview picture;
and determining the reference position relation of the original picture on the display screen based on the preview picture with the largest picture area in the selected preview pictures.
Optionally, after the to-be-displayed picture is shown in the display screen based on the reference position relationship of the original picture on the display screen, the method further includes:
detecting whether a reference horizontal line corresponding to the image information in the displayed picture to be displayed is parallel to the bottom edge of the display screen;
and if the reference horizontal line corresponding to the image information is not parallel to the bottom edge of the display screen, rotating the display screen to enable the reference horizontal line corresponding to the image information in the reference preview picture to be parallel to the bottom edge of the display screen.
Optionally, after the to-be-displayed picture is shown in the display screen based on the reference position relationship of the original picture on the display screen, the method further includes:
receiving a rotation control instruction sent by terminal equipment in communication connection with the mounting equipment;
and rotating the display screen according to the rotation control instruction.
Optionally, the receiving the picture display instruction carrying the original picture includes:
receiving a picture display instruction carrying an original picture, which is sent by a terminal device in communication connection with a mounting device;
or,
and receiving a picture display instruction which is sent by the application server and carries an original picture.
It can be understood that the functions of each module of the mount device in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description of the foregoing method embodiment, which is not described herein again.
It can be seen that, in the embodiment of the present invention, a mount device first receives a picture display instruction carrying an original picture, and then, the mount device obtains a length value of a bottom edge and a height value of a side edge of a display screen of the mount device, and a length value and a width value of the original picture, and then, the mount device determines a reference position relationship of the original picture on the display screen according to the length value of the bottom edge and the height value of the side edge of the display screen, and the length value and the width value of the original picture, and then, the mount device adjusts the original picture according to a preset picture adjustment policy to obtain a picture to be displayed, and finally, the mount device displays the picture to be displayed in the display screen based on the reference position relationship of the original picture on the display screen. Therefore, the mounting equipment can determine the reference position relation of the original picture on the display screen, and displays the picture to be displayed corresponding to the original picture in the display screen based on the reference position relation, so that the mounting equipment can easily realize the optimized display of the picture without using attitude sensors such as a gyroscope, an electronic compass and the like, the utilization rate of the display screen of the mounting equipment is favorably improved, and the user experience is improved.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program includes some or all of the steps of any one of the image processing methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned 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 order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solution of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. An image processing method, comprising:
receiving a picture display instruction carrying an original picture;
acquiring a bottom edge length value and a side edge height value of a display screen of the mounting equipment, and a length value and a width value of the original picture;
determining a reference position relationship of the original picture on the display screen according to the length value and the height value of the side edge of the display screen and the length value and the width value of the original picture, wherein the reference position relationship comprises any one of the following: the length of the original picture is parallel to the bottom edge of the display screen, and the width of the original picture is parallel to the bottom edge of the display screen;
adjusting the original picture according to a preset picture adjusting strategy to obtain a picture to be displayed;
and displaying the picture to be displayed in the display screen based on the reference position relation of the original picture in the display screen.
2. The method according to claim 1, wherein the determining the reference position relationship of the original picture on the display screen according to the length value of the bottom side and the height value of the side of the display screen and the length value and the width value of the original picture comprises:
determining the sizes of a first preview picture and a second preview picture corresponding to the original picture according to a preset scaling strategy, the bottom edge length value of the display screen and the length value and the width value of the original picture;
determining the sizes of a third preview picture and a fourth preview picture corresponding to the original picture according to the preset zooming strategy, the side height value of the display screen and the length value and the width value of the original picture;
selecting a preview picture of which the picture area is smaller than or equal to the display area of the display screen from the first preview picture, the second preview picture, the third preview picture and the fourth preview picture;
and determining the reference position relation of the original picture on the display screen based on the preview picture with the largest picture area in the selected preview pictures.
3. The method according to any one of claims 1 or 2, wherein after the displaying the picture to be displayed in the display screen based on the reference position relationship of the original picture in the display screen, the method further comprises:
detecting whether a reference horizontal line corresponding to the image information in the displayed picture to be displayed is parallel to the bottom edge of the display screen;
and if the reference horizontal line corresponding to the image information is not parallel to the bottom edge of the display screen, rotating the display screen to enable the reference horizontal line corresponding to the image information in the reference preview picture to be parallel to the bottom edge of the display screen.
4. The method according to any one of claims 1 or 2, wherein after the displaying the picture to be displayed in the display screen based on the reference position relationship of the original picture in the display screen, the method further comprises:
receiving a rotation control instruction sent by terminal equipment in communication connection with the mounting equipment;
and rotating the display screen according to the rotation control instruction.
5. The method according to any one of claims 1 to 4, wherein the receiving of the picture presentation instruction carrying the original picture comprises:
receiving a picture display instruction carrying an original picture, which is sent by a terminal device in communication connection with a mounting device;
or,
and receiving a picture display instruction which is sent by the application server and carries an original picture.
6. A mounting apparatus, comprising:
the receiving unit is used for receiving a picture display instruction carrying an original picture;
the obtaining unit is used for obtaining a bottom edge length value and a side edge height value of a display screen of the mounting equipment, and a length value and a width value of the original picture;
a determining unit, configured to determine, according to a length value and a height value of a bottom side of the display screen, and a length value and a width value of the original picture, a reference position relationship of the original picture on the display screen, where the reference position relationship includes any one of: the length of the original picture is parallel to the bottom edge of the display screen, and the width of the original picture is parallel to the bottom edge of the display screen;
the adjusting unit is used for adjusting the original picture according to a preset picture adjusting strategy to obtain a picture to be displayed;
and the display unit is used for displaying the picture to be displayed in the display screen based on the reference position relation of the original picture on the display screen.
7. The mounting apparatus according to claim 6, wherein the determining unit is specifically configured to:
determining the sizes of a first preview picture and a second preview picture corresponding to the original picture according to a preset scaling strategy, the bottom edge length value of the display screen and the length value and the width value of the original picture;
determining the sizes of a third preview picture and a fourth preview picture corresponding to the original picture according to the preset zooming strategy, the side height value of the display screen and the length value and the width value of the original picture;
selecting a preview picture of which the picture area is smaller than or equal to the display area of the display screen from the first preview picture, the second preview picture, the third preview picture and the fourth preview picture;
and determining the reference position relation of the original picture on the display screen based on the preview picture with the largest picture area in the selected preview pictures.
8. The mounting apparatus according to any one of claims 6 or 7, characterized in that the mounting apparatus further comprises:
the detection unit is used for detecting whether a reference horizontal line corresponding to the image information in the displayed picture to be displayed is parallel to the bottom edge of the display screen;
the first rotating unit is used for rotating the display screen to enable the reference horizontal line corresponding to the image information in the reference preview picture to be parallel to the bottom edge of the display screen if the reference horizontal line corresponding to the image information is not parallel to the bottom edge of the display screen.
9. Mounting device according to any one of claims 6 or 7,
the receiving unit is also used for receiving a rotation control instruction sent by the terminal equipment in communication connection with the mounting equipment;
the mounting apparatus further includes:
and the second rotating unit is used for rotating the display screen according to the rotation control instruction.
10. The mounting apparatus according to any one of claims 6 to 9, wherein the receiving unit is specifically configured to:
receiving a picture display instruction carrying an original picture, which is sent by a terminal device in communication connection with a mounting device;
or,
and receiving a picture display instruction which is sent by the application server and carries an original picture.
CN201510754983.2A 2015-11-09 2015-11-09 A kind of image processing method and carry equipment Active CN105373308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510754983.2A CN105373308B (en) 2015-11-09 2015-11-09 A kind of image processing method and carry equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510754983.2A CN105373308B (en) 2015-11-09 2015-11-09 A kind of image processing method and carry equipment

Publications (2)

Publication Number Publication Date
CN105373308A true CN105373308A (en) 2016-03-02
CN105373308B CN105373308B (en) 2019-06-25

Family

ID=55375553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510754983.2A Active CN105373308B (en) 2015-11-09 2015-11-09 A kind of image processing method and carry equipment

Country Status (1)

Country Link
CN (1) CN105373308B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028118A (en) * 2016-05-31 2016-10-12 武汉斗鱼网络科技有限公司 Player mark presentation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794776A (en) * 2004-09-15 2006-06-28 腾讯科技(深圳)有限公司 Method and system of processing image and its applicated in immediat communication
CN103186638A (en) * 2011-12-31 2013-07-03 北大方正集团有限公司 Method and device for arranging pictures
CN103593820A (en) * 2013-11-27 2014-02-19 深圳市金立通信设备有限公司 Method for picture processing and terminal
CN104679385A (en) * 2015-02-10 2015-06-03 深圳市金立通信设备有限公司 Picture playing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794776A (en) * 2004-09-15 2006-06-28 腾讯科技(深圳)有限公司 Method and system of processing image and its applicated in immediat communication
CN103186638A (en) * 2011-12-31 2013-07-03 北大方正集团有限公司 Method and device for arranging pictures
CN103593820A (en) * 2013-11-27 2014-02-19 深圳市金立通信设备有限公司 Method for picture processing and terminal
CN104679385A (en) * 2015-02-10 2015-06-03 深圳市金立通信设备有限公司 Picture playing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028118A (en) * 2016-05-31 2016-10-12 武汉斗鱼网络科技有限公司 Player mark presentation method and device

Also Published As

Publication number Publication date
CN105373308B (en) 2019-06-25

Similar Documents

Publication Publication Date Title
US11184646B2 (en) 360-degree panoramic video playing method, apparatus, and system
CN107103890B (en) The method and apparatus of application is shown on fixed-direction display
US20160050449A1 (en) User terminal apparatus, display apparatus, system and control method thereof
CN106791915B (en) Method and device for displaying video image
US20150294646A1 (en) Display apparatus and method for displaying screen images from multiple electronic devices
CN111741357A (en) Display device and control method thereof
CN113126937A (en) Display terminal adjusting method and display terminal
CN110210532A (en) Background colour generation method, device and electronic equipment
CN114816308B (en) Information partition display method and related equipment
US20170161871A1 (en) Method and electronic device for previewing picture on intelligent terminal
CN110795196A (en) Window display method, device, terminal and storage medium
CN104093061A (en) Content sharing method and device
CN110728129B (en) Method, device, medium and equipment for typesetting text content in picture
CN105245438B (en) Content sharing method, device and system
CN113766303B (en) Multi-screen interaction method, device, equipment and storage medium
EP3293960A1 (en) Information processing device, information processing method, and program
CN107908380B (en) Configuration-based multi-screen display method and device, terminal equipment and storage medium
CN112199061B (en) Display method and device
CN111626922B (en) Picture generation method and device, electronic equipment and computer readable storage medium
CN105373308B (en) A kind of image processing method and carry equipment
CN115454302A (en) Live broadcast room display method and device, electronic equipment and storage medium
CN109842812B (en) Multi-application program prioritization method, intelligent television and storage medium
CN114092362A (en) Panoramic picture loading method and device
US20100171656A1 (en) Electronic apparatus and image display method
JP2014071164A (en) Display method and display system

Legal Events

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