CN106598575A - Front-end data simulation implementation method and system - Google Patents

Front-end data simulation implementation method and system Download PDF

Info

Publication number
CN106598575A
CN106598575A CN201611085176.7A CN201611085176A CN106598575A CN 106598575 A CN106598575 A CN 106598575A CN 201611085176 A CN201611085176 A CN 201611085176A CN 106598575 A CN106598575 A CN 106598575A
Authority
CN
China
Prior art keywords
interface
nginx
data
analog interface
mastery routine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611085176.7A
Other languages
Chinese (zh)
Inventor
胡瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201611085176.7A priority Critical patent/CN106598575A/en
Publication of CN106598575A publication Critical patent/CN106598575A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/311Functional or applicative languages; Rewrite languages

Abstract

The invention discloses a front-end data simulation implementation method. In a simulation process, a main program retrieves configuration of a web page server nginx and a system file, namely a hosts file; the main program sends a rendering message to a front-end page through a data interaction channel; on the basis of the rendering message, the front-end page sends a request to a shared server, and receives data returned by the shared server based on the request to generate an interface list; the main program modifies configuration of the web page server nginx and the system file, namely the hosts file, according to a simulation interface determined from the interface list; the main program analyzes the interface list to obtain data corresponding to the simulation interface; therefore, after an interface calling request is obtained, even if a background interface does not exist, corresponding data also can be returned; and a 404 error code cannot be returned.

Description

A kind of realization method and system of front end data simulation
Technical field
The application is related to multipad development field, more particularly to a kind of simulation of front end data implementation method and be System.
Background technology
Currently, the application developer that web (webpage) holds works as back office interface when with rear end developer's cooperation (operating system leaves a calling interface of application program for API, and application program makes operation by the API of call operation system System goes the order or action that perform application program) not write when completing, front end cannot be debugged, and which results in front end The situation that exploitation can be blocked by rear end.For example, web terminal realizes data friendship by sending ajax request call back office interface API Mutually, if back office interface is present, corresponding data can be returned, if back office interface is not present, backstage can then return 404 mistakes Code, it is impossible to returned data.
The content of the invention
Invention provides a kind of realization method and system of front end data simulation, to solve current back office interface not In the presence of be unable to the technical problem of returned data.
To solve above-mentioned technical problem, the invention provides a kind of implementation method of front end data simulation, is applied to front end In the implementation tool of digital simulation, methods described includes:
The configuration of mastery routine searching web pages server nginx and system file hosts files;
The mastery routine is sent by data exchange channels and renders message to front end page;
The front end page sends a request to shared server based on the message that renders, and receives the shared server Based on the data genaration interface list that the request is returned;
The mastery routine changes the web page server nginx according to the analog interface determined from the interface list With the configuration of the system file hosts files;
The mastery routine parses the interface list to obtain the corresponding data of the analog interface.
Preferably, the configuration of the searching web pages server nginx and system file hosts files, including:
Send retrieval command and retrieve the web page server nginx configurations;
Obtain the return value of the web page server nginx;
Judge whether the return value is empty;
Start the web page server nginx if it is not, then sending and starting order.
Preferably, the configuration of the searching web pages server nginx and system file hosts files, including:
Read the hosts files;
The hosts files are parsed by the way of canonical;
Mark is inserted at the end of the hosts files, will need to set up the domain name sensing of mapping in the mark The machine domain name.
Preferably, the mastery routine changes the web service according to the analog interface determined from the interface list Before the configuration of device nginx and the system file hosts files, including:
Based on the selection of user, the analog interface is determined from the interface list.
Preferably, it is described analog interface is determined according to the operation of user from the interface list after, including:
Obtain local newly-increased analog interface;
Judge whether the local newly-increased analog interface needs to share;
If so, the local newly-increased analog interface is stored in the shared server.
The invention discloses a kind of implementation tool of front end data simulation, including:Mastery routine and front end page;
The mastery routine, for the configuration of searching web pages server nginx and system file hosts files;By data Exchange channels send and render message to the front end page;
The front end page, for sending a request to shared server based on the message that renders, and receives described shared The data genaration interface list that server is returned based on the request;
The mastery routine, changes the web page server for the analog interface that basis is determined from the interface list The configuration of nginx and the system file hosts files;Parse the interface list to obtain the corresponding number of the analog interface According to.
Preferably, the mastery routine, including:
Subprocess module, retrieves the web page server nginx configurations for sending retrieval command;
Module is obtained, for obtaining the return value of the web page server nginx;
Judge module, for judging whether the return value is empty;
Sending module, for starting the web page server nginx if it is not, then sending and starting order.
Preferably, the mastery routine, including:
File flow module, for reading the hosts files;
Parsing module, for the hosts files are parsed by the way of canonical;
Insertion module, for inserting mark at the end of the hosts files, will need foundation to reflect in the mark The domain name penetrated points to the machine domain name.
Preferably, the mastery routine specifically for determine from the interface list in basis analog interface modification institute Before stating the configuration of web page server nginx and the system file hosts files, based on the selection of user, from the interface The analog interface is determined in list.
Preferably, the front end page, is mainly used in determining depanning in the operation according to user from the interface list After intending interface, local newly-increased analog interface is obtained;Judge whether the local newly-increased analog interface needs to share;If It is the local newly-increased analog interface to be stored in the shared server.
By one or more technical scheme of the present invention, the invention has the advantages that or advantage:
The invention discloses a kind of implementation method of front end data simulation, during simulation, mastery routine searching web pages The configuration of server nginx and system file hosts files;The mastery routine by data exchange channels send render message to Front end page;The front end page sends a request to shared server based on the message that renders, and receives the shared service The data genaration interface list that device is returned based on the request;The mastery routine is according to the mould determined from the interface list Intend the configuration that interface changes the web page server nginx and the system file hosts files;The mastery routine parsing is described Interface list to obtain the corresponding data of the analog interface, so obtain calling interface request after, even if back office interface Do not exist, it is also possible to return corresponding data, without returning 404 error codes.
Description of the drawings
Fig. 1 is the Organization Chart of the implementation tool of front end data simulation in the embodiment of the present invention;
Fig. 2 is the enforcement figure of the implementation method of front end data simulation in the embodiment of the present invention;
Fig. 3 be the embodiment of the present invention in specifically introduce front end data simulation implementation method whole implementation procedure chart..
Specific embodiment
In order that the application the technical staff in the technical field is more clearly understood that the application, below in conjunction with the accompanying drawings, Technical scheme is described in detail by specific embodiment.
Electron, its predecessor are Atom Shell, can allow you write use JavaScript, HTML and CSS build across The multipad of platform.
Node, is a platform set up when being run based on Chrome JavaScript and network application.
Express, is a succinct and flexible node.js Web application framework.
Nginx, is a web page server, its energy reverse proxy HTTP, the Protocol chain of HTTPS, SMTP, POP3, IMAP Connect.
Hosts files, are the computer documentss of each nodal information in user's storage computer network, and it is responsible for master Machine title is mapped to corresponding IP address.
In embodiments of the present invention, a kind of implementation tool (hereinafter referred to as webmock) of front end data simulation is disclosed, It is the digital simulation of a graphical interface of user GUI (Graphical User Interface, also known as graphical user interface) Instrument, enables developer on the guidance panel of the instrument in units of demand or function, simulates one or more and connect Mouth simultaneously realizes that data are returned, and the existing digital simulation mode for invading service code is transformed into establishment Virtual Service agent Formula.I.e.:Non-existent interface is simulated, before calling interface request sends, another Virtual Service is forwarded this request to In, make non-existent interface also return corresponding data.
Front end data, refers in certain business scenario, and front end exploitation needs the number used during realizing certain function According to.
Front end data includes interface data.
Referring now to Fig. 1, it is the framework of the implementation tool of the front end data simulation.
Which mainly includes two parts:Mastery routine 1 and front end page 2.Mastery routine 1 is that computer is basic to be independently provided Program out, it can call subroutine, and do not called by any subprogram.Front end page 2 is that mastery routine 1 is supplied to use The operation interface at family.By taking browser application as an example, mastery routine 1 is exactly browser application itself, and front end page 2 is then It is the display interface of browser application offer, is capable of the operation of receive user and returns out corresponding result.
In addition, the invention further relates to shared server 4 and local system 3.Data base in shared server 4 can deposit The data that any user operation is produced are stored up, its effect is exactly the data sharing for analog interface.For example, user A generates 3 Individual interface data, this 3 interface data are stored in shared server 4, then user B if necessary to calling interface data, then Directly can be called in shared server 4.Certainly, in addition, number of ports is there is also in itself in shared server 4 According to.
In specific implementation process, the mastery routine 1, for searching web pages server nginx and system file hosts The configuration of file;Sent by data exchange channels message is rendered to the front end page 2;
The front end page 2, for sending a request to shared server 4 based on the message that renders, and receives described common Enjoy the data genaration interface list that server 4 is returned based on the request;
The mastery routine 1, changes the web service for the analog interface that basis is determined from the interface list The configuration of device nginx and the system file hosts files;It is corresponding to obtain the analog interface to parse the interface list Data.
As a kind of optional embodiment, the mastery routine 1, including:
Subprocess module, retrieves the web page server nginx configurations for sending retrieval command;
Module is obtained, for obtaining the return value of the web page server nginx;
Judge module, for judging whether the return value is empty;
Sending module, for starting the web page server nginx if it is not, then sending and starting order.
As a kind of optional embodiment, the mastery routine 1, including:
File flow module, for reading the hosts files;
Parsing module, for the hosts files are parsed by the way of canonical;
Insertion module, for inserting mark at the end of the hosts files, will need foundation to reflect in the mark The domain name penetrated points to the machine domain name.
Used as a kind of optional embodiment, the mastery routine 1 is specifically for determining from the interface list in basis Analog interface change the configuration of the web page server nginx and the system file hosts files before, based on user's Select, the analog interface is determined from the interface list.
As a kind of optional embodiment, the front end page 2, be mainly used in from the interface list according to user Operation determine analog interface after, obtain local newly-increased analog interface;Judge that the local newly-increased analog interface is It is no to need to share;If so, the local newly-increased analog interface is stored in the shared server 4.
Lower mask body introduces the specific implementation process of the instrument.
Which mainly includes two steps:One, front end data simulation, defining interface title, defining interface type, the biography of interface Transport format, etc..Two, interface result, including the data form (being defaulted as JSON) of returned data are returned according to the request of user And data structure and a kind of default value.
In fig. 2, the present invention mainly introduces the implementation method of front end data simulation, and which mainly includes the following steps that:
Step 21, the configuration of mastery routine searching web pages server nginx and system file hosts files;
Step 22, the mastery routine are sent by data exchange channels and render message to front end page;
Step 23, the front end page send a request to shared server based on the message that renders, and receive described common Enjoy the data genaration interface list that server is returned based on the request;
Step 24, the mastery routine change the web service according to the analog interface determined from the interface list The configuration of device nginx and the system file hosts files;
Step 25, the mastery routine parse the interface list to obtain the corresponding data of the analog interface.
Above-mentioned implementation process is the implementation method implementation process of front end data simulation, so it is asked calling interface is obtained Afterwards, even if back office interface is not present, it is also possible to return corresponding data, without returning 404 error codes.
Referring now to Fig. 3, the whole implementation procedure chart of the implementation method of front end data simulation is specifically introduced.
Step 11, the configuration of mastery routine searching web pages server nginx and system file hosts files.
In specific implementation process, mastery routine can be initialized first, and during initialized, mastery routine can be read Take locally configured information, the configuration of searching web pages server nginx and system file hosts files.
For the operation of searching web pages server nginx configurations:
By the node under mastery routine, (because node node is single thread, it is needed when retrieval command is sent Asynchronous operation, thus in API provide child process subprocess modules operated) subprocess (child process) mould Block sends retrieval command searching web pages server nginx configurations.Retrieval command is:tasklist/fi"IMAGENAME eq Nginx.exe " dos orders (this order is for retrieving nginx processes of whether there is in current system), the retrieval command refers to Fixed coded format is 16 systems (hex), and its call function is:m_process.exec('tasklist/fi"IMAGENAME Eq nginx.exe " ', { encoding:' hex'}, callback), then obtain in call back function (callback) and return Value (err).
Due to return value it is different with the form of retrieval command, so when return value is obtained, can be the coding staff of 16 systems Formula is converted to national standard extended code GBK form.Conversion regime is including but not limited to being:Iconv-lite.decode methods.
Judge whether current Nginx processes are run according to return value.
If err parameters are empty in return value, forbid operation, if err parameters are not sky, send startup order and open Dynamic nginx.Starting order is:nginx-c conf/nginx.confdos.The coded system for starting order is also 16 systems.
For the operation of searching system file hosts file configurations:
By the file flow module in the node (node) under mastery routine, (also referred to as fs modules, are mainly used in operation file Stream) hosts files are read, read path is:C:\Windows\System32\drivers\etc.
Hosts files are parsed by the way of canonical, analysis mode is:By r n expression formulas with behavior unit file In content constitute a data.Returned by function data.split (' r n') .filter (function (line) { }) Data per a line, then by line.trim () .split (/ s+ /) the data of every a line by one or more spaces be Unit splits into an array again.Every one piece of data in file can be traveled through in the manner described above.
Identified by function fs.appendFile (path, str, callback) insertions at hosts end of file, The domain name for needing to set up mapping is pointed to into the machine (127.0.0.1 domain names) in mark, then plus file notes, user's unlatching is treated After perform.
Step 12, is sent by data exchange channels and renders message to front end page.
Due in a step 11, by the configuration of searching web pages server nginx and system file hosts files, The file stream of nginx states and hosts files is obtained, so then execution step 12 after this, mastery routine passes through IPC channel (exchange channels of the page and application program in electron) forward end page sends and renders message, to front end page (i.e.:Front end Operation interface) rendered, to start the digital simulation of one or more interface.
Step 13, the front end page send a request to shared server based on the message that renders.
In specific implementation process, front end page is received after rendering message, can generate ajax based on the message that renders Request (translation is often " Ajax ", from description from the conversion for being applied to the application based on data based on Web) is sent to Shared server, asks analog interface data to generate interface list.
Step 14, upon receipt of the request, (that what is stored in data base is user to meeting reading database to shared server Shared interface data), and corresponding data are returned to the front end page based on the request.(data form is:
Step 15, the front end page receive the data genaration interface list that the server is returned based on the request.
Front end page can parse data by endless form, then after the data for receiving shared server return Being added in the label in the page by (dom) .append () method line by line, generates a data acquisition system, and This data acquisition system is also referred to as interface list, and the list is a form, form can be it is various, for example:First is to choose item, It is secondary to be classified as excuse title, interface return value, interface details etc..
This segment data is exactly to need the data acquisition system that is modeled, this data acquisition system also will deposit temporarily in the form of a file Store up local.
Step 16, front end page generate interface list after, can receive user operation determine need simulate connect Mouthful.
Then, execution step 17, the analog interface for needing judgement newly-increased (are to increase newly local because of newly-increased interface, are The no shared server that uploads to is user operation) whether need to share, if desired, then execution step 18, generate GID ( The friendly graphic user interface of general, strong adaptability and user interface, for geometric modelling, data input, model conversion, net All types of numerical simulation bags are all suitable for by lattice and visual result), and execution step 19, write shared server Data base.
Step 20, mastery routine change the web page server according to the analog interface determined from the interface list The configuration of nginx and the system file hosts files.
In specific implementation process, the process for changing hosts files is:
For example, as started A domain names/B interface, we again read off hosts files by file flow module, if A The mapping relations of domain name/B interface have been present, then directly release in the file stream of hosts files and annotate.
The mapping relations of A domain names/B interface are not present, then domain name A is mapped in 80 ports of local relation and reflects this Penetrate relation write hosts file stream in, form be (127.0.0.1 domain names A), all rest that such domain name A is sent below Request will be all directed in 80 ports of the machine.
Modification nginx process be:
The request that we need to simulate is intercepted, is beaten by fs.readFile (path, encoding, callback) method Nginx.conf files are opened, the configuration-direct of nginx is then write.Then instruction is preserved by fs.appendFile methods, is adjusted Our instruction is made to come into force with nginx-s reload dos orders.
The configuration-direct of nginx is as follows:
The configuration-direct for having above-mentioned nginx and the hosts files above changed, ask under domain name A in the machine Interface will be intercepted, and 127.0.0.1 can be sent to if interface B is intercepted:In 80 service, other requests are then straight Sending and receiving are sent under domain name A and return truthful data.
Step 21, parses the interface list and obtains the corresponding data of the analog interface.
Step 22, host process start local service;Specially:Local service is started by node app.js dos orders (address is:127.0.0.1:80).
Step 23, local service are read by fs.readFileSync (filename, [options]) method with file Form is stored in local interface list, and data form is [obj, obj....].Then for circulations are carried out to the interface list Parsing, obtains the corresponding data of the analog interface.
A * .JSON file is generated by fs.mkdir () method then per circulation primary.
When the request for receiving interface B, then the filename of * .JSON is matched according to interface name, if it is found, then performing Res.json () method returns the data in * .Json, and to here, digital simulation is just completed, even if interface B is a reality Non-existent interface, also can returned data.
After implementing to finish above-mentioned steps, following operation can also be carried out:
The calling interface request that receive user sends.
Based on calling interface request retrieval hosts files, corresponding configuration is obtained;
Filtered based on the configuration using web page server nginx;
If the calling interface request is obtained in web page server nginx, calling interface request is sent to In corresponding Virtual Service.
If the calling interface request is there is no in web page server nginx, calling interface request is sent out It is sent in real website domain name.For example domain name A is mapped in 80 ports of local relation and writes this mapping relations In the file stream of hosts, form is (127.0.0.1 domain names A), and all rest requests that such domain name A is sent below will be complete Portion is directed in 80 ports of the machine.And other requests are will be sent in real website domain name.
It is exemplified below after front end data simulation, how according to user instrument request is not deposited based on one Interface return corresponding data.
First (being set to www.douyu.com/interfaceA) is asked when user is sent by browser, computer is held Www.douyu.com goes to retrieve hosts files, and it can find the configuration that we are changed above with webmock in hosts (127.0.0.1www.douyu.com), then this then asks, and is received by local nginx, and nginx is filtered again, if InterfaceA is found in nginx, then this is then asked to be sent in our virtual server, if it is not, sending To in real website domain name.
Advantage:The Internet is a battlefield, is that, in order to survive, " steady " is in order to preferably raw in internet arena " fast " Deposit, the situation of rear end obstruction front end exploitation in the exploitation of front end, usually occur, the way before us is, the first handle in code Data definition is good, functional realiey is good by data structure, waits rear end to complete interface, then the data in code are deleted, and Request code completion, so develop both unhappy and unstable, efficiency is low, and Jing often easily malfunctions, in order to solve this present situation, The present invention realizes interface simulation by webmock instruments, allows the front and back end can be with concurrent development.
By one or more embodiment of the present invention, the invention has the advantages that or advantage:
The invention discloses a kind of implementation method of front end data simulation, during simulation, mastery routine searching web pages The configuration of server nginx and system file hosts files;The mastery routine by data exchange channels send render message to Front end page;The front end page sends a request to shared server based on the message that renders, and receives the shared service The data genaration interface list that device is returned based on the request;The mastery routine is according to the mould determined from the interface list Intend the configuration that interface changes the web page server nginx and the system file hosts files;The mastery routine parsing is described Interface list to obtain the corresponding data of the analog interface, so obtain calling interface request after, even if back office interface Do not exist, it is also possible to return corresponding data, without returning 404 error codes.
Although having been described for the preferred embodiment of the application, one of ordinary skilled in the art once knows substantially Creative concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to bag Include preferred embodiment and fall into the had altered of the application scope and change.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the application to the application God and scope.So, if these modifications of the application and modification belong to the scope of the application claim and its equivalent technologies Within, then the application is also intended to comprising these changes and modification.

Claims (10)

1. a kind of implementation method of front end data simulation, is applied in the implementation tool of front end data simulation, it is characterised in that institute The method of stating includes:
The configuration of mastery routine searching web pages server nginx and system file hosts files;
The mastery routine is sent by data exchange channels and renders message to front end page;
The front end page sends a request to shared server based on the message that renders, and receives the shared server and be based on The data genaration interface list that the request is returned;
The mastery routine changes the web page server nginx and institute according to the analog interface determined from the interface list State the configuration of system file hosts files;
The mastery routine parses the interface list to obtain the corresponding data of the analog interface.
2. the method for claim 1, it is characterised in that the searching web pages server nginx and system file hosts The configuration of file, including:
Send retrieval command and retrieve the web page server nginx configurations;
Obtain the return value of the web page server nginx;
Judge whether the return value is empty;
Start the web page server nginx if it is not, then sending and starting order.
3. the method for claim 1, it is characterised in that the searching web pages server nginx and system file hosts The configuration of file, including:
Read the hosts files;
The hosts files are parsed by the way of canonical;
Mark is inserted at the end of the hosts files, the domain name for needing to set up mapping is pointed to into the machine in the mark Domain name.
4. the method for claim 1, it is characterised in that the mastery routine is according to determining from the interface list Before analog interface changes the configuration of the web page server nginx and the system file hosts files, including:
Based on the selection of user, the analog interface is determined from the interface list.
5. method as claimed in claim 4, it is characterised in that described to be determined according to the operation of user from the interface list After going out analog interface, including:
Obtain local newly-increased analog interface;
Judge whether the local newly-increased analog interface needs to share;
If so, the local newly-increased analog interface is stored in the shared server.
6. the implementation tool that a kind of front end data is simulated, it is characterised in that include:Mastery routine and front end page;
The mastery routine, for the configuration of searching web pages server nginx and system file hosts files;By data interaction Passage sends and renders message to the front end page;
The front end page, for sending a request to shared server based on the message that renders, and receives the shared service The data genaration interface list that device is returned based on the request;
The mastery routine, changes the web page server for the analog interface that basis is determined from the interface list The configuration of nginx and the system file hosts files;Parse the interface list to obtain the corresponding number of the analog interface According to.
7. instrument as claimed in claim 6, it is characterised in that the mastery routine, including:
Subprocess module, retrieves the web page server nginx configurations for sending retrieval command;
Module is obtained, for obtaining the return value of the web page server nginx;
Judge module, for judging whether the return value is empty;
Sending module, for starting the web page server nginx if it is not, then sending and starting order.
8. instrument as claimed in claim 6, it is characterised in that the mastery routine, including:
File flow module, for reading the hosts files;
Parsing module, for the hosts files are parsed by the way of canonical;
Insertion module, for inserting mark at the end of the hosts files, will need to set up mapping in the mark Domain name points to the machine domain name.
9. instrument as claimed in claim 6, it is characterised in that the mastery routine specifically in basis from the interface list In before the analog interface determined changes the configuration of the web page server nginx and the system file hosts files, base In the selection of user, the analog interface is determined from the interface list.
10. instrument as claimed in claim 9, it is characterised in that the front end page, is mainly used in from the interface list After analog interface is determined in the middle operation according to user, local newly-increased analog interface is obtained;Judge described local newly-increased Whether analog interface needs is shared;If so, the local newly-increased analog interface is stored in the shared server.
CN201611085176.7A 2016-11-30 2016-11-30 Front-end data simulation implementation method and system Pending CN106598575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611085176.7A CN106598575A (en) 2016-11-30 2016-11-30 Front-end data simulation implementation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611085176.7A CN106598575A (en) 2016-11-30 2016-11-30 Front-end data simulation implementation method and system

Publications (1)

Publication Number Publication Date
CN106598575A true CN106598575A (en) 2017-04-26

Family

ID=58594502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611085176.7A Pending CN106598575A (en) 2016-11-30 2016-11-30 Front-end data simulation implementation method and system

Country Status (1)

Country Link
CN (1) CN106598575A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600311A (en) * 2018-03-21 2018-09-28 浙江口碑网络技术有限公司 The method and device of client simulation interface data
CN109032917A (en) * 2017-06-09 2018-12-18 北京金山云网络技术有限公司 Page adjustment method and system, mobile terminal and computer end
CN109542507A (en) * 2018-10-26 2019-03-29 深圳点猫科技有限公司 A kind of GBK code processing method and electronic equipment based on educational system
CN109688364A (en) * 2018-08-21 2019-04-26 平安科技(深圳)有限公司 Video-meeting method, device, server and storage medium
CN109688202A (en) * 2018-12-04 2019-04-26 北京腾云天下科技有限公司 A kind of processing method of interface data, calculates equipment and storage medium at device
CN109783078A (en) * 2018-12-14 2019-05-21 平安证券股份有限公司 Stand-alone development method, apparatus, equipment and the storage medium of front end page
CN111147329A (en) * 2019-12-27 2020-05-12 广东睿江云计算股份有限公司 Method and system for testing mobile item by front-end real machine
CN113836460A (en) * 2021-08-13 2021-12-24 深圳市明源云空间电子商务有限公司 mock data control method, equipment terminal and computer readable storage medium
WO2022135178A1 (en) * 2020-12-21 2022-06-30 腾讯科技(深圳)有限公司 Micro-frontend system, sub-application loading method, electronic device, computer program product, and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199725A (en) * 2014-09-27 2014-12-10 上海瀚之友信息技术服务有限公司 Service interface data simulation method and system
CN105867944A (en) * 2016-04-19 2016-08-17 郑州宇通客车股份有限公司 Web front-end terminal operating layer and implementing method thereof
CN106055383A (en) * 2016-05-26 2016-10-26 北京京东尚科信息技术有限公司 Request processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199725A (en) * 2014-09-27 2014-12-10 上海瀚之友信息技术服务有限公司 Service interface data simulation method and system
CN105867944A (en) * 2016-04-19 2016-08-17 郑州宇通客车股份有限公司 Web front-end terminal operating layer and implementing method thereof
CN106055383A (en) * 2016-05-26 2016-10-26 北京京东尚科信息技术有限公司 Request processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
闫耀珍: "《Mock测试,何去何从》", 《HTTPS://WWW.TESTWO.COM/ARTICLE/778》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032917A (en) * 2017-06-09 2018-12-18 北京金山云网络技术有限公司 Page adjustment method and system, mobile terminal and computer end
CN109032917B (en) * 2017-06-09 2021-06-18 北京金山云网络技术有限公司 Page debugging method and system, mobile terminal and computer terminal
CN108600311A (en) * 2018-03-21 2018-09-28 浙江口碑网络技术有限公司 The method and device of client simulation interface data
CN108600311B (en) * 2018-03-21 2020-08-04 浙江口碑网络技术有限公司 Method and device for simulating interface data by client
CN109688364A (en) * 2018-08-21 2019-04-26 平安科技(深圳)有限公司 Video-meeting method, device, server and storage medium
CN109542507A (en) * 2018-10-26 2019-03-29 深圳点猫科技有限公司 A kind of GBK code processing method and electronic equipment based on educational system
CN109688202A (en) * 2018-12-04 2019-04-26 北京腾云天下科技有限公司 A kind of processing method of interface data, calculates equipment and storage medium at device
CN109688202B (en) * 2018-12-04 2021-07-02 北京腾云天下科技有限公司 Interface data processing method and device, computing equipment and storage medium
CN109783078A (en) * 2018-12-14 2019-05-21 平安证券股份有限公司 Stand-alone development method, apparatus, equipment and the storage medium of front end page
CN111147329A (en) * 2019-12-27 2020-05-12 广东睿江云计算股份有限公司 Method and system for testing mobile item by front-end real machine
WO2022135178A1 (en) * 2020-12-21 2022-06-30 腾讯科技(深圳)有限公司 Micro-frontend system, sub-application loading method, electronic device, computer program product, and computer readable storage medium
CN113836460A (en) * 2021-08-13 2021-12-24 深圳市明源云空间电子商务有限公司 mock data control method, equipment terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106598575A (en) Front-end data simulation implementation method and system
CN103597469B (en) Live browser instrument in IDE
RU2419842C2 (en) Data controlled actions for network forms
JP4824110B2 (en) Computer-implemented method, computer program, and data processing system for inheriting page layout for a page
US9977770B2 (en) Conversion of a presentation to Darwin Information Typing Architecture (DITA)
JP4991124B2 (en) Distributed data model
CN103608802B (en) The method and system of Choose for user between the file and source file fetched
CN108572819A (en) Method for updating pages, device, terminal and computer readable storage medium
JP2009543166A (en) Computer-implemented method, computer program, and data processing system for defining page layout by page
JP2005348405A (en) Protocol emulator
US11019012B2 (en) File sending in instant messaging application
CN108399072A (en) Five application page update method and device
CN103530338A (en) Frame for carrying out page rendering on calculation equipment and page generation method
JPH11167584A (en) Page shift method and its execution device and medium recording page shift processing program and data
Li et al. Modeling web application architecture with UML
EP0977130A1 (en) Facility for selecting and printing web pages
CN111061478B (en) Page form modification method, device and equipment and readable storage medium
US8943483B2 (en) Application programming interface naming using collaborative services
JP2006065467A5 (en)
US7802185B1 (en) System and method for producing documents in a page description language in response to a request made to a server
CN110489130A (en) A kind of client-based business datum extracting method and device
CN113268232B (en) Page skin generation method and device and computer readable storage medium
CN107612919A (en) Protocol configuration method and device
CN107357937A (en) Management of webpage end creation method and device
US20100107129A1 (en) Indeterminate State Logic Insertion

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170426