CN110069302A - Page configuration method, apparatus, computer equipment and storage medium - Google Patents

Page configuration method, apparatus, computer equipment and storage medium Download PDF

Info

Publication number
CN110069302A
CN110069302A CN201910198281.9A CN201910198281A CN110069302A CN 110069302 A CN110069302 A CN 110069302A CN 201910198281 A CN201910198281 A CN 201910198281A CN 110069302 A CN110069302 A CN 110069302A
Authority
CN
China
Prior art keywords
page
configuration
target user
virtual
page configuration
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.)
Pending
Application number
CN201910198281.9A
Other languages
Chinese (zh)
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 Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201910198281.9A priority Critical patent/CN110069302A/en
Publication of CN110069302A publication Critical patent/CN110069302A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of page configuration method, apparatus, computer equipment and storage medium, method includes: the configuration-direct for receiving target user's page that terminal is sent, and has the corresponding page iden-tity of target user's page in the configuration-direct;Target user's page is obtained according to the page iden-tity, and generates the virtual page number consistent with target user's page;Page configuration operation is executed in the virtual page number and the page configuration is operated into corresponding configuration content matching into target user's page, to complete page configuration.After the present invention is by the execution page configuration operation in virtual page number, the page configuration is operated into corresponding configuration content matching into target user's page again, it avoids causing the content of data structure and display on target user's page to change due to carrying out and omitting because modifying in configuration process or modify and generate mistake, reduces the risk of error;Realize data handling procedure optimization when page development.

Description

Page configuration method, apparatus, computer equipment and storage medium
Technical field
The present invention relates to technical field of data processing, specifically, the present invention relates to a kind of page configuration method, apparatus, Computer equipment and storage medium.
Background technique
The page often generates various and various kinds derivative data during constantly developing according to different scenes, this So that the page generally requires to configure initial page accordingly according to derivative data in exploitation.However, to initial page Face need often changing the initial data in initial page in configuration process, and needs to modify multiple files, past in this way Toward easy omission or mistake is generated, the content so as to cause data structure and display on User Page changes, increases out Wrong risk.
Summary of the invention
The purpose of the present invention aims to solve at least one of above-mentioned technological deficiency, especially configured to initial page Cheng Zhong needs often to change the initial data in initial page, and needs to modify multiple files, tend to omit in this way or Mistake is generated, the content so as to cause data structure and display on User Page changes, and increases the skill of the risk of error Art defect.
In order to solve the above technical problems, the present invention provides a kind of page configuration methods, comprising the following steps:
The configuration-direct for target user's page that terminal is sent is received, there is target user's page in the configuration-direct The corresponding page iden-tity in face;
Target user's page is obtained according to the page iden-tity, and is generated consistent with target user's page Virtual page number;
Page configuration operation is executed in the virtual page number and the page configuration is operated into corresponding configuration content It is fitted in target user's page, to complete page configuration.
Optionally, target user's page is obtained according to the page iden-tity, and generated and target user's page In the step of consistent virtual page number, further includes:
Parsing is carried out to target user's page and generates DOM node tree;
The virtual DOM consistent with the DOM node tree is created in the corresponding document memory of target user's page Node tree, to form the virtual page number consistent with target user's page.
Optionally, it is created in the corresponding document memory of target user's page consistent with the DOM node tree Virtual DOM node tree, in the step of the formation virtual page number consistent with target user's page, the virtual DOM section Point tree includes document node, node element, text node, attribute node and the comment nodes of target user's page.
Optionally, page configuration operation is executed in the virtual page number and the page configuration is operated into corresponding configuration Content matching is into target user's page, the step of to complete page configuration, further includes:
Obtain the page configuration data of target user's page;
It detects in the virtual page number with the presence or absence of the first configuration block corresponding with the page configuration data;
When there is the first configuration block corresponding with the page configuration data in the virtual page number, the page is matched Data configuration is set into the first configuration block of the virtual page number, executes page configuration behaviour in the virtual page number to realize Make.
Optionally, detect in the virtual page number with the presence or absence of the first configuration block corresponding with the page configuration data it Afterwards, further includes:
When not there is no the first configuration block corresponding with the page configuration data in the virtual page number, described virtual Increase the second configuration block to match with the page configuration data in the page newly, and by the page configuration data configuration to second In configuration block, page configuration operation is executed in the virtual page number to realize.
Optionally, page configuration operation is executed in the virtual page number and the page configuration is operated into corresponding configuration Content matching is into target user's page, the step of to complete page configuration, further includes:
Confirm whether the page configuration operation has executed completion;
When confirming that the page configuration operation has executed completion, the page configuration is operated into corresponding configuration content It is fitted in target user's page, to complete page configuration.
In order to solve the above technical problems, the present invention also provides a kind of page configuration devices, comprising:
Receiving module has in the configuration-direct for receiving the configuration-direct for target user's page that terminal is sent The corresponding page iden-tity of target user's page;
Processing module for obtaining target user's page according to the page iden-tity, and is generated and is used with the target The consistent virtual page number of the family page;
Execution module is corresponded to for executing page configuration operation in the virtual page number and operating the page configuration Configuration content matching into target user's page, to complete page configuration.
Optionally, the page configuration device further include:
First analyzing sub-module generates DOM node tree for carrying out parsing to target user's page;
First creation submodule, for the creation in the corresponding document memory of target user's page and DOM section Point sets consistent virtual DOM node tree, to form the virtual page number consistent with target user's page.
Optionally, in the page configuration device, further includes:
The virtual DOM node tree includes the document node of target user's page, node element, text node, category Property node and comment nodes.
Optionally, the page configuration device further include:
First acquisition submodule, for obtaining the page configuration data of target user's page;
First detection sub-module, for detecting in the virtual page number with the presence or absence of corresponding with the page configuration data First configuration block;
First implementation sub-module is matched for working as in the virtual page number in the presence of corresponding with the page configuration data first When setting block, by the first configuration block of the page configuration data configuration to the virtual page number, to realize in the virtual page Page configuration operation is executed in face.
Optionally, the page configuration device further include:
Second implementation sub-module, for not existing in the virtual page number and the page configuration data corresponding first When configuration block, the second configuration block to match with the page configuration data is increased newly in the virtual page number, and by the page Face configuration data is configured in the second configuration block, and page configuration operation is executed in the virtual page number to realize.
Optionally, the page configuration device further include:
First confirmation submodule, for confirming whether the page configuration operation has executed completion;
First matched sub-block, for when confirming that page configuration operation has executed completion, by the page configuration Corresponding configuration content matching is operated into target user's page, to complete page configuration.
In order to solve the above technical problems, the present invention also provides a kind of computer equipment, including memory and processor, it is described Computer-readable instruction is stored in memory, when the computer-readable instruction is executed by the processor, so that the place Manage the step of device executes above-mentioned page configuration method.
In order to solve the above technical problems, the present invention also provides a kind of storage medium for being stored with computer-readable instruction, institute When stating computer-readable instruction and being executed by one or more processors, so that one or more processors execute above-mentioned page configuration The step of method.
The beneficial effects of the present invention are:
The present invention by receive terminal transmission target user's page configuration-direct when, according to the configuration-direct In the corresponding page iden-tity of target user's page obtain target user's page, and generate and target user's page phase Then consistent virtual page number executes page configuration operation in the virtual page number and the page configuration is operated corresponding match Content matching is set into target user's page, to complete page configuration.By executing page configuration behaviour in virtual page number Make and then the page configuration is operated into corresponding configuration content matching into target user's page, avoids to mesh It marks in User Page progress configuration process because modification is omitted or modifies the data knot caused on target user's page due to generation is wrong Structure and the content of display change, and reduce the risk of error;Influence user's operation is avoided, user experience is promoted;Optimization Data handling procedure when page development.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the basic skills flow diagram of page configuration method provided in an embodiment of the present invention;
Fig. 2 is that the void consistent with target user's page is generated in page configuration method provided in an embodiment of the present invention A kind of method flow schematic diagram of the quasi- page;
Fig. 3 is when executing page configuration operation in page configuration method provided in an embodiment of the present invention in virtual page number A kind of method flow schematic diagram;
Fig. 4 is that page configuration is operated corresponding configuration content matching in page configuration method provided in an embodiment of the present invention To a kind of method flow schematic diagram of target user's page;
Fig. 5 is page configuration device basic structure block diagram provided in an embodiment of the present invention;
Fig. 6 is computer equipment basic structure block diagram provided in an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its Sequence is executed or is executed parallel, and the serial number of the operation is only used for distinguishing each different operation, serial number not generation itself Table it is any execute sequence.In addition, these processes may include more or fewer operations, and these operations can be in order It executes or executes parallel.It should be noted that the description such as herein " first ", " second ", be for distinguish different message, Equipment, module etc. do not represent sequencing, also do not limit " first " and " second " and are different type.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those skilled in the art's every other embodiment obtained under the premise of no creative work, It shall fall within the protection scope of the present invention.
Embodiment
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and emitting hardware Equipment, have on bidirectional communication link, can execute two-way communication reception and emit hardware equipment.This equipment It may include: honeycomb or other communication equipments, shown with single line display or multi-line display or without multi-line The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), can With combine voice, data processing, fax and/or communication ability;PDA (Personal Digital Assistant, it is personal Digital assistants), it may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day It goes through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its His equipment." terminal " used herein above, " terminal device " can be it is portable, can transport, be mounted on the vehicles (aviation, Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or mobile phone with music/video playing function, it is also possible to the equipment such as smart television, set-top box.
The user terminal referred in the present embodiment is above-mentioned terminal.
Referring to Fig. 1, Fig. 1 is the basic skills flow diagram of page configuration method provided in an embodiment of the present invention.
As shown in Figure 1, the page configuration method, comprising the following steps:
S100: the configuration-direct for target user's page that terminal is sent is received, there is the target in the configuration-direct The corresponding page iden-tity of User Page.
The page can generate various derivative datas during being developed according to different scenes, this makes the page In exploitation, generally require to carry out corresponding page configuration to initial page according to derivative data, configuration generates new user page Face is to adapt to a variety of different derivative datas.In the present embodiment, terminal is by monitoring the evolution process of User Page, and judges Whether derivative data is generated in the evolution process, when terminal monitoring generates derivative data to a User Page, the user The page can be then target user's page by the terminal label, and be matched by terminal generation target user's page is corresponding Instruction is set, to send the configuration-direct to its corresponding background server end.Moreover, in the terminal, each User Page A unique page iden-tity is all had, is provided with mapping relations between the corresponding User Page of the page iden-tity.Institute State terminal incidentally the corresponding page iden-tity of upper target user's page can be sent to backstage clothes when sending configuration-direct together Business device end.The page iden-tity is the unique identification of target user's page, is identified for supplying background server end With acquisition target user's page.
S200: target user's page is obtained according to the page iden-tity, and is generated and target user's page phase Consistent virtual page number.
Virtual page number is the new virtual mirror image of user's parent page, and function and user's parent page are just the same, can Independent operation, displaying save data, and will not have an impact to user's parent page.In the present embodiment, work as background service After device termination receives the configuration-direct of target user's page of terminal transmission, the mesh is obtained by parsing the configuration-direct The corresponding page iden-tity of User Page is marked, and the User Page in the terminal is traversed according to the page iden-tity, so that described It identifies target user's page corresponding with the page iden-tity in the terminal and obtains the target use in background server end The family page, further according to the hierarchical relationship between the page node and page node and page node in target user's page Generate a virtual page number consistent with target user's page.
S300: executing page configuration operation in the virtual page number and operates the page configuration in corresponding configuration Appearance is matched in target user's page, to complete page configuration.
In the present embodiment, virtual page number is present in the document memory of target user's page described in the terminal storage simultaneously It is associated with target user's page, after terminal monitoring to the User Page generates derivative data, by the backstage Server end obtains the derivative data, and according to the affiliated derivative data acquired in the virtual page number described in composition The configuration block of target user's page carries out the operations such as data increase, data modification or data are deleted, and in the background service After device end executes the corresponding all page configurations operations of completion target user's page, the page configuration is operated and is corresponded to Configuration content matching into target user's page, to complete page configuration.
Page configuration method described in above-described embodiment passes through the configuration in the target user's page for receiving terminal transmission When instruction, target user's page is obtained according to the corresponding page iden-tity of target user's page in the configuration-direct, and The virtual page number consistent with target user's page is generated, page configuration operation is then executed in the virtual page number simultaneously The page configuration is operated into corresponding configuration content matching into target user's page, to complete page configuration.By Page configuration operation is executed in virtual page number and then the page configuration is operated into corresponding configuration content matching to the target In User Page, avoids and target user's page cause due to modification is omitted or modification generates mistake in configuration process The content of data structure and display on target user's page changes, and reduces the risk of error;Avoiding influences user Operation promotes user experience;Optimize data handling procedure when page development.
In some embodiments, referring to Fig. 2, Fig. 2 be page configuration method provided in an embodiment of the present invention in generate with A kind of method flow schematic diagram of the consistent virtual page number of target user's page.
As shown in Fig. 2, the step S200 further includes step S210 to S220.It is specific as follows:
S210: parsing is carried out to target user's page and generates DOM node tree.
Document dbject model (DocumentObjectModel, abbreviation DOM) is the standard for handling extensible markup language Programming interface, can by it is a kind of independently of platform and language in a manner of access and modify the content and structure of a document.At this In embodiment, the background server end is obtained by the way that the corresponding XML file of target user's page is carried out load parsing All nodes of the XML file are constituted, and these nodes are stored into the document memory of the XML file.According to storage To the node in the document memory, a DOM section corresponding with the XML file structure is generated in the document memory Point tree, is embodied in the form of tree construction by by the mutual descendants's relationship of all nodes in target user's page.Wherein, XML is extensible markup language (Extensible Markup Language, XML) abbreviation, for marking electronic document to make it With structural markup language, flag data can be used to, define data type, be a kind of label for allowing user to oneself The original language that language is defined.XML provides unified method to describe and exchange independently of application program or supplier Structural data.
S220: the void consistent with the DOM node tree is created in the corresponding document memory of target user's page Quasi- DOM node tree, to form the virtual page number consistent with target user's page.
After the background server end, which parses the corresponding XML file of target user's page, obtains DOM node tree, DOM node is cloned by modes such as cloneNode grammers in the document memory for storing the DOM node tree, with creation One virtual DOM node tree consistent with the DOM node tree, according to the virtual DOM node tree in institute's written matter memory It is middle to form the virtual page number consistent with target user's page.In some embodiments, when cloning DOM node, including Clone all nodes such as document node, node element, text node, attribute node and the comment nodes in the XML file.
In some embodiments, referring to Fig. 3, Fig. 3 is in page configuration method provided in an embodiment of the present invention virtual A kind of method flow schematic diagram when page configuration operation is executed in the page.
As shown in figure 3, the step S300 can also include S310 to S330.Wherein, S310: the target user is obtained The page configuration data of the page;S320: it detects in the virtual page number with the presence or absence of corresponding with the page configuration data the One configuration block;S330:, will be described when there is the first configuration block corresponding with the page configuration data in the virtual page number Page configuration data configuration is into the first configuration block of the virtual page number, to realize that executing the page in the virtual page number matches Set operation.
It in the present embodiment, can be to the background service when terminal monitoring to one User Page generates derivative data Device end sends the configuration-direct of the User Page, described in the background server end also receives while receiving configuration-direct The derivative data that terminal monitoring arrives obtains the configuration number of target user's page according to the content of the derivative data and type According to.For example, the derivative data is the pixel data of an image in certain User Page, the background server end passes through algorithm The modes such as calculating acquire target user's page and can adapt to the page configuration data of the derivative pixel data.It is obtaining It is described by whether there is in the virtual page number according to the type detection of the derivative data after obtaining page configuration data Corresponding first configuration block of page configuration data, such as the derivative data that is herein are the pixel data of image, then herein One configuration block is that pixel shows configuration block.When detect in the virtual page number exist it is corresponding with the page configuration data When the first configuration block, by the first configuration block of the page configuration data configuration to the virtual page number, to realize described Page configuration operation is executed in virtual page number.
In some embodiments, when not presence the first configuration corresponding with the page configuration data in the virtual page number It, can also be by increasing the second configuration block to match with the page configuration data newly in the virtual page number when block, and incite somebody to action The page configuration data configuration executes page configuration operation into the second configuration block, to realize in the virtual page number, from And target user's page is made to can adapt to the derivative data that the page generates in evolution process.
In some embodiments, referring to Fig. 4, Fig. 4 is in page configuration method provided in an embodiment of the present invention by the page A kind of method flow schematic diagram of the corresponding configuration content matching of configuration operation to target user's page.
As shown in figure 4, the step S300 can also include S340 to S350.Wherein, S340: confirm the page configuration Whether operation has executed completion;S350: when confirming that the page configuration operation has executed completion, the page configuration is operated Corresponding configuration content matching is into target user's page, to complete page configuration.
It is understood that a derivative data may need to configure multiple page configuration data to adapt to, at this point, described Background server end is needing to confirm that all page configuration data are all configured in its corresponding position, can just make confirmation institute State the judgement that page configuration operation has executed completion.In the present embodiment, page configuration data can also be all configured to it In corresponding configuration block and confirm that the page configuration operation has executed completion and then operated the page configuration corresponding Content matching is configured into target user's page, to complete the configuration of the page.Wherein, confirming the page configuration operation is It is not no when having executed completion, catalogue can be executed by setting, the configuration block configured be enumerated in the execution catalogue In and show red light, only just red light is turned when the page configuration data all properly configure in corresponding configuration block It is shown for green light, to prompt the page configuration operation to execute completion.
The embodiment of the present invention also provides a kind of page configuration device to solve above-mentioned technical problem.Referring specifically to Fig. 5, figure 5 be page configuration device basic structure block diagram provided in an embodiment of the present invention.
As shown in figure 5, a kind of page configuration device, comprising: receiving module, processing module and execution module.Wherein, institute The configuration-direct of the target user page of the receiving module for receiving terminal transmission is stated, there is the target in the configuration-direct The corresponding page iden-tity of User Page;The processing module is used to obtain target user's page according to the page iden-tity, And generate the virtual page number consistent with target user's page;The execution module in the virtual page number for executing The page configuration is simultaneously operated corresponding configuration content matching into target user's page by page configuration operation, to complete Page configuration.
Page configuration device described in above-described embodiment passes through the configuration in the target user's page for receiving terminal transmission When instruction, target user's page is obtained according to the corresponding page iden-tity of target user's page in the configuration-direct, and The virtual page number consistent with target user's page is generated, page configuration operation is then executed in the virtual page number simultaneously The page configuration is operated into corresponding configuration content matching into target user's page, to complete page configuration.By Page configuration operation is executed in virtual page number and then the page configuration is operated into corresponding configuration content matching to the target In User Page, avoids and target user's page cause due to modification is omitted or modification generates mistake in configuration process The content of data structure and display on target user's page changes, and reduces the risk of error;Avoiding influences user Operation promotes user experience;Optimize data handling procedure when page development.
In some embodiments, the page configuration device further include: the first analyzing sub-module and the first creation submodule. Wherein, first analyzing sub-module is used to carry out target user's page parsing to generate DOM node tree;First wound Submodule is built, for creating the void consistent with the DOM node tree in the corresponding document memory of target user's page Quasi- DOM node tree, to form the virtual page number consistent with target user's page.
In some embodiments, the virtual DOM node tree in the page configuration device includes the target user Document node, node element, text node, attribute node and the comment nodes of the page.
In some embodiments, the page configuration device further include: the first acquisition submodule, the first detection sub-module and First implementation sub-module.Wherein, first acquisition submodule is used to obtain the page configuration data of target user's page; First detection sub-module whether there is and the page configuration data corresponding first for detecting in the virtual page number Configuration block;First implementation sub-module is used to existing in the virtual page number and the page configuration data corresponding first When configuration block, by the first configuration block of the page configuration data configuration to the virtual page number, to realize described virtual Page configuration operation is executed in the page.
In some embodiments, the page configuration device further include: the second implementation sub-module.Described second executes submodule Block is used for when not there is no the first configuration block corresponding with the page configuration data in the virtual page number, in the virtual page It increases the second configuration block to match with the page configuration data in face newly, and the page configuration data configuration is matched to second It sets in block, executes page configuration operation in the virtual page number to realize.
In some embodiments, the page configuration device further include: the first confirmation submodule and the first matched sub-block. Wherein, the first confirmation submodule is for confirming whether the page configuration operation has executed completion;First matching Module is used to that the page configuration to be operated corresponding configuration content when confirming that the page configuration operation has executed completion It is fitted in target user's page, to complete page configuration.
In order to solve the above technical problems, the embodiment of the invention also provides a kind of computer equipments.Referring specifically to Fig. 6, Fig. 6 is computer equipment basic structure block diagram provided in an embodiment of the present invention.
As shown in fig. 6, the schematic diagram of internal structure of computer equipment.As shown in fig. 6, the computer equipment includes passing through to be Processor, non-volatile memory medium, memory and the network interface of bus of uniting connection.Wherein, the computer equipment is non-easy The property lost storage medium is stored with operating system, database and computer-readable instruction, can be stored with control information sequence in database Column, when which is executed by processor, may make processor to realize a kind of page configuration method.The computer is set Standby processor supports the operation of entire computer equipment for providing calculating and control ability.The storage of the computer equipment It can be stored with computer-readable instruction in device, when which is executed by processor, processor may make to execute one Kind page configuration method.The network interface of the computer equipment is used for and terminal connection communication.Those skilled in the art can manage Solution, structure shown in Fig. 6, only the block diagram of part-structure relevant to application scheme, is not constituted to the application side The restriction for the computer equipment that case is applied thereon, specific computer equipment may include more more or less than as shown in the figure Component, perhaps combine certain components or with different component layouts.
In the present embodiment, the processor is for executing receiving module 10 in Fig. 5, processing module 20 and execution module 30 Concrete function, and the memory is stored with program code and Various types of data needed for executing above-mentioned module.The network connects Mouth to the data between user terminal or server for transmitting.Memory in the present embodiment is stored in page configuration device Program code needed for executing all submodules and data, server is capable of the program code of invoking server and data execute institute There is the function of submodule.
Computer equipment described in above-described embodiment in the configuration for the target user's page for receiving terminal transmission by referring to When enabling, target user's page is obtained according to the corresponding page iden-tity of target user's page in the configuration-direct, and raw At the virtual page number consistent with target user's page, then in the virtual page number execute page configuration operate and incite somebody to action The page configuration operates corresponding configuration content matching into target user's page, to complete page configuration.By in void Page configuration operation is executed in the quasi- page and then the page configuration is operated into corresponding configuration content matching uses to the target In the page of family, avoids and target user's page is being carried out to lead to mesh due to modification is omitted or modification generates mistake in configuration process The content of data structure and display on mark User Page changes, and reduces the risk of error;Avoiding influences user behaviour Make, promotes user experience;Optimize data handling procedure when page development.
The present invention also provides a kind of storage mediums for being stored with computer-readable instruction, and the computer-readable instruction is by one When a or multiple processors execute, so that one or more processors execute page configuration method described in any of the above-described embodiment Step.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, which can be stored in a computer-readable storage and be situated between In matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be The non-volatile memory mediums such as magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random storage note Recall body (Random Access Memory, RAM) etc..
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of page configuration method, which comprises the following steps:
The configuration-direct for target user's page that terminal is sent is received, there is target user's page pair in the configuration-direct The page iden-tity answered;
Target user's page is obtained according to the page iden-tity, and is generated consistent with target user's page virtual The page;
Page configuration operation is executed in the virtual page number and the page configuration is operated into corresponding configuration content matching arrives In target user's page, to complete page configuration.
2. page configuration method according to claim 1, which is characterized in that obtain the target according to the page iden-tity User Page, and in the step of generating the virtual page number consistent with target user's page, further includes:
Parsing is carried out to target user's page and generates DOM node tree;
The virtual DOM node consistent with the DOM node tree is created in the corresponding document memory of target user's page Tree, to form the virtual page number consistent with target user's page.
3. page configuration method according to claim 2, which is characterized in that in the corresponding file of target user's page The virtual DOM node tree consistent with the DOM node tree is created in memory, it is consistent with target user's page to be formed Virtual page number the step of in, the virtual DOM node tree include document node, node element, text node, attribute node and Comment nodes.
4. page configuration method according to claim 1, which is characterized in that execute page configuration in the virtual page number It operates and the page configuration is operated into corresponding configuration content matching into target user's page, to complete page configuration The step of, further includes:
Obtain the page configuration data of target user's page;
It detects in the virtual page number with the presence or absence of the first configuration block corresponding with the page configuration data;
When there is the first configuration block corresponding with the page configuration data in the virtual page number, by the page configuration number According in the first configuration block for being configured to the virtual page number, page configuration operation is executed in the virtual page number to realize.
5. page configuration method according to claim 4, which is characterized in that detect in the virtual page number with the presence or absence of with After corresponding first configuration block of the page configuration data, further includes:
When not there is no the first configuration block corresponding with the page configuration data in the virtual page number, in the virtual page number In increase the second configuration block to match with the page configuration data newly, and by the page configuration data configuration to the second configuration In block, page configuration operation is executed in the virtual page number to realize.
6. according to page configuration method described in claim 4 or 5 any one, which is characterized in that in the virtual page number It executes page configuration operation and the page configuration is operated into corresponding configuration content matching into target user's page, with The step of completing page configuration, further includes:
Confirm whether the page configuration operation has executed completion;
When confirming that the page configuration operation has executed completion, the page configuration is operated into corresponding configuration content matching and is arrived In target user's page, to complete page configuration.
7. a kind of page configuration device characterized by comprising
Receiving module has described for receiving the configuration-direct for target user's page that terminal is sent in the configuration-direct The corresponding page iden-tity of target user's page;
Processing module for obtaining target user's page according to the page iden-tity, and generates and target user's page The consistent virtual page number in face;
Execution module, for executing page configuration operation in the virtual page number and the page configuration being operated corresponding match Content matching is set into target user's page, to complete page configuration.
8. page configuration device according to claim 7, which is characterized in that the device further include:
First analyzing sub-module generates DOM node tree for carrying out parsing to target user's page;
First creation submodule, for the creation in the corresponding document memory of target user's page and the DOM node tree Consistent virtual DOM node tree, to form the virtual page number consistent with target user's page.
9. a kind of electronic equipment, including memory and processor, computer-readable instruction, the meter are stored in the memory When calculation machine readable instruction is executed by the processor, so that the processor executes described in 1 to 6 any one of the claims Page configuration method.
10. a kind of storage medium for being stored with computer-readable instruction, the computer-readable instruction is handled by one or more When device executes, so that one or more processors execute the page described in any one of the claims 1 to 6 claim Configuration method.
CN201910198281.9A 2019-03-15 2019-03-15 Page configuration method, apparatus, computer equipment and storage medium Pending CN110069302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910198281.9A CN110069302A (en) 2019-03-15 2019-03-15 Page configuration method, apparatus, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910198281.9A CN110069302A (en) 2019-03-15 2019-03-15 Page configuration method, apparatus, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110069302A true CN110069302A (en) 2019-07-30

Family

ID=67366200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910198281.9A Pending CN110069302A (en) 2019-03-15 2019-03-15 Page configuration method, apparatus, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110069302A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750683A (en) * 2019-09-20 2020-02-04 平安普惠企业管理有限公司 Data modification method and device, computer equipment and storage medium
CN112035768A (en) * 2020-08-27 2020-12-04 深圳市欢太科技有限公司 Page rendering method and device for fast application, storage medium and electronic equipment
CN113596527A (en) * 2020-04-30 2021-11-02 西安诺瓦星云科技股份有限公司 Program distribution method, device and system and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110320714A1 (en) * 2010-04-27 2011-12-29 Hitachi, Ltd. Mainframe storage apparatus that utilizes thin provisioning
CN102833212A (en) * 2011-06-14 2012-12-19 阿里巴巴集团控股有限公司 Webpage visitor identity identification method and system
US20120331261A1 (en) * 2011-06-21 2012-12-27 International Business Machines Corporation Point-in-Time Copying of Virtual Storage
CN104112002A (en) * 2014-07-14 2014-10-22 福建星网锐捷网络有限公司 Form adaption method, device and system
CN104133686A (en) * 2014-08-06 2014-11-05 浪潮通用软件有限公司 WEB interface establishing method capable of achieving quick modularization configuration
CN106104602A (en) * 2016-06-22 2016-11-09 北京小米移动软件有限公司 Card display packing and device
CN107291449A (en) * 2017-05-22 2017-10-24 北京奇艺世纪科技有限公司 A kind of page rendering method, device and equipment
CN108519903A (en) * 2018-04-09 2018-09-11 平安普惠企业管理有限公司 Static resource adaptation method, device, computer equipment and storage medium
CN108874856A (en) * 2018-04-09 2018-11-23 厦门欣旅通科技有限公司 A kind of page generates system, method and server

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110320714A1 (en) * 2010-04-27 2011-12-29 Hitachi, Ltd. Mainframe storage apparatus that utilizes thin provisioning
CN102833212A (en) * 2011-06-14 2012-12-19 阿里巴巴集团控股有限公司 Webpage visitor identity identification method and system
US20120331261A1 (en) * 2011-06-21 2012-12-27 International Business Machines Corporation Point-in-Time Copying of Virtual Storage
CN104112002A (en) * 2014-07-14 2014-10-22 福建星网锐捷网络有限公司 Form adaption method, device and system
CN104133686A (en) * 2014-08-06 2014-11-05 浪潮通用软件有限公司 WEB interface establishing method capable of achieving quick modularization configuration
CN106104602A (en) * 2016-06-22 2016-11-09 北京小米移动软件有限公司 Card display packing and device
CN107291449A (en) * 2017-05-22 2017-10-24 北京奇艺世纪科技有限公司 A kind of page rendering method, device and equipment
CN108519903A (en) * 2018-04-09 2018-09-11 平安普惠企业管理有限公司 Static resource adaptation method, device, computer equipment and storage medium
CN108874856A (en) * 2018-04-09 2018-11-23 厦门欣旅通科技有限公司 A kind of page generates system, method and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750683A (en) * 2019-09-20 2020-02-04 平安普惠企业管理有限公司 Data modification method and device, computer equipment and storage medium
CN113596527A (en) * 2020-04-30 2021-11-02 西安诺瓦星云科技股份有限公司 Program distribution method, device and system and computer readable storage medium
CN112035768A (en) * 2020-08-27 2020-12-04 深圳市欢太科技有限公司 Page rendering method and device for fast application, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN110069302A (en) Page configuration method, apparatus, computer equipment and storage medium
CN102426519B (en) Linked data-based multiplexing method of business process execution language (BPEL) templates and services, and system thereof
CN101123750B (en) Apparatus and associated method for facilitating background processing of push content
CN110058897A (en) Page operation control method, device, computer equipment and storage medium
CN111460474B (en) Method, device, memory and computer for implementing decentralization predictor
CN110049059A (en) A kind of outer net equipment and Intranet communication between devices method and relevant apparatus
CN110096685A (en) A kind of device identification generation method and device
CN105468707A (en) Cache-based data processing method and device
US20070206442A1 (en) Method of updating daylight saving time information in wireless terminal
CN100492360C (en) Method and system for webpage generation
CN103383691A (en) Webpage online editing method and device
US20020116540A1 (en) Mobile agent transfer system, method and program for portable devices
US8839195B2 (en) Method, system and terminal for locating
CN107733974A (en) A kind of upgrade method of mobile terminal
CN111158777B (en) Component calling method, device and computer readable storage medium
CN102523271B (en) Terminal and communication method and system thereof
US7805524B2 (en) Display control apparatus, display control program and display control method
CN110750683A (en) Data modification method and device, computer equipment and storage medium
CN109918099A (en) Service routine dissemination method, device, computer equipment and storage medium
CN113791984B (en) Automatic interface testing method and device
US20070136435A1 (en) Path-token-based web service caching method
CN112241276B (en) Equipment upgrading method and device
CN106487851A (en) Web wrapper information transferring method, apparatus and system
CN113515300B (en) Code viewing method, device, electronic equipment and storage medium
JP2002208899A (en) Data broadcast system and data broadcast reception device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination