[go: up one dir, main page]

CN104850410B - A kind of processing method and processing device of desktop wallpaper - Google Patents

A kind of processing method and processing device of desktop wallpaper Download PDF

Info

Publication number
CN104850410B
CN104850410B CN201510304543.7A CN201510304543A CN104850410B CN 104850410 B CN104850410 B CN 104850410B CN 201510304543 A CN201510304543 A CN 201510304543A CN 104850410 B CN104850410 B CN 104850410B
Authority
CN
China
Prior art keywords
axis
component
wallpaper
sliding trace
ball
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.)
Expired - Fee Related
Application number
CN201510304543.7A
Other languages
Chinese (zh)
Other versions
CN104850410A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510304543.7A priority Critical patent/CN104850410B/en
Publication of CN104850410A publication Critical patent/CN104850410A/en
Application granted granted Critical
Publication of CN104850410B publication Critical patent/CN104850410B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention belongs to technical field of intelligent equipment, provide a kind of processing method and processing device of desktop wallpaper.The method includes:One sheet of planar wallpaper is subjected to subregion, forms at least two first subregions;Each first subregion according to template size is compressed, forms intermediate the second subregion connected of both ends separation;The upper end of each second subregion of formation is connected with upper end, lower end is connected with lower end, forms ball-type wallpaper.Compared to the display effect of existing plane desktop wallpaper, the present invention can reach more three-dimensional display effect, to the completely new sensory experience of user and strong three-dimensional sense.

Description

一种桌面壁纸的处理方法及装置Method and device for processing desktop wallpaper

技术领域technical field

本发明属于智能设备技术领域,尤其涉及一种桌面壁纸的处理方法及装置。The invention belongs to the technical field of smart devices, and in particular relates to a method and a device for processing desktop wallpapers.

背景技术Background technique

智能设备的桌面壁纸是用户在使用智能设备时经常需要用到的,现有的主要有后置平面壁纸,动态壁纸等显示方式,但是相对来说,上述的都是平面的显示方式,显示方式比较单一。The desktop wallpaper of smart devices is often used by users when using smart devices. The existing display methods mainly include rear flat wallpapers, live wallpapers, etc., but relatively speaking, the above-mentioned display methods are flat. relatively simple.

发明内容Contents of the invention

本发明实施例提供了一种桌面壁纸的处理方法及装置,旨在解决现有桌面壁纸的形式过于单一的问题。Embodiments of the present invention provide a method and device for processing desktop wallpapers, aiming at solving the problem that existing desktop wallpapers are too single in form.

本发明实施例是这样实现的,一种桌面壁纸的处理方法,所述方法包括:The embodiment of the present invention is achieved in this way, a method for processing desktop wallpaper, the method comprising:

将一张平面壁纸进行分区,形成至少两个第一分区;Partitioning a flat wallpaper to form at least two first partitions;

对每个第一分区按照模板尺寸进行压缩,形成两端分离中间连接的第二分区;Compress each first partition according to the size of the template to form a second partition with two ends separated and a middle connection;

将形成的每个第二分区的上端和上端连接,下端和下端连接,形成球型壁纸。The upper end and the upper end of each formed second partition are connected, and the lower end is connected with the lower end to form a spherical wallpaper.

本发明实施例的另一目的在于提供一种桌面壁纸的处理装置,所述装置包括:Another object of the embodiments of the present invention is to provide a desktop wallpaper processing device, the device comprising:

分区单元,用于将一张平面壁纸进行分区,形成至少两个第一分区;A partition unit, configured to partition a piece of flat wallpaper to form at least two first partitions;

压缩单元,用于对每个第一分区按照模板尺寸进行压缩,形成两端分离中间连接的第二分区;A compression unit, configured to compress each first partition according to the size of the template to form a second partition with two ends separated and connected in the middle;

处理单元,用于将形成的每个第二分区的上端和上端连接,下端和下端连接,形成球型壁纸。The processing unit is used for connecting the upper end and the upper end of each formed second partition, and connecting the lower end and the lower end to form a spherical wallpaper.

与现有技术相比,本发明提供了一种球型桌面壁纸的处理方法,并能在移动终端上用球型桌面来显示给用户,从而增强了桌面壁纸显示的立体感,丰富了桌面壁纸的显示效果,相比于现有的平面桌面壁纸的显示效果,本发明能达到更立体的显示效果,给用户全新的感观体验和强烈的立体感。Compared with the prior art, the present invention provides a method for processing spherical desktop wallpapers, and can use spherical desktops to display to users on mobile terminals, thereby enhancing the three-dimensionality of desktop wallpaper display and enriching the desktop wallpaper. Compared with the display effect of the existing flat desktop wallpaper, the present invention can achieve a more three-dimensional display effect, giving the user a new sensory experience and a strong three-dimensional sense.

附图说明Description of drawings

图1是本发明实施例一提供的桌面壁纸处理方法的实现流程图;FIG. 1 is a flow chart of the implementation of the desktop wallpaper processing method provided by Embodiment 1 of the present invention;

图2是本发明实施例一提供的桌面壁纸处理方法的示意图;2 is a schematic diagram of a desktop wallpaper processing method provided by Embodiment 1 of the present invention;

图3是本发明实施例一提供的桌面壁纸显示方法的实现流程图;FIG. 3 is a flow chart of the implementation of the desktop wallpaper display method provided by Embodiment 1 of the present invention;

图4是本发明实施例一提供的桌面壁纸放大操作的具体实现流程图;Fig. 4 is a specific implementation flowchart of the enlargement operation of the desktop wallpaper provided by Embodiment 1 of the present invention;

图5是本发明实施例一提供的球型壁纸旋转操作的具体实现流程图;Fig. 5 is a specific implementation flow chart of the spherical wallpaper rotation operation provided by Embodiment 1 of the present invention;

图6是本发明实施例二提供的桌面壁纸处理装置的组成结构图。Fig. 6 is a structural diagram of the desktop wallpaper processing device provided by Embodiment 2 of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明实施例中,将一张平面壁纸进行分区,形成至少两个第一分区,对每个第一分区按照模板尺寸进行压缩,形成两端分离中间连接的第二分区,将形成的每个第二分区的上端和上端连接,下端和下端连接,形成球型壁纸。In the embodiment of the present invention, a flat wallpaper is partitioned to form at least two first partitions, and each first partition is compressed according to the size of the template to form a second partition with two ends separated and connected in the middle, and each formed The upper end of the second partition is connected to the upper end, and the lower end is connected to the lower end to form a spherical wallpaper.

为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

实施例一:Embodiment one:

图1示出了本发明实施例一提供的桌面壁纸处理方法的实现流程,详述如下:Fig. 1 shows the implementation process of the desktop wallpaper processing method provided by Embodiment 1 of the present invention, which is described in detail as follows:

在本发明实施例中,所述方法应用于智能设备,所述智能设备上设置有一触摸显示屏,通过所述触摸显示屏与用户交互。示例性地,所述智能设备包括但不限于智能手机、平板电脑、学习机、智能车载设备、智能穿戴设备等。In the embodiment of the present invention, the method is applied to a smart device, and the smart device is provided with a touch display screen, and interacts with the user through the touch display screen. Exemplarily, the smart device includes, but is not limited to, a smart phone, a tablet computer, a learning machine, a smart vehicle device, a smart wearable device, and the like.

如图1所示,所述方法包括:As shown in Figure 1, the method includes:

步骤S11,将一张平面壁纸进行分区,形成至少两个第一分区。Step S11, partitioning a flat wallpaper to form at least two first partitions.

该步骤中,如图2中A1所示,将一张平面壁纸等距进行分区,形成至少两个大小相同的第一分区,在图2的A1中,将平面壁纸分成9个第一分区。In this step, as shown in A1 in FIG. 2 , a flat wallpaper is partitioned equidistantly to form at least two first partitions of the same size. In A1 in FIG. 2 , the flat wallpaper is divided into nine first partitions.

步骤S12,对每个第一分区按照模板尺寸进行压缩,形成两端分离中间连接的第二分区。Step S12, compressing each first partition according to the size of the template to form a second partition with two ends separated and a middle connection.

该步骤中,对A1中形成的每个第一分区按照固定的模板尺寸进行适量的压缩,压缩后,形成两端分离中间连接的第二分区,第二分区的个数与第一分区的个数相同,如图2中A2所示。In this step, an appropriate amount of compression is performed on each first partition formed in A1 according to a fixed template size. After compression, a second partition with two ends separated and connected in the middle is formed. The number of the second partition is the same as the number of the first partition. The numbers are the same, as shown in A2 in Figure 2.

步骤S13,将形成的每个第二分区的上端和上端连接,下端和下端连接,形成球型壁纸。Step S13 , connecting the upper end and the upper end, and connecting the lower end and the lower end of each formed second partition to form a spherical wallpaper.

该步骤中,对A2所示的经过压缩的第二分区进行处理,首先,将形成的第一个第二分区(如图2中A2最左边的一个第二分区)与最后一个第二分区(如图2中A2最右边的一个第二分区)相连,围成一圈,然后,再将其余的第二分区的上端和上端连接,下端和下端连接,形成球型壁纸,具体地,可在将形成的第一个第二分区与最后一个第二分区相连后,再将相邻的两个第二分区的上端和上端连接,下端和下端连接,如图2中A3、A4所示。In this step, the compressed second subregion shown in A2 is processed. At first, the first second subregion formed (such as the leftmost second subregion of A2 in FIG. 2 ) is combined with the last second subregion ( As shown in Figure 2, the rightmost second partition of A2) is connected to form a circle, and then the upper end of the remaining second partitions is connected to the upper end, and the lower end is connected to the lower end to form a spherical wallpaper. After the formed first second subregion is connected with the last second subregion, the upper ends and upper ends of two adjacent second subregions are connected, and the lower ends are connected with the lower ends, as shown in A3 and A4 in FIG. 2 .

可选地,如附图3所示,本发明实施例还包括:Optionally, as shown in Figure 3, this embodiment of the present invention also includes:

步骤S301:构建球型桌面;Step S301: building a spherical desktop;

步骤S302,将所述球型壁纸显示在所述球型桌面上。Step S302, displaying the spherical wallpaper on the spherical desktop.

该步骤中,所述球型桌面包括一可旋转球体,所述球体以经线和纬线的方式划分成多个网格,任一经线和任一纬线相互之间垂直相交,从而构建出一球型桌面。所述球型桌面以三维立体视图的方式显示在所述智能设备触摸屏的指定位置上,优选地,所述指定位置可以为触摸屏的上端、中间或者底部等。每当智能终端进入桌面时,则在显示屏上显示所述球型桌面。所述球型壁纸显示在所述球型桌面上。In this step, the spherical desktop includes a rotatable sphere, and the sphere is divided into multiple grids in the form of warp and latitude, and any warp and any latitude intersect each other perpendicularly, thereby constructing a desktop. The spherical desktop is displayed in a three-dimensional view at a specified position on the touch screen of the smart device. Preferably, the specified position may be the upper end, middle or bottom of the touch screen. Whenever the smart terminal enters the desktop, the spherical desktop is displayed on the display screen. The spherical wallpaper is displayed on the spherical desktop.

在本发明实施例中,触摸屏上检测到的触摸操作转换为对球型壁纸的操作。In the embodiment of the present invention, the touch operation detected on the touch screen is converted into an operation on the spherical wallpaper.

作为本发明的第一优选示例,当所述智能设备的触摸屏上检测到缩放指令时,根据接收的缩放指令对所述球型壁纸进行放大或缩小操作。所述缩放指令可以通过单个手指双击或者多个手指同时单击所述球型壁纸时触发,此处不对所述缩放指令的触发方式进行限制。As a first preferred example of the present invention, when a scaling command is detected on the touch screen of the smart device, the spherical wallpaper is zoomed in or out according to the received scaling command. The scaling instruction can be triggered when a single finger double-clicks or multiple fingers simultaneously click the ball-shaped wallpaper, and the triggering manner of the scaling instruction is not limited here.

图4示出了本发明实施例一提供的据接收缩放指令对所述球型壁纸进行放大或缩小操作的具体实现流程,参阅图4,所述步骤包括:Fig. 4 shows the specific implementation process of zooming in or zooming out the spherical wallpaper according to the received zoom command according to Embodiment 1 of the present invention. Referring to Fig. 4, the steps include:

在步骤S401中,在当所述智能设备的触摸屏上检测到缩放指令时,获取球型壁纸上的待操作的区域。In step S401, when a scaling instruction is detected on the touch screen of the smart device, the region to be operated on the spherical wallpaper is acquired.

在步骤S402中,按照预设比例放大或缩小所述区域,并显示放大后或缩小后的所述待操作的区域。In step S402, the region is enlarged or reduced according to a preset ratio, and the enlarged or reduced region to be operated is displayed.

示例性地,当检测到缩放指令时,触摸屏进入选区模式,弹出一个指定形状的选区图形,比如正方形的选区图形,通过拖曳移动所述选区图形或者点击选区图形的边框来修正选区图形的大小。当接收到选区确认指令时,获取所述选取图形范围内的球型壁纸作为待操作的区域。根据用户选择的放大操作和放大比例对所述区域进行放大,并在显示屏上显示放大后的所述区域;或者根据用户选择的缩小操作和缩小比例对所述区域进行缩小;从而实现了对球型壁纸进行局部放大或缩小。Exemplarily, when a scaling command is detected, the touch screen enters the selection mode, and a selection graphic of a specified shape, such as a square selection graphic, pops up, and the size of the selection graphic is corrected by dragging and moving the selection graphic or clicking the border of the selection graphic. When the selected area confirmation instruction is received, the spherical wallpaper within the range of the selected graphic is obtained as the area to be operated. Enlarge the area according to the zoom-in operation and zoom ratio selected by the user, and display the zoomed-in region on the display screen; or reduce the area according to the zoom-out operation and zoom ratio selected by the user; thus realizing the Spherical wallpaper to zoom in or zoom out locally.

作为本发明的第二优选示例,当所述智能设备的触摸屏上检测到旋转指令,根据所述旋转指令对所述球型壁纸进行旋转操作。所述旋转指令可以通过单个手指单击滑动操作触发,此处不对所述旋转指令的触发方式进行限制。As a second preferred example of the present invention, when a rotation instruction is detected on the touch screen of the smart device, the spherical wallpaper is rotated according to the rotation instruction. The rotation instruction may be triggered by a single finger click and slide operation, and the triggering manner of the rotation instruction is not limited here.

图5示出了本发明实施例一提供的根据所述旋转指令对所述球型壁纸进行旋转操作的具体实现流程,参阅图5,所述步骤包括:Fig. 5 shows a specific implementation process of rotating the spherical wallpaper according to the rotation command provided by Embodiment 1 of the present invention. Referring to Fig. 5, the steps include:

在步骤S501中,获取用户输入的滑动轨迹,将所述滑动轨迹沿X轴和Y轴进行分解,获得所述滑动轨迹在X轴上的分量和在Y轴上的分量。In step S501, the slide track input by the user is obtained, and the slide track is decomposed along the X axis and the Y axis, and the component of the slide track on the X axis and the component on the Y axis are obtained.

在步骤S502中,当所述滑动轨迹在X轴上的分量的绝对值大于所述滑动轨迹在Y轴上的分量的绝对值,且所述滑动轨迹在X轴上的分量为正值时,控制所述球型壁纸沿第一中心轴旋转向右旋转。In step S502, when the absolute value of the component of the sliding track on the X axis is greater than the absolute value of the component of the sliding track on the Y axis, and the component of the sliding track on the X axis is a positive value, Control the spherical wallpaper to rotate to the right along the first central axis.

在步骤S503中,当所述滑动轨迹在X轴上的分量的绝对值大于所述滑动轨迹在Y轴上的分量的绝对值,且所述滑动轨迹在X轴上的分量为负值时,控制所述球型壁纸沿第一中心轴旋转向左旋转。In step S503, when the absolute value of the component of the sliding track on the X axis is greater than the absolute value of the component of the sliding track on the Y axis, and the component of the sliding track on the X axis is a negative value, Control the spherical wallpaper to rotate to the left along the first central axis.

在步骤S504中,当所述滑动轨迹在Y轴上的分量的绝对值大于所述滑动轨迹在X轴上的分量的绝对值,且所述滑动轨迹在Y轴上的分量为正值时,控制所述球型壁纸沿第二中心轴旋转向上旋转。In step S504, when the absolute value of the component of the sliding track on the Y axis is greater than the absolute value of the component of the sliding track on the X axis, and the component of the sliding track on the Y axis is a positive value, The spherical wallpaper is controlled to rotate upward along the second central axis.

在步骤S505中,当所述滑动轨迹在Y轴上的分量的绝对值大于所述滑动轨迹在X轴上的分量的绝对值,且所述滑动轨迹在Y轴上的分量为负值时,控制所述球型壁纸沿第二中心轴旋转向下旋转。In step S505, when the absolute value of the component of the sliding track on the Y axis is greater than the absolute value of the component of the sliding track on the X axis, and the component of the sliding track on the Y axis is a negative value, The spherical wallpaper is controlled to rotate downward along the second central axis.

示例性地,当检测到滑动操作时,获取所述滑动操作对应的滑动轨迹,并将所述滑动轨迹沿触摸屏所在平面的平面直角坐标系进行分解,分解后获取到所述滑动轨迹在X轴上的分量和在Y轴上的分量,然后比较所述滑动轨迹在X轴上的分量的绝对值与在Y轴上的分量的绝对值大小。当在X轴上的分量的绝对值大于Y轴上的分量的绝对值,判定用户有沿第一中心轴向左或向右旋转的意向,通过所述滑动轨迹在X轴上的分量的正负来确定是向左还是向右旋转。其中,所述第一中心轴与触摸屏所在平面的平面直角坐标系中Y轴平行。当在Y轴上的分量的绝对值大于X轴上的分量的绝对值,判定用户有沿第二中心轴向上或向下旋转的意向,通过所述滑动轨迹在Y轴上的分量的正负来确定是向上还是向下旋转。其中,所述第二中心轴与触摸屏所在平面的平面直角坐标系中X轴平行。当在X轴上的分量的绝对值等于Y轴上的分量的绝对值,结束本次滑动操作。Exemplarily, when a sliding operation is detected, the sliding track corresponding to the sliding operation is obtained, and the sliding track is decomposed along the plane Cartesian coordinate system of the plane where the touch screen is located. After the decomposition, the sliding track on the X-axis The component on the Y axis and the component on the Y axis, and then compare the absolute value of the component on the X axis and the absolute value of the component on the Y axis of the sliding track. When the absolute value of the component on the X-axis is greater than the absolute value of the component on the Y-axis, it is determined that the user has an intention to rotate left or right along the first central axis, and the positive value of the component on the X-axis through the sliding track Negative to determine whether to rotate left or right. Wherein, the first central axis is parallel to the Y axis in the Cartesian coordinate system of the plane where the touch screen is located. When the absolute value of the component on the Y axis is greater than the absolute value of the component on the X axis, it is determined that the user has an intention to rotate upward or downward along the second central axis, and the positive value of the component on the Y axis through the sliding track Negative to determine whether to rotate up or down. Wherein, the second central axis is parallel to the X-axis in the Cartesian coordinate system of the plane where the touch screen is located. When the absolute value of the component on the X axis is equal to the absolute value of the component on the Y axis, the sliding operation ends.

通过上述步骤,实现了对球型壁纸的旋转,用户可通过不同方向的滑动轨迹控制所述球型壁纸向上、下、左、右四个方向旋转,方便用户查看隐藏在球体背面的图案,丰富了用户的视觉效果,且不需要对壁纸进行分屏展示,极大地方面了用户的操作和提升了用户的体验感。Through the above steps, the rotation of the spherical wallpaper is realized. The user can control the rotation of the spherical wallpaper in four directions up, down, left, and right through sliding tracks in different directions, which is convenient for the user to view the pattern hidden on the back of the sphere. The user's visual effect is improved, and there is no need to display the wallpaper on a split screen, which greatly facilitates the user's operation and improves the user's experience.

本发明实施例将普通的平面壁纸处理成为球型壁纸,并构建球型桌面,将所述球型壁纸显示在所述球型桌面上,实现了桌面壁纸的立体显示,丰富了桌面壁纸的显示效果,且通过对球型壁纸的旋转,避免了对壁纸的分页展示,提高了用户的体验感。In the embodiment of the present invention, the ordinary flat wallpaper is processed into a spherical wallpaper, and a spherical desktop is constructed, and the spherical wallpaper is displayed on the spherical desktop, thereby realizing a three-dimensional display of the desktop wallpaper and enriching the display of the desktop wallpaper effect, and through the rotation of the spherical wallpaper, the paging display of the wallpaper is avoided, and the user experience is improved.

应理解,在本发明实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that in the embodiment of the present invention, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, rather than the implementation process of the embodiment of the present invention. constitute any limitation.

实施例二:Embodiment two:

图6示出了本发明实施例二提供的桌面壁纸处理装置的组成结构,为了便于说明,仅示出了与本发明实施例相关的部分。Fig. 6 shows the composition structure of the desktop wallpaper processing device provided by Embodiment 2 of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown.

在本发明实施例中,所述装置可以是内置于智能设备的软件单元、硬件单元或者软硬件结合的单元。所述智能设备上设置有一触摸显示屏,通过所述触摸显示屏与用户交互。示例性地,所述智能设备包括但不限于智能手机、平板电脑、学习机、智能车载设备、智能穿戴设备等。In the embodiment of the present invention, the apparatus may be a software unit, a hardware unit or a combination of software and hardware built in the smart device. The smart device is provided with a touch display screen, and interacts with the user through the touch display screen. Exemplarily, the smart device includes, but is not limited to, a smart phone, a tablet computer, a learning machine, a smart vehicle device, a smart wearable device, and the like.

如图6所示,所述装置包括:As shown in Figure 6, the device includes:

分区单元61,用于将一张平面壁纸进行分区,形成至少两个第一分区;A partition unit 61, configured to partition a piece of flat wallpaper to form at least two first partitions;

压缩单元62,用于对每个第一分区按照模板尺寸进行压缩,形成两端分离中间连接的第二分区;A compression unit 62, configured to compress each first partition according to the size of the template to form a second partition with two ends separated and connected in the middle;

处理单元63,用于将形成的每个第二分区的上端和上端连接,下端和下端连接,形成球型壁纸。The processing unit 63 is configured to connect the upper end to the upper end and the lower end to the lower end of each formed second partition to form a spherical wallpaper.

可选地,所述装置还包括:Optionally, the device also includes:

构建单元,用于构建球型桌面;A construction unit for constructing a spherical table top;

显示单元,用于将所述球型壁纸显示在所述球型桌面上。The display unit is configured to display the spherical wallpaper on the spherical desktop.

其中,所述球型桌面包括一可旋转球体,所述球体以经线和纬线的方式划分成多个网格,任一经线和任一纬线相互之间垂直相交,从而构建出一球型桌面。所述球型桌面以三维立体视图的方式显示在所述智能设备触摸屏的指定位置上,优选地,所述指定位置可以为触摸屏的上端、中间或者底部等。每当智能终端进入桌面时,则在显示屏上显示所述球型桌面。所述球型壁纸显示在所述球型桌面上。Wherein, the spherical desktop includes a rotatable sphere, and the spherical body is divided into multiple grids in the manner of warp and latitude, and any warp and any latitude intersect perpendicularly with each other, thereby constructing a spherical desktop. The spherical desktop is displayed in a three-dimensional view at a specified position on the touch screen of the smart device. Preferably, the specified position may be the upper end, middle or bottom of the touch screen. Whenever the smart terminal enters the desktop, the spherical desktop is displayed on the display screen. The spherical wallpaper is displayed on the spherical desktop.

可选地,所述装置还包括:Optionally, the device also includes:

缩放单元,用于根据接收的缩放指令对所述球型壁纸进行放大或缩小操作。The zoom unit is configured to zoom in or zoom out the spherical wallpaper according to the received zoom command.

可选地,所述装置还包括:Optionally, the device also includes:

旋转单元,用于根据接收的旋转指令对所述球型壁纸进行旋转操作。A rotation unit, configured to perform a rotation operation on the spherical wallpaper according to the received rotation instruction.

作为本发明的一个优选示例,所述旋转单元具体包括:As a preferred example of the present invention, the rotating unit specifically includes:

获取模块,用于获取用户输入的滑动轨迹,将所述滑动轨迹沿X轴和Y轴进行分解,获得所述滑动轨迹在X轴上的分量和在Y轴上的分量;An acquisition module, configured to acquire a sliding trajectory input by the user, decompose the sliding trajectory along the X axis and the Y axis, and obtain the component of the sliding trajectory on the X axis and the component on the Y axis;

第一旋转模块,用于当所述滑动轨迹在X轴上的分量的绝对值大于所述滑动轨迹在Y轴上的分量的绝对值,且所述滑动轨迹在X轴上的分量为正值时,控制所述球型壁纸沿第一中心轴旋转向右旋转;The first rotation module is used for when the absolute value of the component of the sliding track on the X axis is greater than the absolute value of the component of the sliding track on the Y axis, and the component of the sliding track on the X axis is a positive value , control the spherical wallpaper to rotate to the right along the first central axis;

第二旋转模块,用于当所述滑动轨迹在X轴上的分量的绝对值大于所述滑动轨迹在Y轴上的分量的绝对值,且所述滑动轨迹在X轴上的分量为负值时,控制所述球型壁纸沿第一中心轴旋转向左旋转;The second rotation module is used for when the absolute value of the component of the sliding track on the X axis is greater than the absolute value of the component of the sliding track on the Y axis, and the component of the sliding track on the X axis is a negative value , control the spherical wallpaper to rotate to the left along the first central axis;

第三旋转模块,用于当所述滑动轨迹在Y轴上的分量的绝对值大于所述滑动轨迹在X轴上的分量的绝对值,且所述滑动轨迹在Y轴上的分量为正值时,控制所述球型壁纸沿第二中心轴旋转向上旋转;The third rotation module is used for when the absolute value of the component of the sliding track on the Y axis is greater than the absolute value of the component of the sliding track on the X axis, and the component of the sliding track on the Y axis is a positive value , control the spherical wallpaper to rotate upward along the second central axis;

第四旋转模块,用于当所述滑动轨迹在Y轴上的分量的绝对值大于所述滑动轨迹在X轴上的分量的绝对值,且所述滑动轨迹在Y轴上的分量为负值时,控制所述球型壁纸沿第二中心轴旋转向下旋转。The fourth rotation module is used for when the absolute value of the component of the sliding track on the Y axis is greater than the absolute value of the component of the sliding track on the X axis, and the component of the sliding track on the Y axis is a negative value , the spherical wallpaper is controlled to rotate downward along the second central axis.

通过所述旋转单元,实现了对球型壁纸的旋转,用户可通过不同方向的滑动轨迹控制所述球型壁纸向上、下、左、右四个方向旋转,方便用户查看隐藏在球体背面的图案,丰富了用户的视觉效果,且不需要对壁纸进行分屏展示,极大地方面了用户的操作和提升了用户的体验感。Through the rotation unit, the rotation of the spherical wallpaper is realized, and the user can control the rotation of the spherical wallpaper in four directions of upward, downward, left, and right through sliding tracks in different directions, which is convenient for the user to view the patterns hidden on the back of the sphere , which enriches the user's visual effect, and does not require split-screen display of the wallpaper, which greatly facilitates the user's operation and improves the user's experience.

需要说明的是,本发明实施例中的装置可以用于实现上述方法实施例中的全部技术方案,其各个功能模块的功能可以根据上述方法实施例中的方法具体实现,其具体实现过程可参照上述实例中的相关描述,此处不再赘述。It should be noted that the device in the embodiment of the present invention can be used to realize all the technical solutions in the above method embodiment, and the functions of each functional module can be realized according to the method in the above method embodiment, and the specific implementation process can refer to Relevant descriptions in the above examples will not be repeated here.

本发明实施例将普通的平面壁纸处理成为球型壁纸,并构建球型桌面,将所述球型壁纸显示在所述球型桌面上,实现了桌面壁纸的立体显示,丰富了桌面壁纸的显示效果,且通过对球型壁纸的旋转,避免了对壁纸的分页展示,提高了用户的体验感。In the embodiment of the present invention, the ordinary flat wallpaper is processed into a spherical wallpaper, and a spherical desktop is constructed, and the spherical wallpaper is displayed on the spherical desktop, thereby realizing a three-dimensional display of the desktop wallpaper and enriching the display of the desktop wallpaper effect, and through the rotation of the spherical wallpaper, the paging display of the wallpaper is avoided, and the user experience is improved.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (6)

1. a kind of processing method of desktop wallpaper, which is characterized in that the method includes:
One sheet of planar wallpaper is subjected to subregion, forms the first identical subregion of at least two sizes, the plane wallpaper is rectangle;
Each first subregion according to template size is compressed, forms intermediate the second subregion connected of both ends separation;
First the second subregion of formation with the last one second subregion is connected, is formed a circle, then by adjacent two second The upper end of subregion is connected with upper end, and lower end is connected with lower end, forms ball-type wallpaper;
Rotation process is carried out to the ball-type wallpaper according to the rotation of reception instruction, is specifically included:
Sliding trace input by user is obtained, the sliding trace is decomposed along X-axis and Y-axis, obtains the sliding trace Component in X-axis and the component in Y-axis;
When component of the sliding trace in X-axis absolute value be more than component of the sliding trace in Y-axis absolute value, And the sliding trace controls the ball-type wallpaper along the first center axis rotation to right rotation when the component in X-axis is positive value;
When component of the sliding trace in X-axis absolute value be more than component of the sliding trace in Y-axis absolute value, And the sliding trace controls the ball-type wallpaper along the first center axis rotation to anticlockwise when the component in X-axis is negative value;
When component of the sliding trace in Y-axis absolute value be more than component of the sliding trace in X-axis absolute value, And the sliding trace controls the ball-type wallpaper to be rotated up along the second center axis rotation when the component in Y-axis is positive value;
When component of the sliding trace in Y-axis absolute value be more than component of the sliding trace in X-axis absolute value, And the sliding trace controls the ball-type wallpaper to be rotated down along the second center axis rotation when the component in Y-axis is negative value.
2. according to the method described in claim 1, it is characterized in that, in the upper end of each second subregion by formation and upper End connection, lower end are connected with lower end, are formed after ball-type wallpaper, further included:
Build ball-type desktop;
The ball-type wallpaper is included on the ball-type desktop.
3. according to the method described in claim 1, it is characterized in that, in the upper end of each second subregion by formation and upper End connection, lower end are connected with lower end, are formed after ball-type wallpaper, further included:
Operation is zoomed in or out to the ball-type wallpaper according to the instruction of the scaling of reception.
4. a kind of processing unit of desktop wallpaper, which is characterized in that described device includes:
Zoning unit for a sheet of planar wallpaper to be carried out subregion, forms the first identical subregion of at least two sizes, described flat Surface wallpaper is rectangle;
Compression unit, for being compressed to each first subregion according to template size, formed both ends separation it is intermediate connect the Two subregions;
Processing unit, first the second subregion for that will be formed are connected with the last one second subregion, form a circle, then by phase The upper end of two adjacent the second subregions is connected with upper end, and lower end is connected with lower end, forms ball-type wallpaper;
Rotary unit, for carrying out rotation process to the ball-type wallpaper according to the rotation of reception instruction;
The rotary unit includes:
For obtaining sliding trace input by user, the sliding trace is decomposed along X-axis and Y-axis for acquisition module, is obtained Component of the sliding trace in X-axis and the component in Y-axis;
First rotary module, for working as the absolute value of component of the sliding trace in X-axis more than the sliding trace in Y-axis On component absolute value, and the sliding trace the component in X-axis be positive value when, control the ball-type wallpaper along first Mandrel is rotated to right rotation;
Second rotary module, for working as the absolute value of component of the sliding trace in X-axis more than the sliding trace in Y-axis On component absolute value, and the sliding trace the component in X-axis be negative value when, control the ball-type wallpaper along first Mandrel is rotated to anticlockwise;
Third rotary module, for working as the absolute value of component of the sliding trace in Y-axis more than the sliding trace in X-axis On component absolute value, and the sliding trace the component in Y-axis be positive value when, control the ball-type wallpaper along second Mandrel rotation rotates up;
4th rotary module, for working as the absolute value of component of the sliding trace in Y-axis more than the sliding trace in X-axis On component absolute value, and the sliding trace the component in Y-axis be negative value when, control the ball-type wallpaper along second Mandrel rotation is rotated down.
5. device according to claim 4, which is characterized in that described device further includes:
Construction unit, for building ball-type desktop;
Display unit, for including the ball-type wallpaper in the ball-type desktop.
6. device according to claim 4, which is characterized in that described device further includes:
Unit for scaling, for zooming in or out operation to the ball-type wallpaper according to the instruction of the scaling of reception.
CN201510304543.7A 2015-06-05 2015-06-05 A kind of processing method and processing device of desktop wallpaper Expired - Fee Related CN104850410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510304543.7A CN104850410B (en) 2015-06-05 2015-06-05 A kind of processing method and processing device of desktop wallpaper

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510304543.7A CN104850410B (en) 2015-06-05 2015-06-05 A kind of processing method and processing device of desktop wallpaper

Publications (2)

Publication Number Publication Date
CN104850410A CN104850410A (en) 2015-08-19
CN104850410B true CN104850410B (en) 2018-06-19

Family

ID=53850073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510304543.7A Expired - Fee Related CN104850410B (en) 2015-06-05 2015-06-05 A kind of processing method and processing device of desktop wallpaper

Country Status (1)

Country Link
CN (1) CN104850410B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202783A (en) * 2006-12-13 2008-06-18 财团法人资讯工业策进会 User interface device and method thereof
CN103970500A (en) * 2014-03-31 2014-08-06 小米科技有限责任公司 Method and device for displaying picture

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2366978A (en) * 2000-09-15 2002-03-20 Ibm GUI comprising a rotatable 3D desktop
US20110225521A1 (en) * 2008-08-22 2011-09-15 Turan Cicecki Digital sphere linked to its browser acting as 3-dimensional desktop and internet browser

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202783A (en) * 2006-12-13 2008-06-18 财团法人资讯工业策进会 User interface device and method thereof
CN103970500A (en) * 2014-03-31 2014-08-06 小米科技有限责任公司 Method and device for displaying picture

Also Published As

Publication number Publication date
CN104850410A (en) 2015-08-19

Similar Documents

Publication Publication Date Title
CN104834438A (en) Desktop display method and device
Pfeuffer et al. Gaze-touch: combining gaze with multi-touch for interaction on the same surface
US20130234957A1 (en) Information processing apparatus and information processing method
CN105204763B (en) A kind of terminal unlock method and terminal
JP5439410B2 (en) Operation information input system
DE112018002775T5 (en) METHOD AND DEVICE FOR DETECTING PLANES AND / OR QUADTREES FOR USE AS A VIRTUAL SUBSTRATE
CN107452055B (en) Three-dimensional house type graph generation method and device
WO2015196703A1 (en) Application icon display method and apparatus
US20160224198A1 (en) Mobile device and displaying method thereof
CN110221722B (en) Picture processing method, electronic device and storage medium
CN103605804A (en) Method and system for ranking desktop objects
CN104267931B (en) A kind of information processing method and electronic equipment
CN110032326A (en) Mobile terminal shows control method, device, equipment and the storage medium of picture
CN112181551A (en) Information processing method and related equipment
CN105094718B (en) A kind of method and mobile terminal carrying out the adjustment of 3D model based on mobile terminal
US20160054879A1 (en) Portable electronic devices and methods for operating user interfaces
CN103870117B (en) A kind of information processing method and electronic equipment
CN104850410B (en) A kind of processing method and processing device of desktop wallpaper
CN102622179A (en) Touch screen electronic equipment-based method for accessing subfile
CN102902498B (en) Data displaying method and device
JP5705768B2 (en) Operation information input system and content search method executed by operation information input system
CN110032305B (en) Gesture-based manipulator for rotation
EP3475853A1 (en) System and method for perception-based selection of features in a geometric model of a part
US20190018549A1 (en) Multi-touch gui featuring directional compression and expansion of graphical content
EP2887195B1 (en) A computer-implemented method for designing a three-dimensional modeled object

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180619

CF01 Termination of patent right due to non-payment of annual fee