WO2016176844A1 - 一种手机动态锁屏的方法及装置 - Google Patents

一种手机动态锁屏的方法及装置 Download PDF

Info

Publication number
WO2016176844A1
WO2016176844A1 PCT/CN2015/078407 CN2015078407W WO2016176844A1 WO 2016176844 A1 WO2016176844 A1 WO 2016176844A1 CN 2015078407 W CN2015078407 W CN 2015078407W WO 2016176844 A1 WO2016176844 A1 WO 2016176844A1
Authority
WO
WIPO (PCT)
Prior art keywords
component
lock screen
user
dynamic
script
Prior art date
Application number
PCT/CN2015/078407
Other languages
English (en)
French (fr)
Inventor
谢峰
Original Assignee
上海欧拉网络技术有限公司
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 上海欧拉网络技术有限公司 filed Critical 上海欧拉网络技术有限公司
Priority to PCT/CN2015/078407 priority Critical patent/WO2016176844A1/zh
Priority to CN201580006081.9A priority patent/CN106415486B/zh
Publication of WO2016176844A1 publication Critical patent/WO2016176844A1/zh

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]

Definitions

  • the invention relates to the field of mobile phone lock screen, in particular to a method and device for dynamically locking a mobile phone.
  • Mobile phone lock screen is a technology to prevent users from misuse and to protect privacy.
  • Today, the concept of lock screen is still dependent on Android.
  • System controls are developed and still maintain a relatively static mode.
  • ordinary lock screens cannot meet the needs of users, that is, they cannot meet the needs of different users.
  • some lock screens already provide functions such as replacing the unlocking components and wallpapers, they are less expandable, adaptable, and easy to use, and because of the resolution of the mobile phone and the manufacturer, the interoperability of the lock screen is also greatly improved. Limited.
  • the technical problem to be solved by the present invention is to provide a method and an apparatus for dynamically locking a mobile phone that can meet the needs of different users in view of the above-mentioned shortcomings of the prior art that cannot meet the needs of different users.
  • the technical solution adopted by the present invention to solve the technical problem thereof is: a method for constructing a dynamic lock screen of a mobile phone, comprising the following steps:
  • the method further includes the following steps:
  • the lock screen script parses the component usage information of the first user and loads the display; the lock screen script includes component number information and other related information used.
  • the method further includes the following steps:
  • the second user enters the lock screen work editing mode and selects multiple DIY modes for DIY editing.
  • the step A) further includes:
  • the related resource fragment and action data includes size, position, and scaling data of each frame of animation;
  • the step B) further includes:
  • step B4) determining whether all component type tags have been parsed, and if so, performing step B5); otherwise, returning to step B2);
  • the step C) further includes:
  • the related data includes location information, frame information, scaling rotation information, picture resource information, and determining whether decryption information is needed;
  • the step D) further includes:
  • the unlocking script and resources of the first user include a lock screen script, a picture resource, and location information content of the component;
  • the step E) further includes:
  • the second user clicks on the dynamic component, the dynamic editable component, and the text component that have been loaded, and selects a corresponding DIY editing mode for the dynamic component, the dynamically editable component, and the text component;
  • the second user edits and saves the lock screen work, and generates a lock screen script according to the content used by the current lock screen.
  • the DIY editing mode includes a wallpaper editing mode, a dynamic unlocking component editing mode, a dynamic time and date component editing mode, a dynamic special effect component editing mode, a text component editing mode, and a dynamic wizard. Role component editing mode and dynamic decoration component editing mode.
  • the dynamic component is clicked, the size of the dynamic component is scaled, the position is moved, rotated, the color is adjusted, and the halo is adjusted; and the dynamic editable component is clicked.
  • the size of the dynamic editable component is scaled, the position is moved, rotated, the color is adjusted, the halo is adjusted, and the text, font color, and text halo are adjusted for the text that has been added and replaced; and the text component is clicked.
  • the size of the text component is scaled, the position is moved, rotated, the color is adjusted, the halo is adjusted, and the text, font color, and text halo are adjusted for the text that has been added and replaced.
  • the invention also relates to an apparatus for implementing the method for dynamically locking a screen of the above mobile phone, comprising:
  • Component production unit for making dynamic components and exporting related resource fragments and action data, and converting the related resource fragments and action data into animation scripts and component resources of different resolutions, and respectively respectively animating the different resolutions
  • the script and component resources are compressed into dynamic component compression packages
  • Lock screen script parsing unit used to open the lock screen function, parse the lock screen script, load all component numbers and related position information used by the lock screen script;
  • a compressed package download reorganization unit configured to download a set of the dynamic component compression package, and sequentially obtain corresponding animation scripts and component resources in the dynamic component compression package by using the component number, and from the corresponding animation script The action data is read, and the acquired component resources are reorganized and played according to conditions.
  • the method further includes:
  • Calculating a load display unit configured to automatically generate a lock screen script according to the content currently saved by the first user when the first user saves the component number and related location information, where the first user uploads a shared lock screen data resource After the second user downloads, the lock screen data resource is parsed by parsing the lock screen script, and the scale information is calculated according to the first user's mobile phone resolution and the second user's mobile phone resolution.
  • the method further includes:
  • DIY editing unit used to enable the second user to enter the lock screen work editing mode and select multiple DIY modes for DIY editing.
  • the component manufacturing unit further includes:
  • Animation component production module used to make a set of dynamic components through the flash editor
  • Exporting a conversion module for deriving related resource fragmentation and action data by flash; the related resource fragment and action data includes size, position, and scaling data of each frame of animation;
  • Cutting encryption module for cutting and encrypting the related resource fragment and action data by an animation script packaging tool to generate three sets of animation scripts and component resources of different resolutions; the three sets of component resources of different resolutions Less than 480 * 800 resolution resources, resolution resources between 480 * 800 ⁇ 720 * 1280 and ultra high definition resources;
  • Packing module used to package the three sets of different resolution animation scripts and component resources into three sets of dynamic component compression packages in zip format.
  • the lock screen script parsing unit further includes:
  • the component label reading module is configured to open a lock screen function, and read a component label of a related type according to the current lock screen; the component label of the related type includes an unlock component type label;
  • the lock screen component judgment module is configured to determine whether the lock screen component is currently used, and if so, return the corresponding component number; otherwise, return the default unlock component number;
  • Unlock component loading module used to load and generate unlock component objects according to component type and component number;
  • Traversal module used to determine whether all component type tags have been parsed
  • Parsing end module used for parsing end.
  • the compressed package download reorganization unit further includes:
  • Animated script reading module used to read animation scripts based on component type and component number;
  • An animation script parsing module configured to parse the animation script and read related data therefrom; the related data includes location information, frame information, scaling rotation information, image resource information, and determining whether decryption information is needed;
  • Animated object generation module used to generate an animated object and assign the parsed data
  • a position information judging module configured to determine whether the animated object has been saved with its position information, and if so, assigning the current position information to the animated object; otherwise, assigning the default position information to the animated object;
  • Load play module used to finish loading and playing.
  • the calculating the loading display unit further comprises:
  • Editing module used to make the first user edit or create a new lock screen work
  • a lock screen work save module configured to enable the first user to save the lock screen work, and automatically generate a lock screen script
  • a sharing module configured to enable the first user to share and upload the unlocked work
  • the uploading module is configured to upload the unlocking script and the resource of the first user to the server for downloading by the second user;
  • the resources of the first user include a lock screen script, a picture resource, and a location information content of the component;
  • a lock screen work downloading module configured to enable the second user to download the lock screen work
  • a position ratio calculation module configured to perform position ratio calculation according to the resolution of the first user and the resolution of the second user, and obtain the zoom ratio and the position information to perform re-evaluation of the position information;
  • the lock screen work parsing module is configured to enable the second user to parse the lock screen work and load the lock screen animation object.
  • the DIY editing unit further includes:
  • Edit mode entry module used to enable the second user to enter the lock screen work DIY editing mode
  • Loading display module used to load all component content used by the current lock screen and play display, and display a plurality of DIY editing mode lists; all component contents include dynamic components, dynamic editable components and text components;
  • a component click module configured to cause the second user to click the dynamic component, the dynamic editable component, and the text component that have been loaded, and select a corresponding DIY editing mode for the dynamic component, the dynamically editable component, and the text component;
  • the edit save module is configured to enable the second user to edit and save the lock screen work, and generate a lock screen script according to the content used by the current lock screen.
  • the DIY editing mode includes a wallpaper editing mode, a dynamic unlocking component editing mode, a dynamic time and date component editing mode, a dynamic special effect component editing mode, a text component editing mode, a dynamic wizard character component editing mode, and Dynamic decoration component editing method.
  • the dynamic component is clicked, the dynamic component is scaled, the position is moved, rotated, the color is adjusted, and the halo is adjusted; and the dynamic editable component is clicked on the dynamic
  • the editable component performs size scaling, position movement, rotation, color adjustment, halo adjustment, text font, text color, and text halo adjustment for text that has been replaced; click on the text component to the text
  • the component is sized, moved, rotated, adjusted in color, adjusted for halo, and adjusted for text, text, and text halos for text that has been replaced.
  • the method and device for implementing the dynamic lock screen of the mobile phone of the present invention have the following beneficial effects: by dividing the relevant resource fragments and action data into animation scripts and component resources of different resolutions, and respectively respectively animating scripts and components of different resolutions
  • the resource is compressed into a dynamic component compression package; then the lock screen script is parsed, the lock screen animation object is loaded through the animation script, and the lock screen component is continuously iterated and updated by continuously updating the lock screen script, so that the lock screen component can be more and more abundant.
  • FIG. 1 is a flow chart of a method in an embodiment of a method and apparatus for dynamically locking a mobile phone according to the present invention
  • FIG. 2 is a specific flowchart of the embodiment in which the related resource fragment and the action data are divided into animation scripts and component resources of different resolutions, and the animation scripts and component resources of different resolutions are respectively compressed into dynamic component compression packages;
  • 3 is a specific flowchart of opening the lock screen function, parsing the lock screen script, loading all the component numbers and related position information used by the lock screen script in the embodiment;
  • FIG. 4 is a block diagram of downloading a set of the dynamic component compression package in the embodiment, sequentially acquiring corresponding animation scripts and component resources in the dynamic component compression package by using the component number, and reading the action data from the corresponding animation script, and simultaneously A specific flow chart for reorganizing the acquired component resources and playing them according to the conditions;
  • FIG. 5 is a specific flowchart of parsing and sharing user resources after downloading in the embodiment
  • Figure 7 is a schematic view showing the structure of the apparatus in the embodiment.
  • FIG. 1 a flowchart of a method for dynamically locking a mobile phone is shown in FIG. 1 .
  • the method for dynamically locking a screen of the mobile phone comprises the following steps:
  • Step S01 creates a dynamic component and exports related resource fragments and action data, and converts related resource fragments and action data into animation scripts and component resources of different resolutions, and respectively compresses animation scripts and component resources of different resolutions into dynamic components.
  • Compressed package In this step, dynamic components are produced, and related resource fragments and action data are exported, and the related resource fragments and action data are converted into animation scripts and component resources of different resolutions for adaptation, and different resolutions are respectively adopted.
  • the animation scripts and component resources are compressed into dynamic component archives that are available for download to users. It is worth mentioning that the animation script will indicate what component type content and its related properties are to distinguish the component type and function.
  • Step S02 unlocking the lock screen function, parsing the lock screen script, loading all component numbers and related position information used by the lock screen script: in this step, opening the lock screen function, parsing the lock screen script, and loading the rules of the lock screen script by loading All component numbers and related location information used by the lock screen script.
  • Step S03 downloads a set of dynamic component compression package, sequentially obtains the corresponding animation script and component resources in the dynamic component compression package by using the component number, and reads the action data from the corresponding animation script, and simultaneously reassembles the acquired component resources.
  • the action data is read, and the acquired component resources are reorganized and played according to the conditions. It is worth mentioning that it is played according to conditions, such as: looping or related playback.
  • the lock screen component is continuously iteratively updated, so that the lock screen component can be more and more interesting and interesting, and continuously meet the needs of different users, so it can meet the needs of different users.
  • the method for dynamically locking the screen of the mobile phone further includes the following steps:
  • Step S04 When the first user saves the component number and related location information, automatically generates a lock screen script according to the content currently saved by the first user, the first user uploads the shared lock screen data resource, and after the second user downloads, the lock screen is parsed.
  • the script parses the lock screen data resource, and calculates a scaling value of the location information according to the first user's mobile phone resolution and the second user's mobile phone resolution, and simultaneously parses the lock screen script to use the first user component usage information. Parsing and loading the display: In this step, when the first user saves the component number and related location information, automatically generates a lock screen script according to the content currently saved by the first user, and the first user voluntarily uploads the shared lock screen data resource.
  • the second user After downloading the lock screen data resource, the second user parses the lock screen data resource by parsing the lock screen script, and performs proportional conversion according to the first user's mobile phone resolution and the second user's mobile phone resolution, and calculates the proportion of the position information. Scale the value to fit all model content, while parsing the lock screen script, first Households component uses the information parsed and loaded to display user lock screen to achieve transfer between each other, which can improve interoperability between different users of the lock screen. It is worth mentioning that the lock screen script contains the component number information used and other relevant important information.
  • the method for dynamically locking the mobile phone needs to include the following steps:
  • Step S05 The second user enters the lock screen work editing mode and selects multiple DIY modes for DIY editing: in this step, the second user enters the lock screen work editing mode, and can select multiple DIY modes for DIY editing.
  • step S01 can be further refined, and the refined flowchart is as shown in FIG. 2 .
  • the above step S01 further includes:
  • Step S11 Create a dynamic component through the flash editor: In this step, a set of dynamic components is created by the flash editor.
  • Step S12 Export related resource fragments and action data by using flash:
  • related resource fragments and action data are exported through flash.
  • the related resource fragment and action data include the size, position and scaling data of each frame animation.
  • Step S13 cutting and encrypting related resource fragments and motion data by an animation script packaging tool to generate three sets of animation scripts and component resources of different resolutions: in this step, the related resource fragments and actions are performed by the animation script packaging tool. The data is cut and encrypted to generate three sets of animation scripts and component resources of different resolutions.
  • the three sets of component resources of different resolutions are respectively less than 480. * 800 resolution resources, resolution resources between 480 * 800 ⁇ 720 * 1280 and Ultra HD resources. Among them, less than 480 * The component resources of the resolution of 800 support low-purity resource packets.
  • Step S14 Three sets of different resolution animation scripts and component resources are packaged into three sets of dynamic component compression packages in zip format: In this step, three sets of different resolution animation scripts and component resources are packaged into three sets of zip format dynamics. Component tarball. This is convenient for users of different resolutions to download.
  • step S02 can be further refined, and the refined flowchart is as shown in FIG. 3.
  • the above step S02 further includes:
  • step S21 the lock screen function is opened, and the component label of the relevant type is read according to the current lock screen: in this step, the lock screen function is opened, and the component label of the relevant type is respectively read according to the current lock screen.
  • the component tags of the above related types include the unlock component type tags.
  • step S22 it is determined whether the lock screen component is currently used.
  • the unlock component is taken as an example, and according to the unlock component type label, it is determined whether the lock screen component is currently used. If the result of the determination is yes, step S24 is performed; otherwise, Step S23 is performed.
  • Step S23 returns to the default unlock component number: if the result of the above step S22 is NO, the present step is executed. In this step, the default unlock component number is returned. After performing this step, step S25 is performed.
  • Step S24 Returning the corresponding component number: If the result of the above step S22 is YES, the present step is executed. In this step, the corresponding component number is returned. After performing this step, step S25 is performed.
  • Step S25 The load generation unlock component object is loaded according to the component type and component number: In this step, the build unlock component object is loaded according to the component type and the component number. After performing this step, step S26 is performed.
  • Step S26 It is judged whether all the component type tags have been parsed: in this step, all the component type tags are traversed, and it is judged whether all the component type tags have been parsed. If the result of the determination is yes, step S27 is performed; otherwise, the process returns to step S22.
  • step S27 if the result of the above-mentioned step S26 is YES, the present step is executed. In this step, the analysis ends. This implements the parsing of the lock screen script.
  • the above step S03 can be further refined, and the refined flowchart is as shown in FIG. 4 .
  • the above step S03 further includes:
  • Step S31 Read animation scripts based on component type and component number: In this step, the animation script is read based on the component type and component number.
  • Step S32 parses the animation script and reads related data from it: in this step, parsing the animation script and reading related data from the related data, the related data includes position information, frame information, zoom rotation information, picture resource information, and whether to determine whether Need to decrypt information, etc.
  • Step S33 Generate an animated object and assign the parsed data: In this step, an animated object is generated and the parsed data is assigned.
  • Step S34 determines whether the animation object has been saved with its position information: in this step, it is determined whether the animation object has been saved its position information, that is, whether the position information of the animation object is saved, and if the result of the determination is yes, then execution is performed. Step S35; otherwise, step S36 is performed.
  • Step S35 assigns the current position information to the animated object: if the result of the above step S34 is YES, the present step is executed. In this step, the current position information is assigned to the animated object. After performing this step, step S37 is performed.
  • Step S36 The default position information is assigned to the animated object: if the result of the above step S34 is NO, the step is executed. In this step, the default location information is assigned to the animated object. After performing this step, step S37 is performed.
  • Step S37 Complete loading and playing: In this step, the loading is completed, and the playing is performed according to the conditions. This achieves a dynamic lock screen.
  • step S04 can be further refined, and the refined flowchart is as shown in FIG. 5.
  • the above step S04 further includes:
  • Step S41 The first user edits or creates a new lock screen work: In this step, the first user edits or creates a new lock screen work.
  • Step S42 The first user saves the lock screen work and automatically generates a lock screen script: in this step, the first user saves the created lock screen work and automatically generates a lock screen script.
  • Step S43 The first user shares the uploaded unlocked work: In this step, the first user shares the uploaded unlocked work.
  • Step S44 uploads the unlocking script and resources of the first user to the server for downloading and using by the second user: in this step, the unlocking script and resources of the first user are uploaded to the server for downloading and using by the second user.
  • the first user's resources include lock screen scripts, picture resources, and location information content of the components.
  • Step S45 The second user downloads the lock screen work: In this step, the second user downloads the lock screen work.
  • Step S46 performs position ratio calculation according to the resolution of the first user and the resolution of the second user, and obtains the zoom ratio and the position information to perform re-assignment of the position information: in this step, according to the resolution of the first user and the second user
  • the resolution is used to calculate the position ratio
  • the obtained scaling and position information are used to re-assign the position information.
  • the position ratio calculation is performed according to the resolution of the first user and the resolution of the second user.
  • the resolution of the first user's mobile phone is 480*800.
  • the resolution of the second user's mobile phone is 720 * 1280
  • the scaling is based on the horizontal resolution.
  • the calculation formula is:
  • Math.min is a function that returns the smallest data of two objects
  • width is the width resolution of the second user's mobile phone
  • height For the height resolution of the second user's phone
  • screenHeight is the vertical resolution of the second user
  • Math.max is the function that returns the maximum data of the two objects
  • serviceWidth is the horizontal resolution of the first user
  • Rh For the width resolution of the first user's phone
  • Rv For the height resolution of the first user's mobile phone
  • serviceHeight is the vertical resolution of the first user
  • zoomX is the scaling of the horizontal coordinate
  • screenWidth is the horizontal resolution of the second user
  • serviceWidth is the horizontal resolution of the first user
  • zoomY is The scaling of the longitudinal coordinates
  • screenHeight is the vertical resolution of the second user
  • serviceHeight is the vertical resolution of the first user.
  • Step S47 The second user parses the lock screen artwork and loads the lock screen animation object: in this step, the second user parses the lock screen artwork and loads the lock screen animation object, so that the second user can use the first user's lock screen artwork.
  • step S05 can be further refined, and the refined flowchart is as shown in FIG. 6.
  • the above step S05 further includes:
  • Step S51 The second user enters the lock screen work DIY editing mode: in this step, the second user enters the lock screen work DIY editing mode.
  • Step S52 loads all the components of the current lock screen and plays the display, and displays a plurality of DIY editing mode lists: in this step, all the component contents used by the current lock screen are loaded and displayed, and the display is performed at the same time.
  • a DIY editing mode list for providing users with different DIY requirements. It is worth mentioning that all the above components include dynamic components, dynamic editable components and text components. DIY editing methods include wallpaper editing mode, dynamic unlocking component editing mode, dynamic time and date component editing mode, dynamic special effect component editing mode, text component editing mode, dynamic wizard character component editing mode and dynamic decoration component editing mode.
  • Step S53 The second user clicks on the loaded dynamic component, the dynamically editable component, and the text component, and selects a corresponding DIY editing mode for the dynamic component, the dynamically editable component, and the text component: in this step, the second user clicks on the loaded Dynamic components, dynamically editable components, and text components, and select the appropriate DIY editing method for dynamic components, dynamic editable components, and text components that have already been loaded.
  • clicking on the dynamic component that has been loaded can be scaled, moved, rotated, adjusted, and adjusted for halo; click on the dynamically editable component that has been loaded, It performs size scaling, position movement, rotation, color adjustment, halo adjustment, text font, text color, and text halo adjustment for text that has been added and replaced; click on the loaded text component to size it The zoom, position movement, rotation, color adjustment, halo adjustment, text font, text color and text halo adjustment for text that has been replaced. It is worth mentioning that when the second user selects the corresponding DIY editing mode for DIY editing for the loaded dynamic component, dynamic editable component and text component, the DIY editing mode list can be selected.
  • the wallpaper editing mode when the second user selects the wallpaper editing mode, the wallpaper is added, deleted, and rotated; when the second user selects the dynamic unlocking component editing mode, the dynamic unlocking component is added and replaced; when the second user selects the dynamic When the time and date component editing mode is provided, the dynamic time and date component is added and replaced; when the second user selects the dynamic effect component editing mode, the dynamic special effect component is added and replaced; when the second user selects the text component editing mode, the text component is provided. Adding, modifying, and deleting; when the second user selects the dynamic sprite character component editing mode, the dynamic sprite character component is added, replaced, and deleted; when the second user selects the dynamic decorative component editing mode, the dynamic decorative component is added multiple times. ,delete.
  • Step S54 The second user edits and saves the lock screen work, and generates a lock screen script according to the content used by the current lock screen.
  • the embodiment further relates to a method for implementing the dynamic lock screen of the mobile phone described above, and a schematic structural diagram thereof is shown in FIG. 7 .
  • the device includes a component making unit 1, a lock screen script parsing unit 2, and a compressed package download recombining unit 3; wherein the component making unit 1 is used to create a dynamic component and derive related resource fragments and action data, and related resources.
  • the fragmentation and motion data are converted into animation scripts and component resources of different resolutions, and the animation scripts and component resources of different resolutions are respectively compressed into dynamic component compression packages;
  • the lock screen script parsing unit 2 is used to open the lock screen function and parse the locks.
  • the compressed package download reorganization unit 3 is configured to download a set of the dynamic component compression package, and sequentially obtain the corresponding component in the dynamic component compression package by using the component number.
  • the apparatus further includes a calculation loading display unit 4, and the calculation loading display unit 4 is configured to save the component number when the first user saves
  • a lock screen script is automatically generated according to the content currently saved by the first user, and the first user uploads the shared lock screen data resource, and after the second user downloads, the lock screen data resource is parsed by parsing the lock screen script, and Calculating the scaling value of the location information according to the resolution of the mobile phone of the first user and the resolution of the mobile phone of the second user, and parsing the component usage information of the first user and loading the display by parsing the lock screen script;
  • the lock screen script includes The component number information and other related information used. This improves the interoperability of the lock screen.
  • the component manufacturing unit 1 further includes an animation component creation module 11, an export conversion module 12, a cutting encryption module 13 and a packaging module 14; wherein the animation component production module 11 is configured to create a dynamic component by using a flash editor;
  • the export conversion module 12 is configured to derive related resource fragments and action data by using flash;
  • the related resource fragment and action data includes size, position and zoom data of each frame animation;
  • the cut encryption module 13 is used to use an animation script packaging tool
  • the related resource fragmentation and action data are cut and encrypted to generate three sets of animation scripts and component resources of different resolutions; the above three sets of component resources of different resolutions are less than 480 respectively.
  • the packaging module 14 is used to package three sets of animation scripts and component resources of different resolutions into three sets of dynamic component compression packages in zip format.
  • the lock screen script parsing unit 2 further includes a component label reading module 21, a lock screen component determining module 22, an unlocking component loading module 23, a traversing module 24, and a parsing end module 25; wherein the component label reading module 21
  • the function of the lock screen is used to read the component label of the relevant type according to the current lock screen;
  • the component label of the related type includes the unlock component type label;
  • the lock screen component determining module 22 is configured to determine whether the lock screen component is currently used, and if so, Return the corresponding component number; otherwise, return the default unlock component number;
  • the unlock component loading module 23 is configured to load and generate the unlock component object according to the component type and the component number;
  • the traversal module 24 is used to determine whether all component type tags have been parsed;
  • the parsing end module 25 is used for parsing to end. This implements the parsing of the lock screen script.
  • the compressed package download and reorganization unit 3 further includes an animation script reading module 31, an animation script parsing module 32, an animated object generating module 33, a position information judging module 34, and a loading and playing module 35; wherein, the animation script reading module 31 is used to read an animation script according to the component type and the component number; the animation script parsing module 32 is configured to parse the animation script and read related data therefrom; the related data includes location information, frame information, zoom rotation information, and image resource information.
  • the animated object generating module 33 is configured to generate the animated object and assign the parsed data
  • the position information judging module 34 is configured to determine whether the animated object has been saved with the position information, and if so, assign the current position information to Animated object; otherwise, the default position information is assigned to the animated object
  • the loading play module 35 is used to complete the loading and playing.
  • the calculation loading display unit 4 further includes an editing module 41, a lock screen work saving module 42, a sharing module 43, an uploading module 44, a lock screen work downloading module 45, a position ratio calculating module 46, and a lock screen work analyzing module 47.
  • the editing module 41 is configured to enable the first user to edit or create a new lock screen work
  • the lock screen work save module 42 is configured to enable the first user to save the lock screen work, and automatically generate a lock screen script
  • the sharing module 43 is configured to The first user shares uploading the unlocked work
  • the uploading module 44 is configured to upload the unlocking script and resources of the first user to the server for downloading by the second user
  • the resources of the first user include a lock screen script, a picture resource, and a component.
  • the location information content; the lock screen work downloading module 45 is configured to enable the second user to download the lock screen work; the position ratio calculation module 46 is configured to perform position ratio calculation according to the resolution of the first user and the resolution of the second user, The obtained scaling and position information is used to re-assign the position information; the lock screen work parsing module 47 is configured to enable the second user to parse the lock screen work And load lock screen animated objects. In this way, the second user can use the first user's lock screen work.
  • the device when the second user wants to perform DIY editing, the device further includes a DIY editing unit 5, and the DIY editing unit 5 further includes an edit mode entry module 51, a load display module 52, a component click module 53, and an edit save module. 54; wherein, the edit mode entry module 51 is configured to enable the second user to enter the lock screen work DIY edit mode; the load display module 52 is configured to load all component content used by the current lock screen and play display, and display multiple DIYs simultaneously.
  • Edit mode list all of the above components include dynamic components, dynamically editable components, and text components; component click module 53 is used to enable the second user to click on the loaded dynamic components, dynamically editable components, and text components, and is a dynamic component, The dynamic editable component and the text component select a corresponding DIY editing mode; the edit saving module 54 is configured to enable the second user to edit and save the lock screen work, and generate a lock screen script according to the content used by the current lock screen.
  • the above DIY editing methods include wallpaper editing mode, dynamic unlocking component editing mode, dynamic time and date component editing mode, dynamic special effect component editing mode, text component editing mode, dynamic sprite character component editing mode and dynamic decoration component editing. the way.
  • the dynamic component is scaled, the position is moved, rotated, the color is adjusted, and the halo is adjusted; when the second user clicks on the dynamically editable component, the size of the dynamically editable component is scaled.
  • the dynamic locking screen of the mobile phone is displayed by combining the parsing script and the animation script, and the different users are used to lock the screen content of each other, thereby solving the relative static of the lock screen and between the users.

Abstract

本发明提出了一种手机动态锁屏的方法及装置,方法包括:制作动态组件并导出相关资源碎片和动作数据,并将所述相关资源碎片和动作数据转换成不同分辨率的动画脚本和组件资源,并分别将所述不同分辨率的动画脚本和组件资源压缩成动态组件压缩包;打开锁屏功能,解析锁屏脚本,加载所述锁屏脚本所使用的所有组件编号及相关位置信息;下载某一套所述动态组件压缩包,依次通过所述组件编号获取所述动态组件压缩包中对应的动画脚本和组件资源,并从所述对应的动画脚本中读取动作数据,同时将所述获取的组件资源进行重组并根据条件进行播放。实施本发明的手机动态锁屏的方法及装置,具有以下有益效果:能满足不同用户的需求。

Description

一种手机动态锁屏的方法及装置 技术领域
本发明涉及手机锁屏领域,特别涉及一种手机动态锁屏的方法及装置。
背景技术
手机锁屏是一种防止用户误操作和用来保护隐私的技术,时至今日,锁屏的制作理念还是依赖于 Android 系统控件进行开发,且仍然保持着相对静态的模式,对于喜好个性和创意的用户而言,普通锁屏无法满足用户的需求,也就是不能满足不同用户的需求。尽管有些锁屏已经提供了更换解锁组件和壁纸等功能,但是其可拓展性、适配性和易用性都较差,且由于手机分辨率以及厂商的不同,锁屏的互用性也大大受限。
技术问题
本发明要解决的技术问题在于,针对现有技术的上述不能满足不同用户的需求的缺陷,提供一种能满足不同用户的需求的手机动态锁屏的方法及装置。
技术解决方案
本发明解决其技术问题所采用的技术方案是:构造一种手机动态锁屏的方法,包括如下步骤:
A)制作动态组件并导出相关资源碎片和动作数据,并将所述相关资源碎片和动作数据转换成不同分辨率的动画脚本和组件资源,并分别将所述不同分辨率的动画脚本和组件资源压缩成动态组件压缩包;
B)打开锁屏功能,解析锁屏脚本,加载所述锁屏脚本所使用的所有组件编号及相关位置信息;
C)下载某一套所述动态组件压缩包,依次通过所述组件编号获取所述动态组件压缩包中对应的动画脚本和组件资源,并从所述对应的动画脚本中读取动作数据,同时将所述获取的组件资源进行重组并根据条件进行播放。
在本发明所述的手机动态锁屏的方法中,还包括如下步骤:
D)当第一用户保存所述组件编号及相关位置信息时,根据所述第一用户当前保存的内容自动生成一个锁屏脚本,所述第一用户上传分享锁屏数据资源,第二用户下载后,通过解析所述锁屏脚本将所述锁屏数据资源解析出来,并根据所述第一用户的手机分辨率和第二用户的手机分辨率计算出位置信息的比例缩放值,同时通过解析所述锁屏脚本,将所述第一用户的组件使用信息解析出来并加载显示;所述锁屏脚本包含所使用的组件编号信息及其他相关信息。
在本发明所述的手机动态锁屏的方法中,还包括如下步骤:
E) 第二用户进入锁屏作品编辑模式选择多种DIY方式进行DIY编辑。
在本发明所述的手机动态锁屏的方法中,所述步骤A)进一步包括:
A1)通过flash编辑器制作一套动态组件;
A2)通过flash导出相关的资源碎片和动作数据;所述相关的资源碎片和动作数据包括每一帧动画的大小、位置和缩放数据;
A3)通过动画脚本打包工具将所述相关的资源碎片和动作数据进行切割和加密处理后生成三套不同分辨率的动画脚本和组件资源;所述三套不同分辨率的组件资源分别为小于480 * 800的分辨率资源、位于480 * 800~720 * 1280之间的分辨率资源以及超高清资源;
A4)将所述三套不同分辨率的动画脚本和组件资源分别打包成三套zip格式的动态组件压缩包。
在本发明所述的手机动态锁屏的方法中,所述步骤B)进一步包括:
B1)打开锁屏功能,根据当前锁屏读取相关类型的组件标签;所述相关类型的组件标签包括解锁组件类型标签;
B2)判断当前是否有使用锁屏组件,如是,返回对应的组件编号,执行步骤B3);否则,返回默认解锁组件编号,执行步骤B3);
B3)根据组件类型和组件编号,加载生成解锁组件对象;
B4)判断所有组件类型标签是否都已被解析,如是,执行步骤B5);否则,返回步骤B2);
B5)解析结束。
在本发明所述的手机动态锁屏的方法中,所述步骤C)进一步包括:
C1)根据组件类型以及组件编号读取动画脚本;
C2)解析所述动画脚本并从中读取相关的数据;所述相关的数据包括位置信息、帧信息、缩放旋转信息、图片资源信息以及判断是否需要解密信息;
C3)生成动画对象并将解析数据进行赋值;
C4)判断所述动画对象是否被保存过其位置信息,如是,将当前位置信息赋值给所述动画对象,执行步骤C5);否则,将默认位置信息赋值给所述动画对象,执行步骤C5);
C5)完成加载并播放。
在本发明所述的手机动态锁屏的方法中,所述步骤D)进一步包括:
D1)第一用户编辑或新建锁屏作品;
D2)所述第一用户保存所述锁屏作品,自动生成锁屏脚本;
D3)所述第一用户分享上传所述解锁作品;
D4)将所述第一用户的解锁脚本和资源上传到服务器以供所述第二用户下载使用;第一用户的资源包括锁屏脚本、图片资源和组件的位置信息内容;
D5)所述第二用户下载所述锁屏作品;
D6)根据所述第一用户的分辨率和第二用户的分辨率进行位置比例计算,获得的缩放比例和位置信息进行位置信息的重新赋值;
D7)所述第二用户解析所述锁屏作品,并加载锁屏动画对象。
在本发明所述的手机动态锁屏的方法中,所述步骤E)进一步包括:
E1)第二用户进入锁屏作品DIY编辑模式;
E2)加载当前锁屏所使用到的所有组件内容并进行播放显示,同时显示多种DIY编辑方式列表;所述所有组件内容包括动态组件、动态可编辑组件和文字组件;
E3)所述第二用户点击已经加载的所述动态组件、动态可编辑组件和文字组件,并为所述动态组件、动态可编辑组件和文字组件选择相应的DIY编辑方式;
E4)所述第二用户编辑完成并保存锁屏作品,根据当前锁屏所使用的内容生成锁屏脚本。
在本发明所述的手机动态锁屏的方法中,所述DIY编辑方式包括壁纸编辑方式、动态解锁组件编辑方式、动态时间日期组件编辑方式、动态特效组件编辑方式、文字组件编辑方式、动态精灵角色组件编辑方式和动态装饰组件编辑方式。
在本发明所述的手机动态锁屏的方法中,点击所述动态组件,对所述动态组件进行大小的缩放、位置的移动、旋转、调节颜色和调节光晕;点击所述动态可编辑组件,对所述动态可编辑组件进行大小的缩放、位置的移动、旋转、调节颜色、调节光晕、对已经添加替换的文字进行文字字体、文字颜色和文字光晕的调整;点击所述文字组件,对所述文字组件进行大小的缩放、位置的移动、旋转、调节颜色、调节光晕、对已经添加替换的文字进行文字字体、文字颜色和文字光晕的调整。
本发明还涉及一种实现上述手机动态锁屏的方法的装置,包括:
组件制作单元:用于制作动态组件并导出相关资源碎片和动作数据,并将所述相关资源碎片和动作数据转换成不同分辨率的动画脚本和组件资源,并分别将所述不同分辨率的动画脚本和组件资源压缩成动态组件压缩包;
锁屏脚本解析单元:用于打开锁屏功能,解析锁屏脚本,加载所述锁屏脚本所使用的所有组件编号及相关位置信息;
压缩包下载重组单元:用于下载某一套所述动态组件压缩包,依次通过所述组件编号获取所述动态组件压缩包中对应的动画脚本和组件资源,并从所述对应的动画脚本中读取动作数据,同时将所述获取的组件资源进行重组并根据条件进行播放。
在本发明所述的装置中,还包括:
计算加载显示单元:用于当第一用户保存所述组件编号及相关位置信息时,根据所述第一用户当前保存的内容自动生成一个锁屏脚本,所述第一用户上传分享锁屏数据资源,第二用户下载后,通过解析所述锁屏脚本将所述锁屏数据资源解析出来,并根据所述第一用户的手机分辨率和第二用户的手机分辨率计算出位置信息的比例缩放值,同时通过解析所述锁屏脚本,将所述第一用户的组件使用信息解析出来并加载显示;所述锁屏脚本包含所使用的组件编号信息及其他相关信息。
在本发明所述的装置中,其特征在于,还包括:
DIY编辑单元:用于使第二用户进入锁屏作品编辑模式选择多种DIY方式进行DIY编辑。
在本发明所述的装置中,所述组件制作单元进一步包括:
动画组件制作模块:用于通过flash编辑器制作一套动态组件;
导出转换模块:用于通过flash导出相关的资源碎片和动作数据;所述相关的资源碎片和动作数据包括每一帧动画的大小、位置和缩放数据;
切割加密模块:用于通过动画脚本打包工具将所述相关的资源碎片和动作数据进行切割和加密处理后生成三套不同分辨率的动画脚本和组件资源;所述三套不同分辨率的组件资源分别为小于480 * 800的分辨率资源、位于480 * 800~720 * 1280之间的分辨率资源以及超高清资源;
打包模块:用于将所述三套不同分辨率的动画脚本和组件资源分别打包成三套zip格式的动态组件压缩包。
在本发明所述的装置中,所述锁屏脚本解析单元进一步包括:
组件标签读取模块:用于打开锁屏功能,根据当前锁屏读取相关类型的组件标签;所述相关类型的组件标签包括解锁组件类型标签;
锁屏组件判断模块:用于判断当前是否有使用锁屏组件,如是,返回对应的组件编号;否则,返回默认解锁组件编号;
解锁组件加载模块:用于根据组件类型和组件编号,加载生成解锁组件对象;
遍历模块:用于判断所有组件类型标签是否都已被解析;
解析结束模块:用于解析结束。
在本发明所述的装置中,所述压缩包下载重组单元进一步包括:
动画脚本读取模块:用于根据组件类型以及组件编号读取动画脚本;
动画脚本解析模块:用于解析所述动画脚本并从中读取相关的数据;所述相关的数据包括位置信息、帧信息、缩放旋转信息、图片资源信息以及判断是否需要解密信息;
动画对象生成模块:用于生成动画对象并将解析数据进行赋值;
位置信息判断模块:用于判断所述动画对象是否被保存过其位置信息,如是,将当前位置信息赋值给所述动画对象;否则,将默认位置信息赋值给所述动画对象;
加载播放模块:用于完成加载并播放。
在本发明所述的装置中,所述计算加载显示单元进一步包括:
编辑模块:用于使第一用户编辑或新建锁屏作品;
锁屏作品保存模块:用于使所述第一用户保存所述锁屏作品,自动生成锁屏脚本;
分享模块:用于使所述第一用户分享上传所述解锁作品;
上传模块:用于将所述第一用户的解锁脚本和资源上传到服务器以供所述第二用户下载使用;第一用户的资源包括锁屏脚本、图片资源和组件的位置信息内容;
锁屏作品下载模块:用于使所述第二用户下载所述锁屏作品;
位置比例计算模块:用于根据所述第一用户的分辨率和第二用户的分辨率进行位置比例计算,获得的缩放比例和位置信息进行位置信息的重新赋值;
锁屏作品解析模块:用于使所述第二用户解析所述锁屏作品,并加载锁屏动画对象。
在本发明所述的装置中,所述DIY编辑单元进一步包括:
编辑模式进入模块:用于使第二用户进入锁屏作品DIY编辑模式;
加载显示模块:用于加载当前锁屏所使用到的所有组件内容并进行播放显示,同时显示多种DIY编辑方式列表;所述所有组件内容包括动态组件、动态可编辑组件和文字组件;
组件点击模块:用于使所述第二用户点击已经加载的所述动态组件、动态可编辑组件和文字组件,并为所述动态组件、动态可编辑组件和文字组件选择相应的DIY编辑方式;
编辑保存模块:用于使所述第二用户编辑完成并保存锁屏作品,根据当前锁屏所使用的内容生成锁屏脚本。
在本发明所述的装置中,所述DIY编辑方式包括壁纸编辑方式、动态解锁组件编辑方式、动态时间日期组件编辑方式、动态特效组件编辑方式、文字组件编辑方式、动态精灵角色组件编辑方式和动态装饰组件编辑方式。
在本发明所述的装置中,点击所述动态组件,对所述动态组件进行大小的缩放、位置的移动、旋转、调节颜色和调节光晕;点击所述动态可编辑组件,对所述动态可编辑组件进行大小的缩放、位置的移动、旋转、调节颜色、调节光晕、对已经添加替换的文字进行文字字体、文字颜色和文字光晕的调整;点击所述文字组件,对所述文字组件进行大小的缩放、位置的移动、旋转、调节颜色、调节光晕、对已经添加替换的文字进行文字字体、文字颜色和文字光晕的调整。
有益效果
实施本发明的手机动态锁屏的方法及装置,具有以下有益效果:由于通过将相关资源碎片和动作数据划分成不同分辨率的动画脚本和组件资源,并分别将不同分辨率的动画脚本和组件资源压缩成动态组件压缩包;然后解析锁屏脚本,通过动画脚本加载锁屏动画对象,通过不断更新解析锁屏脚本,对锁屏组件进行不断的迭代更新,让锁屏组件能够越来越丰富有趣,不断满足不同角度需求,所以其能满足不同用户的需求。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明手机动态锁屏的方法及装置一个实施例中方法的流程图;
图2为所述实施例中将相关资源碎片和动作数据划分成不同分辨率的动画脚本和组件资源,并分别将不同分辨率的动画脚本和组件资源压缩成动态组件压缩包的具体流程图;
图3为所述实施例中打开锁屏功能,解析锁屏脚本,加载锁屏脚本所使用的所有组件编号及相关位置信息的具体流程图;
图4为所述实施例中下载某一套所述动态组件压缩包,依次通过组件编号获取动态组件压缩包中对应的动画脚本和组件资源,并从对应的动画脚本中读取动作数据,同时将获取的组件资源进行重组并根据条件进行播放的具体流程图;
图5为所述实施例中解析分享下载后的用户资源的具体流程图;
图6为所述实施例中第二用户进入锁屏作品编辑模式选择多种DIY方式进行DIY编辑的具体流程图;
图7为所述实施例中装置的结构示意图。
本发明的最佳实施方式
本发明的实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
在本发明手机动态锁屏的方法及装置实施例中,其手机动态锁屏的方法的流程图如图1所示。图1中,该手机动态锁屏的方法包括如下步骤:
步骤S01制作动态组件并导出相关资源碎片和动作数据,并将相关资源碎片和动作数据转换成不同分辨率的动画脚本和组件资源,并分别将不同分辨率的动画脚本和组件资源压缩成动态组件压缩包:本步骤中,制作动态组件,并导出相关资源碎片和动作数据,将上述相关资源碎片和动作数据转换成不同分辨率的动画脚本和组件资源用来适配,并分别将不同分辨率的动画脚本和组件资源压缩成动态组件压缩包,提供给用户下载使用。值得一提的是,动画脚本中会指明是什么组件类型的内容以及其相关属性,来做到组件类型和功能的区分。
步骤S02打开锁屏功能,解析锁屏脚本,加载锁屏脚本所使用的所有组件编号及相关位置信息:本步骤中,打开锁屏功能,解析锁屏脚本,通过解析锁屏脚本的规则,加载锁屏脚本所使用的所有组件编号及相关位置信息。
步骤S03下载某一套动态组件压缩包,依次通过组件编号获取动态组件压缩包中对应的动画脚本和组件资源,并从对应的动画脚本中读取动作数据,同时将获取的组件资源进行重组并根据条件进行播放:本步骤中,用户可以直观的下载所提供的某一套动态组件压缩包,然后依次通过组件编号获取动态组件压缩包中对应的动画脚本和组件资源,并从对应的动画脚本中读取动作数据,同时将获取的组件资源进行重组并根据条件进行播放。值得一提的是,根据条件播放,例如:进行循环播放或相关联播放等等。通过不断更新解析锁屏脚本,对锁屏组件进行不断的迭代更新,让锁屏组件能够越来越丰富有趣,不断满足不同用户的需求,所以其能满足不同用户的需求。
值得一提的是,本实施例中,为了达到不同用户之间锁屏方案的互用性,上述手机动态锁屏的方法还进一步包括如下步骤:
步骤S04当第一用户保存组件编号及相关位置信息时,根据第一用户当前保存的内容自动生成一个锁屏脚本,第一用户上传分享锁屏数据资源,第二用户下载后,通过解析锁屏脚本将锁屏数据资源解析出来,并根据第一用户的手机分辨率和第二用户的手机分辨率计算出位置信息的比例缩放值,同时通过解析锁屏脚本,将第一用户的组件使用信息解析出来并加载显示:本步骤中,当第一用户保存组件编号及相关位置信息时,自动根据第一用户当前保存的内容自动生成一个锁屏脚本,第一用户自愿上传分享锁屏数据资源,第二用户下载锁屏数据资源后,通过解析锁屏脚本将锁屏数据资源解析出来,并根据第一用户的手机分辨率和第二用户的手机分辨率进行比例换算,计算出位置信息的比例缩放值,从而适配所有机型内容,同时通过解析锁屏脚本,将第一用户的组件使用信息解析出来并加载显示,实现用户间锁屏的互相传递,这样可提高不同用户之间锁屏的互用性。值得一提的是,锁屏脚本包含所使用的组件编号信息及其他相关的重要信息。
值得一提的是,本实施例中,如果想进行后续的编辑操作,则在上述步骤S04之后,该手机动态锁屏的方法还需要包括步骤:
步骤S05第二用户进入锁屏作品编辑模式选择多种DIY方式进行DIY编辑:本步骤中,第二用户进入锁屏作品编辑模式,可以选择多种DIY方式进行DIY编辑。
对于本实施例而言,上述步骤S01还可进一步细化,其细化后的流程图如图2所示。图2中,上述步骤S01进一步包括:
步骤S11 通过flash编辑器制作一套动态组件:本步骤中,通过flash编辑器制作一套动态组件。
步骤S12通过flash导出相关的资源碎片和动作数据:本步骤中,通过flash导出相关的资源碎片和动作数据。值得一提的是,本实施例中,上述相关的资源碎片和动作数据包括每一帧动画的大小、位置和缩放数据。
步骤S13通过动画脚本打包工具将相关的资源碎片和动作数据进行切割和加密处理后生成三套不同分辨率的动画脚本和组件资源:本步骤中,通过动画脚本打包工具将相关的资源碎片和动作数据进行切割和加密处理后生成三套不同分辨率的动画脚本和组件资源。值得一提的是,本实施例中,上述三套不同分辨率的组件资源分别为小于480 * 800的分辨率资源、位于480 * 800~720 * 1280之间的分辨率资源以及超高清资源。其中,小于480 * 800的分辨率的组件资源支持低清资源数据包。
步骤S14 将三套不同分辨率的动画脚本和组件资源分别打包成三套zip格式的动态组件压缩包:本步骤中,将三套不同分辨率的动画脚本和组件资源分别打包成三套zip格式的动态组件压缩包。这样便于不同分辨率的用户下载。
对于本实施例而言,上述步骤S02还可进一步细化,其细化后的流程图如图3所示。图3中,上述步骤S02进一步包括:
步骤S21打开锁屏功能,根据当前锁屏读取相关类型的组件标签:本步骤中,打开锁屏功能,开始根据当前锁屏分别读取到相关类型的组件标签。上述相关类型的组件标签包括解锁组件类型标签。
步骤S22判断当前是否有使用锁屏组件:本步骤中,以解锁组件为例,根据解锁组件类型标签,判断当前是否有使用锁屏组件,如果判断的结果为是,则执行步骤S24;否则,执行步骤S23。
步骤S23返回默认解锁组件编号:如果上述步骤S22的判断结果为否,则执行本步骤。本步骤中,返回默认解锁组件编号。执行完本步骤,执行步骤S25。
步骤S24 返回对应的组件编号:如果上述步骤S22的判断结果为是,则执行本步骤。本步骤中,返回对应的组件编号。执行完本步骤,执行步骤S25。
步骤S25 根据组件类型和组件编号,加载生成解锁组件对象:本步骤中,根据组件类型和组件编号,加载生成解锁组件对象。执行完本步骤,执行步骤S26。
步骤S26 判断所有组件类型标签是否都已被解析:本步骤中,遍历所有组件类型标签,判断所有组件类型标签是否都已被解析,如果判断的结果为是,则执行步骤S27;否则,返回步骤S22。
步骤S27解析结束:如果上述步骤S26的判断结果为是,则执行本步骤。本步骤中,解析结束。这样就实现了对锁屏脚本的解析。
本实施例中,上述步骤S03还可进一步细化,其细化后的流程图如图4所示。图4中,上述步骤S03进一步包括:
步骤S31 根据组件类型以及组件编号读取动画脚本:本步骤中,根据组件类型以及组件编号读取动画脚本。
步骤S32解析动画脚本并从中读取相关的数据:本步骤中,解析动画脚本,并从中读取相关的数据,该相关的数据包括位置信息、帧信息、缩放旋转信息、图片资源信息以及判断是否需要解密信息等。
步骤S33 生成动画对象并将解析数据进行赋值:本步骤中,生成动画对象并将解析数据进行赋值。
步骤S34判断动画对象是否被保存过其位置信息:本步骤中,判断动画对象是否被保存过其位置信息,也就是判断动画对象的位置信息是否被保存过,如果判断的结果为是,则执行步骤S35;否则,执行步骤S36。
步骤S35将当前位置信息赋值给动画对象:如果上述步骤S34的判断结果为是,则执行本步骤。本步骤中,将当前位置信息赋值给动画对象。执行完本步骤,执行步骤S37。
步骤S36 将默认位置信息赋值给动画对象:如果上述步骤S34的判断结果为否,则执行本步骤。本步骤中,将默认位置信息赋值给动画对象。执行完本步骤,执行步骤S37。
步骤S37 完成加载并播放:本步骤中,完成加载,并根据条件进行播放。这样就实现了动态锁屏。
对于本实施例而言,上述步骤S04还可进一步细化,其细化后的流程图如图5所示。图5中,上述步骤S04进一步包括:
步骤S41 第一用户编辑或新建锁屏作品:本步骤中,第一用户编辑或新建锁屏作品。
步骤S42 第一用户保存锁屏作品,自动生成锁屏脚本:本步骤中,第一用户保存制作的锁屏作品,自动生成锁屏脚本。
步骤S43 第一用户分享上传解锁作品:本步骤中,第一用户分享上传解锁作品。
步骤S44将第一用户的解锁脚本和资源上传到服务器以供第二用户下载使用:本步骤中,将第一用户的解锁脚本和资源上传到服务器以供第二用户下载使用。第一用户的资源包括锁屏脚本、图片资源和组件的位置信息内容。
步骤S45第二用户下载锁屏作品:本步骤中,第二用户下载锁屏作品。
步骤S46根据第一用户的分辨率和第二用户的分辨率进行位置比例计算,获得的缩放比例和位置信息进行位置信息的重新赋值:本步骤中,根据第一用户的分辨率和第二用户的分辨率进行位置比例计算,获得的缩放比例和位置信息进行位置信息的重新赋值。具体的,根据第一用户的分辨率和第二用户的分辨率进行位置比例计算,例如,第一用户的手机的分辨率是480*800, 第二用户的手机的分辨率是720 * 1280, 缩放比例以横向分辨率为基准,其计算公式为 :
int screenWidth = Math.min(width, height);
int screenHeight = Math.max(width, height);
int serviceWidth = Math.min(Rh, Rv);
int serviceHeight = Math.max(Rh, Rv);
float zoomX = screenWidth * 1.0f / serviceWidth;
float zoomY = screenHeight * 1.0f / serviceHeight。
其中,screenWidth为第二用户的横向分辨率 ,Math.min为返回两个对象最小的数据的函数,width 为第二用户手机的宽度分辨率,height 为第二用户手机的高度分辨率,screenHeight为第二用户的纵向分辨率,Math.max为返回两个对象最大的数据的函数,serviceWidth为第一用户的横向分辨率,Rh 为第一用户手机的宽度分辨率,Rv 为第一用户手机的高度分辨率,serviceHeight为第一用户的纵向分辨率,zoomX为横向坐标的缩放比例,screenWidth为第二用户的横向分辨率,serviceWidth为第一用户的横向分辨率,zoomY为纵向坐标的缩放比例,screenHeight为第二用户的纵向分辨率,serviceHeight为第一用户的纵向分辨率。
步骤S47 第二用户解析锁屏作品,并加载锁屏动画对象:本步骤中,第二用户解析锁屏作品,并加载锁屏动画对象,这样,第二用户就可以使用第一用户的锁屏作品。
对于本实施例而言,上述步骤S05还可进一步细化,其细化后的流程图如图6所示。图6中,上述步骤S05进一步包括:
步骤S51 第二用户进入锁屏作品DIY编辑模式:本步骤中,第二用户进入锁屏作品DIY编辑模式。
步骤S52加载当前锁屏所使用到的所有组件内容并进行播放显示,同时显示多种DIY编辑方式列表:本步骤中,加载当前锁屏所使用到的所有组件内容并进行播放显示,同时显示多种DIY编辑方式列表,用于向用户提供不同的DIY需求。值得一提的是,上述所有组件内容包括动态组件、动态可编辑组件和文字组件。DIY编辑方式包括壁纸编辑方式、动态解锁组件编辑方式、动态时间日期组件编辑方式、动态特效组件编辑方式、文字组件编辑方式、动态精灵角色组件编辑方式和动态装饰组件编辑方式。
步骤S53第二用户点击已经加载的动态组件、动态可编辑组件和文字组件,并为动态组件、动态可编辑组件和文字组件选择相应的DIY编辑方式:本步骤中,第二用户点击已经加载的动态组件、动态可编辑组件和文字组件,并为已经加载的动态组件、动态可编辑组件和文字组件选择相应的DIY编辑方式。值得一提的是,本实施例中,点击已经加载的动态组件,可对其进行大小的缩放、位置的移动、旋转、调节颜色和调节光晕;点击已经加载的动态可编辑组件,可对其进行大小的缩放、位置的移动、旋转、调节颜色、调节光晕、对已经添加替换的文字进行文字字体、文字颜色和文字光晕的调整;点击已经加载的文字组件,可对其进行大小的缩放、位置的移动、旋转、调节颜色、调节光晕、对已经添加替换的文字进行文字字体、文字颜色和文字光晕的调整。值得一提的是,当第二用户为已经加载的动态组件、动态可编辑组件和文字组件选择相应的DIY编辑方式进行DIY编辑时,可以从DIY编辑方式列表中进行选择。
本步骤中,当第二用户选择壁纸编辑方式时,提供壁纸的添加,删除并可轮换;当第二用户选择动态解锁组件编辑方式时,提供动态解锁组件添加、替换;当第二用户选择动态时间日期组件编辑方式时,提供动态时间日期组件添加、替换;当第二用户选择动态特效组件编辑方式时,提供动态特效组件添加、替换;当第二用户选择文字组件编辑方式时,提供文字组件的添加、修改、删除;当第二用户选择动态精灵角色组件编辑方式时,提供动态精灵角色组件添加、替换、删除;当第二用户选择动态装饰组件编辑方式时,提供动态装饰组件多个添加、删除。
步骤S54 第二用户编辑完成并保存锁屏作品,根据当前锁屏所使用的内容生成锁屏脚本。
本实施例还涉及一种实现上述手机动态锁屏的方法装置,其结构示意图如图7所示。图7中,该装置包括组件制作单元1、锁屏脚本解析单元2和压缩包下载重组单元3;其中,组件制作单元1用于制作动态组件并导出相关资源碎片和动作数据,并将相关资源碎片和动作数据转换成不同分辨率的动画脚本和组件资源,并分别将不同分辨率的动画脚本和组件资源压缩成动态组件压缩包;锁屏脚本解析单元2用于打开锁屏功能,解析锁屏脚本,加载锁屏脚本所使用的所有组件编号及相关位置信息;压缩包下载重组单元3用于下载某一套所述动态组件压缩包,依次通过组件编号获取所动态组件压缩包中对应的动画脚本和组件资源,并从对应的动画脚本中读取动作数据,同时将获取的组件资源进行重组并根据条件进行播放。通过不断更新解析锁屏脚本,对锁屏组件进行不断的迭代更新,让锁屏组件能够越来越丰富有趣,不断满足不同用户的需求,所以其能满足不同用户的需求。
值得一提的是,本实施例中,为了进一步实现不同用户之间锁屏方案的互用,该装置还包括计算加载显示单元4,计算加载显示单元4用于当第一用户保存组件编号及相关位置信息时,根据第一用户当前保存的内容自动生成一个锁屏脚本,第一用户上传分享锁屏数据资源,第二用户下载后,通过解析锁屏脚本将锁屏数据资源解析出来,并根据第一用户的手机分辨率和第二用户的手机分辨率计算出位置信息的比例缩放值,同时通过解析锁屏脚本,将第一用户的组件使用信息解析出来并加载显示;锁屏脚本包含所使用的组件编号信息及其他相关信息。这样可提高锁屏的互用性。
本实施例中,组件制作单元1进一步包括动画组件制作模块11、导出转换模块12、切割加密模块13和打包模块14;其中,动画组件制作模块11用于通过flash编辑器制作一套动态组件;导出转换模块12用于通过flash导出相关的资源碎片和动作数据;上述相关的资源碎片和动作数据包括每一帧动画的大小、位置和缩放数据;切割加密模块13用于通过动画脚本打包工具将相关的资源碎片和动作数据进行切割和加密处理后生成三套不同分辨率的动画脚本和组件资源;上述三套不同分辨率的组件资源分别为小于480 * 800的分辨率资源、位于480 * 800~720 * 1280之间的分辨率资源以及超高清资源;打包模块14用于将三套不同分辨率的动画脚本和组件资源分别打包成三套zip格式的动态组件压缩包。
本实施例中,锁屏脚本解析单元2进一步包括组件标签读取模块21、锁屏组件判断模块22、解锁组件加载模块23、遍历模块24和解析结束模块25;其中,组件标签读取模块21用于打开锁屏功能,根据当前锁屏读取相关类型的组件标签;上述相关类型的组件标签包括解锁组件类型标签;锁屏组件判断模块22用于判断当前是否有使用锁屏组件,如是,返回对应的组件编号;否则,返回默认解锁组件编号;解锁组件加载模块23用于根据组件类型和组件编号,加载生成解锁组件对象; 遍历模块24用于判断所有组件类型标签是否都已被解析;解析结束模块25用于解析结束。这样就实现了对锁屏脚本的解析。
本实施例中,压缩包下载重组单元3进一步包括动画脚本读取模块31、动画脚本解析模块32、动画对象生成模块33、位置信息判断模块34和加载播放模块35;其中,动画脚本读取模块31用于根据组件类型以及组件编号读取动画脚本;动画脚本解析模块32用于解析动画脚本并从中读取相关的数据;上述相关的数据包括位置信息、帧信息、缩放旋转信息、图片资源信息以及判断是否需要解密信息;动画对象生成模块33用于生成动画对象并将解析数据进行赋值;位置信息判断模块34用于判断动画对象是否被保存过其位置信息,如是,将当前位置信息赋值给动画对象;否则,将默认位置信息赋值给动画对象;加载播放模块35用于完成加载并播放。
本实施例中,计算加载显示单元4进一步包括编辑模块41、锁屏作品保存模块42、分享模块43、上传模块44、锁屏作品下载模块45、位置比例计算模块46和锁屏作品解析模块47;其中,编辑模块41用于使第一用户编辑或新建锁屏作品;锁屏作品保存模块42用于使第一用户保存所述锁屏作品,自动生成锁屏脚本;分享模块43用于使第一用户分享上传所述解锁作品;上传模块44用于将第一用户的解锁脚本和资源上传到服务器以供第二用户下载使用;上述第一用户的资源包括锁屏脚本、图片资源和组件的位置信息内容;锁屏作品下载模块45用于使第二用户下载所述锁屏作品;位置比例计算模块46用于根据第一用户的分辨率和第二用户的分辨率进行位置比例计算,获得的缩放比例和位置信息进行位置信息的重新赋值;锁屏作品解析模块47用于使第二用户解析锁屏作品,并加载锁屏动画对象。这样,第二用户就可以使用第一用户的锁屏作品。
本实施例中,当第二用户想进行DIY编辑时,该装置还包括DIY编辑单元5,该DIY编辑单元5进一步包括编辑模式进入模块51、加载显示模块52、组件点击模块53和编辑保存模块54;其中,编辑模式进入模块51用于使第二用户进入锁屏作品DIY编辑模式;加载显示模块52用于加载当前锁屏所使用到的所有组件内容并进行播放显示,同时显示多种DIY编辑方式列表;上述所有组件内容包括动态组件、动态可编辑组件和文字组件;组件点击模块53用于使第二用户点击已经加载的动态组件、动态可编辑组件和文字组件,并为动态组件、动态可编辑组件和文字组件选择相应的DIY编辑方式;编辑保存模块54用于使第二用户编辑完成并保存锁屏作品,根据当前锁屏所使用的内容生成锁屏脚本。
值得一提的时,上述DIY编辑方式包括壁纸编辑方式、动态解锁组件编辑方式、动态时间日期组件编辑方式、动态特效组件编辑方式、文字组件编辑方式、动态精灵角色组件编辑方式和动态装饰组件编辑方式。当第二用户点击动态组件时,对动态组件进行大小的缩放、位置的移动、旋转、调节颜色和调节光晕;当第二用户点击动态可编辑组件时,对动态可编辑组件进行大小的缩放、位置的移动、旋转、调节颜色、调节光晕、对已经添加替换的文字进行文字字体、文字颜色和文字光晕的调整;当第二用户点击文字组件时,对文字组件进行大小的缩放、位置的移动、旋转、调节颜色、调节光晕、对已经添加替换的文字进行文字字体、文字颜色和文字光晕的调整。
总之,在本实施例中,使用GLSurfaceView绘画的方式,通过解析脚本与动画脚本结合显示手机动态锁屏,并使不同用户之间互相使用对方锁屏内容,解决了锁屏相对静止以及用户之间互相使用对方锁屏内容的局限性问题。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
序列表自由内容

Claims (1)

  1. 1、一种手机动态锁屏的方法,其特征在于,包括如下步骤:
    A)制作动态组件并导出相关资源碎片和动作数据,并将所述相关资源碎片和动作数据转换成不同分辨率的动画脚本和组件资源,并分别将所述不同分辨率的动画脚本和组件资源压缩成动态组件压缩包;
    B)打开锁屏功能,解析锁屏脚本,加载所述锁屏脚本所使用的所有组件编号及相关位置信息;
    C)下载某一套所述动态组件压缩包,依次通过所述组件编号获取所述动态组件压缩包中对应的动画脚本和组件资源,并从所述对应的动画脚本中读取动作数据,同时将所述获取的组件资源进行重组并根据条件进行播放。
    2、根据权利要求1所述的手机动态锁屏的方法,其特征在于,还包括如下步骤:
    D)当第一用户保存所述组件编号及相关位置信息时,根据所述第一用户当前保存的内容自动生成一个锁屏脚本,所述第一用户上传分享锁屏数据资源,第二用户下载后,通过解析所述锁屏脚本将所述锁屏数据资源解析出来,并根据所述第一用户的手机分辨率和第二用户的手机分辨率计算出位置信息的比例缩放值,同时通过解析所述锁屏脚本,将所述第一用户的组件使用信息解析出来并加载显示;所述锁屏脚本包含所使用的组件编号信息及其他相关信息。
    3、根据权利要求2所述的手机动态锁屏的方法,其特征在于,还包括如下步骤:
    E) 第二用户进入锁屏作品编辑模式选择多种DIY方式进行DIY编辑。
    4、根据权利要求1或2所述的手机动态锁屏的方法,其特征在于,所述步骤A)进一步包括:
    A1)通过flash编辑器制作一套动态组件;
    A2)通过flash导出相关的资源碎片和动作数据;所述相关的资源碎片和动作数据包括每一帧动画的大小、位置和缩放数据;
    A3)通过动画脚本打包工具将所述相关的资源碎片和动作数据进行切割和加密处理后生成三套不同分辨率的动画脚本和组件资源;所述三套不同分辨率的组件资源分别为小于480 * 800的分辨率资源、位于480 * 800~720 * 1280之间的分辨率资源以及超高清资源;
    A4)将所述三套不同分辨率的动画脚本和组件资源分别打包成三套zip格式的动态组件压缩包。
    5、根据权利要求4所述的手机动态锁屏的方法,其特征在于,所述步骤B)进一步包括:
    B1)打开锁屏功能,根据当前锁屏读取相关类型的组件标签;所述相关类型的组件标签包括解锁组件类型标签;
    B2)判断当前是否有使用锁屏组件,如是,返回对应的组件编号,执行步骤B3);否则,返回默认解锁组件编号,执行步骤B3);
    B3)根据组件类型和组件编号,加载生成解锁组件对象;
    B4)判断所有组件类型标签是否都已被解析,如是,执行步骤B5);否则,返回步骤B2);
    B5)解析结束。
    6、根据权利要求5所述的手机动态锁屏的方法,其特征在于, 所述步骤C)进一步包括:
    C1)根据组件类型以及组件编号读取动画脚本;
    C2)解析所述动画脚本并从中读取相关的数据;所述相关的数据包括位置信息、帧信息、缩放旋转信息、图片资源信息以及判断是否需要解密信息;
    C3)生成动画对象并将解析数据进行赋值;
    C4)判断所述动画对象是否被保存过其位置信息,如是,将当前位置信息赋值给所述动画对象,执行步骤C5);否则,将默认位置信息赋值给所述动画对象,执行步骤C5);
    C5)完成加载并播放。
    7、根据权利要求6所述的手机动态锁屏的方法,其特征在于,所述步骤D)进一步包括:
    D1)第一用户编辑或新建锁屏作品;
    D2)所述第一用户保存所述锁屏作品,自动生成锁屏脚本;
    D3)所述第一用户分享上传所述解锁作品;
    D4)将所述第一用户的解锁脚本和资源上传到服务器以供所述第二用户下载使用;第一用户的资源包括锁屏脚本、图片资源和组件的位置信息内容;
    D5)所述第二用户下载所述锁屏作品;
    D6)根据所述第一用户的分辨率和第二用户的分辨率进行位置比例计算,获得的缩放比例和位置信息进行位置信息的重新赋值;
    D7)所述第二用户解析所述锁屏作品,并加载锁屏动画对象。
    8、根据权利要求7所述的手机动态锁屏的方法,其特征在于,所述步骤E)进一步包括:
    E1)第二用户进入锁屏作品DIY编辑模式;
    E2)加载当前锁屏所使用到的所有组件内容并进行播放显示,同时显示多种DIY编辑方式列表;所述所有组件内容包括动态组件、动态可编辑组件和文字组件;
    E3)所述第二用户点击已经加载的所述动态组件、动态可编辑组件和文字组件,并为所述动态组件、动态可编辑组件和文字组件选择相应的DIY编辑方式;
    E4)所述第二用户编辑完成并保存锁屏作品,根据当前锁屏所使用的内容生成锁屏脚本。
    9、根据权利要求8所述的手机动态锁屏的方法,其特征在于,所述DIY编辑方式包括壁纸编辑方式、动态解锁组件编辑方式、动态时间日期组件编辑方式、动态特效组件编辑方式、文字组件编辑方式、动态精灵角色组件编辑方式和动态装饰组件编辑方式。
    10、根据权利要求9所述的手机动态锁屏的方法,其特征在于,点击所述动态组件,对所述动态组件进行大小的缩放、位置的移动、旋转、调节颜色和调节光晕;点击所述动态可编辑组件,对所述动态可编辑组件进行大小的缩放、位置的移动、旋转、调节颜色、调节光晕、对已经添加替换的文字进行文字字体、文字颜色和文字光晕的调整;点击所述文字组件,对所述文字组件进行大小的缩放、位置的移动、旋转、调节颜色、调节光晕、对已经添加替换的文字进行文字字体、文字颜色和文字光晕的调整。
    11、一种实现如权利要求1所述的手机动态锁屏的方法装置,其特征在于,包括:
    组件制作单元:用于制作动态组件并导出相关资源碎片和动作数据,并将所述相关资源碎片和动作数据转换成不同分辨率的动画脚本和组件资源,并分别将所述不同分辨率的动画脚本和组件资源压缩成动态组件压缩包;
    锁屏脚本解析单元:用于打开锁屏功能,解析锁屏脚本,加载所述锁屏脚本所使用的所有组件编号及相关位置信息;
    压缩包下载重组单元:用于下载某一套所述动态组件压缩包,依次通过所述组件编号获取所述动态组件压缩包中对应的动画脚本和组件资源,并从所述对应的动画脚本中读取动作数据,同时将所述获取的组件资源进行重组并根据条件进行播放。
    12、根据权利要求11所述的装置,其特征在于,还包括:
    计算加载显示单元:用于当第一用户保存所述组件编号及相关位置信息时,根据所述第一用户当前保存的内容自动生成一个锁屏脚本,所述第一用户上传分享锁屏数据资源,第二用户下载后,通过解析所述锁屏脚本将所述锁屏数据资源解析出来,并根据所述第一用户的手机分辨率和第二用户的手机分辨率计算出位置信息的比例缩放值,同时通过解析所述锁屏脚本,将所述第一用户的组件使用信息解析出来并加载显示;所述锁屏脚本包含所使用的组件编号信息及其他相关信息。
    13、根据权利要求12所述的装置,其特征在于,还包括:
    DIY编辑单元:用于使第二用户进入锁屏作品编辑模式选择多种DIY方式进行DIY编辑。
    14、根据权利要求12或13所述的装置,其特征在于,所述组件制作单元进一步包括:
    动画组件制作模块:用于通过flash编辑器制作一套动态组件;
    导出转换模块:用于通过flash导出相关的资源碎片和动作数据;所述相关的资源碎片和动作数据包括每一帧动画的大小、位置和缩放数据;
    切割加密模块:用于通过动画脚本打包工具将所述相关的资源碎片和动作数据进行切割和加密处理后生成三套不同分辨率的动画脚本和组件资源;所述三套不同分辨率的组件资源分别为小于480 * 800的分辨率资源、位于480 * 800~720 * 1280之间的分辨率资源以及超高清资源;
    打包模块:用于将所述三套不同分辨率的动画脚本和组件资源分别打包成三套zip格式的动态组件压缩包。
    15 、根据权利要求 14 所述的装置,其特征在于,所述锁屏脚本解析单元进一步包括:
    组件标签读取模块:用于打开锁屏功能, 根据当前锁屏读取相关类型的组件标签;所述相关类型的组件标签包括解锁组件类型标签;
    锁屏组件判断模块:用于判断当前是否有使用锁屏组件,如是,返回对应的组件编号;否则,返回默认解锁组件编号;
    解锁组件加载模块:用于根据组件类型和组件编号,加载生成解锁组件对象;
    遍历模块:用于判断所有组件类型标签是否都已被解析;
    解析结束模块:用于解析结束。
    16 、根据权利要求 15 所述的装置,其特征在于,所述压缩包下载重组单元进一步包括:
    动画脚本读取模块:用于根据 组件类型以及组件编号读取动画脚本;
    动画脚本解析模块:用于 解析所述动画脚本并从中读取相关的数据;所述相关的数据包括位置信息、帧信息、缩放旋转信息、图片资源信息以及判断是否需要解密信息;
    动画对象生成模块:用于 生成动画对象并将解析数据进行赋值;
    位置信息判断模块:用于 判断所述 动画对象是否被保存过其位置信息,如是,将当前位置信息赋值给所述动画对象;否则,将默认位置信息赋值给所述动画对象;
    加载播放模块:用于完成加载并播放。
    17 、根据权利要求 16 所述的装置,其特征在于,所述计算加载显示单元进一步包括:
    编辑模块:用于使 第一用户编辑或新建锁屏作品;
    锁屏作品保存模块:用于使所述 第一用户保存所述锁屏作品,自动生成锁屏脚本;
    分享模块:用于使所述 第一用户分享上传所述解锁作品;
    上传模块:用于将所述第一用户的解锁脚本和资源上传到服务器以供所述第二用户下载使用;第一用户的资源包括锁屏脚本、图片资源和组件的位置信息内容;
    锁屏作品下载模块:用于使所述第二用户下载所述锁屏作品;
    位置比例计算模块:用于根据所述第一用户的分辨率和第二用户的分辨率进行位置比例计算,获得的缩放比例和位置信息进行位置信息的重新赋值;
    锁屏作品解析模块:用于使所述第二用户解析所述锁屏作品,并加载锁屏动画对象。
    18 、 根据权利要求 17 所述的装置,其特征在于,所述 DIY 编辑单元进一步包括:
    编辑模式进入模块:用于使第二用户进入锁屏作品 DIY 编辑模式;
    加载显示模块:用于加载当前锁屏所使用到的所有组件内容并进行播放显示,同时显示多种 DIY 编辑方式列表;所述所有组件内容包括动态组件、动态可编辑组件和文字组件;
    组件点击模块:用于使所述第二用户点击已经加载的所述动态组件、动态可编辑组件和文字组件,并为所述动态组件、动态可编辑组件和文字组件选择相应的 DIY 编辑方式;
    编辑保存模块:用于使所述第二用户编辑完成并保存锁屏作品,根据当前锁屏所使用的内容生成锁屏脚本。
    19 、根据权利要求 18 所述的装置,其特征在于,所述 DIY 编辑方式包括壁纸编辑方式、动态解锁组件编辑方式、动态时间日期组件编辑方式、动态特效组件编辑方式、文字组件编辑方式、动态精灵角色组件编辑方式和动态装饰组件编辑方式。
    20 、根据权利要求 19 所述的装置,其特征在于,点击所述动态组件,对所述动态组件进行大小的缩放、位置的移动、旋转、调节颜色和调节光晕;点击所述动态可编辑组件,对所述动态可编辑组件进行大小的缩放、位置的移动、旋转、调节颜色、调节光晕、对已经添加替换的文字进行文字字体、文字颜色和文字光晕的调整;点击所述文字组件,对所述文字组件进行大小的缩放、位置的移动、旋转、调节颜色、调节光晕、对已经添加替换的文字进行文字字体、文字颜色和文字光晕的调整。
PCT/CN2015/078407 2015-05-06 2015-05-06 一种手机动态锁屏的方法及装置 WO2016176844A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/078407 WO2016176844A1 (zh) 2015-05-06 2015-05-06 一种手机动态锁屏的方法及装置
CN201580006081.9A CN106415486B (zh) 2015-05-06 2015-05-06 一种手机动态锁屏的方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/078407 WO2016176844A1 (zh) 2015-05-06 2015-05-06 一种手机动态锁屏的方法及装置

Publications (1)

Publication Number Publication Date
WO2016176844A1 true WO2016176844A1 (zh) 2016-11-10

Family

ID=57217423

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078407 WO2016176844A1 (zh) 2015-05-06 2015-05-06 一种手机动态锁屏的方法及装置

Country Status (2)

Country Link
CN (1) CN106415486B (zh)
WO (1) WO2016176844A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239211B (zh) * 2017-06-28 2021-04-23 北京金山安全软件有限公司 移动终端的控制方法、装置以及移动终端
CN114327424B (zh) * 2021-12-22 2022-11-01 深圳掌酷软件有限公司 在移动设备上制作动效锁屏主题的方法及相关设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473302A (zh) * 2013-09-09 2013-12-25 百度在线网络技术(北京)有限公司 一种锁屏信息展示方法、装置和系统
CN103731554A (zh) * 2013-12-31 2014-04-16 重庆先迈通信技术有限公司 基于移动终端的动态屏保业务系统及处理方法
WO2014126948A1 (en) * 2013-02-14 2014-08-21 Facebook, Inc. Lock screen with socialized applications
CN104375742A (zh) * 2013-08-16 2015-02-25 觅豆(香港)股份有限公司 一种能在激活时呈现动态信息的便携式电子装置,系统和方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763284A (zh) * 2010-01-08 2010-06-30 华为终端有限公司 终端及该终端显示效果的切换方法
US20130069962A1 (en) * 2011-09-15 2013-03-21 Microsoft Corporation Active Lock Wallpapers
CN103853485B (zh) * 2012-12-07 2018-10-02 腾讯科技(深圳)有限公司 触摸屏解锁方法及终端
CN104461473B (zh) * 2013-09-12 2019-05-07 腾讯科技(深圳)有限公司 一种锁屏壁纸的切换方法及装置、终端设备
CN103513988A (zh) * 2013-09-18 2014-01-15 广州市久邦数码科技有限公司 一种锁屏主题界面实时更新及分享的锁屏系统及实现方法
CN104063225B (zh) * 2014-06-27 2017-09-22 广州华多网络科技有限公司 锁屏主题开发方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014126948A1 (en) * 2013-02-14 2014-08-21 Facebook, Inc. Lock screen with socialized applications
CN104375742A (zh) * 2013-08-16 2015-02-25 觅豆(香港)股份有限公司 一种能在激活时呈现动态信息的便携式电子装置,系统和方法
CN103473302A (zh) * 2013-09-09 2013-12-25 百度在线网络技术(北京)有限公司 一种锁屏信息展示方法、装置和系统
CN103731554A (zh) * 2013-12-31 2014-04-16 重庆先迈通信技术有限公司 基于移动终端的动态屏保业务系统及处理方法

Also Published As

Publication number Publication date
CN106415486B (zh) 2019-09-13
CN106415486A (zh) 2017-02-15

Similar Documents

Publication Publication Date Title
WO2018016720A1 (en) Image display device and image display method
WO2019139270A1 (ko) 디스플레이 장치 및 이의 컨텐츠 제공 방법
WO2020013661A1 (ko) 스케일러블 포인트 클라우드 부호화/복호화 방법 및 장치
WO2014069964A1 (ko) 동영상 편집 방법 및 그 단말기 그리고 기록매체
WO2023153834A1 (ko) 편집 기능을 갖는 3d 웹사이트 제작 플랫폼 제공 시스템, 방법 및 프로그램
WO2010008139A2 (en) Multimedia application system and method using metadata for sensory device
WO2014051367A1 (en) User terminal apparatus, electronic device, and method for controlling the same
WO2012139443A1 (zh) 一种在即时通讯中传输会话消息的方法和即时通讯客户端、存储介质
WO2021029505A1 (en) Electronic apparatus and control method thereof
WO2010087635A2 (en) Method and apparatus for processing user interface composed of component objects
WO2016176844A1 (zh) 一种手机动态锁屏的方法及装置
WO2010002095A2 (en) Method and apparatus for generating media file having media information compatible between media files having same format, and method and apparatus for executing the media file
EP2663918A2 (en) Method for managing content in a plurality of devices using a display apparatus
WO2016119414A1 (zh) 一种基于二维码的文件共享方法、系统及移动终端
WO2020197018A1 (en) Image processing apparatus and image processing method thereof
WO2021133053A1 (ko) 전자 장치 및 그의 제어 방법
WO2016024824A1 (en) Display apparatus and method of controlling the same
WO2011162471A1 (ko) 가상 세계 운용 시스템 및 운용 방법
WO2017023049A1 (en) Electronic device and server related to rendering of web content and controlling method thereof
WO2023234532A1 (ko) 버추얼 프로덕션의 데이터 기록 방법, 장치 및 시스템
WO2015190780A1 (ko) 사용자 단말 및 이의 제어 방법
WO2018016760A1 (ko) 전자 장치 및 그의 제어 방법
WO2016080586A1 (en) System and method for providing cloud based user interfaces
WO2019198913A1 (ko) 전자 장치 및 그 제어 방법
WO2020262920A1 (en) Display apparatus and the control method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15891096

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15891096

Country of ref document: EP

Kind code of ref document: A1