WO2018201773A1 - 单元格页面的渲染方法、装置、服务器和可读存储介质 - Google Patents

单元格页面的渲染方法、装置、服务器和可读存储介质 Download PDF

Info

Publication number
WO2018201773A1
WO2018201773A1 PCT/CN2018/076155 CN2018076155W WO2018201773A1 WO 2018201773 A1 WO2018201773 A1 WO 2018201773A1 CN 2018076155 W CN2018076155 W CN 2018076155W WO 2018201773 A1 WO2018201773 A1 WO 2018201773A1
Authority
WO
WIPO (PCT)
Prior art keywords
cell
editor
rendering
page
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2018/076155
Other languages
English (en)
French (fr)
Inventor
吴清林
刘金萍
黄建虎
王超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to US16/317,030 priority Critical patent/US20190228062A1/en
Priority to SG11201903206PA priority patent/SG11201903206PA/en
Publication of WO2018201773A1 publication Critical patent/WO2018201773A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines

Definitions

  • the present application relates to the field of data table processing technologies, and in particular, to a method, an apparatus, a server, and a readable storage medium for rendering a cell page.
  • the traditional data entry is that the browser renders the form page in the front-end interface, that is, the form element of each cell is rendered in the front-end page. Since the browser renders the form element of the cell, each cell needs to be bound to the form component. In this case, you need to register the event for each cell. Since more events are registered, it will take up a lot of memory in the browser, which will cause the page to load slowly. In addition, the browser will enter the form every time. When data is used, it is necessary to render the page for each cell, which takes a long time and leads to low efficiency.
  • the main purpose of the present application is to provide a method, a device, a server, and a readable storage medium for rendering a cell page, which are intended to solve the rendering method of an existing cell page, and the memory usage is large, resulting in slow page loading and data. Entering technical problems with low efficiency.
  • the present application provides a rendering method of a cell page, which is applied to a server, and the rendering method of the cell page includes:
  • the server acquires a preset editor and a form to be processed, wherein the form includes a plurality of cells;
  • the cell is initialized according to the acquired table attribute to implement the rendering of the cell page, wherein the form element includes a text input box, a drop box, a selection box or a date selection box.
  • the present application further provides a rendering device for a cell page, where the rendering device of the cell page includes:
  • An obtaining module configured to obtain a preset editor and a form to be processed, wherein the form includes a plurality of cells;
  • the obtaining module is further configured to acquire a table attribute of the cell based on the editor when a click event is detected at a location of any cell;
  • an initialization module configured to initialize the form element by using the obtained table attribute to implement rendering of the cell page, wherein the form element includes a text input box, a drop box, a selection box or a date selection box.
  • the present application further provides a server including a memory, a processor, and a rendering program of a cell page stored on the memory and executable on the processor, the unit The steps of the rendering method of the cell page as described above when the rendering program of the grid page is executed by the processor.
  • the present application further provides a readable storage medium on which a rendering program of a cell page is stored, and the rendering program of the cell page is implemented by the processor as implemented above. The steps of the rendering method of the cell page.
  • the server first acquires a preset editor and a form to be processed, and then, when a click event is detected at a position of any cell, acquires a table attribute of the cell based on the editor, and then based on The acquired table attribute performs initialization of the form element on the cell to implement rendering of the cell page, and then data can be input in the cell.
  • the application implements the page rendering of the cell in the server, and uses the editor to perform page rendering. Since it is not necessary to bind each cell to the form component, the parallel occurrence of multiple registration events is avoided, and the loading speed of the page is improved.
  • the editor uses the editor to render the page of the clicked cell, without having to load all the cells each time, which improves the efficiency of page rendering.
  • FIG. 1 is a schematic structural diagram of a server in a hardware operating environment according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for rendering a cell page of the present application
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for rendering a cell page of the present application
  • FIG. 4 is a schematic flow chart of a third embodiment of a method for rendering a cell page of the present application.
  • the present application proposes a rendering manner of a cell page.
  • the native form component is canceled in the detailed form, and the input is performed by the editor proxy data, because the form element of the cell is rendered by the editor, Bind the native form component to each cell, as long as the data is entered in the cell, each cell is rendered by the editor, that is, the editor displays the corresponding type in the cell according to the table property of the cell.
  • Interface boxes such as text input boxes, drop-down boxes, selection boxes or date selection boxes, can achieve data input, avoiding browser memory consumption, and improve the page loading speed, thereby improving performance.
  • each time the page is rendered it is only necessary to render the cell where the editor is currently located, which improves the efficiency of page rendering.
  • FIG. 1 is a schematic structural diagram of a server in a hardware operating environment according to an embodiment of the present application.
  • the server of the embodiment of the present application includes but is not limited to a one-way server, a multi-way server, and a distributed server.
  • the server may include a processor 1001, such as a CPU, a communication bus 1002, a network interface 1003, and a memory 1004.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the network interface 1003 may optionally include a standard wired interface (for connecting to a wired network), a wireless interface (such as a WI-FI interface, a Bluetooth interface, an infrared interface, a probe interface, a 3G/4G/5G network communication interface, etc.) Connect to a wireless network).
  • the memory 1004 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1004 can also optionally be a storage device independent of the aforementioned processor 1001.
  • server structure illustrated in FIG. 1 does not constitute a limitation to the server, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
  • a memory 1004 as a readable storage medium may include a rendering program of an operating system, a network communication module, and a cell page.
  • the operating system is a program for managing and controlling server and software resources, and supports the operation of the network communication module, the rendering program of the cell page, and other programs or software; the network communication module is used to manage and control the network interface 1003.
  • the network interface 1003 is mainly used to connect a front end page to perform data communication with the front end page; the server calls the rendering program of the cell page stored in the memory 1004 by the processor 1001 to execute the cell. The steps of the page's rendering method.
  • FIG. 2 is a schematic flowchart diagram of a first embodiment of a method for rendering a cell page of the present application.
  • the rendering method of the cell page is applied to a server, and the method includes:
  • the server acquires a preset editor and a form to be processed, wherein the form includes a plurality of cells; when a click event is detected at a position of any cell, the table attribute of the cell is obtained based on the editor Forming an initialization of the form element based on the acquired table attribute to implement rendering of the cell page, wherein the form element includes a text input box, a drop-down box, a selection box or a date selection box.
  • the rendering method of the cell page is applied to a server, such as the server described in FIG.
  • the editor is used to render a page for each cell in the form.
  • the specific expression of the editor is not limited, and may be displayed on a cell in a rectangle or other graphic.
  • the form refers to a form including a row and column identifier, as shown in Table 1:
  • the name, the number, the gender, and the age indicate the row and column identifier of the form.
  • the identifier included in the form is a column identifier.
  • the form including the row identifier may also be obtained according to actual needs. Let me repeat.
  • the cells in the form are the spaces shown in Table 1.
  • step S10 the server acquires a preset editor and a form to be processed, wherein the form includes a plurality of cells.
  • the server may start a single thread in advance, so that the editor and the form to be processed are sequentially acquired by the single thread that is started, and the order of obtaining the editor and the form is not limited, and the first is to obtain the editor and then obtain the form. You can also get the form and get the editor first.
  • the server may also start dual-threading in advance to acquire the editor and the form through two threads.
  • the editor and the form may be preferably obtained in a dual-thread manner. .
  • the step of the server acquiring the preset editor includes:
  • Step a the server adds an editor form panel in an initialization portal of the editor
  • Step b Calling the event agent to process the editor form panel to initialize the editor and obtain the editor.
  • the server first adds an editor form panel to the editor's initialization entry. After the editor form panel is successfully added, the event agent is called to process the editor form panel, the editor initialization process is implemented, and the editor is obtained. After the editor, get the editor.
  • the initialization process of the editor may be executed by the server in advance and stored in the corresponding storage space, and then acquired from the storage space; of course, the editor may be executed when the editor is needed. Initialization, and after the initialization is complete, get the editor.
  • the step of the server acquiring the form to be processed includes:
  • Step c The server acquires an empty table, and obtains a row and column identifier to be added to the empty table;
  • Step d determining, according to the pre-stored business data table, a placement position of the row and column identifier in the empty table;
  • Step e adding the row and column identifier to the empty table according to the determined placement position to obtain a form.
  • the server first obtains an empty table, where the empty table may be a table that the server stores in advance in the database, or may be a table currently established by the server.
  • the row and column identifiers to be added to the empty table are obtained from the database.
  • the row and column identifiers described herein are the column names such as the names, numbers, names, and ages in the above Table 1.
  • the server initially gets an empty form, which is:
  • the row and column identifiers obtained from the database at this time include the name, the number, the gender, the age, etc., and after querying the business data table, it is detected that the placement of each row and column identifier in the empty table is the first row, and according to the front to the back The order is in the columns, then, through the above processing, you can get the form:
  • Step S20 When a click event is detected at a position of any cell, the table attribute of the cell is obtained based on the editor.
  • the table property of the cell can be obtained based on the editor.
  • the click event may be a click event of a user based on a mouse input, or a click event input based on a finger touch operation.
  • the step S20 includes:
  • Step f determining whether the cell is activated when a click event is detected at a location of any cell
  • Step g if the cell is not activated, performing a step of acquiring a table attribute of the cell based on the editor, wherein after the cell is initialized with a form element, indicating that the cell is activated .
  • the server when the server detects a click event at the location of any cell, it first determines whether the cell is activated, wherein after the cell is initialized with the form element, the cell is activated. .
  • this time a click event is detected in the cell first determine whether the cell is clicked for the first time. If the cell is clicked for the first time, the cell has not been initialized by the editor. That is, the cell has not been activated yet, and at this time, the table attribute of the cell is obtained based on the editor. If the cell is currently activated, it can be said that the cell has been clicked before, and the editor has already rendered the page for the cell. At this time, the operation of acquiring the table attribute of the cell is not performed. At this point, you can enter data directly in the editor of the cell.
  • the table attribute of the cell refers to the attribute information of the row or column of the cell, and the table attribute of the cell is determined according to the row identifier of the row of the cell or the column identifier of the column in which the cell is located, for example, a form.
  • the table property of the cell is the name.
  • performing step S20 simultaneously performs the following steps:
  • the position and width of the editor are adjusted based on the determined position and width to suspend the adjusted editor above the cell.
  • the server acquires the table attribute of the cell according to the editor, the position and the width and height of the cell are determined, and then the position and width of the editor are adjusted according to the position and width of the cell, so that the server The adjusted editor is located above the cell and is the same size as the cell, and then the adjusted editor is hovered over the cell to enter data in the editor.
  • Step S30 performing initialization of the form element on the cell based on the acquired table attribute to implement rendering of the cell page, wherein the form element includes a text input box, a drop-down box, a selection box or a date selection box.
  • the form element corresponding to the cell may be determined by the mapping relationship between the preset form attribute and the form element.
  • mapping relationship between the table attribute and the form element is stored in advance.
  • the mapping relationship is not limited to one-to-one or one-to-many, that is, the same table attribute may correspond to one or more form elements, for example,
  • the form attribute is age
  • the form element corresponding to the form attribute may be one of a text input box and a drop-down box, and of course, the above two types.
  • the priority is set for each form element, and then the corresponding form element is displayed in the cell in the order of priority, for example, the form element of the cell includes a text input box, In the drop-down box, the priority of the two form elements is the drop-down box and the text input box. Then, the form elements that are displayed in the cell priority are the drop-down boxes.
  • the server After determining the form element corresponding to the cell, the server initializes the cell to cause the cell to display the form element to implement rendering of the cell page.
  • the server first acquires a preset editor and a form to be processed, and then, when a click event is detected at a location of any cell, acquires a table attribute of the cell based on the editor, and then Initializing the form element based on the acquired table attribute to implement rendering of the cell page, and subsequently inputting data in the cell.
  • the application implements the page rendering of the cell in the server, and uses the editor to perform page rendering. Since it is not necessary to bind each cell to the form component, the parallel occurrence of multiple registration events is avoided, and the loading speed of the page is improved.
  • the editor uses the editor to render the page of the clicked cell, without having to load all the cells each time, which improves the efficiency of page rendering.
  • the difference between the second embodiment of the rendering method of the cell page and the first embodiment of the rendering method of the cell page is that, referring to FIG. 3, after the step S30, the method further includes:
  • Step S40 when the table attribute is a preset type of table attribute, acquiring a data model corresponding to the cell based on a table attribute of the cell;
  • Step S50 Obtain a preset default value based on the data model and the table attribute
  • step S60 the default value obtained is used as a default value of the cell.
  • the table attribute of each cell is determined.
  • the table attribute of the preset type includes: a table attribute corresponding to the gender, the age, and the number.
  • the table attribute is gender, age, and number
  • the data model corresponding to the cell is obtained based on the table attribute of the cell, and the data model includes characters, numbers, and the like, after obtaining the data model corresponding to the cell And obtaining a preset default value based on the data model and the table attribute.
  • the default values corresponding to the table attribute are "male” and “female”, then according to the default values "male” and “female” Initializes the default value of the cell so that the cell has the default values "male” and "female”.
  • the table attribute is age, the default value corresponding to the table attribute may be set to 1-100, then the default value of the cell is initialized according to the default value 1-100, so that the cell has a value of 1-100.
  • the default value is initialized in the cell, so that when the data is subsequently input, the default value is selected to improve the convenience of data entry.
  • the difference between the third embodiment of the rendering method of the cell page and the second embodiment of the rendering method of the cell page is that, referring to FIG. 4, after the step S60, the method further includes:
  • Step S70 when detecting that the mouse leaves the cell, setting the cell to be in focus failure
  • Step S80 backfilling the data input in the cell by the editor, and updating the view of the cell.
  • the cell when detecting that the mouse leaves the cell, corresponding to the current mouse not clicking the cell, the cell is set to focus failure, and then input to the cell through the editor.
  • the data is backfilled, that is, the input data is validated so that the entered data is saved to the cell.
  • the server updates the view of the cell, that is, the cell that originally displayed the editor is updated, so that the view in the cell has only the cell and the input data, and no longer displays. editor.
  • a fourth embodiment of the rendering method of the cell page of the present application is proposed based on the first to third embodiments.
  • the fourth embodiment differs from the rendering method of the cell page in the first to third embodiments in that the editor is hidden when a click event is not received in the form.
  • the editor in the form will only be displayed when the click event is received at the location of the cell, and if the click event is not received in the cell, the editor will be hidden, and the form is not affected.
  • the data view makes the page rendering more flexible and intelligent.
  • the rendering method of the cell page further includes:
  • the function of the editor can be added according to actual needs, so that the function of the editor is more abundant.
  • the present invention further provides a rendering device for a cell page.
  • a first embodiment of a rendering apparatus for a cell page of the present invention is presented.
  • the present embodiment provides a rendering device for a cell page, where the device is applied to a server, and the rendering device of the cell page includes:
  • An obtaining module configured to obtain a preset editor and a form to be processed, wherein the form includes a plurality of cells;
  • the obtaining module is further configured to acquire a table attribute of the cell based on the editor when a click event is detected at a location of any cell;
  • an initialization module configured to initialize the form element by using the obtained table attribute to implement rendering of the cell page, wherein the form element includes a text input box, a drop box, a selection box or a date selection box.
  • the rendering device of the cell page is applied to a server, such as the server described in FIG.
  • the editor is used to render a page for each cell in the form.
  • the specific expression of the editor is not limited, and may be displayed on a cell in a rectangle or other graphic.
  • the form refers to a form including a row and column identifier, as shown in Table 1:
  • the name, the number, the gender, and the age indicate the row and column identifier of the form.
  • the identifier included in the form is a column identifier.
  • the form including the row identifier may also be obtained according to actual needs. Let me repeat.
  • the cells in the form are the spaces shown in Table 1.
  • the server may start a single thread in advance, so that the editor and the form to be processed are sequentially acquired by the single thread that is started, and the order of obtaining the editor and the form is not limited, and the first is to obtain the editor and then obtain the form. You can also get the form and get the editor first.
  • the server may also start dual-threading in advance to acquire the editor and the form through two threads.
  • the editor and the form may be preferably obtained in a dual-thread manner. .
  • the obtaining module includes:
  • a first adding unit for adding an editor form panel at an initialization entry of the editor
  • a calling unit for calling the event agent to process the editor form panel to initialize the editor and obtain the editor.
  • the server first adds an editor form panel to the editor's initialization entry. After the editor form panel is successfully added, the event agent is called to process the editor form panel, the editor initialization process is implemented, and the editor is obtained. After the editor, get the editor.
  • the initialization process of the editor may be executed by the server in advance and stored in the corresponding storage space, and then acquired from the storage space; of course, the editor may be executed when the editor is needed. Initialization, and after the initialization is complete, get the editor.
  • the obtaining module further includes:
  • An obtaining unit configured to obtain an empty table, and obtain a row and column identifier to be added to the empty table
  • a first determining unit configured to determine, according to the pre-stored service data table, a placement position of the row and column identifier in the empty table
  • a second adding unit configured to add the row and column identifiers to the empty table according to the determined placement position to obtain a form.
  • the server first obtains an empty table, where the empty table may be a table that the server stores in advance in the database, or may be a table currently established by the server.
  • the row and column identifiers to be added to the empty table are obtained from the database.
  • the row and column identifiers described herein are the column names such as the names, numbers, names, and ages in the above Table 1.
  • the server initially gets an empty form, which is:
  • the row and column identifiers obtained from the database at this time include the name, the number, the gender, the age, etc., and after querying the business data table, it is detected that the placement of each row and column identifier in the empty table is the first row, and according to the front to the back The order is in the columns, then, through the above processing, you can get the form:
  • the table property of the cell can be obtained based on the editor.
  • the click event may be a click event of a user based on a mouse input, or a click event input based on a finger touch operation.
  • the obtaining module further includes:
  • a second determining unit configured to determine whether the cell is activated when a click event is detected at a location of any cell
  • An execution unit configured to perform a step of acquiring a table attribute of the cell based on the editor if the cell is not activated, wherein the cell is represented after the cell is initialized with a form element Activated.
  • the server when the server detects a click event at the location of any cell, it first determines whether the cell is activated, wherein after the cell is initialized with the form element, the cell is activated. .
  • this time a click event is detected in the cell first determine whether the cell is clicked for the first time. If the cell is clicked for the first time, the cell has not been initialized by the editor. That is, the cell has not been activated yet, and at this time, the table attribute of the cell is obtained based on the editor. If the cell is currently activated, it can be said that the cell has been clicked before, and the editor has already rendered the page for the cell. At this time, the operation of acquiring the table attribute of the cell is not performed. At this point, you can enter data directly in the editor of the cell.
  • the table attribute of the cell refers to the attribute information of the row or column of the cell, and the table attribute of the cell is determined according to the row identifier of the row of the cell or the column identifier of the column in which the cell is located, for example, a form.
  • the table property of the cell is the name.
  • the device further includes:
  • An adjustment module for adjusting the position and width of the editor based on the determined position and width to suspend the adjusted editor above the cell.
  • the server acquires the table attribute of the cell according to the editor, the position and the width and height of the cell are determined, and then the position and width of the editor are adjusted according to the position and width of the cell, so that the server The adjusted editor is located above the cell and is the same size as the cell, and then the adjusted editor is hovered over the cell to enter data in the editor.
  • the form element corresponding to the cell may be determined by the mapping relationship between the preset form attribute and the form element.
  • mapping relationship between the table attribute and the form element is stored in advance.
  • the mapping relationship is not limited to one-to-one or one-to-many, that is, the same table attribute may correspond to one or more form elements, for example,
  • the form attribute is age
  • the form element corresponding to the form attribute may be one of a text input box and a drop-down box, and of course, the above two types.
  • the priority is set for each form element, and then the corresponding form element is displayed in the cell in the order of priority, for example, the form element of the cell includes a text input box, In the drop-down box, the priority of the two form elements is the drop-down box and the text input box. Then, the form elements that are displayed in the cell priority are the drop-down boxes.
  • the server After determining the form element corresponding to the cell, the server initializes the cell to cause the cell to display the form element to implement rendering of the cell page.
  • the server first acquires a preset editor and a form to be processed, and then, when a click event is detected at a location of any cell, acquires a table attribute of the cell based on the editor, and then Initializing the form element based on the acquired table attribute to implement rendering of the cell page, and subsequently inputting data in the cell.
  • the application implements the page rendering of the cell in the server, and uses the editor to perform page rendering. Since it is not necessary to bind each cell to the form component, the parallel occurrence of multiple registration events is avoided, and the loading speed of the page is improved.
  • the editor uses the editor to render the page of the clicked cell, without having to load all the cells each time, which improves the efficiency of page rendering.
  • the second embodiment of the rendering device of the cell page is different from the first embodiment of the device method of the cell page in that the obtaining module is further configured to be based on when the table attribute is a preset type of table attribute.
  • the table attribute of the cell acquires a data model corresponding to the cell;
  • the obtaining module is further configured to obtain a preset default value based on the data model and the table attribute;
  • the apparatus further includes: a processing module, configured to use the default value obtained as a default value of the cell.
  • the table attribute of each cell is determined.
  • the table attribute of the preset type includes: a table attribute corresponding to the gender, the age, and the number.
  • the table attribute is gender, age, and number
  • the data model corresponding to the cell is obtained based on the table attribute of the cell, and the data model includes characters, numbers, and the like, after obtaining the data model corresponding to the cell And obtaining a preset default value based on the data model and the table attribute.
  • the default values corresponding to the table attribute are "male” and “female”, then according to the default values "male” and “female” Initializes the default value of the cell so that the cell has the default values "male” and "female”.
  • the table attribute is age, the default value corresponding to the table attribute may be set to 1-100, then the default value of the cell is initialized according to the default value 1-100, so that the cell has a value of 1-100.
  • the default value is initialized in the cell, so that when the data is subsequently input, the default value is selected to improve the convenience of data entry.
  • a third embodiment of the rendering apparatus of the cell page of the present application is proposed based on the second embodiment.
  • the third embodiment of the rendering device of the cell page differs from the second embodiment of the rendering device of the cell page in that the device further comprises:
  • a setting module configured to set the cell to be in focus failure when detecting that the mouse leaves the cell
  • a backfill update module is configured to backfill data entered by the editor in the cell and update the view of the cell.
  • the cell when detecting that the mouse leaves the cell, corresponding to the current mouse not clicking the cell, the cell is set to focus failure, and then input to the cell through the editor.
  • the data is backfilled, that is, the input data is validated so that the entered data is saved to the cell.
  • the server updates the view of the cell, that is, the cell that originally displayed the editor is updated, so that the view in the cell has only the cell and the input data, and no longer displays. editor.
  • a fourth embodiment of the rendering apparatus of the cell page of the present application is proposed based on the first to third embodiments.
  • the fourth embodiment of the rendering apparatus of the cell page differs from the apparatus method of the cell page by the first to third embodiments in that the apparatus further includes: a hiding module for hiding when a click event is not received in the form The editor.
  • the editor in the form will only be displayed when the click event is received at the location of the cell, and if the click event is not received in the cell, the editor will be hidden, and the form is not affected.
  • the data view makes the page rendering more flexible and intelligent.
  • the rendering device of the cell page further includes:
  • a declaration module for declaring an initialization method of the editor to add a new function to the editor. Specifically: after adding an editor form panel to the editor's initialization entry, a new function is added to the form panel, and then the event agent is called to process the editor form panel to initialize the editor.
  • the function of the editor can be added according to actual needs, so that the function of the editor is more abundant.
  • the embodiment of the present application further provides a readable storage medium, where the readable storage medium stores a rendering program of a cell page, and the rendering program of the cell page is executed by the processor to implement the foregoing.
  • the rendering method of the cell page is a readable storage medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)
  • Document Processing Apparatus (AREA)

Abstract

一种单元格页面的渲染方法、装置、服务器和可读存储介质。所述方法包括:服务器获取预设的编辑器以及待处理的表单,其中,所述表单中包括多个单元格(S10);在任一单元格所在位置检测到点击事件时,基于所述编辑器获取所述单元格的表格属性(S20);基于获取的表格属性对所述单元格进行表单元素的初始化,以实现所述单元格页面的渲染,其中,表单元素包括文本输入框,下拉框,选择框或日期选择框(S30)。提高了页面的加载速度,并提高了页面渲染的效率。

Description

单元格页面的渲染方法、装置、服务器和可读存储介质
本申请要求于2017年05月05日提交中国专利局、申请号为201710315372.7、发明名称为“单元格页面的渲染方法、服务器和计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及数据表处理技术领域,尤其涉及一种单元格页面的渲染方法、装置、服务器和可读存储介质。
背景技术
传统的数据录入,是由浏览器在前端界面中渲染表单页面,即在前端页面中渲染各个单元格的表单元素,由于浏览器渲染单元格的表单元素,需要将每个单元格绑定表单组件,这种情况下,需要对每个单元格进行事件的注册,由于注册的事件较多会占用浏览器的大量内存,会导致页面的加载速度较慢,此外,浏览器每次在表单中录入数据时,需要对每个单元格都进行页面渲染,花费的时间较长,导致效率较低。
发明内容
本申请的主要目的在于提供一种单元格页面的渲染方法、装置、服务器和可读存储介质,旨在解决现有的单元格页面的渲染方式,内存占用大导致页面加载速度慢,以及数据的录入效率较低的技术问题。
为实现上述目的,本申请提供一种单元格页面的渲染方法,应用于服务器中,所述单元格页面的渲染方法包括:
服务器获取预设的编辑器以及待处理的表单,其中,所述表单中包括多个单元格;
在任一单元格所在位置检测到点击事件时,基于所述编辑器获取所述单元格的表格属性;
基于获取的表格属性对所述单元格进行表单元素的初始化,以实现所述单元格页面的渲染,其中,表单元素包括文本输入框,下拉框,选择框或日期选择框。
此外,为实现上述目的,本申请还提供一种单元格页面的渲染装置,所述单元格页面的渲染装置包括:
获取模块,用于获取预设的编辑器以及待处理的表单,其中,所述表单中包括多个单元格;
所述获取模块,还用于在任一单元格所在位置检测到点击事件时,基于所述编辑器获取所述单元格的表格属性;
初始化模块,用于基于获取的表格属性对所述单元格进行表单元素的初始化,以实现所述单元格页面的渲染,其中,表单元素包括文本输入框,下拉框,选择框或日期选择框。
此外,为实现上述目的,本申请还提供一种服务器,所述服务器包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的单元格页面的渲染程序,所述单元格页面的渲染程序被所述处理器执行时实现如上文所述的单元格页面的渲染方法的步骤。
此外,为实现上述目的,本申请还提供一种可读存储介质,所述可读存储介质上存储有单元格页面的渲染程序,所述单元格页面的渲染程序被处理器执行时实现如上文所述的单元格页面的渲染方法的步骤。
本申请提出的技术方案,服务器先获取预设的编辑器以及待处理的表单,然后在任一单元格所在位置检测到点击事件时,基于所述编辑器获取所述单元格的表格属性,再基于获取的表格属性对所述单元格进行表单元素的初始化,以实现所述单元格页面的渲染,后续即可在所述单元格中输入数据。本申请在服务器中实现单元格的页面渲染,并且是采用编辑器进行页面渲染,由于无须将各个单元格都绑定表单组件,避免了多个注册事件的并行发生,提高了页面的加载速度,此外,在检测到点击事件时,才采用编辑器对点击的单元格进行页面的渲染,无须每次都加载所有单元格,提高了页面渲染的效率。
附图说明
图1是本申请实施例方案涉及的硬件运行环境的服务器结构示意图;
图2为本申请单元格页面的渲染方法第一实施例的流程示意图;
图3为本申请单元格页面的渲染方法第二实施例的流程示意图;
图4为本申请单元格页面的渲染方法第三实施例的流程示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
应当理解的是,现有的理赔损失明细页面中,存在大批量数据编辑,若是采用传统的页面渲染方式,会导致效率减低,并且增大的内存耗能。
因此,为了提高页面的加载速度、减小浏览器的内存消耗,并提高页面的渲染效率。本申请提出一种单元格页面的渲染方式,本申请实施例中,在明细的表单中取消原生表单组件,通过编辑器代理数据来输入,由于通过编辑器来进行单元格的表单元素渲染,无须对各个单元格绑定原生表单组件,只要在单元格中输入数据时,通过编辑器对各个单元格进行渲染,即,由编辑器根据单元格的表格属性,在该单元格中显示相应类型的界面框,如文本输入框、下拉框,选择框或日期选择框等,即可实现数据的输入,避免了浏览器内存消耗的情况,提升了页面的加载速度,从而提高了性能。此外,每次在渲染页面时,只要渲染编辑器当前所在位置的单元格即可,提高了页面渲染的效率。
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的服务器的结构示意图。
本申请实施例服务器包括但不限于单路服务器、多路服务器和分布式服务器。
如图1所示,该服务器可以包括:处理器1001,例如CPU,通信总线1002、网络接口1003,存储器1004。其中,通信总线1002用于实现这些组件之间的连接通信。网络接口1003可选的可以包括标准的有线接口(用于连接有线网络)、无线接口(如WI-FI接口、蓝牙接口、红外线接口、探针接口、3G/4G/5G联网通信接口等,用于连接无线网络)。存储器1004可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1004可选的还可以是独立于前述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的服务器结构并不构成对服务器的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种可读存储介质的存储器1004中可以包括操作系统、网络通信模块、单元格页面的渲染程序。其中,操作系统是管理和控制服务器与软件资源的程序,支持网络通信模块、单元格页面的渲染程序以及其他程序或软件的运行;网络通信模块用于管理和控制网络接口1003。
在图1所示的服务器中,网络接口1003主要用于连接前端页面,与前端页面进行数据通信;所述服务器通过处理器1001调用存储器1004中存储的单元格页面的渲染程序,以执行单元格页面的渲染方法的步骤。
基于上述服务器的硬件结构,提出本申请单元格页面的渲染方法的各个实施例。
参照图2,图2为本申请单元格页面的渲染方法第一实施例的流程示意图。
在本实施例中,所述单元格页面的渲染方法应用于服务器中,所述方法包括:
服务器获取预设的编辑器以及待处理的表单,其中,所述表单中包括多个单元格;在任一单元格所在位置检测到点击事件时,基于所述编辑器获取所述单元格的表格属性;基于获取的表格属性对所述单元格进行表单元素的初始化,以实现所述单元格页面的渲染,其中,表单元素包括文本输入框,下拉框,选择框或日期选择框。
本实施例中,单元格页面的渲染方法应用于服务器中,该服务器如图1所述的服务器。所述编辑器用于对表单中的各个单元格进行页面的渲染,该编辑器的具体表现形式不做限定,可以是以矩形或其它图形显示在单元格上。其中,所述表单指包括有行列标识的表格,如表1所示:
姓名 编号 性别 年龄
表1
其中,姓名、编号、性别和年龄表示所述表单的行列标识,从表1可看出,该表单包括的标识是列标识,当然,也可根据实际需要获取包含行标识的表单,此处不再赘述。表单中的单元格即表1所示的各个空格。
以下是本实施例中实现单元格页面的渲染的具体步骤:
步骤S10,服务器获取预设的编辑器以及待处理的表单,其中,所述表单中包括多个单元格。
在本实施例中,服务器可事先启动单线程,以通过启动的单线程依次获取编辑器以及待处理的表单,编辑器以及表单的获取顺序不做限定,可以是先获取编辑器再获取表单,也可以先获取表单再获取编辑器。
进一步地,为了提高单元格页面的渲染效率,该服务器还可以事先启动双线程,以通过两个线程同时获取编辑器和表单,本申请实施例,可优选采用双线程的方式获取编辑器和表单。
在本实施例中,所述服务器获取预设的编辑器的步骤包括:
步骤a、所述服务器在编辑器的初始化入口添加编辑器表单面板;
步骤b、调用事件代理处理所述编辑器表单面板,以初始化编辑器,并获取所述编辑器。
即,服务器先在编辑器的初始化入口添加编辑器表单面板,在编辑器表单面板添加成功后,调用事件代理,以处理该编辑器表单面板,实现编辑器的初始化过程,得到编辑器,在得到编辑器之后,获取该编辑器。
需要说明的是,该编辑器的初始化过程可以由服务器事先执行,并存储在相应的存储空间中,后续再从该存储空间中获取;当然,也可以在需要该编辑器时,才进行编辑器的初始化,并在初始化完成后,获取该编辑器。
在本实施例中,所述服务器获取待处理的表单的步骤包括:
步骤c、所述服务器获取空表格,并获取待添加至所述空表格中的行列标识;
步骤d、基于预存的业务数据表,确定行列标识在空表格中的放置位置;
步骤e、按照确定的放置位置将所述行列标识添加到所述空表格中,以得到表单。
即,服务器先获取空表格,其中,该空表格可以是服务器事先存储在数据库中的表格,也可以是服务器当前建立的表格。服务器获取到空表格之后,再从数据库获取待添加至所述空表格中的行列标识,此处所述的行列标识即上述表1举例的名称、编号、姓名和年龄等列标识。在获取到单元格的行列标识,再提取预存的业务数据表,通过查表的方式确定行列标识在空表格中的放置位置,在确定放置位置之后,即可按照确定的放置位置将所述行列标识添加至所述空表格中,以得到表单。
为更好理解本实施例,举例如下:
服务器一开始获取空表格,该空表格为:
若此时从数据库中获取的行列标识包括姓名、编号、性别、年龄等,且查询业务数据表之后,检测到各个行列标识在空表格中的放置位置都是第一行、并且按照从前到后的顺序排在各列中,那么,通过上述处理方式,即可得到表单:
姓名 编号 性别 年龄
通过上述的处理过程,即可获取到编辑器以及待处理的表单。
步骤S20,在任一单元格所在位置检测到点击事件时,基于所述编辑器获取所述单元格的表格属性。
在获取到编辑器以及表单之后,若在表单的任一单元格所在位置检测到点击事件,即可基于该编辑器获取所述单元格的表格属性。该点击事件可以是用户基于鼠标输入的点击事件,也可以是基于手指触摸操作输入的点击事件。
具体地,所述步骤S20包括:
步骤f,在任一单元格所在位置检测到点击事件时,确定所述单元格是否被激活;
步骤g,若所述单元格未被激活,则执行基于所述编辑器获取所述单元格的表格属性的步骤,其中,在所述单元格被初始化表单元素后,表示所述单元格被激活。
即本实施例中,所述服务器在任一单元格所在位置检测到点击事件时,先确定该单元格是否被激活,其中,在所述单元格被初始化表单元素后,表示所述单元格被激活。
也就是说,本次在单元格中检测到点击事件,先确定该单元格是否是第一次被点击,若该单元格是第一次被点击,说明该单元格还没被编辑器初始化,也就是该单元格还未被激活,此时,基于该编辑器获取该单元格的表格属性。若当前该单元格已经被激活,可以说明该单元格之前就被点击过了,编辑器已经对该单元格进行过页面渲染,此时,就不再执行获取所述单元格的表格属性的操作,此时可直接在该单元格的编辑器中输入数据。
本实施例中,单元格的表格属性是指该单元格所在行或者所在列的属性信息,单元格的表格属性是根据单元格所在行的行标识或所在列的列标识确定的,例如,表单如上文的表1,且点击事件对应的单元格位于名称这一列,说明该单元格对应的列标识就是名称,那么该单元格的表格属性即名称。
进一步地,所述执行步骤S20同时,执行以下步骤:
确定所述单元格的位置以及宽高;
基于确定的位置和宽高,调整所述编辑器的位置及宽高,以将调整后的编辑器悬浮在所述单元格上方。
即,所述服务器在根据编辑器获取单元格的表格属性之后,会确定该单元格的位置以及宽高,然后根据该单元格的位置以及宽高,调整该编辑器的位置以及宽高,使得调整后的编辑器位于该单元格的上方,并且与该单元格的大小一致,后续将调整后的编辑器悬浮在该单元格上方,以便在该编辑器中输入数据。
步骤S30,基于获取的表格属性对所述单元格进行表单元素的初始化,以实现所述单元格页面的渲染,其中,表单元素包括文本输入框,下拉框,选择框或日期选择框。
在本实施例中,在获取到表格属性之后,通过预设的表格属性与表单元素的映射关系,可确定该单元格对应的表单元素。
其中,表格属性与表单元素的映射关系是事先存储的,本实施例中,映射关系不限于1对1或1对多,即同一个表格属性,可以对应一个或多个表单元素,例如,在表格属性为年龄时,该表格属性对应的表单元素可以是文本输入框、下拉框中的其中一种,当然,还可以是上述的两种。
当表格属性与表单元素的映射关系为1对多时,对各个表单元素设置优先级,后续按照优先级的顺序在单元格中显示相应的表单元素,例如,单元格的表单元素包括文本输入框、下拉框,两个表单元素的优先级依次是下拉框、文本输入框,那么,后续在单元格优先显示的表单元素就为下拉框。后续在单元格中使用时,可通过双击点击操作,以切换单元格显示的表单元素,例如双击之后在单元格中显示文本输入框。
在确定单元格对应的表单元素之后,所述服务器对所述单元格进行初始化,以使所述单元格显示所述表单元素,以实现所述单元格页面的渲染。
本实施例提出的技术方案,服务器先获取预设的编辑器以及待处理的表单,然后在任一单元格所在位置检测到点击事件时,基于所述编辑器获取所述单元格的表格属性,再基于获取的表格属性对所述单元格进行表单元素的初始化,以实现所述单元格页面的渲染,后续即可在所述单元格中输入数据。本申请在服务器中实现单元格的页面渲染,并且是采用编辑器进行页面渲染,由于无须将各个单元格都绑定表单组件,避免了多个注册事件的并行发生,提高了页面的加载速度,此外,在检测到点击事件时,才采用编辑器对点击的单元格进行页面的渲染,无须每次都加载所有单元格,提高了页面渲染的效率。
进一步地,基于第一实施例提出本申请单元格页面的渲染方法的第二实施例。
单元格页面的渲染方法的第二实施例与单元格页面的渲染方法的第一实施例的区别在于,参照图3,所述步骤S30之后,所述方法还包括:
步骤S40,在所述表格属性为预设类型的表格属性时,基于所述单元格的表格属性获取所述单元格对应的数据模型;
步骤S50,基于所述数据模型以及所述表格属性获取预设的默认值;
步骤S60,根据获取的所述默认值作为所述单元格的默认值。
在本实施例中,在对单元格进行页面的渲染之后,确定各个单元格的表格属性,本实施例中,所述预设类型的表格属性包括:性别、年龄和编号对应的表格属性。在表格属性为性别、年龄和编号时,基于所述单元格的表格属性获取所述单元格对应的数据模型,所述数据模型包括文字、数字等等,在获取到单元格对应的数据模型之后,基于数据模型以及所述表格属性获取预设的默认值。
例如,表格属性为性别,则所述表格属性对应的默认值为“男”和“女”,那么根据该默认值 “男”和“女” 初始化所述单元格的默认值,以使该单元格具有该默认值“男”和“女”。表格属性为年龄,则所述表格属性对应的默认值可设置为1-100,那么根据该默认值1-100初始化所述单元格的默认值,以使该单元格具有1-100的值。
对单元格设置默认值之后,可在编辑器中输入相应的数据,以实现单元格的数据录入。
在本实施中,对单元格进行渲染之后,在单元格中初始化默认值,以便后续进行数据的录入时,从默认值中进行选择,提高数据录入的便捷性。
进一步地,基于第二实施例提出本申请单元格页面的渲染方法的第三实施例。
单元格页面的渲染方法的第三实施例与单元格页面的渲染方法的第二实施例的区别在于,参照图4,所述步骤S60之后,所述方法还包括:
步骤S70,在检测到鼠标离开所述单元格时,将所述单元格设置为焦点失效;
步骤S80,对通过所述编辑器在所述单元格输入的数据进行回填,并更新所述单元格的视图。
在本实施例中,在检测鼠标离开该单元格时,相当于当前鼠标没有点击该单元格,那么将所述单元格设置为焦点失效,然后对通过所述编辑器在所述单元格输入的数据进行回填,也就是说,将输入的数据进行生效,以使输入的数据保存到该单元格中。
此外,在数据回填之后,所述服务器更新所述单元格的视图,即将原先显示有编辑器的单元格进行视图更新,以使该单元格中的视图只有单元格以及输入的数据,不再显示编辑器。
在本实施例中,在检测到鼠标离开所述单元格时,对单元格中的数据进行回填,并更新该单元格的视图,实现了表格的页面刷新,无须关心表单元素,只要更新视图层即可,提高了页面的渲染速度。
进一步地,基于第一至第三实施例提出本申请单元格页面的渲染方法的第四实施例。
单元格页面的渲染方法第四实施例与单元格页面的渲染方法第一至第三实施例的区别在于,在表单中未接收到点击事件时,隐藏所述编辑器。
即本申请实施例中,表单中的编辑器只有在单元格所在位置接收到点击事件时,才会显示,若没有在单元格中接收到点击事件,则该编辑器会隐藏,不影响表单中的数据查看,使得页面的渲染方式更加灵活和智能。
此外,所述单元格页面的渲染方法还包括:
声明所述编辑器的初始化方法,以在所述编辑器中增加新的功能。
具体地:在编辑器的初始化入口添加编辑器表单面板之后,在所述表单面板中添加新的功能,然后调用事件代理处理该编辑器表单面板,以初始化该编辑器。
即本申请实施例中,该编辑器的功能可以根据实际需要进行添加,以使编辑器的功能更加丰富。
本发明进一步提供一种单元格页面的渲染装置。
提出本发明单元格页面的渲染装置第一实施例。
本实施例提出一种单元格页面的渲染装置,所述装置应用于服务器中,所述单元格页面的渲染装置包括:
获取模块,用于获取预设的编辑器以及待处理的表单,其中,所述表单中包括多个单元格;
所述获取模块,还用于在任一单元格所在位置检测到点击事件时,基于所述编辑器获取所述单元格的表格属性;
初始化模块,用于基于获取的表格属性对所述单元格进行表单元素的初始化,以实现所述单元格页面的渲染,其中,表单元素包括文本输入框,下拉框,选择框或日期选择框。
本实施例中,单元格页面的渲染装置应用于服务器中,该服务器如图1所述的服务器。所述编辑器用于对表单中的各个单元格进行页面的渲染,该编辑器的具体表现形式不做限定,可以是以矩形或其它图形显示在单元格上。其中,所述表单指包括有行列标识的表格,如表1所示:
姓名 编号 性别 年龄
表1
其中,姓名、编号、性别和年龄表示所述表单的行列标识,从表1可看出,该表单包括的标识是列标识,当然,也可根据实际需要获取包含行标识的表单,此处不再赘述。表单中的单元格即表1所示的各个空格。
在本实施例中,服务器可事先启动单线程,以通过启动的单线程依次获取编辑器以及待处理的表单,编辑器以及表单的获取顺序不做限定,可以是先获取编辑器再获取表单,也可以先获取表单再获取编辑器。
进一步地,为了提高单元格页面的渲染效率,该服务器还可以事先启动双线程,以通过两个线程同时获取编辑器和表单,本申请实施例,可优选采用双线程的方式获取编辑器和表单。
在本实施例中,所述获取模块包括:
第一添加单元,用于在编辑器的初始化入口添加编辑器表单面板;
调用单元,用于调用事件代理处理所述编辑器表单面板,以初始化编辑器,并获取所述编辑器。
即,服务器先在编辑器的初始化入口添加编辑器表单面板,在编辑器表单面板添加成功后,调用事件代理,以处理该编辑器表单面板,实现编辑器的初始化过程,得到编辑器,在得到编辑器之后,获取该编辑器。
需要说明的是,该编辑器的初始化过程可以由服务器事先执行,并存储在相应的存储空间中,后续再从该存储空间中获取;当然,也可以在需要该编辑器时,才进行编辑器的初始化,并在初始化完成后,获取该编辑器。
在本实施例中,所述获取模块还包括:
获取单元,用于获取空表格,并获取待添加至所述空表格中的行列标识;
第一确定单元,用于基于预存的业务数据表,确定行列标识在空表格中的放置位置;
第二添加单元,用于按照确定的放置位置将所述行列标识添加到所述空表格中,以得到表单。
即,服务器先获取空表格,其中,该空表格可以是服务器事先存储在数据库中的表格,也可以是服务器当前建立的表格。服务器获取到空表格之后,再从数据库获取待添加至所述空表格中的行列标识,此处所述的行列标识即上述表1举例的名称、编号、姓名和年龄等列标识。在获取到单元格的行列标识,再提取预存的业务数据表,通过查表的方式确定行列标识在空表格中的放置位置,在确定放置位置之后,即可按照确定的放置位置将所述行列标识添加至所述空表格中,以得到表单。
为更好理解本实施例,举例如下:
服务器一开始获取空表格,该空表格为:
若此时从数据库中获取的行列标识包括姓名、编号、性别、年龄等,且查询业务数据表之后,检测到各个行列标识在空表格中的放置位置都是第一行、并且按照从前到后的顺序排在各列中,那么,通过上述处理方式,即可得到表单:
姓名 编号 性别 年龄
通过上述的处理过程,即可获取到编辑器以及待处理的表单。
在获取到编辑器以及表单之后,若在表单的任一单元格所在位置检测到点击事件,即可基于该编辑器获取所述单元格的表格属性。该点击事件可以是用户基于鼠标输入的点击事件,也可以是基于手指触摸操作输入的点击事件。具体地,所述获取模块还包括:
第二确定单元,用于在任一单元格所在位置检测到点击事件时,确定所述单元格是否被激活;
执行单元,用于若所述单元格未被激活,则执行基于所述编辑器获取所述单元格的表格属性的步骤,其中,在所述单元格被初始化表单元素后,表示所述单元格被激活。
即本实施例中,所述服务器在任一单元格所在位置检测到点击事件时,先确定该单元格是否被激活,其中,在所述单元格被初始化表单元素后,表示所述单元格被激活。
也就是说,本次在单元格中检测到点击事件,先确定该单元格是否是第一次被点击,若该单元格是第一次被点击,说明该单元格还没被编辑器初始化,也就是该单元格还未被激活,此时,基于该编辑器获取该单元格的表格属性。若当前该单元格已经被激活,可以说明该单元格之前就被点击过了,编辑器已经对该单元格进行过页面渲染,此时,就不再执行获取所述单元格的表格属性的操作,此时可直接在该单元格的编辑器中输入数据。
本实施例中,单元格的表格属性是指该单元格所在行或者所在列的属性信息,单元格的表格属性是根据单元格所在行的行标识或所在列的列标识确定的,例如,表单如上文的表1,且点击事件对应的单元格位于名称这一列,说明该单元格对应的列标识就是名称,那么该单元格的表格属性即名称。
进一步地,所述装置还包括:
确定模块,用于确定所述单元格的位置以及宽高;
调整模块,用于基于确定的位置和宽高,调整所述编辑器的位置及宽高,以将调整后的编辑器悬浮在所述单元格上方。
即,所述服务器在根据编辑器获取单元格的表格属性之后,会确定该单元格的位置以及宽高,然后根据该单元格的位置以及宽高,调整该编辑器的位置以及宽高,使得调整后的编辑器位于该单元格的上方,并且与该单元格的大小一致,后续将调整后的编辑器悬浮在该单元格上方,以便在该编辑器中输入数据。
在本实施例中,在获取到表格属性之后,通过预设的表格属性与表单元素的映射关系,可确定该单元格对应的表单元素。
其中,表格属性与表单元素的映射关系是事先存储的,本实施例中,映射关系不限于1对1或1对多,即同一个表格属性,可以对应一个或多个表单元素,例如,在表格属性为年龄时,该表格属性对应的表单元素可以是文本输入框、下拉框中的其中一种,当然,还可以是上述的两种。
当表格属性与表单元素的映射关系为1对多时,对各个表单元素设置优先级,后续按照优先级的顺序在单元格中显示相应的表单元素,例如,单元格的表单元素包括文本输入框、下拉框,两个表单元素的优先级依次是下拉框、文本输入框,那么,后续在单元格优先显示的表单元素就为下拉框。后续在单元格中使用时,可通过双击点击操作,以切换单元格显示的表单元素,例如双击之后在单元格中显示文本输入框。
在确定单元格对应的表单元素之后,所述服务器对所述单元格进行初始化,以使所述单元格显示所述表单元素,以实现所述单元格页面的渲染。
本实施例提出的技术方案,服务器先获取预设的编辑器以及待处理的表单,然后在任一单元格所在位置检测到点击事件时,基于所述编辑器获取所述单元格的表格属性,再基于获取的表格属性对所述单元格进行表单元素的初始化,以实现所述单元格页面的渲染,后续即可在所述单元格中输入数据。本申请在服务器中实现单元格的页面渲染,并且是采用编辑器进行页面渲染,由于无须将各个单元格都绑定表单组件,避免了多个注册事件的并行发生,提高了页面的加载速度,此外,在检测到点击事件时,才采用编辑器对点击的单元格进行页面的渲染,无须每次都加载所有单元格,提高了页面渲染的效率。
进一步地,基于第一实施例提出本申请单元格页面的渲染装置的第二实施例。
单元格页面的渲染装置的第二实施例与单元格页面的装置方法的第一实施例的区别在于,所述获取模块,还用于在所述表格属性为预设类型的表格属性时,基于所述单元格的表格属性获取所述单元格对应的数据模型;
所述获取模块,还用于基于所述数据模型以及所述表格属性获取预设的默认值;
所述装置还包括:处理模块,用于根据获取的所述默认值作为所述单元格的默认值。
在本实施例中,在对单元格进行页面的渲染之后,确定各个单元格的表格属性,本实施例中,所述预设类型的表格属性包括:性别、年龄和编号对应的表格属性。在表格属性为性别、年龄和编号时,基于所述单元格的表格属性获取所述单元格对应的数据模型,所述数据模型包括文字、数字等等,在获取到单元格对应的数据模型之后,基于数据模型以及所述表格属性获取预设的默认值。
例如,表格属性为性别,则所述表格属性对应的默认值为“男”和“女”,那么根据该默认值 “男”和“女” 初始化所述单元格的默认值,以使该单元格具有该默认值“男”和“女”。表格属性为年龄,则所述表格属性对应的默认值可设置为1-100,那么根据该默认值1-100初始化所述单元格的默认值,以使该单元格具有1-100的值。
对单元格设置默认值之后,可在编辑器中输入相应的数据,以实现单元格的数据录入。
在本实施中,对单元格进行渲染之后,在单元格中初始化默认值,以便后续进行数据的录入时,从默认值中进行选择,提高数据录入的便捷性。
进一步地,基于第二实施例提出本申请单元格页面的渲染装置的第三实施例。单元格页面的渲染装置的第三实施例与单元格页面的渲染装置的第二实施例的区别在于,所述装置还包括:
设置模块,用于在检测到鼠标离开所述单元格时,将所述单元格设置为焦点失效;
回填更新模块,用于对通过所述编辑器在所述单元格输入的数据进行回填,并更新所述单元格的视图。
在本实施例中,在检测鼠标离开该单元格时,相当于当前鼠标没有点击该单元格,那么将所述单元格设置为焦点失效,然后对通过所述编辑器在所述单元格输入的数据进行回填,也就是说,将输入的数据进行生效,以使输入的数据保存到该单元格中。
此外,在数据回填之后,所述服务器更新所述单元格的视图,即将原先显示有编辑器的单元格进行视图更新,以使该单元格中的视图只有单元格以及输入的数据,不再显示编辑器。
在本实施例中,在检测到鼠标离开所述单元格时,对单元格中的数据进行回填,并更新该单元格的视图,实现了表格的页面刷新,无须关心表单元素,只要更新视图层即可,提高了页面的渲染速度。
进一步地,基于第一至第三实施例提出本申请单元格页面的渲染装置的第四实施例。单元格页面的渲染装置第四实施例与单元格页面的装置方法第一至第三实施例的区别在于,所述装置还包括:隐藏模块,用于在表单中未接收到点击事件时,隐藏所述编辑器。
即本申请实施例中,表单中的编辑器只有在单元格所在位置接收到点击事件时,才会显示,若没有在单元格中接收到点击事件,则该编辑器会隐藏,不影响表单中的数据查看,使得页面的渲染方式更加灵活和智能。
此外,所述单元格页面的渲染装置还包括:
声明模块,用于声明所述编辑器的初始化方法,以在所述编辑器中增加新的功能。具体地:在编辑器的初始化入口添加编辑器表单面板之后,在所述表单面板中添加新的功能,然后调用事件代理处理该编辑器表单面板,以初始化该编辑器。
即本申请实施例中,该编辑器的功能可以根据实际需要进行添加,以使编辑器的功能更加丰富。
此外,本申请实施例还提出一种可读存储介质,所述可读存储介质上存储有单元格页面的渲染程序,所述单元格页面的渲染程序被处理器执行时实现如上文所述的单元格页面的渲染方法。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种单元格页面的渲染方法,其特征在于,应用于服务器中,所述单元格页面的渲染方法包括:
    服务器获取预设的编辑器以及待处理的表单,其中,所述表单中包括多个单元格;
    在任一单元格所在位置检测到点击事件时,基于所述编辑器获取所述单元格的表格属性;
    基于获取的表格属性对所述单元格进行表单元素的初始化,以实现所述单元格页面的渲染,其中,表单元素包括文本输入框,下拉框,选择框或日期选择框。
  2. 如权利要求1所述的单元格页面的渲染方法,其特征在于,所述服务器获取预设的编辑器的步骤包括:
    所述服务器在编辑器的初始化入口添加编辑器表单面板;
    调用事件代理处理所述编辑器表单面板,以初始化编辑器,并获取所述编辑器。
  3. 如权利要求1所述的单元格页面的渲染方法,其特征在于,所述服务器获取待处理的表单的步骤包括:
    所述服务器获取空表格,并获取待添加至所述空表格中的行列标识;
    基于预存的业务数据表,确定行列标识在空表格中的放置位置;
    按照确定的放置位置将所述行列标识添加到所述空表格中,以得到表单。
  4. 如权利要求1所述的单元格页面的渲染方法,其特征在于,所述在任一单元格所在位置检测到点击事件时,基于所述编辑器获取所述单元格的表格属性的步骤包括:
    在任一单元格所在位置检测到点击事件时,确定所述单元格是否被激活;
    若所述单元格未被激活,则执行基于所述编辑器获取所述单元格的表格属性的步骤,其中,在所述单元格被初始化表单元素后,表示所述单元格被激活。
  5. 如权利要求1所述的单元格页面的渲染方法,其特征在于,所述执行在任一单元格所在位置检测到点击事件时,基于所述编辑器获取所述单元格的表格属性的步骤的同时,执行以下步骤:
    确定所述单元格的位置以及宽高;
    基于确定的位置和宽高,调整所述编辑器的位置及宽高,以将调整后的编辑器悬浮在所述单元格上方。
  6. 如权利要求1所述的单元格页面的渲染方法,其特征在于,所述基于获取的表格属性对所述单元格进行表单元素的初始化,以实现所述单元格页面的渲染的步骤之后,所述方法还包括:
    在所述表格属性为预设类型的表格属性时,基于所述单元格的表格属性获取所述单元格对应的数据模型;
    基于所述数据模型以及所述表格属性获取预设的默认值;
    根据获取的所述默认值作为所述单元格的默认值。
  7. 如权利要求1所述的单元格页面的渲染方法,其特征在于,所述基于获取的表格属性对所述单元格进行表单元素的初始化,以实现所述单元格页面的渲染的步骤之后,所述方法还包括:
    在检测到鼠标离开所述单元格时,将所述单元格设置为焦点失效;
    对通过所述编辑器在所述单元格输入的数据进行回填,并更新所述单元格的视图。
  8. 如权利要求1所述的单元格页面的渲染方法,其特征在于,在表单中未接收到点击事件时,隐藏所述编辑器。
  9. 如权利要求7所述的单元格页面的渲染方法,其特征在于,在表单中未接收到点击事件时,隐藏所述编辑器。
  10. 一种单元格页面的渲染装置,其特征在于,应用于服务器中,所述单元格页面的渲染装置包括:
    获取模块,用于获取预设的编辑器以及待处理的表单,其中,所述表单中包括多个单元格;
    所述获取模块,还用于在任一单元格所在位置检测到点击事件时,基于所述编辑器获取所述单元格的表格属性;
    初始化模块,用于基于获取的表格属性对所述单元格进行表单元素的初始化,以实现所述单元格页面的渲染,其中,表单元素包括文本输入框,下拉框,选择框或日期选择框。
  11. 如权利要求10所述的单元格页面的渲染装置,其特征在于,所述获取模块包括:
    第一添加单元,用于在编辑器的初始化入口添加编辑器表单面板;
    调用单元,用于调用事件代理处理所述编辑器表单面板,以初始化编辑器,并获取所述编辑器。
  12. 如权利要求10所述的单元格页面的渲染装置,其特征在于,所述获取模块还包括:
    获取单元,用于获取空表格,并获取待添加至所述空表格中的行列标识;
    第一确定单元,用于基于预存的业务数据表,确定行列标识在空表格中的放置位置;
    第二添加单元,用于按照确定的放置位置将所述行列标识添加到所述空表格中,以得到表单。
  13. 如权利要求10所述的单元格页面的渲染装置,其特征在于,所述获取模块还包括:
    第二确定单元,用于在任一单元格所在位置检测到点击事件时,确定所述单元格是否被激活;
    执行单元,用于若所述单元格未被激活,则执行基于所述编辑器获取所述单元格的表格属性的步骤,其中,在所述单元格被初始化表单元素后,表示所述单元格被激活。
  14. 如权利要求10所述的单元格页面的渲染装置,其特征在于,所述装置还包括:
    确定模块,用于确定所述单元格的位置以及宽高;
    调整模块,用于基于确定的位置和宽高,调整所述编辑器的位置及宽高,以将调整后的编辑器悬浮在所述单元格上方。
  15. 如权利要求10所述的单元格页面的渲染装置,其特征在于,所述获取模块,还用于在所述表格属性为预设类型的表格属性时,基于所述单元格的表格属性获取所述单元格对应的数据模型;
    所述获取模块,还用于基于所述数据模型以及所述表格属性获取预设的默认值;
    所述装置还包括:处理模块,用于根据获取的所述默认值作为所述单元格的默认值。
  16. 如权利要求10所述的单元格页面的渲染装置,其特征在于,所述装置还包括:
    设置模块,用于在检测到鼠标离开所述单元格时,将所述单元格设置为焦点失效;
    回填更新模块,用于对通过所述编辑器在所述单元格输入的数据进行回填,并更新所述单元格的视图。
  17. 如权利要求10所述的单元格页面的渲染装置,其特征在于,所述装置还包括:隐藏模块,用于在表单中未接收到点击事件时,隐藏所述编辑器。
  18. 如权利要求16所述的单元格页面的渲染装置,其特征在于,所述装置还包括:隐藏模块,用于在表单中未接收到点击事件时,隐藏所述编辑器。
  19. 一种服务器,其特征在于,所述服务器包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的单元格页面的渲染程序,所述单元格页面的渲染程序被所述处理器执行时实现如权利要求1所述的单元格页面的渲染方法的步骤。
  20. 一种可读存储介质,其特征在于,所述可读存储介质上存储有单元格页面的渲染程序,所述单元格页面的渲染程序被处理器执行时实现如权利要求1所述的单元格页面的渲染方法的步骤。
PCT/CN2018/076155 2017-05-05 2018-02-10 单元格页面的渲染方法、装置、服务器和可读存储介质 Ceased WO2018201773A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US16/317,030 US20190228062A1 (en) 2017-05-05 2018-02-10 Method, apparatus, and server for rendering a cell page, and readable storage medium
SG11201903206PA SG11201903206PA (en) 2017-05-05 2018-02-10 Method, apparatus, and server for rendering a cell page, and readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710315372.7A CN108804483B (zh) 2017-05-05 2017-05-05 单元格页面的渲染方法、服务器和计算机可读存储介质
CN201710315372.7 2017-05-05

Publications (1)

Publication Number Publication Date
WO2018201773A1 true WO2018201773A1 (zh) 2018-11-08

Family

ID=64016451

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/076155 Ceased WO2018201773A1 (zh) 2017-05-05 2018-02-10 单元格页面的渲染方法、装置、服务器和可读存储介质

Country Status (4)

Country Link
US (1) US20190228062A1 (zh)
CN (1) CN108804483B (zh)
SG (1) SG11201903206PA (zh)
WO (1) WO2018201773A1 (zh)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918915B (zh) * 2017-06-25 2022-02-08 平安科技(深圳)有限公司 核保信息处理的装置、方法及计算机可读存储介质
CN111444171B (zh) * 2018-12-28 2023-07-14 航天信息股份有限公司 增值税纳税申报表的生成方法、装置和存储介质
CN109815434A (zh) * 2019-01-18 2019-05-28 深圳壹账通智能科技有限公司 页面编辑方法、装置、设备及存储介质
CN109871500A (zh) * 2019-01-24 2019-06-11 平安科技(深圳)有限公司 页面加载方法、装置、计算机设备和存储介质
CN109857969A (zh) * 2019-01-25 2019-06-07 畅捷通信息技术股份有限公司 数据表格视图处理方法、系统及计算机可读存储介质
CN109871524B (zh) * 2019-02-21 2023-06-09 腾讯科技(深圳)有限公司 一种图表生成方法及装置
CN110765746B (zh) * 2019-10-15 2023-08-15 支付宝(杭州)信息技术有限公司 基于事件代理的表单自动生成方法和系统
CN111240793B (zh) * 2020-02-13 2024-01-09 抖音视界有限公司 cell预渲染的方法、装置、电子设备以及计算机可读介质
CN111476017B (zh) * 2020-06-04 2024-01-30 广东三维家信息科技有限公司 网页表格编辑方法、装置及电子设备
CN111813409A (zh) * 2020-07-02 2020-10-23 上海米哈游天命科技有限公司 一种交互界面的代码生成方法、装置、设备及存储介质
CN112257405A (zh) * 2020-10-22 2021-01-22 深圳前海微众银行股份有限公司 网页表格编辑方法、装置、设备与计算机可读存储介质
CN112099898B (zh) * 2020-11-06 2021-02-09 广州市玄武无线科技股份有限公司 一种基于Web前端的表格处理系统及方法
CN112528614B (zh) * 2020-12-18 2024-08-16 腾讯云计算(北京)有限责任公司 一种表格编辑方法、装置和电子设备
CN112861481B (zh) * 2021-01-29 2024-01-30 北京尚医智信健康管理有限公司 分页处理的方法、装置、电子设备及计算机可读存储介质
CN112800736B (zh) * 2021-02-04 2022-04-08 杉数科技(北京)有限公司 生成单元格编辑组件的方法、装置、介质及计算机设备
CN114169303A (zh) * 2021-12-14 2022-03-11 平安养老保险股份有限公司 基于vue.js的表格编辑方法、装置、设备及介质
CN114527969B (zh) * 2022-01-25 2023-08-18 孚瑞肯电气(深圳)有限公司 一种可以将列表单元格转换成下拉列表形式输入的方法
CN114741144B (zh) * 2022-03-18 2024-04-09 中银金融科技有限公司 一种web端复杂表格显示方法、装置及系统
CN116301460A (zh) * 2023-03-13 2023-06-23 中通服软件科技有限公司 一种单元格输入控件动态配置方法、装置、设备及存储介质
CN119129542B (zh) * 2024-11-13 2025-03-14 北京奇虎科技有限公司 表格编辑方法、装置、存储介质以及终端

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841791A (zh) * 2012-07-12 2012-12-26 上海高洁信息科技股份有限公司 在线表单的生成方法及系统
CN103164401A (zh) * 2011-12-08 2013-06-19 航天信息软件技术有限公司 页面表格显示方法
US20150261770A1 (en) * 2012-11-29 2015-09-17 Tencent Technology (Shenzhen) Company Limited Page loading method and system, and computer-readable storage medium
CN105739962A (zh) * 2014-12-12 2016-07-06 金蝶软件(中国)有限公司 基于html的表格单元格编辑器控件扩展方法和系统

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7685515B2 (en) * 2003-04-04 2010-03-23 Netsuite, Inc. Facilitating data manipulation in a browser-based user interface of an enterprise business application
US7421649B1 (en) * 2003-04-28 2008-09-02 Adobe Systems Incorporated Enhanced visual table editing
US7934153B2 (en) * 2005-05-06 2011-04-26 Madcap Software, Inc. Visual document structure indicator system
US20070050697A1 (en) * 2005-08-23 2007-03-01 International Business Machines Corporation Integrated spreadsheet expanding table with collapsable columns
US8108763B2 (en) * 2007-01-19 2012-01-31 Constant Contact, Inc. Visual editor for electronic mail
US8938672B2 (en) * 2008-11-04 2015-01-20 International Business Machines Corporation Amending the display property of grid elements
US9600512B2 (en) * 2010-02-25 2017-03-21 Salesforce.Com, Inc. Systems and methods for implementing customized drop-down menus
US8566740B2 (en) * 2010-12-03 2013-10-22 Salesforce.Com, Inc. Interactive data forecasting features for a graphical user interface
US20130167072A1 (en) * 2011-12-22 2013-06-27 Sap Portals Israel Ltd. Smart and Flexible Layout Context Manager
US20150193492A1 (en) * 2012-11-08 2015-07-09 Google Inc. Editing sub-section of an electronic document via notification message
US9558171B2 (en) * 2014-09-17 2017-01-31 Sap Se Formatting tables for display on computing devices of varying screen size
US10255263B2 (en) * 2015-05-18 2019-04-09 Workiva Inc. Data storage and retrieval system and method for storing cell coordinates in a computer memory
CN105335485A (zh) * 2015-10-15 2016-02-17 桂林电子科技大学 一种网页加载方法及网页加载装置
US10031906B2 (en) * 2015-11-02 2018-07-24 Microsoft Technology Licensing, Llc Images and additional data associated with cells in spreadsheets
US10229103B2 (en) * 2016-08-25 2019-03-12 Oracle International Corporation Data grid components
US10896192B2 (en) * 2016-09-08 2021-01-19 Salesforce.Com, Inc. Allowing in-line edit to data table of linked data of a data store
US10216494B2 (en) * 2016-12-03 2019-02-26 Thomas STACHURA Spreadsheet-based software application development
US10540153B2 (en) * 2016-12-03 2020-01-21 Thomas STACHURA Spreadsheet-based software application development

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164401A (zh) * 2011-12-08 2013-06-19 航天信息软件技术有限公司 页面表格显示方法
CN102841791A (zh) * 2012-07-12 2012-12-26 上海高洁信息科技股份有限公司 在线表单的生成方法及系统
US20150261770A1 (en) * 2012-11-29 2015-09-17 Tencent Technology (Shenzhen) Company Limited Page loading method and system, and computer-readable storage medium
CN105739962A (zh) * 2014-12-12 2016-07-06 金蝶软件(中国)有限公司 基于html的表格单元格编辑器控件扩展方法和系统

Also Published As

Publication number Publication date
SG11201903206PA (en) 2019-05-30
CN108804483A (zh) 2018-11-13
US20190228062A1 (en) 2019-07-25
CN108804483B (zh) 2020-01-07

Similar Documents

Publication Publication Date Title
WO2018201773A1 (zh) 单元格页面的渲染方法、装置、服务器和可读存储介质
WO2017039337A1 (en) Method and device of tagging links included in a screenshot of webpage
WO2016186463A1 (en) Method for launching a second application using a first application icon in an electronic device
WO2018048118A1 (en) Server and method for controlling external device
WO2018076865A1 (zh) 数据分享方法、装置、存储介质及电子设备
WO2019019350A1 (zh) 开户页面的生成方法、装置、设备及计算机可读存储介质
WO2018082484A1 (zh) 一种电子设备的截屏方法、系统及电子设备
WO2019165691A1 (zh) 自动生成测试案例的方法、装置、设备及可读存储介质
WO2017111312A1 (en) Electronic device and method of managing application programs thereof
WO2013125863A1 (en) Method and device for generating captured image for display windows
WO2020147385A1 (zh) 数据录入方法、装置、终端及计算机可读存储介质
WO2016114609A1 (en) Electronic device and method of processing information in electronic device
WO2017007217A1 (en) Method for displaying web content and electronic device supporting the same
WO2013078899A1 (zh) 一种基于手机的软件处理方法及手机
WO2015020417A1 (en) Method for displaying and an electronic device thereof
WO2018076841A1 (zh) 数据分享方法、装置、存储介质及服务器
WO2020177376A1 (zh) 数据的提取方法、装置、终端及计算机可读存储介质
WO2020052247A1 (zh) 网络资源批量加载方法、智能电视、存储介质及装置
WO2012119494A1 (zh) 动态调整桌面布局的方法及系统、计算机存储介质
WO2020087981A1 (zh) 风控审核模型生成方法、装置、设备及可读存储介质
WO2020199599A1 (zh) 工作队列的信息展示方法、装置、计算机设备和存储介质
WO2019059671A1 (en) ELECTRONIC DEVICE AND ITS CONTROL METHOD
WO2020168606A1 (zh) 广告视频优化方法、装置、设备及计算机可读存储介质
WO2021012481A1 (zh) 系统性能监控方法、装置、设备及存储介质
WO2017022988A1 (en) Network apparatus, server, and control methods thereof

Legal Events

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

Ref document number: 18795067

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

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 19/05/2020)