WO2018120719A1 - Method, apparatus, and device for updating interface of mobile terminal application, and computer readable storage medium - Google Patents

Method, apparatus, and device for updating interface of mobile terminal application, and computer readable storage medium Download PDF

Info

Publication number
WO2018120719A1
WO2018120719A1 PCT/CN2017/091254 CN2017091254W WO2018120719A1 WO 2018120719 A1 WO2018120719 A1 WO 2018120719A1 CN 2017091254 W CN2017091254 W CN 2017091254W WO 2018120719 A1 WO2018120719 A1 WO 2018120719A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
element component
configuration file
grid element
mobile terminal
Prior art date
Application number
PCT/CN2017/091254
Other languages
French (fr)
Chinese (zh)
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 上海壹账通金融科技有限公司
Publication of WO2018120719A1 publication Critical patent/WO2018120719A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for updating a mobile terminal program interface.
  • the existing update mode is generally: an operation interface update file to be downloaded is generated on the server side, and the mobile terminal downloads and installs the update file on the server to update the operation interface of the corresponding application.
  • the update file is usually a complete generated file of the new operation interface (including interface code, interface configuration file, etc.), so that the file of the update file is usually large, and if the mobile terminal downloads the update file, the traffic resource is large, and the download is large. Inefficient and long update times. Especially when the mobile terminal program is faster and more frequent, the above problems are more prominent.
  • the main purpose of the present invention is to provide a method, an apparatus, a device, and a computer readable storage medium for updating a mobile terminal program interface, which are intended to reduce the traffic resources required for the mobile terminal to update the interface, and improve the update efficiency.
  • the method for updating a mobile terminal program includes the following steps:
  • the mobile program downloads, from the server, a pre-generated update configuration file for updating the interface, the interface of the mobile program is a predetermined grid layout, and the update configuration file includes each grid of the interface of the mobile program. a list of element components, and the size and identity of each raster element component;
  • the mobile terminal program updates a current configuration file to the update configuration file, and parses the update configuration file to parse a list of each raster element component of the interface of the mobile terminal program, and each grid The size and identity of the element component;
  • the mobile program generates an updated interface according to the parsed list of the respective grid element components, the size and the identifier of each of the grid element components, and the predetermined grid element component arrangement rule.
  • the present invention further provides an update device for a mobile terminal program interface, where the update device of the mobile terminal program interface includes:
  • a downloading module configured to download, from a server, a pre-generated update configuration file for updating an interface, where the interface of the mobile terminal program is a predetermined grid layout, where the update configuration file includes each interface of the mobile terminal program a list of raster element components, and the size and identity of each raster element component;
  • An update and parsing module configured to update a current configuration file to the update configuration file after the mobile program is re-run, and parse the update configuration file to parse the interface of the mobile program a list of each raster element component, and the corresponding size and identity of each raster element component;
  • the interface generation module is configured to generate an updated interface according to the parsed list of each raster element component, the size and identifier of each raster element component, and the predetermined grid element component arrangement rule.
  • the present invention also provides an update device for a mobile terminal program interface, the device comprising a memory, a processor, and an update program of a mobile program interface stored on the memory and operable on the processor, the program being processed by the processor
  • the following steps are implemented during execution:
  • a pre-generated update configuration file for updating the interface is a predetermined grid layout
  • the update configuration file includes a list of each grid element component of the interface of the mobile program, And the corresponding size and identifier of each grid element component;
  • the present invention also provides a computer readable storage medium storing an update program of a mobile program interface, the program being executed by the processor to implement the following steps:
  • a pre-generated update configuration file for updating the interface is a predetermined grid layout
  • the update configuration file includes a list of each grid element component of the interface of the mobile program, And the corresponding size and identifier of each grid element component;
  • the mobile terminal program downloads a pre-generated update configuration file for updating the interface from the server, and the current configuration is performed in the mobile terminal program. Updating a file to the update configuration file, and parsing the update configuration file to parse out each raster element component of the interface of the mobile program a list, and the size and identity of each raster element component, and based on the parsed list of individual raster element components, the corresponding size and identity of each raster element component, and a predetermined raster element component arrangement rule generation
  • the updated interface because the update configuration file only carries the information of the list and size of each grid element component, the update configuration file is small, effectively reducing the traffic resources required for the mobile terminal to update the interface, and the downloading efficiency is high. , the update time is shorter.
  • the update configuration file is more flexible and can be applied to various
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for updating a mobile terminal program interface according to the present invention
  • FIG. 2 is a schematic diagram of a grid layout of an interface of the present invention.
  • FIG. 3 is a schematic flowchart of a step of generating an interface in a third embodiment of a method for updating a mobile terminal program interface according to the present invention
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of an apparatus for updating a mobile terminal program interface according to the present invention
  • FIG. 5 is a schematic diagram of a refinement function module of an interface generation module in a third embodiment of an apparatus for updating a mobile terminal program interface according to the present invention
  • FIG. 6 is a block diagram showing the hardware structure of an update device of a mobile terminal program interface according to the present invention.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for updating a mobile terminal program interface according to the present invention.
  • the method for updating the mobile program interface includes:
  • step S10 the mobile program downloads a pre-generated update configuration file for updating the interface from the server.
  • the interface of the mobile program is a predetermined grid layout
  • the update configuration file includes a list of each grid element component of the interface of the mobile program, and a size and identifier corresponding to each grid element component.
  • the mobile program after downloading the update configuration file, the mobile program further caches the downloaded update configuration file.
  • the server may generate an update configuration file of the interface of the mobile terminal program.
  • the format of the update configuration file may be configured according to actual needs.
  • the format of the update configuration file may be a json format.
  • the generation process of updating the configuration file may be controlled by a person, for example, the update configuration file may be uploaded to the server by an authorized user.
  • the grid layout of the updated interface can be determined by the user and the configuration file updated based on this configuration.
  • Each update profile includes a list of at least one raster element component in a certain order, and the update profile also contains the size and identity of each raster element component.
  • the size and identity of each raster element component can be configured in a list formed by the grid element components.
  • the size of the grid element component may include width and height, the width may be [0, 12], the height may be greater than 12, and the size list of each grid element component may be: [6x6, 3x3, 3x3, 6x3, 3x3, 3x3, 6x6, 3x3, 3x3, 4x4, 4x4, 12x4],
  • the identification list of each raster element component can be [No.1, No.2, No.3, No. 4, No. 5, No. 6, No. 7, No. 8, No. 9, No. 10, No. 11, No. 12, No. 13]
  • the list of each grid element component may be [( No.1, 6x6), (No. 2, 3x3), (No. 3, 3x3), (No. 4, 6x3), (No. 5, 3x3), (No.
  • the step S10 includes: the mobile terminal program requests and downloads the latest update configuration file of the mobile terminal program to the server in real time or periodically; or, after the mobile terminal program runs, requests and downloads the server to the server.
  • the latest update configuration file for the mobile program Therefore, the mobile terminal can obtain the latest update configuration file in time, and improve the update efficiency of the interface of the mobile terminal program.
  • the server may also send a download instruction to the corresponding mobile terminal when detecting that a new update configuration file is generated.
  • the pre-generated update configuration file for updating the interface is downloaded from the server. Therefore, when there is no new update configuration file, the download request of the invalid update configuration file sent by the mobile terminal to the server can be avoided, and the mobile terminal can obtain the latest update configuration file in time, and improve the update of the interface of the mobile terminal program. effectiveness.
  • Step S20 the mobile terminal program updates the current configuration file to the update configuration file, and parses the update configuration file to parse out a list of each raster element component of the interface of the mobile terminal program, and The size and identity of each raster element component.
  • the mobile program loads the cached update configuration file, updates the current configuration file to the loaded update configuration file, and updates the loaded configuration file.
  • the configuration file is parsed.
  • Step S30 the mobile program generates an updated interface according to the parsed list of each grid element component, the size and identifier of each grid element component, and the predetermined grid element component arrangement rule.
  • each grid element component is arranged according to an arrangement rule, and the display size of each grid element is a size obtained by parsing, and each grid element component is displayed according to each display size and is arranged after being arranged. Form an updated interface.
  • the method for updating a mobile terminal program downloads a pre-generated update configuration file for updating an interface from a server through a mobile program, and updates the current configuration file to the update configuration file in the mobile program. And parsing the update configuration file to parse a list of the respective grid element components of the interface of the mobile program, and corresponding sizes and identifiers of the respective grid element components, and according to the parsed list of the respective grid element components, the corresponding size of each grid element component and The identification, and the predetermined grid element component arrangement rules generate an updated interface. Since the update configuration file only carries information such as the list and size of each grid element component, the update configuration file is small, effectively reducing the movement.
  • the traffic resources required by the terminal to update the interface have higher download efficiency and shorter update time.
  • the update configuration file is more flexible and can be applied to various types of mobile terminals, thereby further improving the update efficiency and saving manpower and material resources.
  • the present invention further provides a second embodiment of the update method of the mobile terminal program interface, the predetermined grid.
  • the element component arrangement rule is: determining each of the grid element components in the list according to a corresponding list order; according to one of the corner coordinates of the interface, selecting the grid element component in the order of arrangement A grid element component area arrangement is performed, the rules of the area arrangement being arranged from the angular coordinates to the edge direction of the interface.
  • the list order of the respective grid element components is directly taken as the arrangement order. For example, if the list order of the grid element component No. 3 in the list is the third digit, the arrangement order of the grid element component No. 3 is the third digit.
  • the angular coordinates of the interface may be, for example, an upper left corner, an upper right corner, a lower left corner, or a lower right corner.
  • the rule of the area arrangement is that the arrangement from the angular coordinate to the edge of the interface may include the following situations:
  • the rules of the region are arranged from left to right and from top to bottom;
  • the rules of the region are arranged from right to left and from top to bottom;
  • the rules of the region are arranged from left to right and from bottom to top;
  • the rules of the area are arranged from right to left and from bottom to top.
  • FIG. 2 is a schematic diagram of a grid layout of an interface according to the present invention.
  • the width of the interface is 12, if the list can be: [(No.1, 6x6), (No. 2 , 3x3), (No. 3, 3x3), (No. 4, 6x3), (No. 5, 3x3), (No. 6, 3x3), (No. 7, 6x6), (No.
  • the grid element component No. 1 is the first bit, and a 6x6 pixel area is determined as the area of the grid element component No. 1 from the coordinates of the upper left corner of the interface; the arrangement order of the grid element component No. 2 is 2 bits, starting from the upper left coordinate of the right side of the area of the grid element component No. 1, determining a 3x3 pixel area as the area of the grid element component No. 2; arrangement of the grid element component No.
  • the order is the third bit, and a 3x3 pixel area is determined as the area of the grid element component No. 3 from the upper left coordinate of the right side of the area of the grid element component No. 2; because No. 1, No. If the width of the area of 2 and No. 3 is equal to 12, the area can no longer be arranged to the right.
  • the grid element component No. 4 is arranged in the fourth order, and a 6x3 pixel area is determined as a grid element from the upper left coordinate below the area of the grid element component No. 2. The area of component No. 4; and so on, until the area of all grid element components is arranged.
  • the arrangement of the edges of the interface is started from the angular coordinates of the interface, so that the interfaces of various grid layouts can be updated, and the update is more flexible.
  • the present invention also proposes a third embodiment of the method for updating the mobile terminal program interface, with reference to FIG. 3 is a schematic flowchart of the step of generating an updated interface in the third embodiment of the method for updating the mobile terminal program interface according to the present invention.
  • the step S30 includes:
  • Step S31 the mobile terminal program performs grid element component area arrangement according to the parsed list of each grid element component, the size and identifier corresponding to each grid element component, and the predetermined grid element component arrangement rule;
  • Step S32 the mobile terminal program analyzes whether there is an arrangement arrangement of the area arrangement of the grid element component.
  • the width of the interface is 12, if the list can be: [(No.1, 6x6), (No. 2, 3x3), (No. 3, 4x4), (No. 4, 6x3), (No. 5, 3x3), (No. 6, 3x3), (No. 7, 6x6), (No. 8, 3x3), (No. 9, 3x3), (No. 10, 4x4), (No .11, 4x4), (No. 12, 4x4), (No. 13, 12x4)], the arrangement order of the grid element component No. 1 is the first bit, and the coordinates from the upper left corner of the interface are started. , a 6x6 pixel area is determined as the area of the grid element component No. 1; the grid element component No.
  • a 3x3 pixel area is determined as the area of the grid element component No. 2; the grid element component No. 3 is arranged in the third order, and the area from the grid element component No. 2 is right.
  • the coordinates of the upper left corner of the square start, and a 4x4 pixel area is determined as the area of the grid element component No. 3.
  • the grid element is determined.
  • the area arrangement of the component No. 3 is arranged to interfere.
  • Step S33 if there is arrangement interference in the area arrangement of the grid element component, the mobile terminal program generates a corresponding interface according to the configuration file before the update, and/or sends a reminder message to the predetermined terminal to remind The update configuration file has an error.
  • the mobile terminal program when interference occurs in the area arrangement, can generate a corresponding interface according to the configuration file before the update, and actually uses the original interface, and does not perform interface update, thereby avoiding the updated interface. An error has occurred and it is guaranteed that the mobile program still has a qualified interface.
  • the user by sending reminder information to the preset terminal, the user can know in time that the update configuration file has an error and can be modified in time.
  • the predetermined terminal can be a mobile phone, a tablet, or the like.
  • the invention further provides an updating device for a mobile terminal program interface.
  • the updating device of the mobile program interface can be applied to the mobile terminal, and the mobile terminal can be, for example, but not limited to, a mobile phone, a tablet computer, or the like.
  • FIG. 4 is a first embodiment of an apparatus for updating a mobile terminal program interface according to the present invention. Functional block diagram.
  • the updating device of the mobile program interface includes:
  • the downloading module 10 is configured to download, from the server, a pre-generated update configuration file for updating the interface, where the interface of the mobile program is a predetermined grid layout, and the update configuration file includes an interface of the mobile program. a list of each raster element component, and the corresponding size and identity of each raster element component;
  • the mobile program after downloading the update configuration file, the mobile program further caches the downloaded update configuration file.
  • the server may generate an update configuration file of the interface of the mobile terminal program.
  • the format of the update configuration file may be configured according to actual needs.
  • the format of the update configuration file may be a json format.
  • the generation process of updating the configuration file may be controlled by a person, for example, the update configuration file may be uploaded to the server by an authorized user.
  • the grid layout of the updated interface can be determined by the user and the configuration file updated based on this configuration.
  • Each update profile includes a list of at least one raster element component in a certain order, and the update profile also contains the size and identity of each raster element component.
  • the size and identity of each raster element component can be configured in a list formed by the grid element components.
  • the size of the grid element component may include width and height, the width may be [0, 12], the height may be greater than 12, and the size list of each grid element component may be: [6x6, 3x3, 3x3, 6x3, 3x3, 3x3, 6x6, 3x3, 3x3, 4x4, 4x4, 12x4],
  • the identification list of each raster element component can be [No.1, No.2, No.3, No. 4, No. 5, No. 6, No. 7, No. 8, No. 9, No. 10, No. 11, No. 12, No. 13]
  • the list of each grid element component may be [( No.1, 6x6), (No. 2, 3x3), (No. 3, 3x3), (No. 4, 6x3), (No. 5, 3x3), (No.
  • the downloading module 10 is further configured to request and download the latest update configuration file of the mobile terminal program to the server in real time or periodically; or, after the mobile terminal program runs, request and download the The latest update configuration file for the mobile program. Therefore, the mobile terminal can obtain the latest update configuration file in time, and improve the update efficiency of the interface of the mobile terminal program.
  • the server may also send a download instruction to the corresponding mobile terminal when detecting that a new update configuration file is generated.
  • the pre-generated update configuration file for updating the interface is downloaded from the server. Therefore, when there is no new update configuration file, the download request of the invalid update configuration file sent by the mobile terminal to the server can be avoided, and the mobile terminal can obtain the latest update configuration file in time, and improve the update of the interface of the mobile terminal program. effectiveness.
  • the update and parsing module 20 is configured to update the current configuration file to the update configuration file after the mobile program is re-run, and parse the update configuration file to parse the interface of the mobile program a list of individual raster element components, and corresponding dimensions and identifiers for each raster element component;
  • the update of the cache is loaded. Setting a file, updating the current configuration file to the loaded update configuration file, and parsing the loaded update configuration file.
  • the interface generating module 30 is configured to generate an updated interface according to the parsed list of the respective grid element components, the size and identifier corresponding to each of the grid element components, and the predetermined grid element component arrangement rule.
  • each grid element component is arranged according to an arrangement rule, and the display size of each grid element is a size obtained by parsing, and each grid element component is displayed according to each display size and is arranged after being arranged. Form an updated interface.
  • the updating device of the mobile terminal program interface downloads a pre-generated update configuration file for updating the interface from the server through the mobile terminal program, and updates the current configuration file to the update configuration file in the mobile terminal program, And parsing the update configuration file to parse out a list of each raster element component of the interface of the mobile program, and corresponding size and identifier of each raster element component, and according to each raster element component parsed
  • the list, the size and identity of each raster element component, and the predetermined grid element component layout rules to generate an updated interface, since the update configuration file only carries information such as the list and size of each raster element component.
  • the update configuration file is small, effectively reducing the traffic resources required for the mobile terminal to update the interface, and the downloading efficiency is high, and the update time is short.
  • the update configuration file is more flexible and can be applied to various types of mobile terminals, thereby further improving the update efficiency and saving manpower and material resources.
  • the present invention further provides a second embodiment of the updating device of the mobile terminal program interface, the predetermined grid
  • the element component arrangement rule is: determining each of the grid element components in the list according to a corresponding list order; according to one of the corner coordinates of the interface, selecting the grid element component in the order of arrangement A grid element component area arrangement is performed, the rules of the area arrangement being arranged from the angular coordinates to the edge direction of the interface.
  • the list order of the respective grid element components is directly taken as the arrangement order. For example, if the list order of the grid element component No. 3 in the list is the third digit, the arrangement order of the grid element component No. 3 is the third digit.
  • the angular coordinates of the interface may be, for example, an upper left corner, an upper right corner, a lower left corner, or a lower right corner.
  • the rule of the area arrangement is that the arrangement from the angular coordinate to the edge of the interface may include the following situations:
  • the rules of the region are arranged from left to right and from top to bottom;
  • the rules of the region are arranged from right to left and from top to bottom;
  • the rules of the region are arranged from left to right and from bottom to top;
  • the rules of the area are arranged from right to left and from bottom to top.
  • the area arrangement rule is from left to right. From top to bottom.
  • the width of the interface is 12, and if the list can be: [(No.1, 6x6), (No. 2, 3x3), (No. 3, 3x3), (No .4,6x3),(No.5,3x3),(No.6,3x3),(No.7,6x6),(No.8,3x3),(No.9,3x3),(No.10 , 4x4), (No. 11, 4x4), (No. 12, 4x4), (No. 13, 12x4)], the arrangement order of the grid element component No.
  • the arrangement of the edges of the interface is started from the angular coordinates of the interface, so that the interfaces of various grid layouts can be updated, and the update is more flexible.
  • the present invention also proposes a third embodiment of the updating device of the mobile terminal program interface, with reference to FIG. 5 is a schematic diagram of a refinement function module of an interface generation module in a third embodiment of an apparatus for updating a mobile terminal program interface according to the present invention.
  • the interface generation module 30 includes:
  • the area arranging unit 31 is configured to arrange the grid element component area according to the parsed list of the respective grid element components, the size and the identifier of each grid element component, and the predetermined grid element component arrangement rule;
  • the analyzing unit 32 is configured to analyze whether there is arrangement interference of the area arrangement of the grid element component
  • the width of the interface is 12, if the list can be: [(No.1, 6x6), (No. 2, 3x3), (No. 3, 4x4), (No. 4, 6x3), (No. 5, 3x3), (No. 6, 3x3), (No. 7, 6x6), (No. 8, 3x3), (No. 9, 3x3), (No. 10, 4x4), (No .11, 4x4), (No. 12, 4x4), (No. 13, 12x4)], the arrangement order of the grid element component No. 1 is the first bit, and the coordinates from the upper left corner of the interface are started. , a 6x6 pixel area is determined as the area of the grid element component No. 1; the grid element component No.
  • a 3x3 pixel area is determined as the area of the grid element component No. 2; the grid element component No. 3 is arranged in the third order, and the area from the grid element component No. 2 is right.
  • the coordinates of the upper left corner of the square start, and a 4x4 pixel area is determined as the area of the grid element component No. 3.
  • the grid element is determined.
  • the area arrangement of the component No. 3 is arranged to interfere.
  • the generating and reminding unit 33 is configured to generate a corresponding interface according to the configuration file before the update if the arrangement of the area of the grid element component occurs, and/or send a reminder message to the predetermined terminal to remind The update configuration file has an error.
  • the corresponding interface when interference occurs in the area arrangement, the corresponding interface may be generated according to the configuration file before the update, and the original interface is actually used, and the interface update is not performed, thereby avoiding an error in the updated interface. Moreover, it ensures that the mobile program still has a qualified interface. In addition, by sending reminder information to the preset terminal, the user can know in time that the update configuration file has an error and can be modified in time.
  • the predetermined terminal can be a mobile phone, a tablet, or the like.
  • FIG. 6 is a block diagram showing the hardware structure of an update device of a mobile terminal program interface according to the present invention.
  • the update device of the mobile terminal program interface may be a PC (Personal Computer), or may be a terminal device such as a smart phone, a tablet computer, an e-book reader, or a portable computer.
  • PC Personal Computer
  • the update device of the mobile terminal program interface may be a PC (Personal Computer), or may be a terminal device such as a smart phone, a tablet computer, an e-book reader, or a portable computer.
  • the update device of the mobile program interface includes a memory 11, a processor 12, a communication bus 13, and a network interface 14.
  • the memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (for example, an SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like.
  • the memory 11 may in some embodiments be an internal storage unit of an update device of the mobile program interface, such as a hard disk of an update device of the mobile program interface.
  • the memory 11 may also be an external storage device of the update device of the mobile program interface in other embodiments, such as a plug-in hard disk equipped with an update device on the mobile program interface, a smart memory card (SMC), Secure Digital (SD) card, Flash Card, etc.
  • SMC smart memory card
  • SD Secure Digital
  • the memory 11 may also include an internal storage unit of the update device including the mobile program interface and an external storage device.
  • the memory 11 can be used not only for storing application software of the update device installed on the mobile terminal program interface and various types of data, such as code of an update program of the mobile terminal program interface, but also for temporarily storing data that has been output or will be outputted. .
  • the processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data processing chip for running program code or processing stored in the memory 11. Data, such as an update program that executes the mobile program interface.
  • CPU Central Processing Unit
  • controller microcontroller
  • microprocessor or other data processing chip for running program code or processing stored in the memory 11.
  • Data such as an update program that executes the mobile program interface.
  • Communication bus 13 is used to implement connection communication between these components.
  • the network interface 14 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), and is typically used to establish a communication connection between the device and other electronic devices.
  • a wireless interface such as a WI-FI interface
  • the device of this embodiment establishes a connection with the server via the network interface 14.
  • Figure 6 shows only the update device of the mobile program interface with the components 11-14 and the update program of the mobile program interface, but it should be understood that not all of the illustrated components are required to be implemented, and alternative implementations are possible. Or fewer components.
  • the device may further include a user interface
  • the user interface may include a display
  • an input unit such as a keyboard
  • the optional user interface may further include a standard wired interface and a wireless interface.
  • the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch sensor, or the like.
  • the display may also be appropriately referred to as a display screen or a display unit for displaying information processed in the update device of the mobile terminal program interface and for Display the visual user interface.
  • the memory 11 stores an update program of the mobile terminal program interface
  • the network interface 14 is mainly used to connect to the server for data communication with the server; the processor 12 executes the memory 11 The following steps are implemented when updating the stored mobile program interface:
  • a pre-generated update configuration file for updating the interface is a predetermined grid layout
  • the update configuration file includes a list of each grid element component of the interface of the mobile program, And the corresponding size and identifier of each grid element component;
  • predetermined grid element component arrangement rule is:
  • the grid element component is sequentially selected according to the arrangement order to arrange the grid element component area, and the rule of the area is arranged from the angular coordinate to the edge direction of the interface. cloth.
  • the rule of the region is arranged from left to right and from top to bottom; when the angular coordinate is the upper right corner, the rule of the region is arranged from Right to left, top to bottom; when the angular coordinates are the lower left corner, the rules of the area are arranged from left to right and from bottom to top; when the angular coordinates are the lower right corner, the area The rules are arranged from right to left and from bottom to top.
  • the step of generating the updated interface according to the parsed list of the respective grid element components, the corresponding size and identifier of each grid element component, and the predetermined grid element component arrangement rule include:
  • the grid element component area is arranged;
  • the mobile program If there is arrangement interference in the area arrangement of the grid element component, the mobile program generates a corresponding interface according to the configuration file before the update, and/or sends a reminder message to the predetermined terminal to remind the update. There is an error in the configuration file.
  • step of downloading, from the server, the pre-generated update configuration file for updating the interface includes:
  • the latest update configuration file of the mobile terminal program is requested and downloaded to the server in real time or periodically; or, after the mobile terminal program runs, the latest update configuration file of the mobile terminal program is requested and downloaded to the server.
  • the invention further provides a computer readable storage medium on which an update program of a mobile program interface is stored, and when the update program of the mobile program interface is executed by the processor, the following operations are implemented:
  • a pre-generated update configuration file for updating the interface is a predetermined grid layout
  • the update configuration file includes a list of each grid element component of the interface of the mobile program, And the corresponding size and identifier of each grid element component;
  • predetermined grid element component arrangement rule is:
  • the grid element component is sequentially selected according to the arrangement order to arrange the grid element component area, and the rule of the area is arranged from the angular coordinate to the edge direction of the interface. cloth.
  • the rule of the region is arranged from left to right and from top to bottom; when the angular coordinate is the upper right corner, the rule of the region is arranged from Right to left, top to bottom; when the angular coordinates are the lower left corner, the rules of the area are arranged from left to right and from bottom to top; when the angular coordinates are the lower right corner, the area The rules are arranged from right to left and from bottom to top.
  • the step of generating the updated interface according to the parsed list of the respective grid element components, the corresponding size and identifier of each grid element component, and the predetermined grid element component arrangement rule include:
  • the grid element component area is arranged;
  • the mobile program If there is arrangement interference in the area arrangement of the grid element component, the mobile program generates a corresponding interface according to the configuration file before the update, and/or sends a reminder message to the predetermined terminal to remind the update. There is an error in the configuration file.
  • step of downloading, from the server, the pre-generated update configuration file for updating the interface includes:
  • the latest update configuration file of the mobile terminal program is requested and downloaded to the server in real time or periodically; or, after the mobile terminal program runs, the latest update configuration file of the mobile terminal program is requested and downloaded to the server.
  • the specific embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiment of the method for updating the mobile terminal program, and is not described herein.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • a storage medium such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Abstract

A method, apparatus, and device for updating an interface of a mobile terminal application, and a computer readable storage medium. The method comprises: a mobile terminal application downloads, from a server, a pre-generated update configuration file used for updating an interface (S10); the mobile terminal application updates the current configuration file as the update configuration file and parses the update configuration file (S20); the mobile terminal application generates an updated interface according to the parsed list of grid element components and sizes and identifiers corresponding to the grid element components, and a pre-determined grid element component arrangement rule (S30). Because the update configuration file is small, traffic resources required for a mobile terminal to update an interface are effectively reduced, thereby implementing high downloading efficiency and short update time. In addition, grid element components are arranged according to a preset arrangement rule so that the update configuration file is more flexible and is applicable to different types of mobile terminals, thereby further improving the update efficiency.

Description

移动端程序界面的更新方法、装置、设备及计算机可读存储介质Method, device, device and computer readable storage medium for updating mobile program interface
优先权申明Priority claim
本申请基于巴黎公约申明享有2016年12月30日递交的申请号为CN201611263944.3、名称为“移动端程序界面的更新方法及装置”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。This application is based on the priority of the Chinese Patent Application entitled "Update Method and Apparatus for Mobile Program Interface", filed on December 30, 2016, with the application number of CN201611263944.3, which is filed on December 30, 2016. It is incorporated herein by reference.
技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种移动端程序界面的更新方法、装置、设备及计算机可读存储介质。The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for updating a mobile terminal program interface.
背景技术Background technique
目前,由于安装于移动终端上的应用程序的升级、换代等因素,通常需要对安装于移动终端上的应用程序的操作界面进行更新。At present, due to factors such as upgrading and replacing an application installed on a mobile terminal, it is usually required to update an operation interface of an application installed on the mobile terminal.
现有的更新方式一般为:需要在服务器端生成待下载的操作界面更新文件,移动终端在服务器上下载并安装该更新文件,以对相应的应用程序的操作界面进行更新。该更新文件通常是新的操作界面的完整生成文件(包括界面代码、界面配置文件等),从而造成该更新文件的文件通常较大,若移动终端下载该更新文件,占用流量资源较大、下载效率低下且更新时间较长。尤其在移动端程序迭代速度较快、更新较频繁时,上述问题更为突出。The existing update mode is generally: an operation interface update file to be downloaded is generated on the server side, and the mobile terminal downloads and installs the update file on the server to update the operation interface of the corresponding application. The update file is usually a complete generated file of the new operation interface (including interface code, interface configuration file, etc.), so that the file of the update file is usually large, and if the mobile terminal downloads the update file, the traffic resource is large, and the download is large. Inefficient and long update times. Especially when the mobile terminal program is faster and more frequent, the above problems are more prominent.
同时,现有的更新方式中,需要在服务器端生成与各个移动终端的机型适配的操作界面更新文件,不仅效率低下,而且需要耗费大量的人力物力。At the same time, in the existing update mode, it is necessary to generate an operation interface update file adapted to the model of each mobile terminal on the server side, which is not only inefficient, but also requires a lot of manpower and material resources.
发明内容Summary of the invention
本发明的主要目的在于提供一种移动端程序界面的更新方法、装置、设备及计算机可读存储介质,旨在降低移动终端更新界面时所需的流量资源,提高更新效率。The main purpose of the present invention is to provide a method, an apparatus, a device, and a computer readable storage medium for updating a mobile terminal program interface, which are intended to reduce the traffic resources required for the mobile terminal to update the interface, and improve the update efficiency.
为实现上述目的,本发明提供的移动端程序界面的更新方法包括以下步骤:To achieve the above objective, the method for updating a mobile terminal program provided by the present invention includes the following steps:
移动端程序从服务器下载预先生成的用于更新界面的更新配置文件,所述移动端程序的界面为预先确定的栅格布局,所述更新配置文件包括所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;The mobile program downloads, from the server, a pre-generated update configuration file for updating the interface, the interface of the mobile program is a predetermined grid layout, and the update configuration file includes each grid of the interface of the mobile program. a list of element components, and the size and identity of each raster element component;
所述移动端程序将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;The mobile terminal program updates a current configuration file to the update configuration file, and parses the update configuration file to parse a list of each raster element component of the interface of the mobile terminal program, and each grid The size and identity of the element component;
所述移动端程序根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面。 The mobile program generates an updated interface according to the parsed list of the respective grid element components, the size and the identifier of each of the grid element components, and the predetermined grid element component arrangement rule.
此外,为实现上述目的,本发明还提供一种移动端程序界面的更新装置,所述移动端程序界面的更新装置包括:In addition, in order to achieve the above object, the present invention further provides an update device for a mobile terminal program interface, where the update device of the mobile terminal program interface includes:
下载模块,用于从服务器下载预先生成的用于更新界面的更新配置文件,所述移动端程序的界面为预先确定的栅格布局,所述更新配置文件包括所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;a downloading module, configured to download, from a server, a pre-generated update configuration file for updating an interface, where the interface of the mobile terminal program is a predetermined grid layout, where the update configuration file includes each interface of the mobile terminal program a list of raster element components, and the size and identity of each raster element component;
更新及解析模块,用于在所述移动端程序重新运行后,将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;An update and parsing module, configured to update a current configuration file to the update configuration file after the mobile program is re-run, and parse the update configuration file to parse the interface of the mobile program a list of each raster element component, and the corresponding size and identity of each raster element component;
界面生成模块,用于根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面。The interface generation module is configured to generate an updated interface according to the parsed list of each raster element component, the size and identifier of each raster element component, and the predetermined grid element component arrangement rule.
此外,本发明还提供一种移动端程序界面的更新设备,所述设备包括存储器、处理器及存储在存储器上并可在处理器上运行的移动端程序界面的更新程序,该程序被处理器执行时实现如下步骤:In addition, the present invention also provides an update device for a mobile terminal program interface, the device comprising a memory, a processor, and an update program of a mobile program interface stored on the memory and operable on the processor, the program being processed by the processor The following steps are implemented during execution:
从服务器下载预先生成的用于更新界面的更新配置文件,所述移动端程序的界面为预先确定的栅格布局,所述更新配置文件包括移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;Downloading, from the server, a pre-generated update configuration file for updating the interface, the interface of the mobile program is a predetermined grid layout, and the update configuration file includes a list of each grid element component of the interface of the mobile program, And the corresponding size and identifier of each grid element component;
将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;Updating a current configuration file to the update configuration file, and parsing the update configuration file to parse a list of each raster element component of the interface of the mobile terminal program, and a size corresponding to each raster element component And logo;
根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面。Based on the parsed list of individual raster element components, the corresponding size and identity of each raster element component, and a predetermined raster element component arrangement rule to generate an updated interface.
此外,本发明还提供一种计算机可读存储介质,该计算机可读存储介质中存储有移动端程序界面的更新程序,该程序被处理器执行时实现如下步骤:In addition, the present invention also provides a computer readable storage medium storing an update program of a mobile program interface, the program being executed by the processor to implement the following steps:
从服务器下载预先生成的用于更新界面的更新配置文件,所述移动端程序的界面为预先确定的栅格布局,所述更新配置文件包括移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;Downloading, from the server, a pre-generated update configuration file for updating the interface, the interface of the mobile program is a predetermined grid layout, and the update configuration file includes a list of each grid element component of the interface of the mobile program, And the corresponding size and identifier of each grid element component;
将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;Updating a current configuration file to the update configuration file, and parsing the update configuration file to parse a list of each raster element component of the interface of the mobile terminal program, and a size corresponding to each raster element component And logo;
根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面。Based on the parsed list of individual raster element components, the corresponding size and identity of each raster element component, and a predetermined raster element component arrangement rule to generate an updated interface.
本发明提出的移动端程序界面的更新方法、装置、设备及计算机可读存储介质,移动端程序从服务器下载预先生成的用于更新界面的更新配置文件,并在所述移动端程序将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件 的列表,及各个栅格元素组件对应的尺寸和标识,并根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面,由于更新配置文件仅仅携带了各个栅格元素组件的列表、尺寸等信息,因此更新配置文件较小,有效地降低了移动终端更新界面时所需的流量资源,下载效率较高,更新时间较短。此外,由于采用预设的排布规则排布各个栅格元素组件,从而使得该更新配置文件更加灵活,能够适用于各种类型的移动端,进一步提高了更新效率,节约了人力物力。The method, the device, the device and the computer readable storage medium for updating the mobile program interface provided by the present invention, the mobile terminal program downloads a pre-generated update configuration file for updating the interface from the server, and the current configuration is performed in the mobile terminal program. Updating a file to the update configuration file, and parsing the update configuration file to parse out each raster element component of the interface of the mobile program a list, and the size and identity of each raster element component, and based on the parsed list of individual raster element components, the corresponding size and identity of each raster element component, and a predetermined raster element component arrangement rule generation The updated interface, because the update configuration file only carries the information of the list and size of each grid element component, the update configuration file is small, effectively reducing the traffic resources required for the mobile terminal to update the interface, and the downloading efficiency is high. , the update time is shorter. In addition, since each grid element component is arranged by using a preset arrangement rule, the update configuration file is more flexible and can be applied to various types of mobile terminals, thereby further improving the update efficiency and saving manpower and material resources.
附图说明DRAWINGS
图1为本发明移动端程序界面的更新方法第一实施例的流程示意图;1 is a schematic flowchart of a first embodiment of a method for updating a mobile terminal program interface according to the present invention;
图2为本发明一界面的栅格布局的示意图;2 is a schematic diagram of a grid layout of an interface of the present invention;
图3为本发明移动端程序界面的更新方法的第三实施例中生成界面步骤的细化流程示意图;3 is a schematic flowchart of a step of generating an interface in a third embodiment of a method for updating a mobile terminal program interface according to the present invention;
图4为本发明移动端程序界面的更新装置第一实施例的功能模块示意图;4 is a schematic diagram of functional modules of a first embodiment of an apparatus for updating a mobile terminal program interface according to the present invention;
图5为本发明移动端程序界面的更新装置的第三实施例中界面生成模块的细化功能模块示意图;5 is a schematic diagram of a refinement function module of an interface generation module in a third embodiment of an apparatus for updating a mobile terminal program interface according to the present invention;
图6为本发明移动端程序界面的更新设备的硬件结构框图。FIG. 6 is a block diagram showing the hardware structure of an update device of a mobile terminal program interface according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种移动端程序界面的更新方法。该移动端程序界面的更新方法可以基于移动终端实现。移动终端例如可以为但不限于手机、平板电脑等。参照图1,图1为本发明移动端程序界面的更新方法第一实施例的流程示意图。在该实施例中,该移动端程序界面的更新方法包括:The invention provides a method for updating a mobile terminal program interface. The update method of the mobile program interface can be implemented based on the mobile terminal. The mobile terminal can be, for example, but not limited to, a mobile phone, a tablet, or the like. Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for updating a mobile terminal program interface according to the present invention. In this embodiment, the method for updating the mobile program interface includes:
步骤S10,移动端程序从服务器下载预先生成的用于更新界面的更新配置文件。In step S10, the mobile program downloads a pre-generated update configuration file for updating the interface from the server.
其中,所述移动端程序的界面为预先确定的栅格布局,所述更新配置文件包括所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识。The interface of the mobile program is a predetermined grid layout, and the update configuration file includes a list of each grid element component of the interface of the mobile program, and a size and identifier corresponding to each grid element component. .
可选的,移动端程序在下载更新配置文件后,还进一步对下载的所述更新配置文件进行缓存。Optionally, after downloading the update configuration file, the mobile program further caches the downloaded update configuration file.
在本实施例中,在某个移动端程序的界面需要更新时,则可以在服务器生成该移动端程序的界面的更新配置文件。所述更新配置文件的格式可以根据实际需要进行配置,例如,所述更新配置文件的格式可以为json格式。可 选的,可以由人控制更新配置文件的生成过程,例如,所述更新配置文件可以由授权用户上传到服务器端。In this embodiment, when the interface of a certain mobile terminal program needs to be updated, the server may generate an update configuration file of the interface of the mobile terminal program. The format of the update configuration file may be configured according to actual needs. For example, the format of the update configuration file may be a json format. Can Alternatively, the generation process of updating the configuration file may be controlled by a person, for example, the update configuration file may be uploaded to the server by an authorized user.
可以由用户确定更新后的界面的栅格布局,并基于此配置所述更新配置文件。每个更新配置文件包括由至少一个栅格元素组件按照一定顺序组成的列表,且该更新配置文件中同时包含各个栅格元素组件对应的尺寸和标识。可选的,各个栅格元素组件对应的尺寸和标识可以配置在栅格元素组件形成的列表中。例如,栅格元素组件对应的尺寸可以包括宽和高,宽的取值范围可以为[0,12],高的取值可以大于12,各个栅格元素组件的尺寸列表可以为:[6x6,3x3,3x3,6x3,3x3,3x3,6x6,3x3,3x3,4x4,4x4,4x4,12x4],各个栅格元素组件的标识列表可以为[No.1,No.2,No.3,No.4,No.5,No.6,No.7,No.8,No.9,No.10,No.11,No.12,No.13],各个栅格元素组件的列表可以为[(No.1,6x6),(No.2,3x3),(No.3,3x3),(No.4,6x3),(No.5,3x3),(No.6,3x3),(No.7,6x6),(No.8,3x3),(No.9,3x3),(No.10,4x4),(No.11,4x4),(No.12,4x4),(No.13,12x4)])。The grid layout of the updated interface can be determined by the user and the configuration file updated based on this configuration. Each update profile includes a list of at least one raster element component in a certain order, and the update profile also contains the size and identity of each raster element component. Optionally, the size and identity of each raster element component can be configured in a list formed by the grid element components. For example, the size of the grid element component may include width and height, the width may be [0, 12], the height may be greater than 12, and the size list of each grid element component may be: [6x6, 3x3, 3x3, 6x3, 3x3, 3x3, 6x6, 3x3, 3x3, 4x4, 4x4, 4x4, 12x4], the identification list of each raster element component can be [No.1, No.2, No.3, No. 4, No. 5, No. 6, No. 7, No. 8, No. 9, No. 10, No. 11, No. 12, No. 13], the list of each grid element component may be [( No.1, 6x6), (No. 2, 3x3), (No. 3, 3x3), (No. 4, 6x3), (No. 5, 3x3), (No. 6, 3x3), (No. 7,6x6), (No.8, 3x3), (No.9, 3x3), (No.10, 4x4), (No.11, 4x4), (No.12, 4x4), (No.13, 12x4)]).
可选的,步骤S10包括:所述移动端程序实时或者定时向服务器请求并下载所述移动端程序的最新的更新配置文件;或者,所述移动端程序运行后,向服务器端请求并下载所述移动端程序的最新的更新配置文件。从而可以使得移动端及时获得最新的更新配置文件,提高移动端程序的界面的更新效率。Optionally, the step S10 includes: the mobile terminal program requests and downloads the latest update configuration file of the mobile terminal program to the server in real time or periodically; or, after the mobile terminal program runs, requests and downloads the server to the server. The latest update configuration file for the mobile program. Therefore, the mobile terminal can obtain the latest update configuration file in time, and improve the update efficiency of the interface of the mobile terminal program.
可选的,服务器还可以在侦测到有新的更新配置文件生成时,向对应的移动端发送下载指令。移动端接收到下载指令后,则从服务器下载预先生成的用于更新界面的更新配置文件。从而在当前没有新的更新配置文件时,可以避免移动端向服务器发出的无效的更新配置文件的下载请求,同时还可以使得移动端及时获得最新的更新配置文件,提高移动端程序的界面的更新效率。Optionally, the server may also send a download instruction to the corresponding mobile terminal when detecting that a new update configuration file is generated. After the mobile terminal receives the download instruction, the pre-generated update configuration file for updating the interface is downloaded from the server. Therefore, when there is no new update configuration file, the download request of the invalid update configuration file sent by the mobile terminal to the server can be avoided, and the mobile terminal can obtain the latest update configuration file in time, and improve the update of the interface of the mobile terminal program. effectiveness.
步骤S20,所述移动端程序将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识。Step S20, the mobile terminal program updates the current configuration file to the update configuration file, and parses the update configuration file to parse out a list of each raster element component of the interface of the mobile terminal program, and The size and identity of each raster element component.
在本实施例中,可选的,所述移动端程序在重新运行后,加载缓存的所述更新配置文件,将当前配置文件更新为加载的所述更新配置文件,并对加载的所述更新配置文件进行解析。In this embodiment, optionally, after the re-run, the mobile program loads the cached update configuration file, updates the current configuration file to the loaded update configuration file, and updates the loaded configuration file. The configuration file is parsed.
步骤S30,所述移动端程序根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面。Step S30, the mobile program generates an updated interface according to the parsed list of each grid element component, the size and identifier of each grid element component, and the predetermined grid element component arrangement rule.
在本实施例中,将各个栅格元素组件按照排布规则进行排布,且各个栅格元素的显示尺寸为解析获得的尺寸,各个栅格元素组件按照各个的显示尺寸显示并拼接排布后形成更新后的界面。In this embodiment, each grid element component is arranged according to an arrangement rule, and the display size of each grid element is a size obtained by parsing, and each grid element component is displayed according to each display size and is arranged after being arranged. Form an updated interface.
本发明提供的移动端程序界面的更新方法,通过移动端程序从服务器下载预先生成的用于更新界面的更新配置文件,并在所述移动端程序将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析 出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识,并根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面,由于更新配置文件仅仅携带了各个栅格元素组件的列表、尺寸等信息,因此更新配置文件较小,有效地降低了移动终端更新界面时所需的流量资源,下载效率较高,更新时间较短。此外,由于采用预设的排布规则排布各个栅格元素组件,从而使得该更新配置文件更加灵活,能够适用于各种类型的移动端,进一步提高了更新效率,节约了人力物力。The method for updating a mobile terminal program provided by the present invention downloads a pre-generated update configuration file for updating an interface from a server through a mobile program, and updates the current configuration file to the update configuration file in the mobile program. And parsing the update configuration file to parse a list of the respective grid element components of the interface of the mobile program, and corresponding sizes and identifiers of the respective grid element components, and according to the parsed list of the respective grid element components, the corresponding size of each grid element component and The identification, and the predetermined grid element component arrangement rules generate an updated interface. Since the update configuration file only carries information such as the list and size of each grid element component, the update configuration file is small, effectively reducing the movement. The traffic resources required by the terminal to update the interface have higher download efficiency and shorter update time. In addition, since each grid element component is arranged by using a preset arrangement rule, the update configuration file is more flexible and can be applied to various types of mobile terminals, thereby further improving the update efficiency and saving manpower and material resources.
进一步地,为了进一步提高更新效率,基于本发明移动端程序界面的更新方法的第一实施例,本发明还提出了移动端程序界面的更新方法的第二实施例,所述预先确定的栅格元素组件排布规则为:将所述列表中的各个栅格元素组件按照对应的列表顺序确定对应的排布顺序;从所述界面的其中一角坐标开始,按照排布顺序依次选择栅格元素组件进行栅格元素组件区域排布,所述区域排布的规则为从所述角坐标向所述界面的边缘方向排布。Further, in order to further improve the update efficiency, according to the first embodiment of the update method of the mobile terminal program interface of the present invention, the present invention further provides a second embodiment of the update method of the mobile terminal program interface, the predetermined grid. The element component arrangement rule is: determining each of the grid element components in the list according to a corresponding list order; according to one of the corner coordinates of the interface, selecting the grid element component in the order of arrangement A grid element component area arrangement is performed, the rules of the area arrangement being arranged from the angular coordinates to the edge direction of the interface.
可以直接将各个栅格元素组件的列表顺序作为排布顺序,也可以将列表顺序变换后作为排布顺序。优选地,在本实施例中,直接将各个栅格元素组件的列表顺序作为排布顺序。例如,栅格元素组件No.3在所述列表中的列表顺序为第3位,则栅格元素组件No.3对应的排布顺序为第3位。You can directly sort the list order of each raster element component as the arrangement order, or you can change the list order as the arrangement order. Preferably, in the present embodiment, the list order of the respective grid element components is directly taken as the arrangement order. For example, if the list order of the grid element component No. 3 in the list is the third digit, the arrangement order of the grid element component No. 3 is the third digit.
在本实施例中,界面的角坐标例如可以为左上角、右上角、左下角或右下角。In this embodiment, the angular coordinates of the interface may be, for example, an upper left corner, an upper right corner, a lower left corner, or a lower right corner.
可选的,所述区域排布的规则为从所述角坐标向所述界面的边缘方向排布可以包括以下几种情况:Optionally, the rule of the area arrangement is that the arrangement from the angular coordinate to the edge of the interface may include the following situations:
在所述角坐标为左上角时,所述区域排布的规则为从左到右、从上到下;When the angular coordinate is the upper left corner, the rules of the region are arranged from left to right and from top to bottom;
在所述角坐标为右上角时,所述区域排布的规则为从右到左、从上到下;When the angular coordinate is the upper right corner, the rules of the region are arranged from right to left and from top to bottom;
在所述角坐标为左下角时,所述区域排布的规则为从左到右、从下到上;When the angular coordinate is the lower left corner, the rules of the region are arranged from left to right and from bottom to top;
在所述角坐标为右下角时,所述区域排布的规则为从右到左、从下到上。When the angular coordinate is the lower right corner, the rules of the area are arranged from right to left and from bottom to top.
在本实施例中,以角坐标为左上角为例,其区域排布规则为从左到右、从上到下。例如,如图2所示,图2为本发明一界面的栅格布局的示意图,所述界面的宽度为12,若所述列表可以为:[(No.1,6x6),(No.2,3x3),(No.3,3x3),(No.4,6x3),(No.5,3x3),(No.6,3x3),(No.7,6x6),(No.8,3x3),(No.9,3x3),(No.10,4x4),(No.11,4x4),(No.12,4x4),(No.13,12x4)],则栅格元素组件No.1的排布顺序为第1位,则从所述界面的左上角坐标开始,确定一个6x6像素区域作为栅格元素组件No.1的区域;栅格元素组件No.2的排布顺序为第2位,则从所述栅格元素组件No.1的区域右方的左上角坐标开始,确定一个3x3像素区域作为栅格元素组件No.2的区域;栅格元素组件No.3的排布顺序为第3位,则从所述栅格元素组件No.2的区域右方的左上角坐标开始,确定一个3x3像素区域作为栅格元素组件No.3的区域;因为No.1、No.2及No.3的区域的宽度等于12,则无法再向右进行区域排布,此时向下 进行区域排布,栅格元素组件No.4的排布顺序为第4位,则从所述栅格元素组件No.2的区域下方的左上角坐标开始,确定一个6x3像素区域作为栅格元素组件No.4的区域;以此类推,直到所有栅格元素组件的区域排布完成。In this embodiment, taking the angular coordinate as the upper left corner as an example, the area arrangement rule is from left to right and top to bottom. For example, as shown in FIG. 2, FIG. 2 is a schematic diagram of a grid layout of an interface according to the present invention. The width of the interface is 12, if the list can be: [(No.1, 6x6), (No. 2 , 3x3), (No. 3, 3x3), (No. 4, 6x3), (No. 5, 3x3), (No. 6, 3x3), (No. 7, 6x6), (No. 8, 3x3) ), (No.9, 3x3), (No.10, 4x4), (No.11, 4x4), (No.12, 4x4), (No.13, 12x4)], then the grid element component No. The arrangement order of 1 is the first bit, and a 6x6 pixel area is determined as the area of the grid element component No. 1 from the coordinates of the upper left corner of the interface; the arrangement order of the grid element component No. 2 is 2 bits, starting from the upper left coordinate of the right side of the area of the grid element component No. 1, determining a 3x3 pixel area as the area of the grid element component No. 2; arrangement of the grid element component No. The order is the third bit, and a 3x3 pixel area is determined as the area of the grid element component No. 3 from the upper left coordinate of the right side of the area of the grid element component No. 2; because No. 1, No. If the width of the area of 2 and No. 3 is equal to 12, the area can no longer be arranged to the right. For the area arrangement, the grid element component No. 4 is arranged in the fourth order, and a 6x3 pixel area is determined as a grid element from the upper left coordinate below the area of the grid element component No. 2. The area of component No. 4; and so on, until the area of all grid element components is arranged.
本实施例通过从界面的角坐标开始像界面的边缘方向排布,使得可以更新各种不同栅格布局的界面,更新更加灵活。In this embodiment, the arrangement of the edges of the interface is started from the angular coordinates of the interface, so that the interfaces of various grid layouts can be updated, and the update is more flexible.
进一步地,为了减少更新界面过程中的错误,基于本发明移动端程序界面的更新方法的第一或第二实施例,本发明还提出了移动端程序界面的更新方法的第三实施例,参照图3,图3为本发明移动端程序界面的更新方法的第三实施例中生成更新后的界面步骤的细化流程示意图,所述步骤S30包括:Further, in order to reduce errors in the process of updating the interface, according to the first or second embodiment of the update method of the mobile terminal program interface of the present invention, the present invention also proposes a third embodiment of the method for updating the mobile terminal program interface, with reference to FIG. 3 is a schematic flowchart of the step of generating an updated interface in the third embodiment of the method for updating the mobile terminal program interface according to the present invention. The step S30 includes:
步骤S31,所述移动端程序根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则进行栅格元素组件区域排布;Step S31, the mobile terminal program performs grid element component area arrangement according to the parsed list of each grid element component, the size and identifier corresponding to each grid element component, and the predetermined grid element component arrangement rule;
步骤S32,所述移动端程序分析是否有栅格元素组件的区域排布发生排布干涉。Step S32, the mobile terminal program analyzes whether there is an arrangement arrangement of the area arrangement of the grid element component.
例如,所述界面的宽度为12,若所述列表可以为:[(No.1,6x6),(No.2,3x3),(No.3,4x4),(No.4,6x3),(No.5,3x3),(No.6,3x3),(No.7,6x6),(No.8,3x3),(No.9,3x3),(No.10,4x4),(No.11,4x4),(No.12,4x4),(No.13,12x4)],则栅格元素组件No.1的排布顺序为第1位,则从所述界面的左上角坐标开始,确定一个6x6像素区域作为栅格元素组件No.1的区域;栅格元素组件No.2的排布顺序为第2位,则从所述栅格元素组件No.1的区域右方的左上角坐标开始,确定一个3x3像素区域作为栅格元素组件No.2的区域;栅格元素组件No.3的排布顺序为第3位,则从所述栅格元素组件No.2的区域右方的左上角坐标开始,确定一个4x4像素区域作为栅格元素组件No.3的区域,此时,因为No.1、No.2及No.3的区域的宽度大于12,则确定栅格元素组件No.3的区域排布发生排布干涉。For example, the width of the interface is 12, if the list can be: [(No.1, 6x6), (No. 2, 3x3), (No. 3, 4x4), (No. 4, 6x3), (No. 5, 3x3), (No. 6, 3x3), (No. 7, 6x6), (No. 8, 3x3), (No. 9, 3x3), (No. 10, 4x4), (No .11, 4x4), (No. 12, 4x4), (No. 13, 12x4)], the arrangement order of the grid element component No. 1 is the first bit, and the coordinates from the upper left corner of the interface are started. , a 6x6 pixel area is determined as the area of the grid element component No. 1; the grid element component No. 2 is arranged in the second order from the upper left of the area of the grid element component No. 1 Starting at the corner coordinate, a 3x3 pixel area is determined as the area of the grid element component No. 2; the grid element component No. 3 is arranged in the third order, and the area from the grid element component No. 2 is right. The coordinates of the upper left corner of the square start, and a 4x4 pixel area is determined as the area of the grid element component No. 3. At this time, since the width of the areas of No. 1, No. 2, and No. 3 is greater than 12, the grid element is determined. The area arrangement of the component No. 3 is arranged to interfere.
步骤S33,若有栅格元素组件的区域排布发生排布干涉,则所述移动端程序根据更新前的配置文件生成对应的界面,及/或,向预先确定的终端发送提醒信息,以提醒所述更新配置文件存在错误。Step S33, if there is arrangement interference in the area arrangement of the grid element component, the mobile terminal program generates a corresponding interface according to the configuration file before the update, and/or sends a reminder message to the predetermined terminal to remind The update configuration file has an error.
在本实施例中,在区域排布发生干涉时,则移动端程序可以根据更新前的配置文件生成对应的界面,实际上是沿用原来的界面,没有进行界面更新,从而避免了更新后的界面出现错误,而且保证了移动端程序仍然具有合格的界面。此外,通过向预设的终端发送提醒信息,使得用户可以及时获知更新配置文件存在错误,并能够及时进行修改。预先确定的终端可以为手机、平板电脑等。In this embodiment, when interference occurs in the area arrangement, the mobile terminal program can generate a corresponding interface according to the configuration file before the update, and actually uses the original interface, and does not perform interface update, thereby avoiding the updated interface. An error has occurred and it is guaranteed that the mobile program still has a qualified interface. In addition, by sending reminder information to the preset terminal, the user can know in time that the update configuration file has an error and can be modified in time. The predetermined terminal can be a mobile phone, a tablet, or the like.
本发明进一步提供一种移动端程序界面的更新装置。该移动端程序界面的更新装置可以应用于移动终端上,移动终端例如可以为但不限于手机、平板电脑等。参照图4,图4为本发明移动端程序界面的更新装置第一实施例的 功能模块示意图。在第一实施例中,该移动端程序界面的更新装置包括:The invention further provides an updating device for a mobile terminal program interface. The updating device of the mobile program interface can be applied to the mobile terminal, and the mobile terminal can be, for example, but not limited to, a mobile phone, a tablet computer, or the like. Referring to FIG. 4, FIG. 4 is a first embodiment of an apparatus for updating a mobile terminal program interface according to the present invention. Functional block diagram. In the first embodiment, the updating device of the mobile program interface includes:
下载模块10,用于从服务器下载预先生成的用于更新界面的更新配置文件,所述移动端程序的界面为预先确定的栅格布局,所述更新配置文件包括所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;The downloading module 10 is configured to download, from the server, a pre-generated update configuration file for updating the interface, where the interface of the mobile program is a predetermined grid layout, and the update configuration file includes an interface of the mobile program. a list of each raster element component, and the corresponding size and identity of each raster element component;
可选的,移动端程序在下载更新配置文件后,还进一步对下载的所述更新配置文件进行缓存。Optionally, after downloading the update configuration file, the mobile program further caches the downloaded update configuration file.
在本实施例中,在某个移动端程序的界面需要更新时,则可以在服务器生成该移动端程序的界面的更新配置文件。所述更新配置文件的格式可以根据实际需要进行配置,例如,所述更新配置文件的格式可以为json格式。可选的,可以由人控制更新配置文件的生成过程,例如,所述更新配置文件可以由授权用户上传到服务器端。In this embodiment, when the interface of a certain mobile terminal program needs to be updated, the server may generate an update configuration file of the interface of the mobile terminal program. The format of the update configuration file may be configured according to actual needs. For example, the format of the update configuration file may be a json format. Optionally, the generation process of updating the configuration file may be controlled by a person, for example, the update configuration file may be uploaded to the server by an authorized user.
可以由用户确定更新后的界面的栅格布局,并基于此配置所述更新配置文件。每个更新配置文件包括由至少一个栅格元素组件按照一定顺序组成的列表,且该更新配置文件中同时包含各个栅格元素组件对应的尺寸和标识。可选的,各个栅格元素组件对应的尺寸和标识可以配置在栅格元素组件形成的列表中。例如,栅格元素组件对应的尺寸可以包括宽和高,宽的取值范围可以为[0,12],高的取值可以大于12,各个栅格元素组件的尺寸列表可以为:[6x6,3x3,3x3,6x3,3x3,3x3,6x6,3x3,3x3,4x4,4x4,4x4,12x4],各个栅格元素组件的标识列表可以为[No.1,No.2,No.3,No.4,No.5,No.6,No.7,No.8,No.9,No.10,No.11,No.12,No.13],各个栅格元素组件的列表可以为[(No.1,6x6),(No.2,3x3),(No.3,3x3),(No.4,6x3),(No.5,3x3),(No.6,3x3),(No.7,6x6),(No.8,3x3),(No.9,3x3),(No.10,4x4),(No.11,4x4),(No.12,4x4),(No.13,12x4)])。The grid layout of the updated interface can be determined by the user and the configuration file updated based on this configuration. Each update profile includes a list of at least one raster element component in a certain order, and the update profile also contains the size and identity of each raster element component. Optionally, the size and identity of each raster element component can be configured in a list formed by the grid element components. For example, the size of the grid element component may include width and height, the width may be [0, 12], the height may be greater than 12, and the size list of each grid element component may be: [6x6, 3x3, 3x3, 6x3, 3x3, 3x3, 6x6, 3x3, 3x3, 4x4, 4x4, 4x4, 12x4], the identification list of each raster element component can be [No.1, No.2, No.3, No. 4, No. 5, No. 6, No. 7, No. 8, No. 9, No. 10, No. 11, No. 12, No. 13], the list of each grid element component may be [( No.1, 6x6), (No. 2, 3x3), (No. 3, 3x3), (No. 4, 6x3), (No. 5, 3x3), (No. 6, 3x3), (No. 7,6x6), (No.8, 3x3), (No.9, 3x3), (No.10, 4x4), (No.11, 4x4), (No.12, 4x4), (No.13, 12x4)]).
可选的,所述下载模块10还用于实时或者定时向服务器请求并下载所述移动端程序的最新的更新配置文件;或者,所述移动端程序运行后,向服务器端请求并下载所述移动端程序的最新的更新配置文件。从而可以使得移动端及时获得最新的更新配置文件,提高移动端程序的界面的更新效率。Optionally, the downloading module 10 is further configured to request and download the latest update configuration file of the mobile terminal program to the server in real time or periodically; or, after the mobile terminal program runs, request and download the The latest update configuration file for the mobile program. Therefore, the mobile terminal can obtain the latest update configuration file in time, and improve the update efficiency of the interface of the mobile terminal program.
可选的,服务器还可以在侦测到有新的更新配置文件生成时,向对应的移动端发送下载指令。移动端接收到下载指令后,则从服务器下载预先生成的用于更新界面的更新配置文件。从而在当前没有新的更新配置文件时,可以避免移动端向服务器发出的无效的更新配置文件的下载请求,同时还可以使得移动端及时获得最新的更新配置文件,提高移动端程序的界面的更新效率。Optionally, the server may also send a download instruction to the corresponding mobile terminal when detecting that a new update configuration file is generated. After the mobile terminal receives the download instruction, the pre-generated update configuration file for updating the interface is downloaded from the server. Therefore, when there is no new update configuration file, the download request of the invalid update configuration file sent by the mobile terminal to the server can be avoided, and the mobile terminal can obtain the latest update configuration file in time, and improve the update of the interface of the mobile terminal program. effectiveness.
更新及解析模块20,用于在所述移动端程序重新运行后,将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;The update and parsing module 20 is configured to update the current configuration file to the update configuration file after the mobile program is re-run, and parse the update configuration file to parse the interface of the mobile program a list of individual raster element components, and corresponding dimensions and identifiers for each raster element component;
在本实施例中,所述移动端程序在重新运行后,加载缓存的所述更新配 置文件,将当前配置文件更新为加载的所述更新配置文件,并对加载的所述更新配置文件进行解析。In this embodiment, after the mobile program is re-run, the update of the cache is loaded. Setting a file, updating the current configuration file to the loaded update configuration file, and parsing the loaded update configuration file.
界面生成模块30,用于根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面。The interface generating module 30 is configured to generate an updated interface according to the parsed list of the respective grid element components, the size and identifier corresponding to each of the grid element components, and the predetermined grid element component arrangement rule.
在本实施例中,将各个栅格元素组件按照排布规则进行排布,且各个栅格元素的显示尺寸为解析获得的尺寸,各个栅格元素组件按照各个的显示尺寸显示并拼接排布后形成更新后的界面。In this embodiment, each grid element component is arranged according to an arrangement rule, and the display size of each grid element is a size obtained by parsing, and each grid element component is displayed according to each display size and is arranged after being arranged. Form an updated interface.
本发明提供的移动端程序界面的更新装置,通过移动端程序从服务器下载预先生成的用于更新界面的更新配置文件,并在所述移动端程序将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识,并根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面,由于更新配置文件仅仅携带了各个栅格元素组件的列表、尺寸等信息,因此更新配置文件较小,有效地降低了移动终端更新界面时所需的流量资源,下载效率较高,更新时间较短。此外,由于采用预设的排布规则排布各个栅格元素组件,从而使得该更新配置文件更加灵活,能够适用于各种类型的移动端,进一步提高了更新效率,节约了人力物力。The updating device of the mobile terminal program interface provided by the present invention downloads a pre-generated update configuration file for updating the interface from the server through the mobile terminal program, and updates the current configuration file to the update configuration file in the mobile terminal program, And parsing the update configuration file to parse out a list of each raster element component of the interface of the mobile program, and corresponding size and identifier of each raster element component, and according to each raster element component parsed The list, the size and identity of each raster element component, and the predetermined grid element component layout rules to generate an updated interface, since the update configuration file only carries information such as the list and size of each raster element component. Therefore, the update configuration file is small, effectively reducing the traffic resources required for the mobile terminal to update the interface, and the downloading efficiency is high, and the update time is short. In addition, since each grid element component is arranged by using a preset arrangement rule, the update configuration file is more flexible and can be applied to various types of mobile terminals, thereby further improving the update efficiency and saving manpower and material resources.
进一步地,为了进一步提高更新效率,基于本发明移动端程序界面的更新装置的第一实施例,本发明还提出了移动端程序界面的更新装置的第二实施例,所述预先确定的栅格元素组件排布规则为:将所述列表中的各个栅格元素组件按照对应的列表顺序确定对应的排布顺序;从所述界面的其中一角坐标开始,按照排布顺序依次选择栅格元素组件进行栅格元素组件区域排布,所述区域排布的规则为从所述角坐标向所述界面的边缘方向排布。Further, in order to further improve the update efficiency, according to the first embodiment of the updating device of the mobile terminal program interface of the present invention, the present invention further provides a second embodiment of the updating device of the mobile terminal program interface, the predetermined grid The element component arrangement rule is: determining each of the grid element components in the list according to a corresponding list order; according to one of the corner coordinates of the interface, selecting the grid element component in the order of arrangement A grid element component area arrangement is performed, the rules of the area arrangement being arranged from the angular coordinates to the edge direction of the interface.
可以直接将各个栅格元素组件的列表顺序作为排布顺序,也可以将列表顺序变换后作为排布顺序。优选地,在本实施例中,直接将各个栅格元素组件的列表顺序作为排布顺序。例如,栅格元素组件No.3在所述列表中的列表顺序为第3位,则栅格元素组件No.3对应的排布顺序为第3位。You can directly sort the list order of each raster element component as the arrangement order, or you can change the list order as the arrangement order. Preferably, in the present embodiment, the list order of the respective grid element components is directly taken as the arrangement order. For example, if the list order of the grid element component No. 3 in the list is the third digit, the arrangement order of the grid element component No. 3 is the third digit.
在本实施例中,界面的角坐标例如可以为左上角、右上角、左下角或右下角。In this embodiment, the angular coordinates of the interface may be, for example, an upper left corner, an upper right corner, a lower left corner, or a lower right corner.
可选的,所述区域排布的规则为从所述角坐标向所述界面的边缘方向排布可以包括以下几种情况:Optionally, the rule of the area arrangement is that the arrangement from the angular coordinate to the edge of the interface may include the following situations:
在所述角坐标为左上角时,所述区域排布的规则为从左到右、从上到下;When the angular coordinate is the upper left corner, the rules of the region are arranged from left to right and from top to bottom;
在所述角坐标为右上角时,所述区域排布的规则为从右到左、从上到下;When the angular coordinate is the upper right corner, the rules of the region are arranged from right to left and from top to bottom;
在所述角坐标为左下角时,所述区域排布的规则为从左到右、从下到上;When the angular coordinate is the lower left corner, the rules of the region are arranged from left to right and from bottom to top;
在所述角坐标为右下角时,所述区域排布的规则为从右到左、从下到上。When the angular coordinate is the lower right corner, the rules of the area are arranged from right to left and from bottom to top.
在本实施例中,以角坐标为左上角为例,其区域排布规则为从左到右、 从上到下。例如,如图2所示,所述界面的宽度为12,若所述列表可以为:[(No.1,6x6),(No.2,3x3),(No.3,3x3),(No.4,6x3),(No.5,3x3),(No.6,3x3),(No.7,6x6),(No.8,3x3),(No.9,3x3),(No.10,4x4),(No.11,4x4),(No.12,4x4),(No.13,12x4)],则栅格元素组件No.1的排布顺序为第1位,则从所述界面的左上角坐标开始,确定一个6x6像素区域作为栅格元素组件No.1的区域;栅格元素组件No.2的排布顺序为第2位,则从所述栅格元素组件No.1的区域右方的左上角坐标开始,确定一个3x3像素区域作为栅格元素组件No.2的区域;栅格元素组件No.3的排布顺序为第3位,则从所述栅格元素组件No.2的区域右方的左上角坐标开始,确定一个3x3像素区域作为栅格元素组件No.3的区域;因为No.1、No.2及No.3的区域的宽度等于12,则无法再向右进行区域排布,此时向下进行区域排布,栅格元素组件No.4的排布顺序为第4位,则从所述栅格元素组件No.2的区域下方的左上角坐标开始,确定一个6x3像素区域作为栅格元素组件No.4的区域;以此类推,直到所有栅格元素组件的区域排布完成。In this embodiment, taking the angular coordinate as the upper left corner as an example, the area arrangement rule is from left to right. From top to bottom. For example, as shown in FIG. 2, the width of the interface is 12, and if the list can be: [(No.1, 6x6), (No. 2, 3x3), (No. 3, 3x3), (No .4,6x3),(No.5,3x3),(No.6,3x3),(No.7,6x6),(No.8,3x3),(No.9,3x3),(No.10 , 4x4), (No. 11, 4x4), (No. 12, 4x4), (No. 13, 12x4)], the arrangement order of the grid element component No. 1 is the first bit, then from the The coordinates of the upper left corner of the interface start, and a 6x6 pixel area is determined as the area of the grid element component No.1; the arrangement order of the grid element component No. 2 is the second bit, and the grid element component No.1 is The coordinates of the upper left corner of the right area start, and a 3x3 pixel area is determined as the area of the grid element component No. 2; the arrangement order of the grid element component No. 3 is the third bit, and the grid element component is The coordinates of the upper left corner of the area on the right side of No. 2 start, and a 3x3 pixel area is determined as the area of the grid element component No. 3; since the width of the areas of No. 1, No. 2, and No. 3 is equal to 12, Then, the area is arranged to the right. At this time, the area is arranged downward, and the arrangement order of the grid element component No. 4 is the 4th position, and the area from the grid element component No. 2 is The bottom left corner of the start of a 6x3 pixel area is determined as an area of a grid element assembly No.4; and so on until all the raster area elements are arranged to complete the assembly.
本实施例通过从界面的角坐标开始像界面的边缘方向排布,使得可以更新各种不同栅格布局的界面,更新更加灵活。In this embodiment, the arrangement of the edges of the interface is started from the angular coordinates of the interface, so that the interfaces of various grid layouts can be updated, and the update is more flexible.
进一步地,为了减少更新界面过程中的错误,基于本发明移动端程序界面的更新装置的第一或第二实施例,本发明还提出了移动端程序界面的更新装置的第三实施例,参照图5,图5为本发明移动端程序界面的更新装置的第三实施例中界面生成模块的细化功能模块示意图,所述界面生成模块30包括:Further, in order to reduce errors in the process of updating the interface, according to the first or second embodiment of the updating device of the mobile terminal program interface of the present invention, the present invention also proposes a third embodiment of the updating device of the mobile terminal program interface, with reference to FIG. 5 is a schematic diagram of a refinement function module of an interface generation module in a third embodiment of an apparatus for updating a mobile terminal program interface according to the present invention. The interface generation module 30 includes:
区域排布单元31,用于根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则进行栅格元素组件区域排布;The area arranging unit 31 is configured to arrange the grid element component area according to the parsed list of the respective grid element components, the size and the identifier of each grid element component, and the predetermined grid element component arrangement rule;
分析单元32,用于分析是否有栅格元素组件的区域排布发生排布干涉;The analyzing unit 32 is configured to analyze whether there is arrangement interference of the area arrangement of the grid element component;
例如,所述界面的宽度为12,若所述列表可以为:[(No.1,6x6),(No.2,3x3),(No.3,4x4),(No.4,6x3),(No.5,3x3),(No.6,3x3),(No.7,6x6),(No.8,3x3),(No.9,3x3),(No.10,4x4),(No.11,4x4),(No.12,4x4),(No.13,12x4)],则栅格元素组件No.1的排布顺序为第1位,则从所述界面的左上角坐标开始,确定一个6x6像素区域作为栅格元素组件No.1的区域;栅格元素组件No.2的排布顺序为第2位,则从所述栅格元素组件No.1的区域右方的左上角坐标开始,确定一个3x3像素区域作为栅格元素组件No.2的区域;栅格元素组件No.3的排布顺序为第3位,则从所述栅格元素组件No.2的区域右方的左上角坐标开始,确定一个4x4像素区域作为栅格元素组件No.3的区域,此时,因为No.1、No.2及No.3的区域的宽度大于12,则确定栅格元素组件No.3的区域排布发生排布干涉。For example, the width of the interface is 12, if the list can be: [(No.1, 6x6), (No. 2, 3x3), (No. 3, 4x4), (No. 4, 6x3), (No. 5, 3x3), (No. 6, 3x3), (No. 7, 6x6), (No. 8, 3x3), (No. 9, 3x3), (No. 10, 4x4), (No .11, 4x4), (No. 12, 4x4), (No. 13, 12x4)], the arrangement order of the grid element component No. 1 is the first bit, and the coordinates from the upper left corner of the interface are started. , a 6x6 pixel area is determined as the area of the grid element component No. 1; the grid element component No. 2 is arranged in the second order from the upper left of the area of the grid element component No. 1 Starting at the corner coordinate, a 3x3 pixel area is determined as the area of the grid element component No. 2; the grid element component No. 3 is arranged in the third order, and the area from the grid element component No. 2 is right. The coordinates of the upper left corner of the square start, and a 4x4 pixel area is determined as the area of the grid element component No. 3. At this time, since the width of the areas of No. 1, No. 2, and No. 3 is greater than 12, the grid element is determined. The area arrangement of the component No. 3 is arranged to interfere.
生成及提醒单元33,用于若有栅格元素组件的区域排布发生排布干涉,则根据更新前的配置文件生成对应的界面,及/或,向预先确定的终端发送提醒信息,以提醒所述更新配置文件存在错误。 The generating and reminding unit 33 is configured to generate a corresponding interface according to the configuration file before the update if the arrangement of the area of the grid element component occurs, and/or send a reminder message to the predetermined terminal to remind The update configuration file has an error.
在本实施例中,在区域排布发生干涉时,则可以根据更新前的配置文件生成对应的界面,实际上是沿用原来的界面,没有进行界面更新,从而避免了更新后的界面出现错误,而且保证了移动端程序仍然具有合格的界面。此外,通过向预设的终端发送提醒信息,使得用户可以及时获知更新配置文件存在错误,并能够及时进行修改。预先确定的终端可以为手机、平板电脑等。In this embodiment, when interference occurs in the area arrangement, the corresponding interface may be generated according to the configuration file before the update, and the original interface is actually used, and the interface update is not performed, thereby avoiding an error in the updated interface. Moreover, it ensures that the mobile program still has a qualified interface. In addition, by sending reminder information to the preset terminal, the user can know in time that the update configuration file has an error and can be modified in time. The predetermined terminal can be a mobile phone, a tablet, or the like.
图6为本发明移动端程序界面的更新设备的硬件结构框图。FIG. 6 is a block diagram showing the hardware structure of an update device of a mobile terminal program interface according to the present invention.
在本实施例中,移动端程序界面的更新设备可以是PC(Personal Computer,个人电脑),也可以是智能手机、平板电脑、电子书阅读器、便携计算机等终端设备。In this embodiment, the update device of the mobile terminal program interface may be a PC (Personal Computer), or may be a terminal device such as a smart phone, a tablet computer, an e-book reader, or a portable computer.
该移动端程序界面的更新设备包括存储器11、处理器12,通信总线13,以及网络接口14。The update device of the mobile program interface includes a memory 11, a processor 12, a communication bus 13, and a network interface 14.
其中,存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器11在一些实施例中可以是移动端程序界面的更新设备的内部存储单元,例如该移动端程序界面的更新设备的硬盘。存储器11在另一些实施例中也可以是移动端程序界面的更新设备的外部存储设备,例如移动端程序界面的更新设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器11还可以既包括移动端程序界面的更新设备的内部存储单元也包括外部存储设备。存储器11不仅可以用于存储安装于移动端程序界面的更新设备的应用软件及各类数据,例如移动端程序界面的更新程序的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。The memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (for example, an SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of an update device of the mobile program interface, such as a hard disk of an update device of the mobile program interface. The memory 11 may also be an external storage device of the update device of the mobile program interface in other embodiments, such as a plug-in hard disk equipped with an update device on the mobile program interface, a smart memory card (SMC), Secure Digital (SD) card, Flash Card, etc. Further, the memory 11 may also include an internal storage unit of the update device including the mobile program interface and an external storage device. The memory 11 can be used not only for storing application software of the update device installed on the mobile terminal program interface and various types of data, such as code of an update program of the mobile terminal program interface, but also for temporarily storing data that has been output or will be outputted. .
处理器12在一些实施例中可以是一中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器11中存储的程序代码或处理数据,例如执行移动端程序界面的更新程序等。The processor 12, in some embodiments, may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data processing chip for running program code or processing stored in the memory 11. Data, such as an update program that executes the mobile program interface.
通信总线13用于实现这些组件之间的连接通信。 Communication bus 13 is used to implement connection communication between these components.
网络接口14可选的可以包括标准的有线接口、无线接口(如WI-FI接口),通常用于在该设备与其他电子设备之间建立通信连接。例如,该实施例的设备通过网络接口14与服务器建立连接。The network interface 14 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), and is typically used to establish a communication connection between the device and other electronic devices. For example, the device of this embodiment establishes a connection with the server via the network interface 14.
图6仅示出了具有组件11-14以及移动端程序界面的更新程序的移动端程序界面的更新设备,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。Figure 6 shows only the update device of the mobile program interface with the components 11-14 and the update program of the mobile program interface, but it should be understood that not all of the illustrated components are required to be implemented, and alternative implementations are possible. Or fewer components.
可选地,该设备还可以包括用户接口,用户接口可以包括显示器(Display)、输入单元比如键盘(Keyboard),可选的用户接口还可以包括标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在移动端程序界面的更新设备中处理的信息以及用于 显示可视化的用户界面。Optionally, the device may further include a user interface, the user interface may include a display, an input unit such as a keyboard, and the optional user interface may further include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch sensor, or the like. Wherein, the display may also be appropriately referred to as a display screen or a display unit for displaying information processed in the update device of the mobile terminal program interface and for Display the visual user interface.
在图6所示的移动端程序界面的更新设备中,存储器11中存储有移动端程序界面的更新程序,网络接口14主要用于连接服务器,与服务器进行数据通信;处理器12执行存储器11中存储的移动端程序界面的更新程序时实现如下步骤:In the update device of the mobile terminal program interface shown in FIG. 6, the memory 11 stores an update program of the mobile terminal program interface, and the network interface 14 is mainly used to connect to the server for data communication with the server; the processor 12 executes the memory 11 The following steps are implemented when updating the stored mobile program interface:
从服务器下载预先生成的用于更新界面的更新配置文件,所述移动端程序的界面为预先确定的栅格布局,所述更新配置文件包括移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;Downloading, from the server, a pre-generated update configuration file for updating the interface, the interface of the mobile program is a predetermined grid layout, and the update configuration file includes a list of each grid element component of the interface of the mobile program, And the corresponding size and identifier of each grid element component;
将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;Updating a current configuration file to the update configuration file, and parsing the update configuration file to parse a list of each raster element component of the interface of the mobile terminal program, and a size corresponding to each raster element component And logo;
根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面。Based on the parsed list of individual raster element components, the corresponding size and identity of each raster element component, and a predetermined raster element component arrangement rule to generate an updated interface.
进一步地,所述预先确定的栅格元素组件排布规则为:Further, the predetermined grid element component arrangement rule is:
将所述列表中的各个栅格元素组件按照对应的列表顺序确定对应的排布顺序;Determining, according to a corresponding list order, respective raster element components in the list;
从所述界面的其中一角坐标开始,按照排布顺序依次选择栅格元素组件进行栅格元素组件区域排布,所述区域排布的规则为从所述角坐标向所述界面的边缘方向排布。Starting from one of the corner coordinates of the interface, the grid element component is sequentially selected according to the arrangement order to arrange the grid element component area, and the rule of the area is arranged from the angular coordinate to the edge direction of the interface. cloth.
进一步地,在所述角坐标为左上角时,所述区域排布的规则为从左到右、从上到下;在所述角坐标为右上角时,所述区域排布的规则为从右到左、从上到下;在所述角坐标为左下角时,所述区域排布的规则为从左到右、从下到上;在所述角坐标为右下角时,所述区域排布的规则为从右到左、从下到上。Further, when the angular coordinate is the upper left corner, the rule of the region is arranged from left to right and from top to bottom; when the angular coordinate is the upper right corner, the rule of the region is arranged from Right to left, top to bottom; when the angular coordinates are the lower left corner, the rules of the area are arranged from left to right and from bottom to top; when the angular coordinates are the lower right corner, the area The rules are arranged from right to left and from bottom to top.
进一步地,所述根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面的步骤包括:Further, the step of generating the updated interface according to the parsed list of the respective grid element components, the corresponding size and identifier of each grid element component, and the predetermined grid element component arrangement rule include:
根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则进行栅格元素组件区域排布;According to the parsed list of each grid element component, the corresponding size and identifier of each grid element component, and the predetermined grid element component arrangement rule, the grid element component area is arranged;
分析是否有栅格元素组件的区域排布发生排布干涉;Analyze whether there is arrangement interference in the area arrangement of the grid element components;
若有栅格元素组件的区域排布发生排布干涉,则所述移动端程序根据更新前的配置文件生成对应的界面,及/或,向预先确定的终端发送提醒信息,以提醒所述更新配置文件存在错误。If there is arrangement interference in the area arrangement of the grid element component, the mobile program generates a corresponding interface according to the configuration file before the update, and/or sends a reminder message to the predetermined terminal to remind the update. There is an error in the configuration file.
进一步地,所述从服务器下载预先生成的用于更新界面的更新配置文件的步骤包括:Further, the step of downloading, from the server, the pre-generated update configuration file for updating the interface includes:
实时或者定时向服务器请求并下载所述移动端程序的最新的更新配置文件;或者,所述移动端程序运行后,向服务器端请求并下载所述移动端程序的最新的更新配置文件。 The latest update configuration file of the mobile terminal program is requested and downloaded to the server in real time or periodically; or, after the mobile terminal program runs, the latest update configuration file of the mobile terminal program is requested and downloaded to the server.
本发明还提出一种计算机可读存储介质,该计算机可读存储介质上存储有移动端程序界面的更新程序,所述移动端程序界面的更新程序被处理器执行时实现如下操作:The invention further provides a computer readable storage medium on which an update program of a mobile program interface is stored, and when the update program of the mobile program interface is executed by the processor, the following operations are implemented:
从服务器下载预先生成的用于更新界面的更新配置文件,所述移动端程序的界面为预先确定的栅格布局,所述更新配置文件包括移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;Downloading, from the server, a pre-generated update configuration file for updating the interface, the interface of the mobile program is a predetermined grid layout, and the update configuration file includes a list of each grid element component of the interface of the mobile program, And the corresponding size and identifier of each grid element component;
将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;Updating a current configuration file to the update configuration file, and parsing the update configuration file to parse a list of each raster element component of the interface of the mobile terminal program, and a size corresponding to each raster element component And logo;
根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面。Based on the parsed list of individual raster element components, the corresponding size and identity of each raster element component, and a predetermined raster element component arrangement rule to generate an updated interface.
进一步地,所述预先确定的栅格元素组件排布规则为:Further, the predetermined grid element component arrangement rule is:
将所述列表中的各个栅格元素组件按照对应的列表顺序确定对应的排布顺序;Determining, according to a corresponding list order, respective raster element components in the list;
从所述界面的其中一角坐标开始,按照排布顺序依次选择栅格元素组件进行栅格元素组件区域排布,所述区域排布的规则为从所述角坐标向所述界面的边缘方向排布。Starting from one of the corner coordinates of the interface, the grid element component is sequentially selected according to the arrangement order to arrange the grid element component area, and the rule of the area is arranged from the angular coordinate to the edge direction of the interface. cloth.
进一步地,在所述角坐标为左上角时,所述区域排布的规则为从左到右、从上到下;在所述角坐标为右上角时,所述区域排布的规则为从右到左、从上到下;在所述角坐标为左下角时,所述区域排布的规则为从左到右、从下到上;在所述角坐标为右下角时,所述区域排布的规则为从右到左、从下到上。Further, when the angular coordinate is the upper left corner, the rule of the region is arranged from left to right and from top to bottom; when the angular coordinate is the upper right corner, the rule of the region is arranged from Right to left, top to bottom; when the angular coordinates are the lower left corner, the rules of the area are arranged from left to right and from bottom to top; when the angular coordinates are the lower right corner, the area The rules are arranged from right to left and from bottom to top.
进一步地,所述根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面的步骤包括:Further, the step of generating the updated interface according to the parsed list of the respective grid element components, the corresponding size and identifier of each grid element component, and the predetermined grid element component arrangement rule include:
根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则进行栅格元素组件区域排布;According to the parsed list of each grid element component, the corresponding size and identifier of each grid element component, and the predetermined grid element component arrangement rule, the grid element component area is arranged;
分析是否有栅格元素组件的区域排布发生排布干涉;Analyze whether there is arrangement interference in the area arrangement of the grid element components;
若有栅格元素组件的区域排布发生排布干涉,则所述移动端程序根据更新前的配置文件生成对应的界面,及/或,向预先确定的终端发送提醒信息,以提醒所述更新配置文件存在错误。If there is arrangement interference in the area arrangement of the grid element component, the mobile program generates a corresponding interface according to the configuration file before the update, and/or sends a reminder message to the predetermined terminal to remind the update. There is an error in the configuration file.
进一步地,所述从服务器下载预先生成的用于更新界面的更新配置文件的步骤包括:Further, the step of downloading, from the server, the pre-generated update configuration file for updating the interface includes:
实时或者定时向服务器请求并下载所述移动端程序的最新的更新配置文件;或者,所述移动端程序运行后,向服务器端请求并下载所述移动端程序的最新的更新配置文件。The latest update configuration file of the mobile terminal program is requested and downloaded to the server in real time or periodically; or, after the mobile terminal program runs, the latest update configuration file of the mobile terminal program is requested and downloaded to the server.
本发明计算机可读存储介质的具体实施例与上述移动端程序界面的更新方法实施例基本相同,在此不作赘述。 The specific embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiment of the method for updating the mobile terminal program, and is not described herein.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments. Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (20)

  1. 一种移动端程序界面的更新方法,其特征在于,所述移动端程序界面的更新方法包括:A method for updating a mobile terminal program interface, wherein the method for updating the mobile terminal program interface includes:
    移动端程序从服务器下载预先生成的用于更新界面的更新配置文件,所述移动端程序的界面为预先确定的栅格布局,所述更新配置文件包括所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;The mobile program downloads, from the server, a pre-generated update configuration file for updating the interface, the interface of the mobile program is a predetermined grid layout, and the update configuration file includes each grid of the interface of the mobile program. a list of element components, and the size and identity of each raster element component;
    所述移动端程序将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;The mobile terminal program updates a current configuration file to the update configuration file, and parses the update configuration file to parse a list of each raster element component of the interface of the mobile terminal program, and each grid The size and identity of the element component;
    所述移动端程序根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面。The mobile program generates an updated interface according to the parsed list of the respective grid element components, the size and the identifier of each of the grid element components, and the predetermined grid element component arrangement rule.
  2. 如权利要求1所述的移动端程序界面的更新方法,其特征在于,所述预先确定的栅格元素组件排布规则为:The method for updating a mobile terminal program interface according to claim 1, wherein the predetermined grid element component arrangement rule is:
    将所述列表中的各个栅格元素组件按照对应的列表顺序确定对应的排布顺序;Determining, according to a corresponding list order, respective raster element components in the list;
    从所述界面的其中一角坐标开始,按照排布顺序依次选择栅格元素组件进行栅格元素组件区域排布,所述区域排布的规则为从所述角坐标向所述界面的边缘方向排布。Starting from one of the corner coordinates of the interface, the grid element component is sequentially selected according to the arrangement order to arrange the grid element component area, and the rule of the area is arranged from the angular coordinate to the edge direction of the interface. cloth.
  3. 如权利要求2所述的移动端程序界面的更新方法,其特征在于,在所述角坐标为左上角时,所述区域排布的规则为从左到右、从上到下;The method for updating a mobile program interface according to claim 2, wherein when the angular coordinate is the upper left corner, the rules of the region are arranged from left to right and from top to bottom;
    在所述角坐标为右上角时,所述区域排布的规则为从右到左、从上到下;When the angular coordinate is the upper right corner, the rules of the region are arranged from right to left and from top to bottom;
    在所述角坐标为左下角时,所述区域排布的规则为从左到右、从下到上;When the angular coordinate is the lower left corner, the rules of the region are arranged from left to right and from bottom to top;
    在所述角坐标为右下角时,所述区域排布的规则为从右到左、从下到上。When the angular coordinate is the lower right corner, the rules of the area are arranged from right to left and from bottom to top.
  4. 如权利要求1至3任一项所述的移动端程序界面的更新方法,其特征在于,所述移动端程序根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面的步骤包括:The method for updating a mobile terminal program interface according to any one of claims 1 to 3, wherein the mobile terminal program has a size and an identifier corresponding to each of the raster element components according to the parsed list of the respective raster element components. And the predetermined grid element component arrangement rules to generate the updated interface include:
    所述移动端程序根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则进行栅格元素组件区域排布;The mobile terminal program performs grid element component area arrangement according to the parsed list of each grid element component, the size and identifier of each grid element component, and the predetermined grid element component arrangement rule;
    所述移动端程序分析是否有栅格元素组件的区域排布发生排布干涉;The mobile program analyzes whether there is an arrangement arrangement of the area arrangement of the grid element components;
    若有栅格元素组件的区域排布发生排布干涉,则所述移动端程序根据更新前的配置文件生成对应的界面,及/或,向预先确定的终端发送提醒信息, 以提醒所述更新配置文件存在错误。If there is arrangement interference in the area arrangement of the grid element component, the mobile program generates a corresponding interface according to the configuration file before the update, and/or sends a reminder message to the predetermined terminal. There is an error in reminding the update configuration file.
  5. 如权利要求1至3任一项所述的移动端程序界面的更新方法,其特征在于,所述移动端程序从服务器下载预先生成的用于更新界面的更新配置文件的步骤包括:The method for updating a mobile terminal program interface according to any one of claims 1 to 3, wherein the step of downloading the pre-generated update configuration file for updating the interface from the server by the mobile terminal program comprises:
    所述移动端程序实时或者定时向服务器请求并下载所述移动端程序的最新的更新配置文件;或者,所述移动端程序运行后,向服务器端请求并下载所述移动端程序的最新的更新配置文件。The mobile terminal program requests and downloads the latest update configuration file of the mobile terminal program to the server in real time or periodically; or, after the mobile terminal program runs, requests and downloads the latest update of the mobile terminal program to the server end. Configuration file.
  6. 一种移动端程序界面的更新装置,其特征在于,所述移动端程序界面的更新装置包括:An apparatus for updating a mobile terminal program interface, wherein the updating device of the mobile terminal program interface comprises:
    下载模块,用于从服务器下载预先生成的用于更新界面的更新配置文件,所述移动端程序的界面为预先确定的栅格布局,所述更新配置文件包括所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;a downloading module, configured to download, from a server, a pre-generated update configuration file for updating an interface, where the interface of the mobile terminal program is a predetermined grid layout, where the update configuration file includes each interface of the mobile terminal program a list of raster element components, and the size and identity of each raster element component;
    更新及解析模块,用于在所述移动端程序重新运行后,将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;An update and parsing module, configured to update a current configuration file to the update configuration file after the mobile program is re-run, and parse the update configuration file to parse the interface of the mobile program a list of each raster element component, and the corresponding size and identity of each raster element component;
    界面生成模块,用于根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面。The interface generation module is configured to generate an updated interface according to the parsed list of each raster element component, the size and identifier of each raster element component, and the predetermined grid element component arrangement rule.
  7. 如权利要求6所述的移动端程序界面的更新装置,其特征在于,所述预先确定的栅格元素组件排布规则为:The apparatus for updating a mobile program interface according to claim 6, wherein the predetermined grid element component arrangement rule is:
    将所述列表中的各个栅格元素组件按照对应的列表顺序确定对应的排布顺序;Determining, according to a corresponding list order, respective raster element components in the list;
    从所述界面的其中一角坐标开始,按照排布顺序依次选择栅格元素组件进行栅格元素组件区域排布,所述区域排布的规则为从所述角坐标向所述界面的边缘方向排布。Starting from one of the corner coordinates of the interface, the grid element component is sequentially selected according to the arrangement order to arrange the grid element component area, and the rule of the area is arranged from the angular coordinate to the edge direction of the interface. cloth.
  8. 如权利要求7所述的移动端程序界面的更新装置,其特征在于,在所述角坐标为左上角时,所述区域排布的规则为从左到右、从上到下;The updating device of the mobile terminal program interface according to claim 7, wherein when the angular coordinate is the upper left corner, the rules of the region are arranged from left to right and from top to bottom;
    在所述角坐标为右上角时,所述区域排布的规则为从右到左、从上到下;When the angular coordinate is the upper right corner, the rules of the region are arranged from right to left and from top to bottom;
    在所述角坐标为左下角时,所述区域排布的规则为从左到右、从下到上;When the angular coordinate is the lower left corner, the rules of the region are arranged from left to right and from bottom to top;
    在所述角坐标为右下角时,所述区域排布的规则为从右到左、从下到上。When the angular coordinate is the lower right corner, the rules of the area are arranged from right to left and from bottom to top.
  9. 如权利要求6至8任一项所述的移动端程序界面的更新装置,其特征在于,所述界面生成模块包括: The device for updating a mobile terminal program according to any one of claims 6 to 8, wherein the interface generation module comprises:
    区域排布单元,用于根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则进行栅格元素组件区域排布;The area arrangement unit is configured to arrange the grid element component area according to the parsed list of the respective grid element components, the size and the identifier of each grid element component, and the predetermined grid element component arrangement rule;
    分析单元,用于分析是否有栅格元素组件的区域排布发生排布干涉;An analysis unit for analyzing whether or not there is an arrangement arrangement of the area arrangement of the grid element components;
    生成及提醒单元,用于若有栅格元素组件的区域排布发生排布干涉,则根据更新前的配置文件生成对应的界面,及/或,向预先确定的终端发送提醒信息,以提醒所述更新配置文件存在错误。The generating and reminding unit is configured to generate a corresponding interface according to the configuration file before the update if the arrangement of the area of the grid element component is arranged, and/or send a reminder message to the predetermined terminal to remind the There is an error in the update configuration file.
  10. 如权利要求9所述的移动端程序界面的更新装置,其特征在于,所述下载模块还用于实时或者定时向服务器请求并下载所述移动端程序的最新的更新配置文件;或者,所述移动端程序运行后,向服务器端请求并下载所述移动端程序的最新的更新配置文件。The apparatus for updating a mobile terminal program according to claim 9, wherein the downloading module is further configured to request and download the latest update configuration file of the mobile terminal program to the server in real time or at a time; or After the mobile program runs, request and download the latest update configuration file of the mobile program to the server.
  11. 一种移动端程序界面的更新设备,其特征在于,所述设备包括存储器、处理器及存储在存储器上并可在处理器上运行的移动端程序界面的更新程序,该程序被处理器执行时实现如下步骤:An update device for a mobile terminal program interface, the device comprising a memory, a processor, and an update program of a mobile program interface stored on the memory and operable on the processor, when the program is executed by the processor Implement the following steps:
    从服务器下载预先生成的用于更新界面的更新配置文件,所述移动端程序的界面为预先确定的栅格布局,所述更新配置文件包括移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;Downloading, from the server, a pre-generated update configuration file for updating the interface, the interface of the mobile program is a predetermined grid layout, and the update configuration file includes a list of each grid element component of the interface of the mobile program, And the corresponding size and identifier of each grid element component;
    将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;Updating a current configuration file to the update configuration file, and parsing the update configuration file to parse a list of each raster element component of the interface of the mobile terminal program, and a size corresponding to each raster element component And logo;
    根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面。Based on the parsed list of individual raster element components, the corresponding size and identity of each raster element component, and a predetermined raster element component arrangement rule to generate an updated interface.
  12. 根据权利要求11所述的移动端程序界面的更新设备,其特征在于,所述预先确定的栅格元素组件排布规则为:The updating device of the mobile terminal program interface according to claim 11, wherein the predetermined grid element component arrangement rule is:
    将所述列表中的各个栅格元素组件按照对应的列表顺序确定对应的排布顺序;Determining, according to a corresponding list order, respective raster element components in the list;
    从所述界面的其中一角坐标开始,按照排布顺序依次选择栅格元素组件进行栅格元素组件区域排布,所述区域排布的规则为从所述角坐标向所述界面的边缘方向排布。Starting from one of the corner coordinates of the interface, the grid element component is sequentially selected according to the arrangement order to arrange the grid element component area, and the rule of the area is arranged from the angular coordinate to the edge direction of the interface. cloth.
  13. 根据权利要求12所述的移动端程序界面的更新设备,其特征在于,在所述角坐标为左上角时,所述区域排布的规则为从左到右、从上到下;在所述角坐标为右上角时,所述区域排布的规则为从右到左、从上到下;在所述角坐标为左下角时,所述区域排布的规则为从左到右、从下到上;在所述角坐标为右下角时,所述区域排布的规则为从右到左、从下到上。 The updating device of the mobile terminal program interface according to claim 12, wherein when the angular coordinate is the upper left corner, the rules of the region are arranged from left to right and from top to bottom; When the angular coordinate is the upper right corner, the rules of the area are arranged from right to left and from top to bottom; when the angular coordinate is the lower left corner, the rules of the area are arranged from left to right and from below. Up to; when the angular coordinate is the lower right corner, the rules of the area are arranged from right to left and from bottom to top.
  14. 根据权利要求11至13中任一项所述的移动端程序界面的更新设备,其特征在于,所述根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面的步骤包括:The updating device of the mobile terminal program interface according to any one of claims 11 to 13, wherein the size and the identifier corresponding to each of the grid element components are based on the parsed list of the respective grid element components, and The steps of the predetermined grid element component arrangement rules to generate the updated interface include:
    根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则进行栅格元素组件区域排布;According to the parsed list of each grid element component, the corresponding size and identifier of each grid element component, and the predetermined grid element component arrangement rule, the grid element component area is arranged;
    分析是否有栅格元素组件的区域排布发生排布干涉;Analyze whether there is arrangement interference in the area arrangement of the grid element components;
    若有栅格元素组件的区域排布发生排布干涉,则根据更新前的配置文件生成对应的界面,及/或,向预先确定的终端发送提醒信息,以提醒所述更新配置文件存在错误。If the arrangement of the area of the grid element component is arranged, the corresponding interface is generated according to the configuration file before the update, and/or the reminder information is sent to the predetermined terminal to remind the update configuration file that there is an error.
  15. 根据权利要求11所述的移动端程序界面的更新设备,其特征在于,所述从服务器下载预先生成的用于更新界面的更新配置文件的步骤包括:The updating device of the mobile terminal program interface according to claim 11, wherein the downloading the pre-generated update configuration file for updating the interface from the server comprises:
    实时或者定时向服务器请求并下载所述移动端程序的最新的更新配置文件;或者,所述移动端程序运行后,向服务器端请求并下载所述移动端程序的最新的更新配置文件。The latest update configuration file of the mobile terminal program is requested and downloaded to the server in real time or periodically; or, after the mobile terminal program runs, the latest update configuration file of the mobile terminal program is requested and downloaded to the server.
  16. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有移动端程序界面的更新程序,该程序被处理器执行时实现如下步骤:A computer readable storage medium, wherein the computer readable storage medium stores an update program of a mobile program interface, and when the program is executed by the processor, the following steps are implemented:
    从服务器下载预先生成的用于更新界面的更新配置文件,所述移动端程序的界面为预先确定的栅格布局,所述更新配置文件包括移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;Downloading, from the server, a pre-generated update configuration file for updating the interface, the interface of the mobile program is a predetermined grid layout, and the update configuration file includes a list of each grid element component of the interface of the mobile program, And the corresponding size and identifier of each grid element component;
    将当前配置文件更新为所述更新配置文件,并对所述更新配置文件进行解析,以解析出所述移动端程序的界面的各个栅格元素组件的列表,及各个栅格元素组件对应的尺寸和标识;Updating a current configuration file to the update configuration file, and parsing the update configuration file to parse a list of each raster element component of the interface of the mobile terminal program, and a size corresponding to each raster element component And logo;
    根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面。Based on the parsed list of individual raster element components, the corresponding size and identity of each raster element component, and a predetermined raster element component arrangement rule to generate an updated interface.
  17. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述预先确定的栅格元素组件排布规则为:The computer readable storage medium of claim 16, wherein the predetermined grid element component arrangement rules are:
    将所述列表中的各个栅格元素组件按照对应的列表顺序确定对应的排布顺序;Determining, according to a corresponding list order, respective raster element components in the list;
    从所述界面的其中一角坐标开始,按照排布顺序依次选择栅格元素组件进行栅格元素组件区域排布,所述区域排布的规则为从所述角坐标向所述界面的边缘方向排布。Starting from one of the corner coordinates of the interface, the grid element component is sequentially selected according to the arrangement order to arrange the grid element component area, and the rule of the area is arranged from the angular coordinate to the edge direction of the interface. cloth.
  18. 根据权利要求17所述的计算机可读存储介质,其特征在于,在所述角坐标为左上角时,所述区域排布的规则为从左到右、从上到下;在所述角坐标为右上角时,所述区域排布的规则为从右到左、从上到下;在所述角坐 标为左下角时,所述区域排布的规则为从左到右、从下到上;在所述角坐标为右下角时,所述区域排布的规则为从右到左、从下到上。The computer readable storage medium according to claim 17, wherein when said angular coordinate is an upper left corner, said region is arranged in a rule from left to right, from top to bottom; In the upper right corner, the rules of the area are arranged from right to left, from top to bottom; sitting at the corner When marked as the lower left corner, the rules of the area are arranged from left to right and from bottom to top; when the angular coordinates are the lower right corner, the rules of the area are arranged from right to left and from bottom to bottom. on.
  19. 根据权利要求16至18中任一项所述的计算机可读存储介质,其特征在于,所述根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则生成更新后的界面的步骤包括:The computer readable storage medium according to any one of claims 16 to 18, wherein the size and the identifier of each grid element component are determined according to a list of parsed individual grid element components, and predetermined The steps of the grid element component layout rules to generate the updated interface include:
    根据解析的各个栅格元素组件的列表,各个栅格元素组件对应的尺寸和标识,及预先确定的栅格元素组件排布规则进行栅格元素组件区域排布;According to the parsed list of each grid element component, the corresponding size and identifier of each grid element component, and the predetermined grid element component arrangement rule, the grid element component area is arranged;
    分析是否有栅格元素组件的区域排布发生排布干涉;Analyze whether there is arrangement interference in the area arrangement of the grid element components;
    若有栅格元素组件的区域排布发生排布干涉,则根据更新前的配置文件生成对应的界面,及/或,向预先确定的终端发送提醒信息,以提醒所述更新配置文件存在错误。If the arrangement of the area of the grid element component is arranged, the corresponding interface is generated according to the configuration file before the update, and/or the reminder information is sent to the predetermined terminal to remind the update configuration file that there is an error.
  20. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述从服务器下载预先生成的用于更新界面的更新配置文件的步骤包括:The computer readable storage medium according to claim 16, wherein the downloading the pre-generated update configuration file for updating the interface from the server comprises:
    实时或者定时向服务器请求并下载所述移动端程序的最新的更新配置文件;或者,所述移动端程序运行后,向服务器端请求并下载所述移动端程序的最新的更新配置文件。 The latest update configuration file of the mobile terminal program is requested and downloaded to the server in real time or periodically; or, after the mobile terminal program runs, the latest update configuration file of the mobile terminal program is requested and downloaded to the server.
PCT/CN2017/091254 2016-12-30 2017-06-30 Method, apparatus, and device for updating interface of mobile terminal application, and computer readable storage medium WO2018120719A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611263944.3A CN106708531A (en) 2016-12-30 2016-12-30 Updating method of mobile end procedure interface and device thereof
CN201611263944.3 2016-12-30

Publications (1)

Publication Number Publication Date
WO2018120719A1 true WO2018120719A1 (en) 2018-07-05

Family

ID=58906840

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/091254 WO2018120719A1 (en) 2016-12-30 2017-06-30 Method, apparatus, and device for updating interface of mobile terminal application, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN106708531A (en)
WO (1) WO2018120719A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022016956A1 (en) * 2020-07-20 2022-01-27 Oppo广东移动通信有限公司 Fillet image display method and apparatus, electronic device and readable storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708531A (en) * 2016-12-30 2017-05-24 上海亿账通互联网科技有限公司 Updating method of mobile end procedure interface and device thereof
CN109284154A (en) * 2017-07-21 2019-01-29 中兴通讯股份有限公司 Desktop starter template renewal method and device, server and storage medium
CN109471684A (en) * 2017-09-08 2019-03-15 深圳市中兴微电子技术有限公司 A kind of method and system that display interface is set
CN107844352B (en) * 2017-10-27 2020-11-27 深圳前海桔子信息技术有限公司 Application interface configuration method and device
CN110806874B (en) * 2018-08-03 2023-08-18 西安创业天下网络科技有限公司 Analysis method, storage medium, electronic equipment and system for live broadcast room configuration file
CN109800033A (en) * 2019-01-03 2019-05-24 北京潘达互娱科技有限公司 A kind of control method, device and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345388A (en) * 2013-06-05 2013-10-09 中国电子科技集团公司第十五研究所 Android-operating-system-based system and device for adapting software to mobile terminal
CN105242937A (en) * 2014-06-27 2016-01-13 中兴通讯股份有限公司 Method for dynamically updating application interface, terminal and system
CN105573773A (en) * 2014-10-17 2016-05-11 Tcl集团股份有限公司 User interface laying method, apparatus and system
CN106708531A (en) * 2016-12-30 2017-05-24 上海亿账通互联网科技有限公司 Updating method of mobile end procedure interface and device thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932877A (en) * 2015-04-24 2015-09-23 陈小州 Method for designing application program interface for intelligent terminal
CN105487889A (en) * 2015-11-26 2016-04-13 小米科技有限责任公司 Application interface updating method and device
CN105892964A (en) * 2015-12-10 2016-08-24 乐视网信息技术(北京)股份有限公司 Block configuration method, block display method, server, terminal equipment and communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345388A (en) * 2013-06-05 2013-10-09 中国电子科技集团公司第十五研究所 Android-operating-system-based system and device for adapting software to mobile terminal
CN105242937A (en) * 2014-06-27 2016-01-13 中兴通讯股份有限公司 Method for dynamically updating application interface, terminal and system
CN105573773A (en) * 2014-10-17 2016-05-11 Tcl集团股份有限公司 User interface laying method, apparatus and system
CN106708531A (en) * 2016-12-30 2017-05-24 上海亿账通互联网科技有限公司 Updating method of mobile end procedure interface and device thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022016956A1 (en) * 2020-07-20 2022-01-27 Oppo广东移动通信有限公司 Fillet image display method and apparatus, electronic device and readable storage medium

Also Published As

Publication number Publication date
CN106708531A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
WO2018120719A1 (en) Method, apparatus, and device for updating interface of mobile terminal application, and computer readable storage medium
CN108768875B (en) Application gray level publishing method and device and computer readable storage medium
WO2018036273A1 (en) Simulation test method, server, device, and computer-readable storage medium
CN110427252B (en) Task scheduling method, device and storage medium based on task dependency relationship
WO2019169759A1 (en) Apparatus and method for creating analog interface, and computer-readable storage medium
CN107656729B (en) List view updating apparatus, method and computer-readable storage medium
CN104199706A (en) Firmware upgrade method and device for eMMC
CN108958881A (en) Data processing method, device and computer readable storage medium
CN106296760B (en) Picture clipping method and device
WO2020015170A1 (en) Interface invoking method and apparatus, and computer-readable storage medium
CN110363303B (en) Memory training method and device for intelligent distribution model and computer readable storage medium
CN108733370B (en) Stylized display method, device, terminal and storage medium of native APP
CN110727595B (en) Application login interface identification method, intelligent terminal and storage medium
CN103077049A (en) Smart method and system for updating desktop navigation bar
CN108388616B (en) Data collection device, method, system and computer readable storage medium
CN112818270B (en) Data cross-domain transfer method and device and computer equipment
CN107124713B (en) Customized updating method and mobile terminal
CN107016262A (en) Application program right management method and client
CN111158777B (en) Component calling method, device and computer readable storage medium
CN112083925A (en) Data acquisition method, device, equipment and storage medium based on H5 page development
WO2017067459A1 (en) Desktop data loading method and device
CN109783748B (en) Display method, device and equipment for display field and readable storage medium
CN108388463B (en) Icon processing method and device, computer equipment and storage medium
JP6321362B2 (en) Definition of object groups in 3D
CN104021007A (en) Parameter renewing method and electronic devices

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: 17885955

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: 17885955

Country of ref document: EP

Kind code of ref document: A1