CN107766106A - The method and apparatus for generating configuration file - Google Patents

The method and apparatus for generating configuration file Download PDF

Info

Publication number
CN107766106A
CN107766106A CN201711267362.7A CN201711267362A CN107766106A CN 107766106 A CN107766106 A CN 107766106A CN 201711267362 A CN201711267362 A CN 201711267362A CN 107766106 A CN107766106 A CN 107766106A
Authority
CN
China
Prior art keywords
information
user
operation information
configuration file
page
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.)
Granted
Application number
CN201711267362.7A
Other languages
Chinese (zh)
Other versions
CN107766106B (en
Inventor
潘征
张博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201711267362.7A priority Critical patent/CN107766106B/en
Publication of CN107766106A publication Critical patent/CN107766106A/en
Application granted granted Critical
Publication of CN107766106B publication Critical patent/CN107766106B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The method and apparatus that the embodiment of the present application discloses generation configuration file.One embodiment of this method includes:Enter the predetermined registration operation of edlin to target pages element in response to receiving instruction, show the editing interface of the target pages element, the editing interface includes to be selected, at least one user's operation information, and the behavioural information of triggered page behavior is operated including the user indicated by the user's operation information in be selected, at least one user's operation information;It is determined that targeted customer's operation information selected by the selection operation carried out to the user's operation information at least one user's operation information;It is determined that the goal behavior information selected by the selection operation carried out to the behavioural information in each behavioural information;Based on targeted customer's operation information and the goal behavior information, the configuration file of the target pages element is generated.The embodiment of the present application can improve the efficiency of the configuration file of generation page elements by selecting user's operation information and behavioural information.

Description

The method and apparatus for generating configuration file
Technical field
The invention relates to field of computer technology, and in particular to Internet technical field, more particularly to generation are matched somebody with somebody The method and apparatus for putting file.
Background technology
As the page of the rapid development of network technology, including webpage has no longer been simple to be used for text information exhibition The carrier shown.Trigger event (such as clicks on some button, then shows a page elements or play one to produce page behavior Section video) have been widely used in the page.Realized in the prior art usually using manual compiling code the triggering of event with And the generation of behavior.
The content of the invention
The embodiment of the present application proposes the method and apparatus for generating configuration file.
In a first aspect, the embodiment of the present application provides a kind of method for generating configuration file, including:In response to receiving Enter the predetermined registration operation of edlin, the editing interface of shows target pages element, editing interface bag to target pages element to instruction To be selected, at least one user's operation information is included, and including user's operation in be selected, at least one user's operation information User indicated by information operates the behavioural information of triggered page behavior;It is determined that at least one user's operation information Targeted customer's operation information selected by selection operation that user's operation information is carried out;It is determined that to the behavior in each behavioural information The goal behavior information selected by selection operation that information is carried out;It is raw based on targeted customer's operation information and goal behavior information Into the configuration file of target pages element.
In certain embodiments, based on targeted customer's operation information and the goal behavior information, the mesh is generated The configuration file of page elements is marked, including:Determine the corresponding pass of targeted customer's operation information and the goal behavior information System, and generate the configuration file for including identified corresponding relation, wherein, the corresponding relation is characterizing the targeted customer The behavioural information that user indicated by operation information operates triggered page behavior is the goal behavior information.
In certain embodiments, at least one user's operation information arranges in the form of a list;Each behavioural information is to arrange The form arrangement of table.
In certain embodiments, method also includes:In response to being grasped in the region detection where page elements to targeted customer Make user's operation of information instruction, make the page behavior indicated by goal behavior information.
In certain embodiments, method also includes:The initialization information and style information of page elements are obtained, will be initialized Information and style information are added in configuration file.
Second aspect, the embodiment of the present application provide a kind of device for being used to generate configuration file, including:Display unit, It is configured to enter target pages element in response to receiving instruction the predetermined registration operation of edlin, the volume of shows target pages element Editing interface, editing interface include to be selected, at least one user's operation information, and including to be selected, at least one user behaviour Make the behavioural information that the user indicated by the user's operation information in information operates triggered page behavior;First determines list Member, it is configured to determine the mesh to selected by the selection operation of the user's operation information progress at least one user's operation information Mark user's operation information;Second determining unit, it is configured to determine the selection for carrying out the behavioural information in each behavioural information The selected goal behavior information of operation;Generation unit, it is configured to be based on targeted customer's operation information and goal behavior information, Generate the configuration file of target pages element.
In certain embodiments, generation unit is further configured to:Determine targeted customer's operation information and described The corresponding relation of goal behavior information, and the configuration file for including identified corresponding relation is generated, wherein, the corresponding relation The behavioural information that triggered page behavior is operated to characterize the user indicated by targeted customer's operation information is described Goal behavior information.
In certain embodiments, at least one user's operation information arranges in the form of a list;Each behavioural information is to arrange The form arrangement of table.
In certain embodiments, the device also includes:Detection unit, it is configured in response in the area where page elements Domain detects user's operation of targeted customer's operation information instruction, makes the page behavior indicated by goal behavior information.
In certain embodiments, the device also includes:Acquiring unit, it is configured to obtain the initialization information of page elements And style information, initialization information and style information are added in configuration file.
The method and apparatus for the generation configuration file that the embodiment of the present application provides, first, in response to receiving instruction to mesh Mark page elements enter the predetermined registration operation of edlin, the editing interface of shows target pages element, and editing interface includes to be selected, extremely A few user's operation information, and including indicated by the user's operation information in be selected, at least one user's operation information User operate the behavioural information of triggered page behavior.Afterwards, it is determined that to the user at least one user's operation information Targeted customer's operation information selected by selection operation that operation information is carried out.Then, it is determined that to the row in each behavioural information The goal behavior information selected by selection operation carried out for information.Finally, based on targeted customer's operation information and goal behavior Information, generate the configuration file of target pages element.The embodiment of the present application can be by selecting user's operation information and behavior to believe Breath, improve the efficiency of the configuration file of generation page elements.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for the generation configuration file of the application;
Fig. 3 A are the schematic diagrames according to an application scenarios of the method for the generation configuration file of the application;
Fig. 3 B are the schematic diagrames of the editing interface in Fig. 3 A application scenarios;
Fig. 4 is the flow chart according to another embodiment of the method for the generation configuration file of the application;
Fig. 5 is the structural representation according to one embodiment of the device of the generation configuration file of the application;
Fig. 6 is adapted for the structural representation of the computer system of the electronic equipment for realizing the embodiment of the present application.
Embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Be easy to describe, illustrate only in accompanying drawing to about the related part of invention.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the implementation that can be applied the method for the generation configuration file of the application or generate the device of configuration file The exemplary system architecture 100 of example.
As shown in figure 1, system architecture 100 can include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 provide communication link medium.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted with using terminal equipment 101,102,103 by network 104 with server 105, to receive or send out Send message etc..Various client applications, such as page editing software, webpage can be installed on terminal device 101,102,103 Browser application, the application of shopping class, searching class application, JICQ, mailbox client, social platform software etc..
Terminal device 101,102,103 can have display screen and the various electronic equipments of page elements editor, bag Include but be not limited to smart mobile phone, tablet personal computer, E-book reader, pocket computer on knee and desktop computer etc..Eventually End equipment 101,102,103 can by targeted customer's operation information selected by selection operation and goal behavior information processing, Generate the configuration file of target pages element.
Server 105 can be to provide the server of various services, can be communicated with terminal device 101,102,103 Connection.
It should be noted that the embodiment of the present application provided generation configuration file method typically by terminal device 101, 102nd, 103 perform, correspondingly, the device for generating configuration file is generally positioned in terminal device 101,102,103.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realizing need Will, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the flow of one embodiment of the method for generation configuration file according to the application is shown 200.The method of the generation configuration file, comprises the following steps:
Step 201, the predetermined registration operation of edlin, shows target pages are entered to target pages element in response to receiving instruction The editing interface of element.
In the present embodiment, electronic equipment (such as the terminal shown in Fig. 1 of the method operation of configuration file thereon is generated Equipment) can be received by wired connection mode or radio connection instruction the pre- of edlin is entered to target pages element If operation, and respond:Show the editing interface of above-mentioned target pages element.Editing interface includes to be selected, at least one User's operation information, and the user indicated by including the user's operation information in be selected, at least one user's operation information The behavioural information of the triggered page behavior of operation.Predetermined registration operation can be any one operation pre-set, for example click on Or double-click some region specified in interface etc..The predetermined registration operation can pass through above-mentioned electronic equipment by the producer of the page To perform.The page can be the page (such as page of word document) in webpage or some application.Page elements are Form the element of the page, each page elements with it is certain it is regularly arranged, combining just constitutes the page.Target pages element The page elements selected for artificial selected or machine according to logic of propositions.
User's operation information is the information of the operation carried out to instruction user to above-mentioned target pages element, be to The information that family operation is indicated and described.Here user is the user using page elements.For example user's operation can be Clicked on, carry out long-press etc., user's operation information can be " click " or " long-press ".Page behavior is electronics Equipment response user operates the behavior done in the page, is to operate triggering by user.Behavioural information is that page behavior is entered Row represents and the information of description.For example, page behavior can be the page behavior for the picture being directed in " photograph album ", for example hold Row jumps to lower one page, performs and translate into one, do not show or show etc..It can also be the page line for " counter " For, for example shown in the page and add 1, display subtracts 5 or display is reset etc..Correspondingly, behavioural information can " be jumped to next Page ", " translating into one ", " hiding " or " display " etc..Can also be "+1 ", " -5 " or " clearing " etc..
Herein, at least one user's operation information all while can be shown in editing interface.Can also only it show One of those, and hide others.The display mode of each behavioural information is same as above.
It should be noted that electronic equipment here can be not only terminal device or server etc. other electricity Sub- equipment.
Step 202, it is determined that selected by the selection operation carried out to the user's operation information at least one user's operation information The targeted customer's operation information selected.
In the present embodiment, above-mentioned electronic equipment determines to operate letter to the user in above-mentioned at least one user's operation information The user's operation information selected by the selection operation carried out is ceased, and is operated selected user's operation information as targeted customer Information.Specifically, the producer of the page can carry out the selection operation to user's operation information, with extremely in edit page A user's operation information is selected in a few user's operation information.After selection, above-mentioned electronic equipment can then determine mesh Mark user's operation information.Goal user's operation information is selected user's operation information.
Specifically, above-mentioned electronic equipment can detect in the selection region of the user's operation information of above-mentioned editing interface The selection operation of a user's operation information in at least one user's operation information, then respond:By above-mentioned selection A selected user's operation information of operation is defined as targeted customer's operation information.
Step 203, it is determined that to the goal behavior selected by the selection operation of the behavioural information progress in each behavioural information Information.
In the present embodiment, above-mentioned electronic equipment determines the selection operation carried out to the behavioural information in each behavioural information Selected behavioural information, and using selected behavioural information as goal behavior information.Goal behavior information is selected row For information.Specifically, the producer of the page can carry out the selection operation to behavioural information, with each in edit page A behavioural information is selected in behavioural information.After selection, above-mentioned electronic equipment can then determine goal behavior information.Here Each behavioural information be each behavioural information corresponding to each user's operation information at least one user's operation information.
Specifically, above-mentioned electronic equipment can detect pair in the selection region of the behavioural information of above-mentioned editing interface The selection operation of a behavioural information in each behavioural information, then respond:By one selected by above-mentioned selection operation Behavioural information is defined as goal behavior information.
Step 204, based on targeted customer's operation information and goal behavior information, the configuration for generating target pages element is literary Part.
In the present embodiment, above-mentioned electronic equipment targeted customer's operation information and identified target line based on determined by For information, the configuration file of above-mentioned target pages element is generated.It can include realizing that targeted customer operates letter in configuration file The code of the indicated user's operation of breath, the code for realizing the page behavior indicated by goal behavior information can also be included.This Outside, can also include being used to realize as indicated by the user indicated by targeted customer's operation information operates triggering goal behavior information Page behavior logical data, logical data here can also be one section of code.
In practice, user can be set to operate letter each page elements in the page where target pages element in advance The mapping table of the configuration file of breath, behavioural information and page elements.It is determined that during configuration file, target is first determined The mapping table of page elements, just can be in the mapping table using targeted customer's operation information and goal behavior information Find the configuration file of target pages element.In the code that configuration file includes writing in advance.In addition it is also possible in advance For realizing that the code that the user indicated by different user's operation informations operates is packaged, and in advance to realizing different rows Code for the page behavior indicated by information is packaged.It is determined that targeted customer's operation information and goal behavior information it Afterwards, the code for realizing above-mentioned user's operation is found, and finds the code for realizing above-mentioned page behavior.Ultimately produce including finding The configuration file of code.
With continued reference to Fig. 3 A, Fig. 3 A are shown according to one of the application scenarios of the method for the generation configuration file of the present embodiment It is intended to.In Fig. 3 application scenarios, electronic equipment 301 enters the pre- of edlin in response to receiving instruction to the button a in the page If operation, the Show Button a editing interface 302, as shown in Figure 3 B, editing interface 302 includes to be selected, 3 use to editing interface Family operation information, and touched including user's operation indicated by the user's operation information in be selected, 3 user's operation informations The behavioural information of the page behavior of hair;It is determined that the selection operation institute carried out to the user's operation information in 3 user's operation informations The user's operation information 303 of selection:Click on;It is determined that selected by the selection operation carried out to the behavioural information in each behavioural information Behavioural information 304:Translate into one;Based on targeted customer's operation information and goal behavior information, generation button a configuration text Part 305.
The method that above-described embodiment of the application provides improves generation by selecting user's operation information and behavioural information The efficiency of the configuration file of page elements.
With further reference to Fig. 4, it illustrates the flow 400 of another embodiment of the method for generation configuration file.The life Into the flow 400 of the method for configuration file, comprise the following steps:
Step 401, the predetermined registration operation of edlin, shows target pages are entered to target pages element in response to receiving instruction The editing interface of element.
In the present embodiment, electronic equipment (such as the terminal shown in Fig. 1 of the method operation of configuration file thereon is generated Equipment) can be received by wired connection mode or radio connection instruction the pre- of edlin is entered to target pages element If operation, and respond:Show the editing interface of above-mentioned target pages element.Editing interface includes to be selected, at least one User's operation information, and the user indicated by including the user's operation information in be selected, at least one user's operation information The behavioural information of the triggered page behavior of operation.Predetermined registration operation can be any one operation pre-set, for example click on Or double-click some region specified in interface etc..The predetermined registration operation can be performed by the producer of the page.The page can be with It is the page in the application such as webpage or word.Page elements are the element of the composition page, and each page elements are with certain It is regularly arranged, combining just constitutes the page.Target pages element selects for artificial selected or machine according to logic of propositions Fixed page elements.
In some optional implementations of the present embodiment, user's operation information at least one user's operation information Quantity is at least two, and at least one user's operation information arranges in the form of a list;Behavioural information in each behavioural information Quantity is at least two, and each behavioural information arranges in the form of a list.
In the present embodiment, editing interface can only show that a user at least one user's operation information operates letter Breath, and hide others.After some icon (such as inverted triangle) in user's operation information region operates, A drop-down list can be shown, list can include at least two user's operation informations.Equally, editing interface can only be shown One in each behavioural information, and hide others.
Step 402, it is determined that selected by the selection operation carried out to the user's operation information at least one user's operation information The targeted customer's operation information selected.
In the present embodiment, above-mentioned electronic equipment determines to operate letter to the user in above-mentioned at least one user's operation information The user's operation information selected by the selection operation carried out is ceased, and is operated selected user's operation information as targeted customer Information.Specifically, the producer of the page can carry out the selection operation to user's operation information, with extremely in edit page A user's operation information is selected in a few user's operation information.After selection, above-mentioned electronic equipment can then determine mesh Mark user's operation information.Goal user's operation information is selected user's operation information.
Specifically, above-mentioned electronic equipment can detect in the selection region of the user's operation information of above-mentioned editing interface The selection operation of a user's operation information in at least one user's operation information, then respond:By above-mentioned selection A selected user's operation information of operation is defined as targeted customer's operation information.
Step 403, it is determined that to the goal behavior selected by the selection operation of the behavioural information progress in each behavioural information Information.
In the present embodiment, above-mentioned electronic equipment determines the selection operation carried out to the behavioural information in each behavioural information Selected behavioural information, and using selected behavioural information as goal behavior information.Goal behavior information is selected row For information.Specifically, the producer of the page can carry out the selection operation to behavioural information, with each in edit page A behavioural information is selected in behavioural information.After selection, above-mentioned electronic equipment can then determine goal behavior information.Here Each behavioural information be each behavioural information corresponding to each user's operation information at least one user's operation information.
Specifically, above-mentioned electronic equipment can detect pair in the selection region of the behavioural information of above-mentioned editing interface The selection operation of a behavioural information in each behavioural information, then respond:By one selected by above-mentioned selection operation Behavioural information is defined as goal behavior information.
Step 404, the corresponding relation of targeted customer's operation information and goal behavior information is determined, and generation includes being determined Corresponding relation configuration file.
In the present embodiment, above-mentioned electronic equipment determines above-mentioned targeted customer's operation information and above-mentioned goal behavior information Corresponding relation, afterwards generation include the configuration file of the corresponding relation.Wherein, configuration file include targeted customer's operation information and The corresponding relation of goal behavior information, corresponding relation are triggered to characterize user's operation indicated by targeted customer's operation information The behavioural information of page behavior be goal behavior information.In addition, it can also include realizing that targeted customer grasps in configuration file Make the code of the page behavior indicated by user's operation and the goal behavior information indicated by information.
Step 405, the initialization information and style information of page elements are obtained, initialization information and style information are added Into configuration file.
In the present embodiment, above-mentioned electronic equipment obtains the initial of above-mentioned page elements from local or other electronic equipments Change information and style information, and acquired initialization information and style information are added to the configuration file that step 404 generates In.The initialization information of page elements is that page elements are carried out with the information required for Initialize installation, shows as the shape of code Formula.The style information of page elements is the information of the pattern presented about page elements in the page, can also equally be showed For the form of code.
Step 406, grasped in response to the user indicated in the region detection where page elements to targeted customer's operation information Make, make the page behavior indicated by goal behavior information.
In the present embodiment, above-mentioned electronic equipment detects that targeted customer operates in the region where above-mentioned page elements User's operation of information instruction, then respond:Make the page behavior indicated by above-mentioned goal behavior information.On being configured with After stating configuration file, user can operate to the above-mentioned page elements in the page.If the operation that user is carried out is mesh User's operation of user's operation information instruction is marked, then above-mentioned electronic equipment can make goal behavior letter according to above-mentioned corresponding relation The indicated page behavior of breath.For example user carries out clicking operation to page elements, in the display interface of above-mentioned electronic equipment Photograph album translates into a pictures.
The present embodiment can be generated more by storing the corresponding relation of targeted customer's operation information and goal behavior information Accurate configuration file.Simultaneously by the spread pattern of list, more abundant user can be provided for the generation of configuration file Operation information and behavioural information are for selection.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, match somebody with somebody this application provides one kind for generation One embodiment of the device of file is put, the device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and the device specifically may be used With applied in various electronic equipments.
As shown in figure 5, the device 500 for being used to generate configuration file of the present embodiment includes:Display unit 501, first is true Order member 502, the second determining unit 503 and generation unit 504.Wherein, display unit 501, it is configured in response to receiving The predetermined registration operation of edlin, the editing interface of shows target pages element are entered in instruction to target pages element, and editing interface includes To be selected, at least one user's operation information, and operate letter including the user in be selected, at least one user's operation information The indicated user of breath operates the behavioural information of triggered page behavior;First determining unit 502, it is configured to determine to extremely Targeted customer's operation information selected by selection operation that user's operation information in a few user's operation information is carried out;Second Determining unit 503, it is configured to determine the target to selected by the selection operation of the behavioural information progress in each behavioural information Behavioural information;Generation unit 504, it is configured to be based on targeted customer's operation information and goal behavior information, generates target pages The configuration file of element.
In this example it is shown that unit 501 can receive finger by wired connection mode or radio connection Show the predetermined registration operation for entering edlin to target pages element, and respond:Show the editing interface of above-mentioned target pages element. Editing interface includes to be selected, at least one user's operation information, and including in be selected, at least one user's operation information User's operation information indicated by user operate the behavioural information of triggered page behavior.Predetermined registration operation can be set in advance Any one operation put, for example click on or double-click some region specified in interface etc..The predetermined registration operation can be by the page Producer perform.The page can be the page (such as page of word document) in webpage or some application. Page elements for the composition page element, each page elements with it is certain it is regularly arranged, combining just constitutes the page.Mesh Mark the page elements that page elements are selected for artificial selected or machine according to logic of propositions.
First determining unit 502 determines the choosing carried out to the user's operation information in above-mentioned at least one user's operation information The selected user's operation information of operation is selected, and using selected user's operation information as targeted customer's operation information.Specifically Ground, the producer of the page can carry out the selection operation to user's operation information, with least one user in edit page A user's operation information is selected in operation information.After selection, the first determining unit 502 can then determine that targeted customer grasps Make information.Goal user's operation information is selected user's operation information.
Second determining unit 503 determines Information, and using selected behavioural information as goal behavior information.Specifically, the producer of the page is in edit page, The selection operation to behavioural information can be carried out, to select a behavioural information in each behavioural information.After selection, second Determining unit 503 can then determine goal behavior information.Goal behavioural information is selected behavioural information.
Generation unit 504 targeted customer's operation information and identified goal behavior information based on determined by, in generation State the configuration file of target pages element.It can include realizing the user indicated by targeted customer's operation information in configuration file The code of operation, it can also include and realize the code of the page behavior indicated by goal behavior information.Further, it is also possible to wrap Include the corresponding relation of targeted customer's operation information and goal behavior information.
In some optional implementations of the present embodiment, generation unit is further configured to:Determine the target The corresponding relation of user's operation information and the goal behavior information, and generate the configuration text for including identified corresponding relation Part, wherein, the corresponding relation operates the triggered page to characterize the user indicated by targeted customer's operation information The behavioural information of behavior is the goal behavior information.
In some optional implementations of the present embodiment, at least one user's operation information is arranged in the form of a list Row;Each behavioural information arranges in the form of a list.
In some optional implementations of the present embodiment, the device also includes:Detection unit, be configured in response to In user's operation that the region detection where page elements to targeted customer's operation information indicates, goal behavior information meaning is made The page behavior shown.
In some optional implementations of the present embodiment, the device also includes:Acquiring unit, it is configured to obtain page The initialization information and style information of surface element, initialization information and style information are added in configuration file.
Below with reference to Fig. 6, it illustrates suitable for for realizing the computer system 600 of the electronic equipment of the embodiment of the present application Structural representation.Electronic equipment shown in Fig. 6 is only an example, to the function of the embodiment of the present application and should not use model Shroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes CPU (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into program in random access storage device (RAM) 603 from storage part 608 and Perform various appropriate actions and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interfaces 605 are connected to lower component:Importation 606 including keyboard, mouse etc.;Penetrated including such as negative electrode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 608 including hard disk etc.; And the communications portion 609 of the NIC including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net performs communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc., it is arranged on as needed on driver 610, in order to read from it Computer program be mounted into as needed storage part 608.
Especially, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being carried on computer-readable medium On computer program, the computer program include be used for execution flow chart shown in method program code.In such reality To apply in example, the computer program can be downloaded and installed by communications portion 609 from network, and/or from detachable media 611 are mounted.When the computer program is performed by CPU (CPU) 601, perform what is limited in the present processes Above-mentioned function.It should be noted that the computer-readable medium of the application can be computer-readable signal media or calculating Machine readable storage medium storing program for executing either the two any combination.Computer-readable recording medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than combination.Calculate The more specifically example of machine readable storage medium storing program for executing can include but is not limited to:Electrically connecting, be portable with one or more wires Formula computer disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In this application, computer-readable recording medium can be any includes or storage program Tangible medium, the program can be commanded execution system, device either device use or it is in connection.And in this Shen Please in, computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, its In carry computer-readable program code.The data-signal of this propagation can take various forms, and include but is not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium beyond storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device either device use or program in connection.The journey included on computer-readable medium Sequence code can be transmitted with any appropriate medium, be included but is not limited to:Wirelessly, electric wire, optical cable, RF etc., or it is above-mentioned Any appropriate combination.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, the part of the module, program segment or code include one or more use In the executable instruction of logic function as defined in realization.It should also be noted that marked at some as in the realization replaced in square frame The function of note can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actually It can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also to note Meaning, the combination of each square frame and block diagram in block diagram and/or flow chart and/or the square frame in flow chart can be with holding Function as defined in row or the special hardware based system of operation are realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit can also be set within a processor, for example, can be described as:A kind of processor bag Include display unit, the first determining unit, the second determining unit and generation unit.Wherein, the title of these units is in certain situation Under do not form restriction to the unit in itself, for example, display unit is also described as the " volume of shows target pages element The unit of editing interface ".
As on the other hand, present invention also provides a kind of computer-readable medium, the computer-readable medium can be Included in device described in above-described embodiment;Can also be individualism, and without be incorporated the device in.Above-mentioned calculating Machine computer-readable recording medium carries one or more program, when said one or multiple programs are performed by the device so that should Device:Enter the predetermined registration operation of edlin, the editor of shows target pages element to target pages element in response to receiving instruction Interface, editing interface include to be selected, at least one user's operation information, and including to be selected, at least one user's operation User indicated by user's operation information in information operates the behavioural information of triggered page behavior;It is determined that at least one Targeted customer's operation information selected by selection operation that user's operation information in user's operation information is carried out;It is determined that to each The goal behavior information selected by selection operation that behavioural information in behavioural information is carried out;Based on targeted customer's operation information and Goal behavior information, generate the configuration file of target pages element.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to the technology that the particular combination of above-mentioned technical characteristic forms Scheme, while should also cover in the case where not departing from foregoing invention design, carried out by above-mentioned technical characteristic or its equivalent feature The other technical schemes for being combined and being formed.Such as features described above has similar work(with (but not limited to) disclosed herein The technical scheme that the technical characteristic of energy is replaced mutually and formed.

Claims (12)

1. a kind of method for generating configuration file, including:
Enter the predetermined registration operation of edlin to target pages element in response to receiving instruction, show the volume of the target pages element Editing interface, the editing interface include to be selected, at least one user's operation information, and including to be selected, described at least one User indicated by user's operation information in individual user's operation information operates the behavioural information of triggered page behavior;
It is determined that the target selected by the selection operation carried out to the user's operation information at least one user's operation information User's operation information;
It is determined that the goal behavior information selected by the selection operation carried out to the behavioural information in each behavioural information;
Based on targeted customer's operation information and the goal behavior information, the configuration for generating the target pages element is literary Part.
2. the method according to claim 1 for generating configuration file, wherein, it is described to be operated based on the targeted customer Information and the goal behavior information, the configuration file of the target pages element is generated, including:
The corresponding relation of targeted customer's operation information and the goal behavior information is determined, and is generated including identified right The configuration file that should be related to, wherein, the corresponding relation is grasped to characterize the user indicated by targeted customer's operation information The behavioural information for making triggered page behavior is the goal behavior information.
3. the method according to claim 1 for generating configuration file, wherein, at least one user's operation information Arrange in the form of a list;Each behavioural information arranges in the form of a list.
4. the method according to claim 1 for generating configuration file, wherein, methods described also includes:
Operate, do in response to the user indicated in the region detection where the page elements to targeted customer's operation information Go out the page behavior indicated by the goal behavior information.
5. the method according to claim 2 for generating configuration file, wherein, methods described also includes:
The initialization information and style information of the page elements are obtained, the initialization information and the style information are added Into the configuration file.
6. a kind of device for being used to generate configuration file, including:
Display unit, it is configured to enter target pages element in response to receiving instruction the predetermined registration operation of edlin, shows institute State the editing interface of target pages element, the editing interface includes to be selected, at least one user's operation information, and including The user indicated by user's operation information in be selected, described at least one user's operation information operates triggered page line For behavioural information;
First determining unit, it is configured to determine carry out the user's operation information at least one user's operation information Targeted customer's operation information selected by selection operation;
Second determining unit, it is configured to determine to selected by the selection operation of the behavioural information progress in each behavioural information Goal behavior information;
Generation unit, it is configured to be based on targeted customer's operation information and the goal behavior information, generates the target The configuration file of page elements.
7. the device according to claim 6 for being used to generate configuration file, wherein, the generation unit further configures use In:
The corresponding relation of targeted customer's operation information and the goal behavior information is determined, and is generated including identified right The configuration file that should be related to, wherein, the corresponding relation is grasped to characterize the user indicated by targeted customer's operation information The behavioural information for making triggered page behavior is the goal behavior information.
8. the device according to claim 6 for being used to generate configuration file, wherein, at least one user's operation information Arrange in the form of a list;Each behavioural information arranges in the form of a list.
9. the device according to claim 6 for being used to generate configuration file, wherein, described device also includes:
Detection unit, it is configured in response in the region detection where the page elements to targeted customer's operation information User's operation of instruction, makes the page behavior indicated by the goal behavior information.
10. the device according to claim 7 for being used to generate configuration file, wherein, described device also includes:
Adding device, it is configured to obtain the initialization information and style information of the page elements, by the initialization information It is added to the style information in the configuration file.
11. a kind of electronic equipment, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processors are real The now method as described in any in claim 1-5.
12. a kind of computer-readable recording medium, is stored thereon with computer program, wherein, when the program is executed by processor Realize the method as described in any in claim 1-5.
CN201711267362.7A 2017-12-05 2017-12-05 The method and apparatus for generating configuration file Active CN107766106B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711267362.7A CN107766106B (en) 2017-12-05 2017-12-05 The method and apparatus for generating configuration file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711267362.7A CN107766106B (en) 2017-12-05 2017-12-05 The method and apparatus for generating configuration file

Publications (2)

Publication Number Publication Date
CN107766106A true CN107766106A (en) 2018-03-06
CN107766106B CN107766106B (en) 2019-07-09

Family

ID=61277383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711267362.7A Active CN107766106B (en) 2017-12-05 2017-12-05 The method and apparatus for generating configuration file

Country Status (1)

Country Link
CN (1) CN107766106B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109727A (en) * 2019-04-30 2019-08-09 上海掌门科技有限公司 The configuration method and device of application
CN111124541A (en) * 2019-12-25 2020-05-08 上海米哈游网络科技股份有限公司 Configuration file generation method, device, equipment and medium
CN111367517A (en) * 2018-12-26 2020-07-03 北京易数科技有限公司 Information generation method and device
CN113486102A (en) * 2021-07-05 2021-10-08 成都运达科技股份有限公司 Station yard schematic diagram configuration method and configuration system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070067714A1 (en) * 2005-09-16 2007-03-22 Shui-Shun Lin Modularized web page editing system and method thereof
CN101118493A (en) * 2007-09-17 2008-02-06 张威 Process for manufacturing dynamic website in web page browsers
CN101593207A (en) * 2009-07-06 2009-12-02 孟智平 The method and system of a kind of structure and generation webpage
CN102479224A (en) * 2010-11-23 2012-05-30 腾讯科技(深圳)有限公司 Application webpage editing method and application webpage editing device
CN103365633A (en) * 2012-03-27 2013-10-23 腾讯科技(深圳)有限公司 Brower game editing method and device
CN106844635A (en) * 2017-01-19 2017-06-13 腾讯科技(深圳)有限公司 The edit methods and device of the element in webpage

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070067714A1 (en) * 2005-09-16 2007-03-22 Shui-Shun Lin Modularized web page editing system and method thereof
CN101118493A (en) * 2007-09-17 2008-02-06 张威 Process for manufacturing dynamic website in web page browsers
CN101593207A (en) * 2009-07-06 2009-12-02 孟智平 The method and system of a kind of structure and generation webpage
CN102479224A (en) * 2010-11-23 2012-05-30 腾讯科技(深圳)有限公司 Application webpage editing method and application webpage editing device
CN103365633A (en) * 2012-03-27 2013-10-23 腾讯科技(深圳)有限公司 Brower game editing method and device
CN106844635A (en) * 2017-01-19 2017-06-13 腾讯科技(深圳)有限公司 The edit methods and device of the element in webpage

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111367517A (en) * 2018-12-26 2020-07-03 北京易数科技有限公司 Information generation method and device
CN110109727A (en) * 2019-04-30 2019-08-09 上海掌门科技有限公司 The configuration method and device of application
CN111124541A (en) * 2019-12-25 2020-05-08 上海米哈游网络科技股份有限公司 Configuration file generation method, device, equipment and medium
CN111124541B (en) * 2019-12-25 2023-09-08 上海米哈游网络科技股份有限公司 Configuration file generation method, device, equipment and medium
CN113486102A (en) * 2021-07-05 2021-10-08 成都运达科技股份有限公司 Station yard schematic diagram configuration method and configuration system

Also Published As

Publication number Publication date
CN107766106B (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN105814539B (en) The method and apparatus generated for code virtualization and remote process call
CN105009070B (en) Computer application promotes
CN108701042A (en) User interface
CN104346075B (en) Carry out the method and client of sectional drawing processing
CN107766106A (en) The method and apparatus for generating configuration file
CN107291352A (en) Application program is redirected in a kind of word read method and its device
CN104395882A (en) Creation and context-aware presentation of customized emoticon item sets
CN105229485A (en) Multifactor location verification
CN107506495A (en) Information-pushing method and device
CN106896937A (en) Method and apparatus for being input into information
CN107729246A (en) For the auxiliary test methods of intended application, device, equipment and storage medium
CN107315827A (en) The method and its device of a kind of correlation recommendation in electronic reading
CN107656768A (en) Control the method and its system of page jump
CN107911449A (en) Method and apparatus for pushed information
CN105302461B (en) A kind of method and apparatus for the offer target pages in mobile application
CN105786207A (en) Information input method and device
CN106897905A (en) Method, device and electronic equipment for pushed information
JP5042346B2 (en) Information display apparatus, method and program
CN107329585A (en) Method and apparatus for inputting word
CN105488072B (en) Target object method for selecting, apparatus and system in a kind of object library
CN107180032A (en) Comment on content display method and system
CN107609953A (en) The quick treating method and apparatus of order
CN109299424A (en) It is a kind of to provide the method, apparatus and computer readable medium of response events based on rich text
CN114629800B (en) Visual generation method, device, terminal and storage medium for industrial control network target range
CN109710154A (en) Method and apparatus for showing chat message

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
GR01 Patent grant
GR01 Patent grant