CN109634605A - Analogue data generation method and system for web front-end - Google Patents

Analogue data generation method and system for web front-end Download PDF

Info

Publication number
CN109634605A
CN109634605A CN201811480008.7A CN201811480008A CN109634605A CN 109634605 A CN109634605 A CN 109634605A CN 201811480008 A CN201811480008 A CN 201811480008A CN 109634605 A CN109634605 A CN 109634605A
Authority
CN
China
Prior art keywords
mock
configuration
request
digital simulation
field
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
CN201811480008.7A
Other languages
Chinese (zh)
Other versions
CN109634605B (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.)
AI Speech Ltd
Original Assignee
AI Speech 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 AI Speech Ltd filed Critical AI Speech Ltd
Priority to CN201811480008.7A priority Critical patent/CN109634605B/en
Publication of CN109634605A publication Critical patent/CN109634605A/en
Application granted granted Critical
Publication of CN109634605B publication Critical patent/CN109634605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Abstract

The embodiment of the present invention provides a kind of analogue data generation method for web front-end.This method comprises: the digital simulation that server is initiated in response to web front-end is requested, it whether include mock field in inquiry digital simulation request;When including mock field in digital simulation request, the request type of digital simulation request is determined according to mock field, wherein request type includes: local resource simulation, non-local resources simulation;When request type is that local resource is simulated, the mock configuration of web front-end is obtained;Parse the mock configuration of web front-end, wherein mock configuration includes default mock configuration, non-default mock configuration;When mock is configured to non-default mock configuration, privately owned configurable analogue data is generated according to non-default mock configuration.The embodiment of the present invention also provides a kind of analogue data generation system for web front-end.The embodiment of the present invention determines corresponding digital simulation by inquiry mock field, meets public digital simulation, private data simulation, the demand of privately owned configurable data simulation.

Description

Analogue data generation method and system for web front-end
Technical field
The present invention relates to field of program development more particularly to a kind of analogue data generation method for web front-end and it is System.
Background technique
Web develops the mainstream stage of data-driven of be in, this makes the used page that can follow the variations of data And change.Specified in order to achieve the effect that web page, before exploitation carries out, the front and back end web personnel can be according to project demands To arrange corresponding interface document, wherein arranged the structure and type of data in the interface document, developer is according to institute State interface document concurrent development.Since the interaction and rendering of the page depend on data, accurately digital simulation can improve front end and hold The efficiency of hair.
In order to realize the simulation of data, developer would generally use and arrive corresponding API (Application Programming Interface, application programming interface).Analogue data is carried out according to the script that corresponding API is provided.
In realizing process of the present invention, at least there are the following problems in the related technology for inventor's discovery:
Corresponding API is typically based on a certain unalterable rule and carrys out analogue data, but in web development process, institute Desired data be it is dynamic, can canonical configuration, since individual special items need, simulating the data come is exploit person What member was exclusively enjoyed.And as API platform, in order to meet the needs of Most users, the data of generation are usually public resource, mould Quasi- data are also shared.And the demand or developer for end item may may require that some privately owned data, Or there are also certain demands to the data of simulation.And existing API is unable to satisfy these demands, to truthful data in limber up period Between stimulated replacement mock data do not probe into deeply.
Summary of the invention
Privately owned analogue data can not be configured in order at least solve API in the prior art, the data of simulation can not customize, And the problem of mock data are not configured deeply.
In a first aspect, the embodiment of the present invention provides a kind of analogue data generation method for web front-end, comprising:
The digital simulation that server is initiated in response to web front-end is requested, inquire in the digital simulation request whether include Mock field;
When including mock field in digital simulation request, determine that the digital simulation is asked according to the mock field The request type asked, wherein the request type includes: local resource simulation, non-local resources simulation;
When the request type is that local resource is simulated, the mock configuration of web front-end is obtained;
Parse the mock configuration of the web front-end, wherein the mock configuration includes that default mock is configured, is non-default Mock configuration;
When the mock is configured to non-default mock configuration, generated according to the non-default mock configuration privately owned configurable Analogue data.
Second aspect, the embodiment of the present invention provide a kind of analogue data generation system for web front-end, comprising:
Field Inquiry program module, the digital simulation initiated for server in response to web front-end are requested, and the number is inquired It whether include mock field according in simulation request;
Request type determines program module, is used for when including mock field in digital simulation request, according to described Mock field determines the request type of the digital simulation request, wherein the request type includes: that local resource simulates, is non- Local resource simulation;
Configuration obtains program module, for obtaining the mock of web front-end when the request type is that local resource is simulated Configuration;
Command Line Parsing program module, the mock for parsing the web front-end are configured, wherein the mock, which is configured, includes Default mock configuration, non-default mock configuration;
Privately owned configurable analogue data generates program module, for when the mock is configured to non-default mock configuration, Privately owned configurable analogue data is generated according to the non-default mock configuration.
The third aspect provides a kind of electronic equipment comprising: at least one processor, and with described at least one Manage the memory of device communication connection, wherein the memory is stored with the instruction that can be executed by least one described processor, institute It states instruction to be executed by least one described processor, so that at least one described processor is able to carry out any embodiment of the present invention The analogue data generation method for web front-end the step of.
Fourth aspect, the embodiment of the present invention provide a kind of storage medium, are stored thereon with computer program, and feature exists In the analogue data generation method for web front-end of realization any embodiment of the present invention when the program is executed by processor Step.
The beneficial effect of the embodiment of the present invention is: determining corresponding digital simulation by inquiry mock field, meets Public digital simulation, private data simulation, the demand of privately owned configurable data simulation.It is directed to common data simulation, life In to public remote interface digital simulation service on;It is directed to private data simulation, local data analog configuration file is arrived in hit In;It is directed to privately owned configurable digital simulation, simulation is realized according to the interpolation expression in configuration file, meanwhile, also protect The channel using truthful data is stayed.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow chart for analogue data generation method for web front-end that one embodiment of the invention provides;
Fig. 2 is the structural representation that a kind of analogue data for web front-end that one embodiment of the invention provides generates system Figure.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
A kind of stream of the analogue data generation method for web front-end provided as shown in Figure 1 for one embodiment of the invention Cheng Tu includes the following steps:
S11: the digital simulation that server is initiated in response to web front-end is requested, inquire in the digital simulation request whether Include mock field;
S12: when including mock field in digital simulation request, the data mould is determined according to the mock field Plan to invite the request type asked, wherein the request type includes: local resource simulation, non-local resources simulation;
S13: when the request type is that local resource is simulated, the mock configuration of web front-end is obtained;
S14: the mock configuration of the web front-end is parsed, wherein the mock configuration includes that default mock is configured, is non-silent Recognize mock configuration;
S15: when the mock is configured to non-default mock configuration, according to the non-default mock configuration generate it is privately owned can Configure analogue data.
In the present embodiment, mock is substitute of the truthful data during debugging.For it is certain be not easy construction or Person is not easy the object obtained, creates the method so as to test with a virtual object.
Since real object has not confirmable behavior, uncertain effect is generated, (for example, stock market, weather Forecast etc.) these real objects are difficult to be created, and certain behaviors of real object are difficult to be triggered.
In digital simulation, this object is described usually using an interface.This interface is realized in product code, Carry out reference object simply by interface in test code, when quoting analogue data, program can not identify pair of this reference Like real object or mock object, it is possible to freely adjust and which kind of object to carry out analogue data using.
It is all that mock is carried out to the returned data of interface in general scene.It is simplest by taking http agreement as an example Mock can save portion mock data on mock server, and generate corresponding url to this mock data.It will access Third party url, with mock url replacement.Most basic mock demand can be met in this way.
For step S11, developer issues digital simulation request to server in web front-end, and server is in response to opening The digital simulation request that hair personnel initiate in web front-end, to inquire in the digital simulation request header file, if include mock Field determines that object cited in developer is real object or mock object.
For step S12, when in the header file of digital simulation request including mock field, according to the mock word Section determines the request type of digital simulation request.Wherein, request type includes local resource simulation and non-local money Source simulation.
The mock configuration of web front-end is obtained when the type of the request is that local resource is simulated for step S13.Example Such as, the mock configuration got is as follows:
For step S14, the mock configuration obtained according to step S13 is parsed, for example, passing through interpolation expression solution Analysis.
Such as according in above-mentioned mock configuration:
For step S15, configures when the mock is configured to non-default mock, configured according to the non-default mock, it is non- Default namely parses expression formula whether is added in this file, executes Mock generator, generates specific privately owned configurable Analogue data, for example, on June 1st, 2018 at the beginning of activity, 2018 end times September 1st ....The life of other data At details are not described herein.
It can be seen that the request type that the digital simulation request is determined by inquiring mock field by the embodiment For local resource simulation when, by developer configuration file generated by interpolation expression corresponding developer exclusively enjoy it is privately owned Configurable analogue data.To complete the simulation of privately owned configurable data.
As an implementation, in the present embodiment, after the mock configuration of the parsing web front-end, institute State method further include:
When the mock is configured to default mock configuration, privately owned analogue data is generated according to default mock configuration.
In the present embodiment, it when the mock is configured to default mock configuration, is configured according to the mock of the default, Generate corresponding privately owned analogue data, in implementation, such as mock:@mock/xxx/xxx.json is this without the judgement of protocol header Ground mock, while being also local default mock configuration, (value of@mock/xxx/xxx.json here be directed toward be the machine mock Configure resource address), to generate corresponding privately owned analogue data.
It can be seen that determine that the project of developer needs to exclusively enjoy by query expression privately owned by the embodiment Analogue data when, but do not require specifically to configure, to generate the simulation of private data.
As an implementation, in the present embodiment, the digital simulation is determined according to the mock field described After the request type of request, the method also includes:
When the request type is that non-local resources is simulated, digital simulation request is forwarded to public simulation program Interface generates public analogue data.
In the present embodiment, when the request type is that non-local resources is simulated, illustrate developer, use is public Analogue data.Digital simulation request is forwarded to public simulation program interface, generates public analogue data.For example, It can be forwarded to common API platform: Apiary, YApi etc., generate public analogue data, specific implementation method such as mock: Http:// xxx.xx/xxx is then judged as long-range public mock with the protocol headers such as http, simulates for non-local resources, if It is long-range mock configuration, obtains this mock and configure corresponding value, directly initiate request, obtains returned data and be transmitted to client again End.
It can be seen that by the embodiment by determining request type, inquiry developer is intended to what kind of Analogue data, when it is only necessary to when simple public analogue data, the digital simulation is requested for the project of developer needs It is forwarded in common API platform, to complete the simulation for being directed to common data.
As an implementation, in the present embodiment, in inquiry digital simulation request whether include After mock field, the method also includes:
When not including mock field in digital simulation request, digital simulation request is forwarded to including true The application programming interfaces of data obtain truthful data.
In the present embodiment, when not protecting mock field in digital simulation request, illustrate that the project of developer needs True data are wanted, so the request of data to be forwarded to the application programming interfaces of truthful data, and then obtain true number According to.
It can be seen that the channel by retaining truthful data by the embodiment, meet the various data of developer Demand.
As an implementation, in the present embodiment, the digital simulation is determined according to the mock field described After the request type of request, the method also includes:
When the request type is that non-local resources is simulated, is configured according to the mock of the server, generate privately owned mould Quasi- data.
In the present embodiment, when request type be non-local resources simulate when, illustrate developer only hope using Privately owned data are exclusively enjoyed to be tested, and are specifically which type of data, not special requirement, thus, directly pass through clothes The mock configuration of business device, generates privately owned analogue data.
It can be seen that the request type that the digital simulation request is determined by inquiring mock field by the embodiment It is specific without requiring when showing that the project of developer needs to exclusively enjoy privately owned analogue data when being simulated for non-local resources Configuration configures according to the mock of server, privately owned analogue data is generated, to complete the simulation of private data.
As an implementation, in the present embodiment, the mock configuration of server generates private after described according to modification After having configurable analogue data, the method also includes: store the mock field.
The storage mock field includes:
The initiation address of the digital simulation request of the mock field is stored in the interface statement of the server.
In the present embodiment, " mock " is added in the interface statement of the server, needed in the statement of interface Match mock field.Such as:
It can be seen that by the implementation method by the way that mock field and interface statement configuration to be consistent, convenient for exploitation Lookup and maintenance of the personnel in the later period.
As an implementation, the storage mock field further include:
Inquiry whether there is mock.json file;
When there are the mock.json file, the initiation address that the digital simulation of the mock field is requested is stored To in the mock.json file;
When the mock.json file is not present, mock.json file is created, by the data mould of the mock field The initiation address asked is planned to invite to store into the mock.json file.
In the present embodiment, inquiry whether there is mock.json file.Wherein, json (JavaScript Object Notation, JS object numbered musical notation) be a kind of lightweight data interchange format, using the text lattice for being totally independent of programming language Formula stores and indicates data.Succinctly and clearly hierarchical structure is easy to people and reads and write, at the same be also easy to machine parsing and It generates, effectively promotes network transmission efficiency.For simple, storing data is acted on.When there are the mock file, The initiation address that the digital simulation of the mock field is requested is stored into the mock.json file.When there is no described When mock.json file, mock.json file is just created in the server, then again by the data of the mock field The initiation address of simulation request is stored into the mock.json.Such as: mock.json
It can be seen that by the implementation method by arriving the initiation address storage of the digital simulation request of each mock field In mock.json, redundant data will not be generated, promotes the stability of server.
A kind of analogue data for web front-end for being illustrated in figure 2 one embodiment of the invention offer generates the knot of system Structure schematic diagram, which can be performed the analogue data generation method that web front-end is used for described in above-mentioned any embodiment, and configure In the terminal.
It includes: Field Inquiry program module that a kind of analogue data for web front-end provided in this embodiment, which generates system, 11, request type determines program module 12, and configuration obtains program module 13, Command Line Parsing program module 14 and privately owned configurable mould Quasi- data generator module 15.
Wherein, the digital simulation that Field Inquiry program module 11 is initiated for server in response to web front-end is requested, inquiry It whether include mock field in the digital simulation request;Request type determines program module 12 for asking when the digital simulation When in asking including mock field, the request type of the digital simulation request is determined according to the mock field, wherein described to ask Seeking type includes: local resource simulation, non-local resources simulation;Configuration obtains program module 13 for when the request type is When local resource is simulated, the mock configuration of web front-end is obtained;Command Line Parsing program module 14 is for parsing the web front-end Mock configuration, wherein the mock configuration includes default mock configuration, non-default mock configuration;Privately owned configurable analogue data It generates program module 15 to be used for when the mock is configured to non-default mock configuration, be generated according to the non-default mock configuration Privately owned configurable analogue data.
Further, the system also includes: privately owned analogue data generates program module,
For generating privately owned simulation number according to default mock configuration when the mock is configured to default mock configuration According to.
Further, the system also includes: public analogue data generates program module,
For when the request type is that non-local resources is simulated, digital simulation request to be forwarded to public simulation Routine interface generates public analogue data.
Further, the method also includes: truthful datas to obtain program module,
For when the digital simulation request in do not include mock field when, by the digital simulation request be forwarded to including The application programming interfaces of truthful data obtain truthful data.
Further, after the privately owned configurable analogue data generates program module, the system also includes: field Program module is stored, for storing the mock field.
The embodiment of the invention also provides a kind of nonvolatile computer storage media, computer storage medium is stored with meter The mould for web front-end in above-mentioned any means embodiment can be performed in calculation machine executable instruction, the computer executable instructions Quasi- data creation method;
As an implementation, nonvolatile computer storage media of the invention is stored with the executable finger of computer It enables, computer executable instructions setting are as follows:
The digital simulation that server is initiated in response to web front-end is requested, inquire in the digital simulation request whether include Mock field;
When including mock field in digital simulation request, determine that the digital simulation is asked according to the mock field The request type asked, wherein the request type includes: local resource simulation, non-local resources simulation;
When the request type is that local resource is simulated, the mock configuration of web front-end is obtained;
Parse the mock configuration of the web front-end, wherein the mock configuration includes that default mock is configured, is non-default Mock configuration;
When the mock is configured to non-default mock configuration, generated according to the non-default mock configuration privately owned configurable Analogue data.
As a kind of non-volatile computer readable storage medium storing program for executing, it can be used for storing non-volatile software program, non-volatile Property computer executable program and module, such as the corresponding program instruction/mould of the method for the test software in the embodiment of the present invention Block.One or more program instruction is stored in non-volatile computer readable storage medium storing program for executing, when being executed by a processor, is held The analogue data generation method for web front-end in the above-mentioned any means embodiment of row.
Non-volatile computer readable storage medium storing program for executing may include storing program area and storage data area, wherein storage journey It sequence area can application program required for storage program area, at least one function;Storage data area can be stored according to test software Device use created data etc..In addition, non-volatile computer readable storage medium storing program for executing may include that high speed is deposited at random Access to memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other are non- Volatile solid-state part.In some embodiments, it includes relative to place that non-volatile computer readable storage medium storing program for executing is optional The remotely located memory of device is managed, these remote memories can be by being connected to the network to the device of test software.Above-mentioned network Example include but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
The embodiment of the present invention also provides a kind of electronic equipment comprising: at least one processor, and with described at least one The memory of a processor communication connection, wherein the memory is stored with the finger that can be executed by least one described processor Enable, described instruction executed by least one described processor so that at least one described processor be able to carry out it is of the invention any The step of analogue data generation method for web front-end of embodiment.
The client of the embodiment of the present application exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio, Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) other electronic devices having data processing function.
Herein, relational terms such as first and second and the like be used merely to by an entity or operation with it is another One entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this reality Relationship or sequence.Moreover, the terms "include", "comprise", include not only those elements, but also including being not explicitly listed Other element, or further include for elements inherent to such a process, method, article, or device.Do not limiting more In the case where system, the element that is limited by sentence " including ... ", it is not excluded that including process, method, the article of the element Or there is also other identical elements in equipment.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of analogue data generation method for web front-end, comprising:
Whether the digital simulation that server is initiated in response to web front-end is requested, inquire in the digital simulation request comprising mock Field;
When including mock field in digital simulation request, the digital simulation request is determined according to the mock field Request type, wherein the request type includes: local resource simulation, non-local resources simulation;
When the request type is that local resource is simulated, the mock configuration of web front-end is obtained;
Parse the mock configuration of the web front-end, wherein the mock configuration includes that default mock is configured, non-default mock matches It sets;
When the mock is configured to non-default mock configuration, privately owned configurable simulation is generated according to the non-default mock configuration Data.
2. according to the method described in claim 1, wherein, after the mock configuration of the parsing web front-end, the side Method further include:
When the mock is configured to default mock configuration, privately owned analogue data is generated according to default mock configuration.
3. according to the method described in claim 1, wherein, determining that the digital simulation is requested according to the mock field described Request type after, the method also includes:
When the request type is that non-local resources is simulated, digital simulation request is forwarded to public simulation program and is connect Mouthful, generate public analogue data.
4. according to the method described in claim 1, whether including mock word in the inquiry digital simulation request wherein After section, the method also includes:
When not including mock field in digital simulation request, digital simulation request is forwarded to including truthful data Application programming interfaces, obtain truthful data.
5. according to the method described in claim 1, wherein, it is described according to modification after server mock configuration generate it is privately owned can After configuring analogue data, the method also includes: store the mock field.
6. according to the method described in claim 5, wherein, the storage mock field includes:
The initiation address of the digital simulation request of the mock field is stored in the interface statement of the server.
7. according to the method described in claim 5, wherein, the storage mock field further include:
Inquiry whether there is mock.json file;
When there are the mock.json file, the initiation address that the digital simulation of the mock field is requested is stored to institute It states in mock.json file;
When the mock.json file is not present, mock.json file is created, the digital simulation of the mock field is asked The initiation address asked is stored into the mock.json file.
8. a kind of analogue data for web front-end generates system, comprising:
Field Inquiry program module, the digital simulation initiated for server in response to web front-end are requested, and the data mould is inquired It whether plans to invite in asking comprising mock field;
Request type determines program module, is used for when including mock field in digital simulation request, according to the mock Field determines the request type of the digital simulation request, wherein the request type includes: that local resource simulates, is non-local Resource simulation;
Configuration obtains program module, for when the request type is that local resource is simulated, the mock for obtaining web front-end to match It sets;
Command Line Parsing program module, the mock for parsing the web front-end are configured, wherein the mock configuration includes default Mock configuration, non-default mock configuration;
Privately owned configurable analogue data generates program module, for when the mock is configured to non-default mock configuration, according to The non-default mock configuration generates privately owned configurable analogue data.
9. a kind of electronic equipment comprising: at least one processor, and deposited with what at least one described processor communication was connect Reservoir, wherein the memory be stored with can by least one described processor execute instruction, described instruction by it is described at least One processor executes, so that at least one described processor is able to carry out the step of any one of claim 1-7 the method Suddenly.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that the realization when program is executed by processor The step of any one of claim 1-7 the method.
CN201811480008.7A 2018-12-05 2018-12-05 Simulation data generation method and system for web front end Active CN109634605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811480008.7A CN109634605B (en) 2018-12-05 2018-12-05 Simulation data generation method and system for web front end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811480008.7A CN109634605B (en) 2018-12-05 2018-12-05 Simulation data generation method and system for web front end

Publications (2)

Publication Number Publication Date
CN109634605A true CN109634605A (en) 2019-04-16
CN109634605B CN109634605B (en) 2021-11-02

Family

ID=66071379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811480008.7A Active CN109634605B (en) 2018-12-05 2018-12-05 Simulation data generation method and system for web front end

Country Status (1)

Country Link
CN (1) CN109634605B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489101A (en) * 2019-07-15 2019-11-22 北京字节跳动网络技术有限公司 Interface analogy method, system, medium and electronic equipment
CN111857656A (en) * 2020-06-12 2020-10-30 北京百度网讯科技有限公司 Data processing method and device, electronic equipment and storage medium
CN111953659A (en) * 2020-07-21 2020-11-17 北京思特奇信息技术股份有限公司 Method and system for simulating http request
CN112015573A (en) * 2020-08-25 2020-12-01 云账户技术(天津)有限公司 Interface data simulation method and device and electronic equipment
CN112685014A (en) * 2020-12-25 2021-04-20 中孚安全技术有限公司 Method, system and equipment for quickly simulating interface
CN113127345A (en) * 2021-04-06 2021-07-16 北京字跳网络技术有限公司 Application testing method and device, electronic equipment and storage medium
CN114238099A (en) * 2021-12-09 2022-03-25 北京五八信息技术有限公司 Method and device for gray scale test, electronic equipment and readable medium

Citations (9)

* 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
CN104899142A (en) * 2015-06-10 2015-09-09 北京嘀嘀无限科技发展有限公司 Remote mock testing method and device
CN105138448A (en) * 2014-06-05 2015-12-09 北京畅游天下网络技术有限公司 Method and device for page test at front end
US20160173626A1 (en) * 2014-12-16 2016-06-16 Alex Volchok Embeddable web analytics tracking via mock environment
CN105893227A (en) * 2015-12-29 2016-08-24 乐视网信息技术(北京)股份有限公司 Data processing method and device
CN106452888A (en) * 2016-10-24 2017-02-22 广州华多网络科技有限公司 Business service remote detection method and device
CN106528400A (en) * 2016-09-22 2017-03-22 深圳峰创智诚科技有限公司 MOCK testing method and device
US20170316465A1 (en) * 2012-06-30 2017-11-02 Oracle America,Inc. Ad Context Visualization and Mock-Up Tool
CN108268375A (en) * 2018-01-12 2018-07-10 深圳壹账通智能科技有限公司 Applied program testing method, device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170316465A1 (en) * 2012-06-30 2017-11-02 Oracle America,Inc. Ad Context Visualization and Mock-Up Tool
CN105138448A (en) * 2014-06-05 2015-12-09 北京畅游天下网络技术有限公司 Method and device for page test at front end
CN104199725A (en) * 2014-09-27 2014-12-10 上海瀚之友信息技术服务有限公司 Service interface data simulation method and system
US20160173626A1 (en) * 2014-12-16 2016-06-16 Alex Volchok Embeddable web analytics tracking via mock environment
CN104899142A (en) * 2015-06-10 2015-09-09 北京嘀嘀无限科技发展有限公司 Remote mock testing method and device
CN105893227A (en) * 2015-12-29 2016-08-24 乐视网信息技术(北京)股份有限公司 Data processing method and device
CN106528400A (en) * 2016-09-22 2017-03-22 深圳峰创智诚科技有限公司 MOCK testing method and device
CN106452888A (en) * 2016-10-24 2017-02-22 广州华多网络科技有限公司 Business service remote detection method and device
CN108268375A (en) * 2018-01-12 2018-07-10 深圳壹账通智能科技有限公司 Applied program testing method, device, computer equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489101A (en) * 2019-07-15 2019-11-22 北京字节跳动网络技术有限公司 Interface analogy method, system, medium and electronic equipment
CN110489101B (en) * 2019-07-15 2023-08-25 北京字节跳动网络技术有限公司 Interface simulation method, system, medium and electronic equipment
CN111857656A (en) * 2020-06-12 2020-10-30 北京百度网讯科技有限公司 Data processing method and device, electronic equipment and storage medium
CN111857656B (en) * 2020-06-12 2023-08-18 北京百度网讯科技有限公司 Data processing method, device, electronic equipment and storage medium
CN111953659A (en) * 2020-07-21 2020-11-17 北京思特奇信息技术股份有限公司 Method and system for simulating http request
CN112015573A (en) * 2020-08-25 2020-12-01 云账户技术(天津)有限公司 Interface data simulation method and device and electronic equipment
CN112685014A (en) * 2020-12-25 2021-04-20 中孚安全技术有限公司 Method, system and equipment for quickly simulating interface
CN113127345A (en) * 2021-04-06 2021-07-16 北京字跳网络技术有限公司 Application testing method and device, electronic equipment and storage medium
CN114238099A (en) * 2021-12-09 2022-03-25 北京五八信息技术有限公司 Method and device for gray scale test, electronic equipment and readable medium

Also Published As

Publication number Publication date
CN109634605B (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN109634605A (en) Analogue data generation method and system for web front-end
EP3095113B1 (en) Digital personal assistant interaction with impersonations and rich multimedia in responses
US10713574B2 (en) Cognitive distributed network
McKelvey Internet daemons: Digital communications possessed
CN108984157A (en) Technical ability configuration and call method and system for voice dialogue platform
CN107995169A (en) A kind of mobile phone games skeleton system based on micro services framework
CN110347596A (en) A kind of test method, device, system, electronic equipment and medium
CN103973741A (en) Method and device for performing remote debugging in cloud system
CN110489101A (en) Interface analogy method, system, medium and electronic equipment
CN110366041A (en) Media data sharing method, device and equipment
US8868646B2 (en) Apparatus and method for generating virtual game clients
CN103475743B (en) A kind of method, apparatus and system for cloud service
CN108415710A (en) The method and system of API is issued, called in Intelligent dialogue development platform
CN109218390A (en) User's screening technique and device
CN109684805A (en) Voice technical ability sharing method and system for voice dialogue platform
CN111105006A (en) Deep learning network training system and method
US10632387B2 (en) Cognitive user experience optimization
CN103824242A (en) Comprehensive service processing system for educational resources
CN109948151A (en) The method for constructing voice assistant
CN109710137A (en) Technical ability priority configuration method and system for voice dialogue platform
CN108513149A (en) A kind of live streaming delay testing method and its device
CN110517692A (en) Hot word audio recognition method and device
CN108140055A (en) Trigger application message
CN109710535A (en) Service method of calibration and system for voice dialogue platform
CN110442698B (en) Dialog content generation method and system

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 215123 14 Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou, Jiangsu.

Applicant after: Sipic Technology Co.,Ltd.

Address before: 215123 14 Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou, Jiangsu.

Applicant before: AI SPEECH Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Simulation Data Generation Method and System for Web Frontend

Effective date of registration: 20230726

Granted publication date: 20211102

Pledgee: CITIC Bank Limited by Share Ltd. Suzhou branch

Pledgor: Sipic Technology Co.,Ltd.

Registration number: Y2023980049433