Specific embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, below in conjunction with the embodiment of the present application
Accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only
It is some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the scope of the application protection.
Page adjustment method below in conjunction with the accompanying drawings to terminal applies described herein, device and client are carried out specifically
It is bright.Fig. 1 is a kind of method flow schematic diagram of embodiment of the page adjustment method of the terminal applies that the application is provided.Although this
Application provides such as following embodiments or method operating procedure shown in the drawings or apparatus structure, but based on routine or without creating
The work of property can include more or less operating procedure or modular structure in methods described or device.In logicality not
In the step of in the presence of necessary causality or structure, the execution sequence of these steps or the modular structure of device are not limited to the application reality
The execution sequence or modular structure of example offer are provided.The device in practice or end product of described method or modular structure are performed
When, order execution or executed in parallel can be carried out (for example according to embodiment or method shown in the drawings or modular structure connection
The environment of parallel processor or multiple threads).
Specifically as shown in figure 1, a kind of embodiment of the page adjustment method of the terminal applies that the application is provided can include:
S1:Build the front end resource file of page debugging, and the debugging configuration information that page debugging is set.
Can build in advance in the present embodiment debugging terminal carry out the page debug when open the page required for front end resource file.
Products application A is for example paid in certain terminal and opens picture, user profile data, color and the framework row needed during Web page
The resource file content of version etc..The front end resource file that these are used in debugging process can locally built, deposited in advance
Storage.The user data information for calling need to be loaded when such as opening the page using A, also can in advance in local structure in the embodiment of the present application
A User Information Database is built to be used for the debugging terminal applies A opening pages.Certainly, the front end resource built the need for specific
The page that file can be debugged as needed is configured.Debugging terminal described herein can include smart mobile phone,
The mobile terminal devices such as panel computer, or PC, server etc..
General, opening Web page generally needs to load some specified resource file information.Front end resource described herein
Load the resource file data for using during the application opening page that file can be used for debugging in terminal.Specific implementation process
Described in front end resource file can be debugging terminal application open the page needed for whole resources, or part resource
File.Such as image data needed for the page is opened in test terminal application is the samples pictures stored on given server position,
In the new picture database for can be used in local one page presentation of structure when the page is debugged in the embodiment of the present application
Front end resource file, described front end resource file is loaded when can open the page terminal is debugged and uses, and can so ensure
Debugging the application of terminal can normally open Web page, ensure being smoothed out for page debugging.
In resource file concrete implementation mode in structure front end described herein, front end money can be carried out by calling webpack
Source builds, the final resource file that generation page debugging is used.The specific front end resource file type for building can be according to need
The demand to be debugged is determined, such as js, html, css.The resource file content of the structure can be stored in locally carries out end
In the equipment of end five application page debugging, can specifically be set by commissioning staff and be stored in the disk of internal memory or output.This Shen
The webpack that please be used in embodiment is a kind of front end resource loading/strapping tool, in the specific implementation process of the present embodiment
In can by relatively simple configuration can realize provide debugging terminal page debug, detection etc. engineering optimization need various work(
Energy.Certainly, it is described herein build the page debugging front end resource file be not limited to described in the present embodiment by webpack
The mode for being built, the front end resource file that the page debugging gone out using other modes or tools build is used still can be applicable
The application.
The debugging configuration information of page debugging can be pre-set in the present embodiment simultaneously.Described debugging configuration information can include
The object information of page debugging, debugging module control instruction, interception strategy, debud mode, the control for whether enabling debugging function etc.
The configuration information of system, monitoring etc..Described debugging configuration information can be stored in local profile, can be to terminal applies
Debugging relevant information be described by.In a kind of embodiment of the application, described debugging configuration information can be configured to, bag
Include:
Debugging terminal is indicated to obtain whole resource file information of opening specified page and forward whole resource file information
To the interception configuration information of the local application server.
In another embodiment, described debugging configuration information can be configured to, including:
Debugging terminal is indicated the resource file information of the specified interception for setting to be obtained when opening the page and by the money of the acquisition
Source file information is forwarded to the interception configuration information of the local application server.
In the embodiment of the present application, the page debugging front end resource file for using and the debugging that page debugging is set can in advance be built
Configuration information.Different interceptions can be set according to debugging process demand in different page debugging treatment scenes and obtain the resource
The interception mode of fileinfo.
S2:The debugging configuration information is sent to cross-platform message to push and is applied.
In one embodiment of the application, a local application server can be set and enabled.Institute in the present embodiment application scenarios
The local application server stated can be configured to can be used in the relevant information that Start-up and Adjustment will be needed to service such as the present embodiment
Described debugging configuration information is pushed to cross-platform message and pushes application.Described cross-platform message pushes application and generally includes energy directly
Connect and interconnected into row data communication with debugging terminal and then realize sending PUSH message to push to specifying disappearing for the application for debugging terminal
Breath pushes platform.In different application scenarios, the terminal device of different system can have corresponding cross-platform message to push application.
For example in application scenarios of the present embodiment using the terminal of iOS system, it can be APNS that described cross-platform message pushes application
(Apple Push Notification Service, APNS, the service of apple sending out notice).
A local application server can be started by koa in specific application scenarios.Described koa is a kind of smaller, more
Healthy and strong, richer expressive Web framing tools, can set and start local application server by koa.General,
The local application server can also provide the resource access interface of the front end resource file content constructed described in extraneous access.
As the local application server that koa starts can provide a http service, such as http://10.12.11.110:8000, it is so extraneous
Module or component or application service can have access to the content of the front end resource file for constructing by url.It should be noted that
The extraneous equipment that can include on public network described above, such as apple terminal device can be by the url resource access interfaces of offer
Access front end resource file.Can also include belonging to other-end equipment in same LAN in other applied fields, such as set
Resource access interface can be http://127.0.0.1:8000, the debugging terminal for so belonging to same LAN can access institute
State the front end resource file of structure.
The notification message (notification) of debugging configuration information can will be included by local application server in the embodiment of the present application
Send to the cross-platform message of debugging terminal and push application.Certainly, further, the cross-platform message push application can be by
The notification message for receiving pushes to corresponding terminal device.Therefore, the page adjustment method of terminal applies described herein is also
Can include:
S3:The cross-platform message pushes application and the debugging configuration information is pushed into corresponding debugging terminal.
During specific for example above-mentioned test terminal is for the application scenarios of iOS system, application server can be sent including the debugging
Notification message notification to the APNS of configuration information, is then pushed to corresponding shifting by APNS by the notification message again
Dynamic terminal.
In the present embodiment application scenarios, it is the PUSH server of apple that described cross-platform message pushes application APNS.One
As, can be linked with the length of the similar TCP of APNS holdings automatically after iOS device connects network, pushed away for monitoring APNS
The notification message sent.When the application request end (Provider) such as mobile terminal or debugging application needs to be pushed away to mobile terminal application
When sending message, Provider can be by push contents, the device identification (device token) for receiving push message etc. according to APNS
APNS is sent to after the data form packing specified.APNS can be according to setting after receiving the message of Provider transmissions accordingly
Standby identifier lookup equipment.If the equipment and establishing connection with APNS, the equipment can be immediately pushed messages to,
If the equipment is not online, equipment can be pushed messages to after the equipment is connected to APNS next time.The embodiment of the present application
Role of the local application server of setting equivalent to the Provider in above-mentioned APNS application scenarios, in the present embodiment, institute
Stating local application server can be sent to APNS by the Debugging message of relevant device by notification message, and then APNS can be with
The notification message is pushed in corresponding terminal device.
It should be noted that can be sent the debugging configuration information by the local application server for setting in the present embodiment adjusting
Examination terminal, specifically for example pushing application above by cross-platform message corresponding with debugging terminal will match somebody with somebody confidence including the debugging
The notification message of breath is sent to debugging terminal.But the application is not precluded from the debugging configuration information in some applied fields directly
Send to the implementation method for debugging terminal.
S4:Debugging terminal is based on the front end resource file of the structure and carries after receiving the notification message including debugging configuration information
The resource access interface of confession opens the page of respective application, and is obtained based on the set content in the debugging configuration information for receiving
The interception resource file information of the page, the locally applied service of setting is forwarded to by the interception resource file information of the acquisition
Device.
In the present embodiment answers scene, after notified message notification, can enable should in commissioning device for debugging terminal
Debugging mode, then opens the Web page of respective application with container.A sheet for example can be enabled by koa in foregoing
Ground application server, the local application server can provide such as http resource access interfaces of service, can make debugging end
End accesses the front end resource file that webpack builds, and ensures the opening of the debugging terminal applies page.The need for debugging terminal is specific
The five application page of opening can pre-set in configuration information is debugged.Certainly, the application can also be directly manual by commissioning staff
The App that debugging terminal is debugged is opened, the debugging mode of application is enabled, corresponding page is opened in the triggering for being then based on commissioning staff
Face.
Further, in the application embodiment, when the Web page is opened, acquisition can be intercepted and opens the Web
Resource file information needed for the page.Then can will intercept the resource file information for obtaining and be forwarded to the local application server
On.The resource file information that intercepts can include one or more page source code data of page language, can generally include
Page text control information, pictorial information, script etc..For example, one of certain debugging terminal pays and produces in specific application scenarios
Product application design is the background picture for needing to call a homepage title to use when Web page is opened, and is
Img_001=http://127.0.0.1/pictures/picture_001.The Web for intercepting and obtaining and open can be set in the embodiment of the present application
The source code data of this resource file information of the background picture of page invocation, then turn the source code data of the resource file information
It is sent on local application server.
Different interceptions can be set according to debugging process demand in different page debugging treatment scenes and obtain the resource text
The interception mode of part information.In a kind of embodiment of the application, can set to intercept to obtain in configuration information is debugged and open Web
All of whole resource file information.So, resource file letter can integrally be carried out when subsequently to resource file debugging, modification
The modification of breath is replaced, and reduces terminal applies debugging risk, ensures the security of reliability and the terminal applies page debugging of debugging.
Therefore, in a kind of embodiment of the application, blocking for the page is obtained based on the set content in the debugging configuration information for receiving
Resource file information is cut, the local application server that the interception resource file information of the acquisition is forwarded to setting can be included:
S401:The whole resource file information for opening the page are obtained, whole resource file information are forwarded to described
Ground application server.
In specific implementation process, overall resource file information when will debug the terminal applies corresponding Web page of opening can be set
Local application server is forwarded to after under intercepting.So, can be used for by local application server to the overall resource text under interception
Part information carries out the complete resource file for replacing the page in debugging terminal after debugging modification, realizes that debugging terminal page is integrally blocked
Cut, debugging is integrally replaced after changing.
Certainly, in the embodiment of other interception modes, it is also possible to which being set in the debugging configuration information needs what is intercepted to specify
Resource file or file type, or other page resource information etc..So can only be intercepted when single terminal prototype is debugged and obtained
The fixed resource file of fetching simultaneously transfers it to local application server, it is possible to reduce the data processing amount of page debugging and then reduction
Process time, improves page debugging efficiency.Therefore, in another embodiment of herein described method, based on the tune for receiving
Set content in examination configuration information obtains the interception resource file information of the page, and the interception resource file of the acquisition is believed
The local application server that breath is forwarded to setting can include:
S402:The resource file information of the specified interception set in the debugging configuration information when opening the page is obtained, and will
The resource file information of the acquisition is forwarded to the local application server.
In the present embodiment in application scenarios, the mobile terminal of mobile iOS can receive APNS and push the notice of coming after reaching the standard grade
Message notification.After parsing obtains the debugging configuration information in notification message, the debugging mode of application can be enabled, and can
To open the Web page of respective application based on the debugging configuration information.In the application embodiment, the Web page
Required resource file can be intercepted acquisition, while being forwarded on the local application server of setting such as above-mentioned koa.The application
In the implementation method of offer, the whole resource files for intercepting the Web page opened can be set in the debugging configuration information,
Then the whole resource files for intercepting are forwarded into local application server carries out debugging treatment.Can also in another embodiment
The content of the specified resource file information set in debugging configuration information is only intercepted, pictorial information or page font information is such as only intercepted
Deng then intercepting lower resource file information and be forwarded to local application server and carry out the debugging of page source code and process.
S5:The interception resource file information that debugging terminal sends is received, the content to the interception resource file information is carried out locally
Resource construction, resource file after generation debugging are carried out after modification;Resource file after the debugging is sent to debugging terminal.
The resource file information of interception is forwarded to local application server by debugging terminal, and the local application server can be received
The resource file information that the debugging terminal sends, usually the source code data of Web page, then locally literary to the resource
The content of part information carries out debugging modification.Further, it is possible to use resource construction device such as above-mentioned webpack are to after locally modified
Resource file information built in real time, the generation debugging resource file type that can use of terminal applies.After structure is finished,
Can be by the resource file feedback of the information after structure to debugging terminal, the mobile terminal of iOS system such as in the present embodiment application scenarios.
Local application server can push the described amended resource that application will build using by described cross-platform message
Fileinfo is sent to debugging terminal, it is also possible to sent to debugging terminal, the locally applied clothes for such as building by other communication links
Business device and the same local net network belonging to the debugging terminal.
S6:Debugging terminal receives resource file after the debugging, updates the page resource fileinfo of respective application.
Debugging terminal such as apple terminal device can receive the local application server and be entered based on the resource file information that intercepts
Resource file after debugging after row is locally modified, updates the page resource fileinfo of respective application.
In the embodiment of the present application methods described, debugging terminal can receive the resource file information built after local debugging modification, so
The resource file information content for updating terminal applies can automatically be refreshed afterwards, the debugging treatment of the terminal applies page is realized.
As it was previously stated, local application server can push the modification that application will build using by described cross-platform message
Resource file information afterwards is sent to debugging terminal, it is also possible to sent to debugging terminal, the sheet for such as building by other communication links
Ground application server and the same LAN belonging to the debugging terminal.Based on the limitation of prior art debud mode, to terminal
The mode that equipment is debugged utilizes specific after being connected with debugging terminals physical typically by USB or other dedicated data lines
Debugging platform is debugged.In a kind of implementation method of herein described terminal applies page adjustment method, can be by channel radio
Communication network realizes the interactive communication with debugging terminal, debugs the page more flexible, convenient, improves Web in debugging terminal APP
The efficiency of page debugging.Therefore, in a kind of embodiment of the application, the debugging configuration information, intercept resource file information,
At least one of resource file carries out information exchange by way of cordless communication network with debugging terminal after debugging.
Described cordless communication network can including the mobile communications network based on the communication technology such as 3G, 4G, or WIFI, bluetooth,
Infrared local area network communication network and internet etc..In concrete implementation mode, for example, local area network can be set up, entered
The client of row page debugging is arranged in same LAN with debugged mobile terminal device, and then realizes using wireless
The Web page debugging of mobile terminal device of the interactive mode to being debugged.Certainly, in actual implementation process, phase can be configured
The message-driven answered, so that mobile terminal device is capable of identify that wireless network interaction message, performs and opens five application page, interception turn
The operations such as hair resource file, renewal resource file.
It should be noted that herein described method can also obtain the device identification (device token) of debugging terminal, this sets
Standby mark can be recorded in local disk, for the reading of local application server.Specifically, can be in commissioning device
As local application server with debugging terminal set up communication linkage after, by tuner manually using once debugging terminal in need to carry out
The application of debugging, and then realize obtaining the equipment adjustment information of debugging terminal.So, can be with the multiple debugging terminal phases of record storage
The device identification answered, and one debugging terminal of a device identification correspondence, realization prevent from influenceing other tuners' in debugging process
Debugging operations simultaneously as local application server can know it is different debugging terminals device identifications, debugged in face of multiple terminals
When can by multiple equipment mark be set to one debugging scope, then can realize to multiple debugging terminals carry out simultaneously the page it is true
Machine is debugged.The multiple debugging of local and long-range multiple debugging terminals is such as realized with reference to above-mentioned LAN and public network, it is clear that this
The embodiment of application can greatly improve team collaboration's ability and page debugging efficiency.Therefore, herein described terminal applies page
In another embodiment of the adjustment method in face, methods described can also include:
S0:Obtain the device identification of debugging terminal;
Accordingly, the debugging configuration information for setting page debugging includes:Set in the debugging configuration information and indicate to receive
The device identification of the debugging terminal of the notification message;And,
Described send to debugging terminal resource file after the debugging includes:Equipment based on being set in the adjustment configuration information
Mark sends to corresponding debugging terminal resource file after the debugging.
The page adjustment method of the terminal applies that the application is provided provides a kind of more convenient, flexible mode and removes commissioning test in visitor
Web page in the APP of family end, solves as the debugging of the terminal applies page debugs platform to intrinsic under iOS or Android system
Restricted problem.The page that terminal applies can be made of the method provided using the application debugs more convenient, flexible, improves end
End page face debugging efficiency.
Page adjustment method based on terminal applies described herein, the application also provides a kind of page debugging dress of terminal applies
Put.Fig. 2 is a kind of modular structure schematic diagram of embodiment of page debugging apparatus of the terminal applies that the application is provided, such as Fig. 2 institutes
Show, described device can include:
Resource configuration module 101, can be used for building the front end resource file of page debugging, and the debugging for setting page debugging
Configuration information;
Application service module 102, can be used for sending the notification message of the debugging configuration information to debugging terminal, and will
Resource file is sent to debugging terminal after debugging;Can be also used for receiving the interception resource file information that debugging terminal sends, to institute
State intercept resource file information content carry out it is locally modified after carry out resource construction, resource file after generation debugging;Can also use
The access interface of the front end resource file built in resource configuration module 101 described in debugging terminal access is provided.
In concrete implementation mode, described resource configuration module 101 can realize that front end provides including such as instruments such as webpack
The structure of source file, to produce final resource file (js, html, css etc.).Described debugging configuration information can be set
In local configuration file, the relevant information of the debugging function that the configuration file can be to needing to start is described by.Exchanging
Examination terminal carries out that when the page is debugged loading local profile can be read, and obtains the information content of page debugging.
Described application service module 102 can be specifically koa, can start a locally applied clothes by koa local
Business device.The local application server can provide http services such as http://10.12.11.110:8000 resource access interface,
So extraneous module or component or application service can have access to the content of the front end resource file for constructing by url.In addition,
The local application server that application module described herein starts can also be the relevant information example for needing Start-up and Adjustment server
Include that the notification message (notification) of debugging configuration information is pushed to the corresponding cross-platform message of debugging terminal and pushes as described above
Using, and then such as notification message (notification) is pushed to by corresponding debugging terminal by cross-platform message push application.
Corresponding configuration information can be set according to debugging demand in described debugging configuration information, as that can be debugged including the page
Object information (device token), debugging module control instruction, intercept strategy, debud mode, whether enable debugging function etc.
Control, monitoring etc. configuration information.In a kind of embodiment of herein described device, can be set according to debugging process demand
Different interceptions obtains the interception mode of the resource file information, specifically, the tune set in the resource configuration module 101
Examination configuration information can include:
Debugging terminal is indicated to obtain whole resource file information of opening specified page and forward whole resource file information
To the interception configuration information for specifying application server.
In the another embodiment of herein described device, it is also possible to which the part resource fileinfo for only intercepting and specifying is set.Cause
This, in another embodiment of the application, described debugging configuration information can include:
Debugging terminal is indicated the resource file information of the specified interception for setting to be obtained when opening specified page and by the money of the acquisition
Source file information is forwarded to the interception configuration information of specified application server.
It is above-mentioned to debugging terminal open the page whole resource file information intercept, so, subsequently to resource file debugging,
The modification that resource file information can be integrally carried out during modification is replaced, and reduces terminal applies debugging risk, ensures the reliability of debugging
The security debugged with the terminal applies page.In another embodiment, can be set in the debugging configuration information needs to intercept
Specified resource file or file type, or other page resource information etc..So can be when single terminal prototype be debugged only
Intercept and obtain the resource file specified and transfer it to local application server, it is possible to reduce the data processing amount of page debugging enters
And process time is reduced, improve page debugging efficiency.
Fig. 3 is a kind of modular structure schematic diagram of the embodiment of herein described application service module 102.As shown in figure 3, described
Application service module 102 can include:
Wireless communication module 1021, resource file after can be used for debug configuration information, intercepting resource file information, debugging
It is at least one to carry out information exchange with debugging terminal by way of cordless communication network.
Described cordless communication network can including the mobile communications network based on the communication technology such as 3G, 4G, or WIFI, bluetooth,
Infrared local area network communication network and internet etc..Certainly, in actual implementation process, described wireless communication module 103 can
To configure corresponding message-driven so that mobile terminal device is capable of identify that wireless network interaction message, perform open five application page,
Intercept forwarding resource file, update the operation such as resource file.
Fig. 4 is the modular structure schematic diagram of the debugging apparatus another kind embodiment of the herein described terminal applies page.Such as Fig. 4 institutes
Show, described device can also include:
Mark module 103, can be used for obtaining the device identification of debugging terminal;
Accordingly, the configuration information of the setting of the resource configuration module 101 page debugging includes:Based on the adjustment configuration information
The device identification of middle setting sends to corresponding debugging terminal resource file after the debugging;And,
The application service module 102 sends to debugging terminal resource file after the debugging to be included:Based on the adjustment configuration
The device identification set in information sends to corresponding debugging terminal resource file after the debugging.
Described device identification (device token) can be recorded in local disk, can be by the application service module 102
Read.General, terminal is debugged in the device identification set in the mark module 104 of institute in this implementations generally only corresponding,
Realization prevents from influenceing in debugging process the debugging operations of other tuners simultaneously.Certainly, in expansible embodiment, it is also possible to remember
The multiple debugging corresponding device identifications of terminal of address book stored, the equipment that the application service module 102 can know different debugging terminals
Mark, a debugging scope can be set to when being debugged in face of multiple terminals by multiple equipment mark, so can be realized to many
Individual debugging terminal carries out page prototype debugging simultaneously, can greatly improve team collaboration's ability and page debugging efficiency.
The adjustment method of the terminal applies page described herein, device and client can realize allowing developer to depart from original specific
The limitation of platform is debugged, if all must be with the safari under Mac os when for example debugging the page of the mobile Safari in iOS
Connection can just be operated, and step language (javascript), the css of debugging page section are taken by the way of more flexible, border,
Html etc., greatly improves terminal page debugging message and Consumer's Experience.Certainly, generally need to be carried out with needs during implementation
The terminal device of debugging carries out information exchange, locally to be carried out after the resource file information for realizing intercepting the debugging terminal opening page
Debugging modification.Therefore, the application also provides a kind of client of five application page debugging, and Fig. 5 is the application that the application is provided
A kind of debugging modular structure schematic diagram of embodiment of client, as shown in figure 5, the client is configured to, including:
Data receipt unit 201, can be used for receiving the notification message for including debugging configuration information, and receive locally applied service
Device be based on obtain interception resource file information carry out it is locally modified after debugging after resource file;
Data processing unit 202, can be used for opening corresponding based on the front end resource file for building and the resource access interface of offer
The page of application;Can be also used for the interception resource file that the set content in the debugging configuration information obtains the page
Information, the local application server of setting is forwarded to by the interception resource file information of the acquisition;Can be also used for based on described
The page resource fileinfo of resource file information updating respective application after the debugging of reception.
Described notification message can be directly transmitted by the debugging apparatus of the terminal applies page described above, or institute
Device is stated to send to the push application of cross-platform message by the cross-platform message push using client-based device identification
(device token) is sent to client.
According to the setting of debugging configuration information, the client can be intercepted and obtain the whole resource files letter for opening five application page
Breath, it is also possible to only intercept the specified portions resource file information of setting.Therefore, in a kind of embodiment of herein described client,
The interception resource file information of the page is obtained based on the set content in the debugging configuration information for receiving, by the acquisition
The local application server that interception resource file information is forwarded to setting can include:
The whole resource file information for opening the page are obtained, whole resource file information is forwarded to described locally applied
Server.
In other implementation methods, the interception resource of the page is obtained based on the set content in the debugging configuration information for receiving
Fileinfo, the local application server that the interception resource file information of the acquisition is forwarded to setting can be included:
The resource file information of the specified interception set in the debugging configuration information when opening the page is obtained, and is obtained described
The resource file information for taking is forwarded to the local application server.
Certainly, described client can also be swapped with the debugging apparatus of above-described embodiment logical by way of wireless communication networks
Letter, it is possible to achieve at least one of resource file after notification message, interception resource file information, debugging is passed through into wireless communication networks
The mode of network is transmitted.
The adjustment method of the terminal applies page, device and client that the embodiment of the present application is provided, can build resource text local
Part, and the information on services of Start-up and Adjustment will be needed to push application push by cross-platform message using the application server being locally located
Onto debugging terminal.Debugging terminal applies according to the content of debugging configuration information can enable the debugging mode of application, pass through
The interface that application server is provided accesses local resource file, opens corresponding Web page.Then the page is intercepted according to setting
Resource file information, forwarding it to carries out debugging modification on local application server.Local application server will can be debugged
Amended resource file feeds back to debugging terminal, and resource file can automatically carry out refreshing renewal after debugging terminal receives modification,
Realize departing from limitation of original intrinsic platform to debugging, can be carried out at debugging with the more convenient and flexible page to terminal applies
Reason.
Although mentioned in teachings herein using the instruments such as webpack, koa carry out file structure, server set with enable,
The data processing of setting, the information interaction approach of access interface and configuration information etc., the description of information exchange, but, the application
Be not limited to must be complete standard or mentioned mode data processing, information exchange situation.Each reality in the application
It is only the application in some embodiments in the application to apply the foregoing description involved by example, some standards, model, method base
Implementation method amended slightly can also carry out the scheme of each embodiment of above-mentioned the application on plinth.Certainly, meeting in the application
Other deformations without creativeness of the process method step described in each embodiment are stated, identical application still can be realized,
This is repeated no more.
Although this application provides the method operating procedure as described in embodiment or flow chart, based on conventional or without creativeness
Work can include more or less operating procedures.The step of being enumerated in embodiment order is only numerous step execution sequences
In a kind of mode, unique execution sequence is not represented.When device or client production in practice is performed, can be according to reality
Apply example or method shown in the drawings order is performed or executed in parallel (environment of such as parallel processor or multiple threads).
Device, unit or module that above-described embodiment is illustrated, can specifically be realized by computer chip or entity, or by having
The product of certain function is realized.For convenience of description, it is divided into various modules with function during description apparatus above to describe respectively.
The function of each module can be realized in same or multiple softwares and/or hardware when the application is implemented.It is of course also possible to will
Realize that the module of certain function combines realization by multiple submodule or subelement.
Method described herein, device or module can realize controller by any suitable in computer readable program code mode
When mode realize, for example, controller can take such as microprocessor or processor and storage can be by (micro-) processor
Computer-readable medium, gate, switch, the special collection of the computer readable program code (such as software or firmware) of execution
Into circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller (PLC) and embedded microcontroller
Form, the example of controller includes but is not limited to following microcontroller:ARC 625D、Atmel AT91SAM、Microchip
PIC18F26K20 and Silicone Labs C8051F320, the control that Memory Controller is also implemented as memory is patrolled
The part collected.It is also known in the art that in addition to realizing controller in pure computer readable program code mode,
Completely can by by method and step carry out programming in logic come so that controller with gate, switch, application specific integrated circuit, can compile
Journey logic controller realizes identical function with the form of embedded microcontroller etc..Therefore this controller is considered one kind
Hardware component, and the device for realizing various functions included to its inside can also be considered as the structure in hardware component.Or
Even, can be used to realizing that the device of various functions is considered as not only being the software module of implementation method but also can be hardware component
Interior structure.
Part of module in herein described device can be in the general context of computer executable instructions
Described in, such as program module.Usually, program module includes performing particular task or realizes the example of particular abstract data type
Journey, program, object, component, data structure, class etc..The application can also be in a distributed computing environment put into practice, at this
In a little DCEs, task is performed by the remote processing devices connected by communication network.In Distributed Calculation
In environment, program module may be located at including in the local and remote computer-readable storage medium including storage device.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can be by soft
Part adds the mode of required hardware to realize.Based on such understanding, the technical scheme of the application is substantially in other words to existing skill
The part that art contributes can be embodied in the form of software product, it is also possible to be embodied by the implementation process of Data Migration
Out.The computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some
Instruction is used to so that a computer equipment (can be personal computer, mobile terminal, server, or network equipment etc.)
Perform the method described in some parts of each embodiment of the application or embodiment.
Each embodiment in this specification is described by the way of progressive, and same or analogous part is mutual between each embodiment
Referring to what each embodiment was stressed is the difference with other embodiment.The all or part of of the application can
For in numerous general or special purpose computing system environments or configuration.For example:It is personal computer, server computer, hand-held
Equipment or portable set, laptop device, mobile communication terminal, multicomputer system, the system based on microprocessor, can
The electronic equipment of programming, network PC, minicom, mainframe computer, the distributed meter including any of the above system or equipment
Calculate environment etc..
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application have it is many deformation and change and
Spirit herein is not departed from, it is desirable to which appended claim includes these deformations and changes without deviating from spirit herein.