CN109726097A - Environment changing method, apparatus and electronic equipment - Google Patents

Environment changing method, apparatus and electronic equipment Download PDF

Info

Publication number
CN109726097A
CN109726097A CN201810066284.2A CN201810066284A CN109726097A CN 109726097 A CN109726097 A CN 109726097A CN 201810066284 A CN201810066284 A CN 201810066284A CN 109726097 A CN109726097 A CN 109726097A
Authority
CN
China
Prior art keywords
configuration
environment
configuration parameter
page
parameter
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
CN201810066284.2A
Other languages
Chinese (zh)
Inventor
郭德福
俞立成
方奕博
巫绍堂
罗卫民
彭光宗
高恩波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201810066284.2A priority Critical patent/CN109726097A/en
Publication of CN109726097A publication Critical patent/CN109726097A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

This application discloses a kind of environment changing method, apparatus and electronic equipments, it is related to Internet technical field, it may not need the installation kit that environment is respectively mounted in each handoff environment, only configuration parameter is changed on the configuration page, reduce workload, environment changing process is simplified, a large amount of manpower and material resources are saved.The described method includes: receiving the context swap of user, the display configuration page, the configuration page includes at least the first configuration parameter and the second configuration parameter, first configuration parameter is the configuration parameter of default contexts, and second configuration parameter is the configuration parameter of other environment at least one environment in addition to the default contexts;The corresponding designated environment in configuration page face when detecting that the user is modified the configuration page, after determining change;The designated environment is jumped to, is tested based on the designated environment.

Description

Environment changing method, apparatus and electronic equipment
Technical field
The present invention relates to Internet technical fields, particularly with regard to environment changing method, apparatus and electronic equipment.
Background technique
With the rapid development of Internet technology, can be installed in terminal using more and more, user can according to from The demand of body downloads application, and the function of experience application.In order to provide the user with more services, the publisher of application would generally Periodically increase new function for application, to apply more new version.Before the new version publication of application, in order to guarantee the new edition of application Originally it can operate normally, need to test the new version of application.Currently, have more set test environment to the test of new version, Different content of the different test environment for the new version of test application will need to carry out when testing new version The installation kit installation of the test environment of test at the terminal, and runs application, determines new version during application operation Which function is different from expected effect, to realize the test to new version.
In the implementation of the present invention, inventor has found that the relevant technologies at least there are problems that:
When using different test environment and production environment, due to the configuration parameter of different test environment and production environment Difference, therefore, the packet of difference test environment and production environment are all different.And it is only capable of installing a kind of test environment in terminal Packet, when needing switch test environment to be tested, the packet for needing to obtain test environment is installed at the terminal again, is reinstalled Packet can cover current installed packet so that switch test environment is required to the step of executing packet installation every time, cause A large amount of workload causes the handoff procedure for testing environment cumbersome, wastes a large amount of manpower and material resources.
Summary of the invention
The embodiment of the invention provides environment changing method, apparatus and electronic equipment, solves and cut every time in the related technology It changes test environment and is required to the step of executing packet installation, cause a large amount of workload, cause the handoff procedure for testing environment numerous It is trivial, the problem of wasting a large amount of manpower and material resources.
According to a first aspect of the embodiments of the present invention, a kind of environment changing method is provided, which comprises
The context swap of user, the display configuration page are received, the configuration page includes at least the first configuration parameter With the second configuration parameter, first configuration parameter is the configuration parameter of default contexts, and second configuration parameter is at least one The configuration parameter of other environment in a environment in addition to the default contexts;
The corresponding finger in configuration page face when detecting that the user is modified the configuration page, after determining change Determine environment;
The designated environment is jumped to, is tested based on the designated environment.
Further, the context swap for receiving user, before display configures the page, the method also includes:
Using any environment at least one environment as the default contexts, the first configuration of the default contexts is obtained Parameter;
The first configuration parameter based on the default contexts generates the initial configuration page;
It determines other environment at least one described environment in addition to the default contexts, is extracted in other described environment Second configuration parameter;
Second configuration parameter is added in the initial configuration page, the configuration page is generated.
Further, described that second configuration parameter is added in the initial configuration page, generate the configuration page Face includes:
First configuration parameter is compared with second configuration parameter, is determined in second configuration parameter Difference configuration parameter;
Based on the difference configuration parameter, determination is corresponding with the difference configuration parameter in first configuration parameter Specified configuration parameter;
The difference configuration parameter is added to position of the specified configuration parameter on the initial configuration page, it is raw At the configuration page;
Default addition manner is obtained, the configuration page is added to by designated position based on the default addition manner, institute Default addition manner is stated including at least title bar addition manner, desktop addition manner and shortcut key addition manner.
Further, described to obtain default addition manner, the configuration page is added to based on the default addition manner Designated position includes:
It determines test browser, the configuration page is added to the designated position of the title bar of the test browser; Or,
The designated position is determined in desktop, and the configuration page is added to the designated position;Or,
Shortcut key is generated based on the configuration page face, the shortcut key is added to the designated position.
Further, the context swap for receiving user, display configuration page face include:
The context swap of the user is received, reads the display mode of the configuration page, the display mode is extremely Few includes that drop-down is shown, pop-up shows and slide display;
Based on the display mode, the configuration page is shown.
According to a second aspect of the embodiments of the present invention, a kind of environment changing device is provided, described device includes:
Display module, for receiving the context swap of user, the display configuration page, the configuration page is included at least First configuration parameter and the second configuration parameter, first configuration parameter are the configuration parameter of default contexts, second configuration Parameter is the configuration parameter of other environment at least one environment in addition to the default contexts;
Determining module, for determining matching after changing when detecting that the user is modified the configuration page Set the corresponding designated environment of the page;
Test module is tested for jumping to the designated environment based on the designated environment.
Further, described device further include:
Module is obtained, for obtaining the default using any environment at least one environment as the default contexts First configuration parameter of environment;
Generation module generates the initial configuration page for the first configuration parameter based on the default contexts;
Extraction module, for determining other environment at least one described environment in addition to the default contexts, described Second configuration parameter is extracted in other environment;
Adding module generates the configuration for second configuration parameter to be added in the initial configuration page The page.
Further, the adding module includes:
Submodule is compared, for first configuration parameter to be compared with second configuration parameter, described the Difference configuration parameter is determined in two configuration parameters;
Determine submodule, for being based on the difference configuration parameter, the determining and difference in first configuration parameter The corresponding specified configuration parameter of different configuration parameter;
Submodule is generated, for the difference configuration parameter to be added to the specified configuration parameter in the initial configuration Position on the page generates the configuration page;
Addition submodule is added the configuration page based on the default addition manner for obtaining default addition manner Designated position is added to, the default addition manner includes at least title bar addition manner, desktop addition manner and shortcut key addition Mode.
Further, the configuration page is added to the test for determining test browser by the addition submodule The designated position of the title bar of browser;Or, determining the designated position in desktop, the configuration page is added to the finger Positioning is set;Or, generating shortcut key based on the configuration page face, the shortcut key is added to the designated position.
Further, the display module includes:
Reading submodule reads the display mode of the configuration page for receiving the context swap of the user, The display mode includes at least drop-down display, pop-up shows and slide display;
Display sub-module shows the configuration page for being based on the display mode.
According to a third aspect of the embodiments of the present invention, a kind of electronic equipment is provided, including ring described in above-mentioned second aspect Border switching device.
According to a fourth aspect of the embodiments of the present invention, a kind of electronic equipment is provided, comprising: memory can be held for storing Row instruction;And processor, for being communicated with the memory to execute the executable instruction to complete above-mentioned first party The operation of environment changing method described in face.
Through the invention, when receive user context swap, display include default contexts the first configuration parameter and The configuration page of second configuration parameter of other environment at least one environment in addition to default contexts, and work as and detect user couple It when the configuration page is modified, determines the corresponding designated environment in configuration page face after changing, jumps to designated environment, based on specified Environment is tested, so that only changing and matching on the configuration page without the installation kit for being respectively mounted environment in each handoff environment Parameter is set, workload is reduced, simplifies environment changing process, saves a large amount of manpower and material resources.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of environment changing method according to an embodiment of the present invention;
Fig. 2 is the flow chart of environment changing method according to an embodiment of the present invention;
Fig. 3 A is the block diagram of environment changing device according to an embodiment of the present invention;
Fig. 3 B is the block diagram of environment changing device according to an embodiment of the present invention;
Fig. 3 C is the block diagram of environment changing device according to an embodiment of the present invention;
Fig. 3 D is the block diagram of environment changing device according to an embodiment of the present invention;
Fig. 4 is the block diagram of environment changing device 400 according to an embodiment of the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
A kind of environment changing method is provided in the present embodiment, and Fig. 1 is flow chart one according to an embodiment of the present invention, such as Shown in Fig. 1, which includes the following steps:
Step S101, receives the context swap of user, the display configuration page, and the configuration page includes at least the first configuration Parameter and the second configuration parameter, the first configuration parameter are the configuration parameter of default contexts, and the second configuration parameter is at least one ring The configuration parameter of other environment in border in addition to default contexts;
Step S102, when detecting that user is modified the configuration page, the configuration page face after determining change is corresponding Designated environment;
Step S103, jumps to designated environment, is tested based on designated environment.
Through the invention, when receive user context swap, display include default contexts the first configuration parameter and The configuration page of second configuration parameter of other environment at least one environment in addition to default contexts, and work as and detect user couple It when the configuration page is modified, determines the corresponding designated environment in configuration page face after changing, jumps to designated environment, based on specified Environment is tested, so that only changing and matching on the configuration page without the installation kit for being respectively mounted environment in each handoff environment Parameter is set, workload is reduced, simplifies environment changing process, saves a large amount of manpower and material resources.
Optionally, the context swap of user is received, before display configures the page, method further include:
Using any environment at least one environment as default contexts, the first configuration parameter of default contexts is obtained;
The first configuration parameter based on default contexts generates the initial configuration page;
It determines other environment at least one environment in addition to default contexts, extracts the second configuration ginseng in other environments Number;
Second configuration parameter is added in the initial configuration page, the configuration page is generated.
Optionally, the second configuration parameter is added in the initial configuration page, generating configuration page face includes:
First configuration parameter is compared with the second configuration parameter, difference configuration ginseng is determined in the second configuration parameter Number;
Based on difference configuration parameter, specified configuration ginseng corresponding with difference configuration parameter is determined in the first configuration parameter Number;
Difference configuration parameter is added to position of the specified configuration parameter on the initial configuration page, generates the configuration page;
Default addition manner is obtained, designated position is added to for the page is configured based on default addition manner, presets addition side Formula includes at least title bar addition manner, desktop addition manner and shortcut key addition manner.
Optionally, default addition manner is obtained, the configuration page, which is added to designated position, based on default addition manner includes:
It determines test browser, the configuration page is added to the designated position of the title bar of test browser;Or,
Designated position is determined in desktop, and the configuration page is added to designated position;Or,
Shortcut key is generated based on configuration page face, shortcut key is added to designated position.
Optionally, the context swap of user is received, display configuration page face includes:
The context swap of user is received, reads the display mode of the configuration page, it is aobvious that display mode includes at least drop-down Show, pop-up is shown and slides display;
Based on display mode, the display configuration page.
Fig. 2 is the flow chart of environment changing method according to the preferred embodiment of the invention, as shown in Fig. 2, this method includes Following steps:
Step S201, using any environment at least one environment as default contexts, obtain default contexts first is matched Parameter is set, the first configuration parameter based on default contexts generates the initial configuration page.
In embodiments of the present invention, the first configuration parameter is the configuration parameter of default contexts, and the initial configuration page at least wraps Include the first configuration parameter of default contexts.It was recognized by the inventor that terminal to application test when, for the different function of application Can, it needs to be tested based on different environment, and the difference between the configuration parameter of these different environment and little, because This, can install the installation kit of default contexts, the initial configuration page of default contexts be generated according to installation kit, and subsequent by it The configuration parameter of his environment is added to the initial configuration page, generates the configuration page, to pass through selection not on the configuration page Same configuration parameter realizes the switching of environment, the installation without carrying out installation kit again.
Wherein, in order to cutting for environment can be carried out according to the demand of user in the context swap for receiving user It changes, the installation kit of at least one environment is stored in terminal.For any environment at least one environment, the installation of the environment The configuration parameter of the environment is stored in packet.Terminal can using any environment at least one environment as default contexts, and The first configuration parameter is extracted in the installation kit of the default contexts, is based on the first configuration parameter, generates the initial configuration page.Example Such as, it is assumed that there is currently tetra- kinds of environment of A, B, C and D, the installation kit of A can be obtained, in the installation kit of A using A as default contexts The configuration parameter for extracting A, the configuration parameter based on A generate the initial configuration page.It wherein, can when generating the initial configuration page Configuration parameter is arranged successively display according to sequence of the configuration parameter in installation kit, so that the initial configuration page is generated, this Inventive embodiments are to the mode of the generation initial configuration page without specifically limiting.
Step S202 determines other environment at least one environment in addition to default contexts, extracts in other environments First configuration parameter is compared two configuration parameters with the second configuration parameter, and difference configuration is determined in the second configuration parameter Parameter.
In embodiments of the present invention, the second configuration parameter is that other environment are matched in addition to default contexts at least one environment Set parameter.For any environment at least one environment, the configuration parameter of the environment and the configuration parameter of default contexts Between have differences, therefore, can by the way that the first configuration parameter is compared with the second configuration parameter, second configuration The determining difference with the first configuration parameter in parameter, namely determine difference configuration parameter, and then can be subsequent by difference Configuration parameter is added in the initial configuration page as option, generates the configuration page, will pass through in the change configuration page Configuration parameter realizes the switching of environment.
For example, it is assumed that A is default test environment there is currently tetra- kinds of environment of A, B, C and D, the configuration parameter based on A is generated The initial configuration page;Determine that the configuration parameter of B, C and D determine the configuration parameter of B and the configuration parameter of A for B respectively Between difference configuration parameter, and successively in the initial configuration page add C and D difference configuration parameter.
Step S203 is based on difference configuration parameter, and finger corresponding with difference configuration parameter is determined in the first configuration parameter Determine configuration parameter, difference configuration parameter is added to position of the specified configuration parameter on the initial configuration page, generates configuration page Face.
In embodiments of the present invention, after the difference parameter between the first configuration parameter and the second configuration parameter has been determined, In order to generate option on the configuration page based on difference parameter, so that user can change configuration page by changing option Therefore configuration parameter in face after determining difference configuration parameter, needs so that different parameters be selected to carry out environment changing Specified configuration parameter corresponding with difference configuration parameter is determined in the first configuration parameter, and determines specified configuration parameter initial The position on the page is configured, and then difference configuration parameter is added to specified configuration parameter in initial configuration in the form of option Position on the page generates the configuration page.Wherein, when option of the user on the configuration page carries out the selection of configuration parameter When, know which configuration parameter is that the configuration parameter of the environmental correclation of switching is wished with user in order to facilitate user, by difference When configuration parameter is added to the initial configuration page generation configuration page, environment title relevant to difference configuration parameter can be based on Difference configuration parameter is labeled, to keep the display of difference configuration parameter brighter and clearer.
For example, it is assumed that A is default test environment there is currently tetra- kinds of environment of A, B, C and D, the configuration parameter based on A is generated The initial configuration page;Determine that the configuration parameter of B, C and D determine the configuration parameter of B and the configuration parameter of A for B respectively Between difference configuration parameter, be added in the initial configuration page using the difference configuration parameter as option, while marking the difference The corresponding environment of different configuration parameter is B.The difference configuration parameter of C and D, rower of going forward side by side successively are added in the initial configuration page Note obtains the configuration page, completes the setting of the configuration page.
Step S204 obtains default addition manner, is added to designated position for the page is configured based on default addition manner, in advance If addition manner includes at least title bar addition manner, desktop addition manner and shortcut key addition manner.
In embodiments of the present invention, after the generation for completing the configuration page, it may be determined that default addition manner, based on default addition The configuration page is added to designated position, so as to subsequent when terminal detects triggering of the user to designated position, determined by mode It is currently received the context swap of user, and then shows the configuration page.Wherein, default addition manner can add for title bar Mode, desktop addition manner and shortcut key addition manner.
When default addition manner is title bar addition manner, since title bar loads in the browser with terminal, Terminal needs to determine test browser, and the title bar format based on test browser first, and the configuration page is added to test The designated position of the title bar of browser avoids the test browser-incompatible configuration page.
When default addition manner is desktop addition manner, terminal determines designated position on the table, and will configure the page It is added to designated position.Wherein, designated position can be shown when display configures the page in a manner of link, can also be to scheme Target mode shows that the embodiment of the present invention shows the mode of the configuration page without specifically limiting terminal.
When default addition manner is shortcut key addition manner, terminal determines designated position, and is generated based on configuration page face Shortcut key is added to execution position by shortcut key.Wherein, terminal can generate quick according to the standard in its system mounted Key, the embodiment of the present invention generate the mode of shortcut key without specifically limiting based on configuration page face to terminal.
Step S205 receives the context swap of user, reads the display mode of the configuration page, is based on display mode, The display configuration page, display mode includes at least drop-down display, pop-up shows and slide display.
In embodiments of the present invention, when terminal detects triggering of the user to the configuration page, it is determined that receive user Context swap, just read configuration the page display mode, and then based on display mode display configuration the page.Wherein, eventually Default display opportunity can be set in end, and when the operation of user meets the standard on default display opportunity, determination receives use The context swap at family.Default display opportunity can be to double-click display or clicking display, and double-clicking display may include right double click And left double click, clicking display may include that left button is clicked and right button is clicked.If default display opportunity is to click display, when When detecting that user click configures the page, the context swap for receiving user is determined;If default display opportunity is to double-click Display determines the context swap for receiving user then when detecting that user double-clicks the configuration page.The embodiment of the present invention pair The opportunity of the terminal display configuration page is without specifically limiting.
When terminal receives the context swap of user, the display mode of the configuration page is just read, is based on display side The formula display configuration page.Wherein, the display mode of the terminal display configuration page can be provided by user's self-setting, terminal Display mode inlet porting shows that the page is arranged in display mode when detecting triggering of the user to display mode inlet porting, Page presentation multiple display modes and ACK button can be arranged in display mode in terminal, when detecting touching of the user to ACK button It when hair, obtains user and select to write display mode and stored as the display mode for configuring the page, so as in subsequently received use When the context swap at family, based on the display mode display configuration page.In view of user's possibility and not set display mode, eventually End can be using any display mode in multiple display modes as default display mode, and works as user and do not carry out to display mode When setting, based on the default display mode display configuration page.The embodiment of the present invention shows the display mode of the configuration page to terminal Type without specifically limiting.
Step S206, when detecting that user is modified the configuration page, the configuration page face after determining change is corresponding Designated environment jumps to designated environment, is tested based on designated environment.
In embodiments of the present invention, after showing the configuration page with display mode, if detecting user to the configuration page In configuration parameter be modified, it is determined that the corresponding designated environment in configuration page face after change jumps to designated environment, is based on Designated environment is tested.It should be noted that and if be not detected user to configuration the page in configuration parameter change, It is directly entered default contexts.
For example, detect that the configuration parameter in the configuration page is changed to the configuration parameter of B if current environment is C, then by C jumps to B;If default contexts are A, when terminal shows the configuration page, and the configuration parameter hair being not detected on configuration page face Raw change, then be directly entered A and tested.
It should be noted that process shown in above-mentioned steps S201 to step S206 is the test process to application, and During practical application, the process shown in step S201 to step S206 is also applied for the switching of production environment.When When needing to switch over production environment, the configuration parameter of production environment is added in the configuration page as option, Remaining step is consistent with the above process, is no longer repeated herein.
Through the embodiment of the present invention, when the context swap for receiving user, display includes the first configuration of default contexts The configuration page of second configuration parameter of other environment in parameter and at least one environment in addition to default contexts, and work as and detect When user is modified the configuration page, determines the corresponding designated environment in configuration page face after changing, jump to designated environment, base It is tested in designated environment, so that without the installation kit for being respectively mounted environment in each handoff environment, only on the configuration page Configuration parameter is changed, reduces workload, simplifies environment changing process, save a large amount of manpower and material resources.
Fig. 3 A is the block diagram of environment changing device according to the preferred embodiment of the invention.Referring to Fig. 3 A, which includes aobvious Show module 301, determining module 302 and test module 303.
The display module 301, for receiving the context swap of user, the display configuration page, the configuration page is at least wrapped The first configuration parameter and the second configuration parameter are included, the first configuration parameter is the configuration parameter of default contexts, and the second configuration parameter is The configuration parameter of other environment at least one environment in addition to default contexts;
The determining module 302, for the configuration page when detecting that user is modified the configuration page, after determining change The corresponding designated environment in face;
The test module 303 is tested for jumping to designated environment based on designated environment.
Through the invention, when receive user context swap, display include default contexts the first configuration parameter and The configuration page of second configuration parameter of other environment at least one environment in addition to default contexts, and work as and detect user couple It when the configuration page is modified, determines the corresponding designated environment in configuration page face after changing, jumps to designated environment, based on specified Environment is tested, so that only changing and matching on the configuration page without the installation kit for being respectively mounted environment in each handoff environment Parameter is set, workload is reduced, simplifies environment changing process, saves a large amount of manpower and material resources.
Further, referring to Fig. 3 B, which further includes obtaining module 304, generation module 305, extraction module 306 and addition Module 307.
The acquisition module 304, for obtaining default contexts using any environment at least one environment as default contexts The first configuration parameter;
The generation module 305 generates the initial configuration page for the first configuration parameter based on default contexts;
The extraction module 306, for determining other environment at least one environment in addition to default contexts, in other environment The second configuration parameter of middle extraction;
The adding module 307 generates the configuration page for the second configuration parameter to be added in the initial configuration page.
Further, referring to Fig. 3 C, the adding module 307, including submodule 3071 is compared, determines submodule 3072, generated Submodule 3073 and addition submodule 3074.
The comparison submodule 3071, for first configuration parameter to be compared with second configuration parameter, Difference configuration parameter is determined in second configuration parameter;
The determination submodule 3072, for be based on the difference configuration parameter, in first configuration parameter determine with The corresponding specified configuration parameter of the difference configuration parameter;
The generation submodule 3073, for the difference configuration parameter to be added to the specified configuration parameter described first The position begun on the configuration page, generates the configuration page;
The addition submodule 3074 is based on the default addition manner for the configuration for obtaining default addition manner The page is added to designated position, and the default addition manner includes at least title bar addition manner, desktop addition manner and quick Key addition manner.
Further, the configuration page is added to test browser for determining test browser by the addition submodule 3074 Title bar designated position;Or, determining designated position in desktop, the configuration page is added to designated position;Or, based on configuration The page generates shortcut key, and shortcut key is added to designated position.
Further, referring to Fig. 3 D, the display module 301, including reading submodule 3011 and display sub-module 3012.
The reading submodule 3011 reads the display mode of the configuration page, shows for receiving the context swap of user Show that mode includes at least drop-down display, pop-up shows and slide display;
The display sub-module 3012, for being based on display mode, the display configuration page.
Fig. 4 is a kind of block diagram of environment changing device 400 shown according to an exemplary embodiment.For example, device 400 can To be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices are good for Body equipment, personal digital assistant etc..
Referring to Fig. 4, device 400 may include following one or more components: processing component 402, memory 404, power supply Component 406, multimedia component 408, audio component 410, the interface 412 of I/O (Input/Output, input/output), sensor Component 414 and communication component 416.
The integrated operation of the usual control device 400 of processing component 402, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 402 may include that one or more processors 420 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 402 may include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, it is more to facilitate Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in device 400.These data are shown Example includes the instruction of any application or method for operating on device 400, contact data, and telephone book data disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as SRAM (Static Random Access Memory, static random access memory), EEPROM (Electrically-Erasable Programmable Read-Only Memory, the read-only storage of electrically erasable Device), EPROM (Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory EPROM), PROM (Programmable Read-Only Memory, programmable read only memory), and ROM (Read-Only Memory, it is read-only to deposit Reservoir), magnetic memory, flash memory, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 may include power management system System, one or more power supplys and other with for device 400 generate, manage, and distribute the associated component of electric power.
Multimedia component 408 includes the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen may include LCD (Liquid Crystal Display, liquid crystal display) and TP (Touch Panel, touch panel).If screen includes touch panel, screen may be implemented as touch screen, from the user to receive Input signal.Touch panel includes one or more touch sensors to sense the gesture on touch, slide, and touch panel.Institute The boundary of a touch or slide action can not only be sensed by stating touch sensor, but also be detected and the touch or slide phase The duration and pressure of pass.In some embodiments, multimedia component 408 includes that a front camera and/or postposition are taken the photograph As head.When device 400 is in operation mode, such as in a shooting mode or a video mode, front camera and/or rear camera can With the multi-medium data outside reception.Each front camera and rear camera can be a fixed optical lens system Or there are focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a MIC (Microphone, microphone), when device 400 is in operation mode, such as call mode, recording mode, and voice recognition mode When, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 404 Or it is sent via communication component 416.In some embodiments, audio component 410 further includes a loudspeaker, for exporting audio Signal.
I/O interface 412 provides interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor module 414 can detecte the state that opens/closes of equipment 400, the relative positioning of component, such as component For the display and keypad of device 400, sensor module 414 can be with the position of 400 1 components of detection device 400 or device Set change, the existence or non-existence that user contacts with device 400, the temperature in 400 orientation of device or acceleration/deceleration and device 400 Variation.Sensor module 414 may include proximity sensor, be configured to detect without any physical contact near The presence of object.Sensor module 414 can also include optical sensor, such as CMOS (Complementary Metal Oxide Semiconductor, complementary metal oxide) or CCD (Charge-coupled Device, charge coupled cell) image biography Sensor, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 further includes that (Near Field Communication, near field are logical by NFC Letter) module, to promote short range communication.For example, RFID (Radio Frequency can be based in NFC module Identification, radio frequency identification) technology, IrDA (Infra-red Data Association, Infrared Data Association) skill Art, UWB (Ultra Wideband, ultra wide band) technology, BT (Bluetooth, bluetooth) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be by one or more ASIC (Application Specific Integrated Circuit, application specific integrated circuit), DSP (Digital signal Processor, at digital signal Manage device), DSPD (Digital signal Processor Device, digital signal processing appts), PLD (Programmable Logic Device, programmable logic device), FPGA) (Field Programmable Gate Array, field programmable gate Array), controller, microcontroller, microprocessor or other electronic components realize, for executing above-mentioned environment changing method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 404 of instruction, above-metioned instruction can be executed by the processor 420 of device 400 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, RAM (Random Access Memory, random access memory Device), CD-ROM (Compact Disc Read-Only Memory, compact disc read-only memory), tape, floppy disk and light data deposit Store up equipment etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by environment changing device When processor executes, so that environment changing device is able to carry out above-mentioned environment changing method.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all include within protection scope of the present invention.

Claims (10)

1. a kind of environment changing method, which is characterized in that the described method includes:
The context swap of user is received, the display configuration page, the configuration page is including at least the first configuration parameter and the Two configuration parameters, first configuration parameter are the configuration parameter of default contexts, and second configuration parameter is at least one ring The configuration parameter of other environment in border in addition to the default contexts;
The corresponding specified ring in configuration page face when detecting that the user is modified the configuration page, after determining change Border;
The designated environment is jumped to, is tested based on the designated environment.
2. the method according to claim 1, wherein the context swap for receiving user, display configuration Before the page, the method also includes:
Using any environment at least one environment as the default contexts, the first configuration ginseng of the default contexts is obtained Number;
The first configuration parameter based on the default contexts generates the initial configuration page;
Other environment at least one described environment in addition to the default contexts are determined, in other described environment described in extraction Second configuration parameter;
Second configuration parameter is added in the initial configuration page, the configuration page is generated.
3. according to the method described in claim 2, it is characterized in that, it is described second configuration parameter is added to it is described initial It configures in the page, generating the configuration page face includes:
First configuration parameter is compared with second configuration parameter, difference is determined in second configuration parameter Configuration parameter;
Based on the difference configuration parameter, determined in first configuration parameter corresponding with the difference configuration parameter specified Configuration parameter;
The difference configuration parameter is added to position of the specified configuration parameter on the initial configuration page, generates institute State the configuration page;
Default addition manner is obtained, the configuration page is added to by designated position based on the default addition manner, it is described pre- If addition manner includes at least title bar addition manner, desktop addition manner and shortcut key addition manner.
4. according to the method described in claim 3, it is characterized in that, the default addition manner of the acquisition, is added based on described preset The configuration page is added to designated position by add mode
It determines test browser, the configuration page is added to the designated position of the title bar of the test browser;Or,
The designated position is determined in desktop, and the configuration page is added to the designated position;Or,
Shortcut key is generated based on the configuration page face, the shortcut key is added to the designated position.
5. the method according to claim 1, wherein the context swap for receiving user, display configuration The page includes:
The context swap of the user is received, the display mode of the configuration page is read, the display mode is at least wrapped Include drop-down display, pop-up shows and slide display;
Based on the display mode, the configuration page is shown.
6. a kind of environment changing device, which is characterized in that described device includes:
Display module, for receiving the context swap of user, the display configuration page, the configuration page includes at least first Configuration parameter and the second configuration parameter, first configuration parameter are the configuration parameter of default contexts, second configuration parameter For the configuration parameter of other environment at least one environment in addition to the default contexts;
Determining module, for the configuration page when detecting that the user is modified the configuration page, after determining change The corresponding designated environment in face;
Test module is tested for jumping to the designated environment based on the designated environment.
7. device according to claim 6, which is characterized in that described device further include:
Module is obtained, for obtaining the default contexts using any environment at least one environment as the default contexts The first configuration parameter;
Generation module generates the initial configuration page for the first configuration parameter based on the default contexts;
Extraction module, for determining other environment at least one described environment in addition to the default contexts, it is described other Second configuration parameter is extracted in environment;
Adding module generates the configuration page for second configuration parameter to be added in the initial configuration page.
8. device according to claim 7, which is characterized in that the adding module includes:
Submodule is compared to match for being compared with second configuration parameter first configuration parameter described second It sets and determines difference configuration parameter in parameter;
Determine submodule, for being based on the difference configuration parameter, determination is matched with the difference in first configuration parameter Set the corresponding specified configuration parameter of parameter;
Submodule is generated, for the difference configuration parameter to be added to the specified configuration parameter in the initial configuration page On position, generate the configuration page;
The configuration page is added to for obtaining default addition manner based on the default addition manner by addition submodule Designated position, the default addition manner include at least title bar addition manner, desktop addition manner and shortcut key addition manner.
9. a kind of electronic equipment, which is characterized in that including environment changing device described in claim 6-8.
10. a kind of electronic equipment characterized by comprising memory, for storing executable instruction;
And processor, for being communicated with the memory to execute the executable instruction to complete claim 1-5 institute The operation for the environment changing method stated.
CN201810066284.2A 2018-01-23 2018-01-23 Environment changing method, apparatus and electronic equipment Pending CN109726097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810066284.2A CN109726097A (en) 2018-01-23 2018-01-23 Environment changing method, apparatus and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810066284.2A CN109726097A (en) 2018-01-23 2018-01-23 Environment changing method, apparatus and electronic equipment

Publications (1)

Publication Number Publication Date
CN109726097A true CN109726097A (en) 2019-05-07

Family

ID=66293441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810066284.2A Pending CN109726097A (en) 2018-01-23 2018-01-23 Environment changing method, apparatus and electronic equipment

Country Status (1)

Country Link
CN (1) CN109726097A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351134A (en) * 2019-06-28 2019-10-18 北京你财富计算机科技有限公司 A kind of server environment switching method, device and electronic equipment
CN112416776A (en) * 2020-11-24 2021-02-26 天津五八到家货运服务有限公司 Selection method and device of operating environment, test equipment and storage medium
CN112631618A (en) * 2020-12-16 2021-04-09 平安普惠企业管理有限公司 Application program packaging method, application program testing method, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217029A (en) * 2014-09-26 2014-12-17 北京国双科技有限公司 Configuration file modification method and configuration file modification device
CN106020877A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Automatic update method and apparatus for system environment configuration
CN106155905A (en) * 2016-06-28 2016-11-23 广州华多网络科技有限公司 Applied environment changing method and device
CN106502916A (en) * 2016-12-05 2017-03-15 广州唯品会信息科技有限公司 Method for testing software and system
CN106933730A (en) * 2015-12-29 2017-07-07 北京国睿中数科技股份有限公司 Method of testing, device and test frame system based on test frame system
CN107122174A (en) * 2017-03-30 2017-09-01 北京小米移动软件有限公司 Application program update method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217029A (en) * 2014-09-26 2014-12-17 北京国双科技有限公司 Configuration file modification method and configuration file modification device
CN106933730A (en) * 2015-12-29 2017-07-07 北京国睿中数科技股份有限公司 Method of testing, device and test frame system based on test frame system
CN106020877A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Automatic update method and apparatus for system environment configuration
CN106155905A (en) * 2016-06-28 2016-11-23 广州华多网络科技有限公司 Applied environment changing method and device
CN106502916A (en) * 2016-12-05 2017-03-15 广州唯品会信息科技有限公司 Method for testing software and system
CN107122174A (en) * 2017-03-30 2017-09-01 北京小米移动软件有限公司 Application program update method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351134A (en) * 2019-06-28 2019-10-18 北京你财富计算机科技有限公司 A kind of server environment switching method, device and electronic equipment
CN112416776A (en) * 2020-11-24 2021-02-26 天津五八到家货运服务有限公司 Selection method and device of operating environment, test equipment and storage medium
CN112631618A (en) * 2020-12-16 2021-04-09 平安普惠企业管理有限公司 Application program packaging method, application program testing method, terminal and storage medium

Similar Documents

Publication Publication Date Title
JP6072362B2 (en) Application program processing method, apparatus, program, and storage medium
CN105955607B (en) Content sharing method and device
EP2975838A1 (en) Image shooting parameter adjustment method and device
EP3065428A1 (en) Method and device for displaying wifi list
CN106528252A (en) Object launching method and apparatus
EP2985991B1 (en) Method and device for time-lapse photographing
US11188203B2 (en) Method for generating multimedia material, apparatus, and computer storage medium
CN105488112A (en) Information pushing method and device
CN104793846A (en) Displaying method and device for interface of application program
CN105607857A (en) Page selection method and device
EP3428790B1 (en) Method and device for displaying application interface
CN106991018B (en) Interface skin changing method and device
CN110891191B (en) Material selection method, device and storage medium
CN109726097A (en) Environment changing method, apparatus and electronic equipment
CN103942047A (en) User instruction execution method and device
CN104461236A (en) Method and device for displaying application icons
CN105487680A (en) Terminal screen capture method and apparatus and terminal
CN104636170A (en) Application acquiring method and device and electronic device
CN105242837B (en) Five application page acquisition methods and terminal
CN110753153A (en) Terminal control method, terminal and computer storage medium
EP3291508A1 (en) Message pushing method and device, and terminal equipment
CN107885571B (en) Display page control method and device
CN104636064A (en) Gesture generating method and device
US20240045583A1 (en) Page display method, electronic device and storage medium
KR20170005782A (en) Search method and apparatus

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: 20190507