CN115951947A - Information interaction method and device and storage medium - Google Patents
Information interaction method and device and storage medium Download PDFInfo
- Publication number
- CN115951947A CN115951947A CN202211660428.XA CN202211660428A CN115951947A CN 115951947 A CN115951947 A CN 115951947A CN 202211660428 A CN202211660428 A CN 202211660428A CN 115951947 A CN115951947 A CN 115951947A
- Authority
- CN
- China
- Prior art keywords
- mode
- information interaction
- user
- configuration file
- target
- 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
Links
- 230000003993 interaction Effects 0.000 title claims abstract description 82
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000009471 action Effects 0.000 claims abstract description 28
- 238000012360 testing method Methods 0.000 claims description 54
- 230000004044 response Effects 0.000 claims description 21
- 230000008569 process Effects 0.000 abstract description 16
- 238000009434 installation Methods 0.000 abstract description 14
- 230000006870 function Effects 0.000 description 19
- 238000002955 isolation Methods 0.000 description 6
- 230000004913 activation Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The application relates to an information interaction method, an information interaction device and a storage medium, wherein the information interaction method is used for a client and comprises the following steps: receiving a mode selection indication from a user; determining and enabling a target configuration file from a plurality of preset configuration files according to the mode selection indication; and working in a corresponding target working mode according to the indication of the target configuration file so as to respond to an information interaction instruction from a user to execute a corresponding information interaction action. According to the information interaction method, the plurality of different working modes are integrated in the application program of the client, and in the development process of engineering personnel, the engineering personnel corresponding to different division of labor, such as developers and testers, can enter the corresponding working modes through the method, so that the corresponding installation packages do not need to be downloaded repeatedly, and the development efficiency of the application program is improved.
Description
Technical Field
The present application relates to the field of application programs, and in particular, to an information interaction method, an information interaction device, and a storage medium.
Background
Currently, in the daily development process of an application program, engineers participating in development work generally include a server developer, a client developer, a tester, an acceptance staff, and the like. The responsible persons in different stages need to perform required development work in corresponding development environments.
The application program only has a single data environment, and the user downloads the application program from the application market to the application program in the formal environment. In the process of developing the application program, the engineer needs to use the application program in a development environment. After the development is completed, the application program which is developed needs to be provided to a test responsible person by a developer so as to test the conditions of program operation, program logic and the like, and the application program in the test environment needs to be used at this time. After the test is finished, before the iterative function of the application program is on line in the formal environment, the corresponding acceptance personnel also need to accept, and at the moment, the application program in the pre-release environment needs to be used. In addition, to adapt to different iterative functions and ensure that the iterative functions can be smoothly used by the user, the application program needs a plurality of different working environments in the process.
Generally, after a developer completes development work, engineers with different roles are required to download installation packages of required environments, and switching from one engineering environment to another engineering environment requires reinstallation of corresponding installation packages. The operation engineering causes inconvenience for development and test work, and reduces the work efficiency.
The specific working process is as follows: when a developer of an application starts development, it is necessary to first set the current environment of the application as a development environment and install it. After the development is completed, a development engineer is required to write the environment into the test environment, and a corresponding installation package is formed by the environment, so that the environment is submitted to the corresponding test engineer, and the corresponding test engineer tests in the test environment and needs to install the installation package of the test environment. After completing all test work, the test engineer needs to notify the developer, set the current engineering environment as the pre-release environment, and form a corresponding installation package, so as to submit the pre-release environment to the acceptance responsible person for final acceptance.
In view of the above situation, the present application provides an information interaction method, apparatus and storage medium, so as to reduce the work handover steps in the processes of application development, testing and the like, so as to improve the work efficiency of application development.
Disclosure of Invention
In order to reduce work handover steps in the processes of application program development, testing and the like and improve the work efficiency of application program development, the application provides an information interaction method, an information interaction device and a storage medium.
In a first aspect, the present application provides an information interaction method, which adopts the following technical scheme:
an information interaction method is used for a client, and comprises the following steps:
receiving a mode selection indication from a user;
determining and enabling a target configuration file from a plurality of preset configuration files according to the mode selection indication;
and working in a corresponding target working mode according to the indication of the target configuration file so as to respond to an information interaction instruction from a user to execute a corresponding information interaction action.
By adopting the technical scheme, different working modes exist in the installation package of the client application program in a configuration file mode. When the engineering personnel need to switch the working mode, the configuration file corresponding to the target working mode is selected and started through the interactive instruction, and the target working mode can be started by executing the corresponding configuration file, so that the switching of the working environment is completed.
Therefore, a plurality of different working modes are integrated in the application program of the client, in the development process of engineering personnel, the engineering personnel corresponding to different work division tasks, such as developers, testers and the like can enter the corresponding working modes through the method, the corresponding installation packages do not need to be downloaded repeatedly, and the development efficiency of the application program is improved.
In addition, projects corresponding to work environments other than the formal work environment exist in the project in the form of configuration files. The content of the configuration file is mainly text, and the occupied space is extremely small. Therefore, the relevant configuration files do not cause the memory space of the client occupied by the installation package of the application program to be enlarged.
Optionally, the receiving a mode selection indication from the user includes:
implicitly displaying a mode selection trigger in a mode of multiplexing with a preset icon for a conventional purpose;
identifying a trigger action which is implemented by a user on the mode selection trigger and accords with a preset rule;
displaying a plurality of mode options for user selection upon recognition of the trigger action;
determining the mode selection indication according to the mode option selected by the user.
By adopting the technical scheme, the mode selection trigger is displayed in a hidden display mode, and the position and the triggering method of the mode selection trigger are hidden in a conventional page and known only by engineering personnel. Therefore, after the user enters the conventional page, the user cannot be aware of the existence of the mode selection trigger, the problems of mistaken touch and the like of the user are effectively prevented, and the influence of the mistaken touch on the user experience is avoided.
In addition, the mode selection trigger is set in a conventional icon multiplexing mode, so that the mode selection trigger is better integrated into a conventional page, and engineering personnel can know the trigger method conveniently.
Optionally, the determining and enabling a target profile from a plurality of preset profiles according to the mode selection indication includes;
determining one configuration file associated with the mode selection indication from the plurality of preset configuration files according to the mode selection indication;
and taking the associated configuration file as the target configuration file and starting the target configuration file in a mode of re-executing a starting task.
By adopting the technical scheme, after the engineer selects the target configuration file, the client cannot perform other operations on the trigger action which is implemented by the mode selection trigger and accords with the preset rule, and the target configuration file responds to the mode selection instruction of the engineer along with the restart of the client.
Optionally, the operating in the corresponding target operating mode according to the indication of the target configuration file to execute the corresponding information interaction action in response to the information interaction instruction from the user includes:
enabling the functional units associated with the target configuration file according to the target configuration file, and disabling the functional units not associated with the target configuration file to enter the target working mode;
receiving an information interaction instruction from a user, and generating a corresponding request message based on the information interaction instruction;
transmitting the request message to a server to trigger the server to execute the operation matched with the target working mode and return a response message;
and analyzing the response message and displaying the response message to a user in a preset mode.
By adopting the technical scheme, different functional units correspond to different working modes, so that the client can work under different environment frames, and engineering personnel with different division of labor can conveniently enter corresponding environments to complete development work.
Optionally, data associated with different target operating modes are isolated from each other, wherein data associated with one target operating mode can only be used in that target operating mode.
By adopting the technical scheme, after the switching of the working modes is completed, all data of the application program only relate to the current working mode, and the display and operation of other working modes are not influenced, namely the data in different working modes can be fully isolated. Meanwhile, various functions of the application program, such as news viewing, video browsing, content sharing, service handling and the like, only use data in the corresponding working mode, and the use of a conventional client user in the conventional working mode is not influenced in the process. Therefore, the data isolation further improves the development efficiency and the data isolation on the technology of coexistence of multiple operation modes.
Optionally, the triggering action according with the preset rule includes: and clicking the icon according to preset times.
Optionally, the preset configuration files at least include a basic configuration file and a test configuration file, and the mode options at least include an option indicating a normal working mode and an option indicating a test working mode, where the basic configuration file is associated with the normal working mode to provide a formal working environment for a user, and the test configuration file is associated with the test working mode to provide a test working environment for an engineer.
By adopting the technical scheme, the working modes of the engineering personnel corresponding to different labor division are different. For example, an engineer in charge of testing needs to check the running condition of an application program in a test working mode, which is a test working environment; and the user of the client needs to use the application program in a normal working mode, which is a formal working environment.
In a second aspect, the present application provides an information interaction apparatus, which adopts the following technical solution:
an information interaction device comprises a starting module, a working mode configuration module and a basic function module;
the starting module is used for executing a starting task and receiving a mode selection instruction from a user;
the working mode configuration module is used for determining and starting a target configuration file from a plurality of preset configuration files according to the mode selection indication;
and the basic function module is used for working in a corresponding target working mode according to the indication of the target configuration file so as to respond to an information interaction instruction from a user to execute a corresponding information interaction action.
Optionally, the starting module includes an implicit display unit, an instruction identification unit and an instruction triggering unit;
the implicit display unit is used for implicitly displaying a mode selection trigger in a mode of multiplexing with a preset general purpose icon;
the instruction identification unit is used for identifying a trigger action which is implemented by a user on the mode selection trigger and accords with a preset rule;
the instruction triggering unit is used for displaying a plurality of mode options for a user to select based on the recognized triggering action, and determining the mode selection indication according to the mode options selected by the user.
Optionally, the working mode configuration module includes a mode selection unit and a mode starting unit;
the mode selection unit is used for determining one configuration file associated with the mode selection indication from the plurality of preset configuration files based on the mode selection indication;
the mode starting unit is used for taking the associated configuration file as the target configuration file and starting the target configuration file in a mode of re-executing a starting task.
Optionally, the basic function module includes a mode switching unit, an information interaction unit, and an information display unit;
the mode switching unit is used for enabling the functional unit associated with the target configuration file according to the target configuration file and disabling the functional unit not associated with the target configuration file so as to enter the target working mode;
the information interaction unit is used for receiving an information interaction instruction from a user, generating a corresponding request message based on the information interaction instruction, and transmitting the request message to a server so as to trigger the server to execute an operation matched with the target working mode and return a response message;
the information display unit is used for analyzing the response message and displaying the response message to a user in a preset mode.
In a third aspect, the present application provides a storage medium, which adopts the following technical solutions:
a storage medium storing at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the above-mentioned information interaction method.
In summary, the present application includes at least one of the following beneficial technical effects:
1. a plurality of different working modes are integrated in the application program of the client, and in the development process of engineering personnel, the engineering personnel corresponding to different division of labor, such as developers, testers and the like, can enter the corresponding working modes through the method without repeatedly downloading the corresponding installation packages for multiple times, so that the development efficiency of the application program is improved.
2. Projects corresponding to working environments except for formal working environments exist in projects in a configuration file mode. The content of the configuration file is mainly text, and the occupied space is extremely small. Therefore, the relevant configuration files do not cause the memory space of the client occupied by the installation package of the application program to be enlarged.
3. The mode selection trigger is displayed in a hidden display mode, and the position and the triggering method of the mode selection trigger are hidden in a conventional page and known only by engineering personnel. Therefore, after the user enters the conventional page, the user cannot be aware of the existence of the mode selection trigger, the problems of mistaken touch and the like of the user are effectively prevented, and the influence of the mistaken touch on the user experience is avoided.
4. After the switching of the working modes is completed, all data of the application program are only related to the current working mode, and the display and the operation of other working modes are not influenced, namely, the data in different working modes can be fully isolated.
5. Various functions of the application program, such as news viewing, video browsing, content sharing, service handling and the like, only use data in the corresponding working mode, and the use of a conventional client user in the conventional working mode is not influenced in the process. The data isolation further improves the development efficiency and the data isolation on the technology of coexistence of multiple working modes.
Drawings
Fig. 1 is an overall flowchart of an information interaction method in an embodiment of the present application.
Fig. 2 is a flowchart illustrating sub-steps of step S1 in an information interaction method in an embodiment of the present application.
Fig. 3 is a flowchart illustrating sub-steps of step S2 in an information interaction method according to an embodiment of the present application.
Fig. 4 is a flowchart illustrating sub-steps of step S3 in an information interaction method according to an embodiment of the present application.
FIG. 5 is a diagram of the overall logical connection of an information interaction system in the embodiment of the present application.
Fig. 6 is a schematic operation interface diagram of an information interaction method in an embodiment of the present application.
Description of reference numerals:
1. an information interaction device; 11. a starting module; 111. an implicit display unit; 112. an instruction identification unit; 113. an instruction trigger unit; 12. a working mode configuration module; 121. a mode selection unit; 122. a mode starting unit; 13. a basic function module; 131. a mode switching unit; 132. an information interaction unit; 133. an information display unit; 2. a general purpose icon; 3. and (4) selecting a mode.
Detailed Description
The present application will be described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the inventive concepts. Some of the figures in the present disclosure show structures and devices in block diagram form as part of this specification to avoid obscuring the disclosed principles. In the interest of clarity, not all features of an actual implementation are described in this specification. Reference in the present disclosure to "one implementation" or "an implementation" means that a particular feature, structure, or characteristic described in connection with the implementation is included in at least one implementation, and references to "one implementation" or "an implementation" are not to be understood as necessarily all referring to the same implementation.
Unless explicitly defined otherwise, the terms "a," "an," and "the" are not intended to refer to a singular entity, but include the general class of which a particular example may be used for illustration. Thus, use of the terms "a" or "an" can mean any number of at least one, including "a," one or more, "" at least one, "and" one or more than one. The term "or" means any of the alternatives and any combination of alternatives, including all alternatives, unless alternatives are explicitly indicated as mutually exclusive. The phrase "at least one of," when combined with a list of items, refers to a single item in the list or any combination of items in the list. The phrase does not require all of the listed items unless explicitly so limited.
The embodiment of the application discloses an information interaction method which is used for a client. Referring to fig. 1, an information interaction method includes the steps of:
s1, receiving a mode selection instruction from a user;
in particular, the mode selection indication described above may be issued in different ways in different embodiments. By way of example, the present application provides in particular but not exclusively a solution:
the mode selection trigger is displayed in a hidden display mode, and the position and the triggering method of the mode selection trigger are hidden in a conventional page and known only by engineering personnel. Therefore, after the user enters the conventional page, the user cannot perceive the existence of the mode selection trigger, the problems of mistaken touch and the like of the user are effectively prevented, and the influence of the mistaken touch on the user experience is avoided.
Referring to fig. 2 and 6, the detailed steps are as follows sub-steps S11-S14:
s11, implicitly displaying a mode selection trigger in a mode of multiplexing with a preset general-purpose icon 2;
the mode selection trigger is set in a multiplexing mode of the general purpose icon 2, so that the mode selection trigger is better integrated into a general page, and engineering personnel can know the trigger method conveniently.
Specifically, the above-described general-purpose icon 2 may be a text input icon, an avatar display icon, an application trademark, and a password visible button icon, or the like. In this embodiment, taking the avatar display icon as an example, when the function of switching the working modes is not needed to be started, that is, in a conventional state, the avatar display icon is used for displaying avatar information of the user, and the user only needs to click the icon when the avatar needs to be replaced, so that the probability of false touch of the user other than the engineer is low.
S12, identifying a trigger action which is implemented by a user on the mode selection trigger and accords with a preset rule;
in different embodiments, the trigger action may be preset in different forms, and in this embodiment, as an example, the trigger action according to the preset rule includes: and clicking the icon according to preset times. Further, the preset number of times may be 5 times.
Further, in different embodiments, after the user performs the trigger action on the mode selection trigger, which meets the preset rule, the identity of a person who enters the working environment other than the normal working environment can be verified in the modes of inputting a password, verifying facial information, verifying fingerprint information and the like, so that the condition that the normal user of the client mistakenly touches the working environment in the development stage is further avoided. In this embodiment, the authentication is performed by inputting a password.
S13, after the trigger action is identified, displaying a plurality of mode options 3 for a user to select;
in the actual operation process of this embodiment, the user may continuously click the avatar display icon 5 times to trigger the mode selection trigger, at which time, the page will display a plurality of mode options 3 for the user to select.
S14, determining a mode selection indication according to the mode option 3 selected by the user.
With respect to the above steps of S13-S14, specifically, in different embodiments, the above-mentioned multiple mode options 3 can be shown in the form of a drop-down menu in the current page, or can be shown in a new page; the selection can be finished by clicking the option identifier or sliding the option identifier. The plurality of mode options 3 include, but are not limited to, a development mode, a test mode, a demonstration mode, and other work modes, and may further include an option of a normal mode, so that the engineer may return to the formal work environment in the normal work mode when necessary.
S2, determining and starting a target configuration file from a plurality of preset configuration files according to the mode selection indication;
referring to fig. 1 and 3, in particular, in different embodiments, the determining and enabling of one target profile from a plurality of preset profiles in the above S2 may adopt different methods, and the present application provides a method, in particular but not limited to, including the following steps S21 to S22:
s21, determining a configuration file associated with the mode selection instruction from a plurality of preset configuration files according to the mode selection instruction;
and S22, taking the associated configuration file as a target configuration file and starting the target configuration file in a mode of re-executing the starting task.
After the engineer selects the target configuration file, the current page displays a prompt for switching the working environment for the triggering action which is implemented by the mode selection trigger and accords with the preset rule. In this embodiment, the prompt is in the form of a pop-up window. When the engineer confirms to switch to the target working environment, the client application program is restarted by itself, the client cannot perform other operations, and the target configuration file responds to the mode selection instruction of the engineer along with the restart of the client.
Further, the preset configuration files may include configuration files corresponding to different types of operation modes. As an example, in the present embodiment, the plurality of preset configuration files include a basic configuration file and a test configuration file, and the plurality of mode options 3 include at least an option indicating a normal operation mode and an option indicating a test operation mode. Wherein the base configuration file is associated with the normal working mode to provide a formal working environment for a user, and the test configuration file is associated with the test working mode to provide a test working environment for an engineer. In other embodiments, the plurality of preset configuration files may further include a presentation configuration file, a development configuration file, and the like, which are used by workers corresponding to different division workers to meet different development requirements.
In addition, the working modes of the system are different corresponding to different engineering workers who divide work. For example, an engineer in charge of testing needs to check the running condition of an application program in a test working mode, which is a test working environment; and the user of the client needs to use the application program in a normal working mode, which is a formal working environment. In addition, the working environment can be defined according to the division of the user, namely the working environment can be used by development engineers and test engineers and used by development engineers and acceptance engineers.
And S3, working in a corresponding target working mode according to the indication of the target configuration file so as to respond to the information interaction instruction from the user to execute corresponding information interaction action.
Referring to fig. 1 and 4, in particular, different methods may be adopted for operating in the corresponding target operation mode in the above-mentioned S3 in different embodiments, and the present application provides a method, particularly but not limited to, including the following steps S31 to S34:
s31, enabling the functional units associated with the target configuration files according to the target configuration files, and disabling the functional units not associated with the target configuration files to enter a target working mode;
different functional units correspond to different working modes, so that the client side can work in different working modes, and engineering personnel with different division of labor can conveniently enter corresponding environments to complete development work. Before the switching of the working modes, the current working mode is driven to run by the working unit corresponding to the current working mode.
Specifically, in the present embodiment, the method of switching the interface is adopted for the enabling and disabling of the functional unit. When the functional unit associated with the target configuration file needs to be started, the front end sends out an instruction, a data interface corresponding to the functional unit needing to be started is started, and then the functional unit can call data to the server; when the functional unit not associated with the target configuration file needs to be disabled, the front end sends out an instruction, and the data interface corresponding to the functional unit needing to be disabled is turned off, and then the functional unit can not call the data to the server any more.
S32, receiving an information interaction instruction from a user, and generating a corresponding request message based on the information interaction instruction;
specifically, when the front-end page receives an information interaction instruction from a user, request information corresponding to the interaction instruction can be generated, and the request information carries data information required to be called and indicated by the interaction instruction.
S33, transmitting the request message to a server to trigger the server to execute the operation matched with the target working mode and return a response message;
and S34, analyzing the response message and displaying the response message to the user in a preset mode.
Specifically, after the server receives the request message, the corresponding judgment logic in the server will first judge the working mode of the sender of the request message, and at this time, the server will execute different operation logics corresponding to different working modes, so as to complete the operation matched with the target working mode.
Taking a conventional working mode and a testing working mode as an example, when the working mode of the request information received by the server is the conventional working mode, the server executes the running logic corresponding to the conventional working mode, calls data from a conventional database, and provides the called conventional running data on a front-end page for display; and when the working mode of the request information received by the server is a testing working mode, the server executes the running logic corresponding to the testing working mode, calls data from the testing database, and provides the called testing running data on a front-end page for showing.
In the actual application process, after the engineering personnel develop the back-end application program according to the optimization requirement, the corresponding part in the server is stored in the section corresponding to the test working mode. In the test working mode, the engineer can send a request message to the server in a mode of sending an interactive instruction, the server executes a program corresponding to the test working mode, namely a program to be tested, and the server calls data corresponding to the test working mode from the database and displays the data on a front-end page in a mode of running the program to be tested, so that the test engineer can test the program to be tested.
Additionally, in this embodiment, the data in the database used in the test working mode is not data directly retrieved in the normal working environment, but virtual data, which may be written by an engineer or pulled by the engineer from dynamic data in the normal working mode, and the virtual data is converted into static data and stored in the database for use in the stage to be tested.
Further, in this embodiment, data associated with different target operating modes are isolated from each other, wherein data associated with one target operating mode can only be used in that target operating mode. After the switching of the working modes is completed, all data of the application program are only related to the current working mode, and the display and operation of other working modes are not influenced, namely, the data in different working modes can be fully isolated. Meanwhile, various functions of the application program, such as news viewing, video browsing, content sharing, service handling and the like, only use data in the corresponding working mode, and the use of a conventional client user in the conventional working mode is not influenced in the process. Therefore, the data isolation further improves the development efficiency and the data isolation on the technology of coexistence of multiple operation modes.
In summary, the different operating modes exist in the installation package of the client application program in the form of configuration files. When the working mode needs to be switched by engineering personnel, the configuration file corresponding to the target working mode is selected and started through the interactive instruction, and the target working mode can be started by executing the corresponding configuration file, so that the switching of the working environment is completed.
Therefore, a plurality of different working modes are integrated in the application program of the client, and in the development process of engineering personnel, the engineering personnel corresponding to different division tasks, such as developers, testers and the like can enter the corresponding working modes through the method, so that the corresponding installation packages do not need to be downloaded repeatedly, and the development efficiency of the application program is improved.
Furthermore, in the test working mode, for the functions existing in the formal working environment, the method can change the operation logic written in the server in the process of optimizing and updating the original functions, thereby optimizing the corresponding original functions; for the functions which do not exist in the formal working environment, the method can reserve the front-end display interface position and the data interface in the display page of the testing working environment, write the corresponding operation logic into the server through the development of the application program operation logic in the server, and enter the testing working environment to complete the work of testing and the like until the new functions are developed.
In addition, projects corresponding to working environments other than the formal working environment exist in the project in the form of configuration files. The content of the configuration file is mainly text, and the occupied space is extremely small. Therefore, the relevant configuration files do not cause the memory space of the client occupied by the installation package of the application program to be enlarged.
Referring to fig. 5, the present application provides an information interaction apparatus 1, where the information interaction apparatus 1 includes a start module 11, an operation mode configuration module 12, and a basic function module 13. The starting module 11 is configured to execute a starting task and receive a mode selection instruction from a user, the working mode configuration module 12 is configured to determine and enable a target configuration file from a plurality of preset configuration files according to the mode selection instruction, and the basic function module 13 is configured to work in a corresponding target working mode according to the instruction of the target configuration file so as to execute a corresponding information interaction action in response to an information interaction instruction from the user.
Specifically, the starting module 11 includes an implicit display unit 111, an instruction recognition unit 112, and an instruction triggering unit 113. The implicit display unit 111 is configured to implicitly display the mode selection trigger in a manner of multiplexing with a preset one of the general-purpose icons 2, the instruction identification unit 112 is configured to identify a trigger action, which is implemented by the user on the mode selection trigger and meets a preset rule, the instruction trigger unit 113 is configured to display a plurality of mode options 3 for the user to select based on the identified trigger action, and determine a mode selection indication according to the mode option 3 selected by the user.
Specifically, the operation mode configuration module 12 includes a mode selection unit 121 and a mode activation unit 122. The mode selection unit 121 is configured to determine one profile associated with the mode selection indication from a plurality of preset profiles based on the mode selection indication, and the mode activation unit 122 is configured to use the associated profile as a target profile and activate the target profile by re-executing the activation task.
Specifically, the basic function module 13 includes a mode switching unit 131, an information interacting unit 132, and an information displaying unit 133. The mode switching unit 131 is configured to enable a functional unit associated with a target profile according to the target profile and disable a functional unit not associated with the target profile to enter a target working mode, the information interaction unit 132 is configured to receive an information interaction instruction from a user, generate a corresponding request message based on the information interaction instruction, and transmit the request message to the server, so as to trigger the server to perform an operation matching with the target working mode and return a response message, and the information display unit 133 is configured to parse the response message and display the response message to the user in a preset manner.
The working principle of the information interaction device 1 is as described in the above information interaction method, and is not described herein again.
The present application provides a storage medium storing at least one instruction, at least one program, a code set, or a set of instructions, which is loaded and executed by a processor to implement the above-mentioned information interaction method.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.
Claims (12)
1. An information interaction method is used for a client, and is characterized by comprising the following steps:
receiving a mode selection indication from a user;
determining and enabling a target configuration file from a plurality of preset configuration files according to the mode selection indication;
and working in a corresponding target working mode according to the indication of the target configuration file so as to respond to an information interaction instruction from a user to execute a corresponding information interaction action.
2. The information interaction method of claim 1, wherein the receiving a mode selection indication from a user comprises:
implicitly displaying a mode selection trigger in a manner of multiplexing with a preset one of the general-purpose icons (2);
identifying a trigger action which is implemented by a user on the mode selection trigger and accords with a preset rule;
displaying a plurality of mode options (3) for selection by a user upon recognition of the trigger action;
the mode selection indication is determined in dependence on a mode option (3) selected by a user.
3. The information interaction method of claim 2, wherein determining and enabling a target profile from a plurality of preset profiles according to the mode selection indication comprises;
determining one configuration file associated with the mode selection indication from the plurality of preset configuration files according to the mode selection indication;
and taking the associated configuration file as the target configuration file and starting the target configuration file in a mode of re-executing a starting task.
4. The information interaction method of claim 3, wherein the operating in the corresponding target operating mode according to the indication of the target configuration file to perform the corresponding information interaction action in response to the information interaction instruction from the user comprises:
enabling the functional units associated with the target configuration file according to the target configuration file, and disabling the functional units not associated with the target configuration file to enter the target working mode;
receiving an information interaction instruction from a user, and generating a corresponding request message based on the information interaction instruction;
transmitting the request message to a server to trigger the server to execute the operation matched with the target working mode and return a response message;
and analyzing the response message and displaying the response message to a user in a preset mode.
5. The information interaction method according to any one of claims 1 to 4, wherein data associated with different target operation modes are isolated from each other, wherein data associated with one target operation mode can only be used in the target operation mode.
6. The information interaction method according to claim 2, wherein the trigger action according with the preset rule comprises: and clicking the icon according to preset times.
7. The information interaction method according to claim 2, wherein the plurality of preset profiles comprise at least a basic profile and a test profile, and the plurality of mode options (3) comprise at least an option indicating a normal operation mode and an option indicating a test operation mode, wherein the basic profile is associated with the normal operation mode to provide a formal operation environment to a user, and the test profile is associated with the test operation mode to provide a test operation environment to an engineer.
8. An information interaction device is characterized in that the information interaction device (1) comprises a starting module (11), an operating mode configuration module (12) and a basic function module (13);
the starting module (11) is used for executing a starting task and receiving a mode selection instruction from a user;
the working mode configuration module (12) is used for determining and enabling a target configuration file from a plurality of preset configuration files according to the mode selection indication;
the basic function module (13) is used for working in a corresponding target working mode according to the indication of the target configuration file so as to respond to an information interaction instruction from a user to execute a corresponding information interaction action.
9. The information interaction device according to claim 8, wherein the starting module (11) comprises an implicit display unit (111), an instruction recognition unit (112) and an instruction trigger unit (113);
the implicit display unit (111) is used for implicitly displaying a mode selection trigger in a mode of multiplexing with a preset conventional purpose icon (2);
the instruction identification unit (112) is used for identifying a trigger action which is implemented by a user on the mode selection trigger and accords with a preset rule;
the instruction triggering unit (113) is configured to display a plurality of mode options (3) for a user to select based on the recognized triggering action, and determine the mode selection indication according to the mode option (3) selected by the user.
10. The information interaction device according to claim 9, wherein the operation mode configuration module (12) comprises a mode selection unit (121) and a mode starting unit (122);
the mode selection unit (121) is configured to determine, based on the mode selection indication, one profile from the plurality of preset profiles that is associated with the mode selection indication;
the mode starting unit (122) is used for taking the associated configuration file as the target configuration file and enabling the target configuration file by re-executing a starting task.
11. The information interaction device according to claim 10, wherein the basic function module (13) comprises a mode switching unit (131), an information interaction unit (132) and an information display unit (133);
the mode switching unit (131) is used for enabling the functional unit associated with the target configuration file according to the target configuration file and disabling the functional unit not associated with the target configuration file so as to enter the target working mode;
the information interaction unit (132) is used for receiving an information interaction instruction from a user, generating a corresponding request message based on the information interaction instruction, and transmitting the request message to a server so as to trigger the server to execute an operation matched with the target working mode and return a response message;
the information display unit (133) is used for analyzing the response message and displaying the response message to a user in a preset mode.
12. A storage medium storing at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the information interaction method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211660428.XA CN115951947A (en) | 2022-12-23 | 2022-12-23 | Information interaction method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211660428.XA CN115951947A (en) | 2022-12-23 | 2022-12-23 | Information interaction method and device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115951947A true CN115951947A (en) | 2023-04-11 |
Family
ID=87296257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211660428.XA Pending CN115951947A (en) | 2022-12-23 | 2022-12-23 | Information interaction method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115951947A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116436936A (en) * | 2023-06-14 | 2023-07-14 | 之江实验室 | Data storage system, method, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102650968A (en) * | 2012-03-30 | 2012-08-29 | 奇智软件(北京)有限公司 | Environmental constructing method and device for terminal system and terminal system |
CN104318137A (en) * | 2014-09-29 | 2015-01-28 | 东莞宇龙通信科技有限公司 | Activating or switching method, device and terminal for operating system and/or application program |
CN115203754A (en) * | 2022-09-14 | 2022-10-18 | 统信软件技术有限公司 | Scene mode management device, initialization method, and scene mode switching method |
-
2022
- 2022-12-23 CN CN202211660428.XA patent/CN115951947A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102650968A (en) * | 2012-03-30 | 2012-08-29 | 奇智软件(北京)有限公司 | Environmental constructing method and device for terminal system and terminal system |
CN104318137A (en) * | 2014-09-29 | 2015-01-28 | 东莞宇龙通信科技有限公司 | Activating or switching method, device and terminal for operating system and/or application program |
CN115203754A (en) * | 2022-09-14 | 2022-10-18 | 统信软件技术有限公司 | Scene mode management device, initialization method, and scene mode switching method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116436936A (en) * | 2023-06-14 | 2023-07-14 | 之江实验室 | Data storage system, method, storage medium and electronic equipment |
CN116436936B (en) * | 2023-06-14 | 2023-08-18 | 之江实验室 | Data storage system, method, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9448652B2 (en) | Method and terminal for activating application based on handwriting input | |
US9342237B2 (en) | Automated testing of gesture-based applications | |
US20050204343A1 (en) | Automated test system for testing an application running in a windows-based environment and related methods | |
US9280451B2 (en) | Testing device | |
JP2008508597A (en) | Help utility application program | |
CN110825370B (en) | Mobile terminal application development method, device and system | |
CN112286485B (en) | Method and device for controlling application through voice, electronic equipment and storage medium | |
CN111330280A (en) | Data processing method and device in game, storage medium and electronic equipment | |
CN115951947A (en) | Information interaction method and device and storage medium | |
CN111414309A (en) | Automatic test method of application program, computer equipment and storage medium | |
CN110347578B (en) | Application testing method and device and storage medium | |
CN116266482A (en) | Equipment software upgrading method and device | |
CN113760397A (en) | Interface call processing method, device, equipment and storage medium | |
CN106708705B (en) | Terminal background process monitoring method and system | |
US20220171510A1 (en) | Automated testing of mobile devices using behavioral learning | |
CN113656291B (en) | Dynamic calling method for software script engine | |
CN113687942B (en) | Detection method and device and electronic equipment | |
CN114048094A (en) | Application start monitoring method, device, equipment and storage medium | |
CN114968627A (en) | System anomaly detection method and device and electronic equipment | |
CN110968519A (en) | Game testing method, device, server and storage medium | |
CN113190434A (en) | Test case generation method and device, storage medium and computer equipment | |
CN103064785B (en) | A kind of detection method of terminal capabilities and device | |
CN113761402A (en) | Link debugging method, device, equipment and storage medium | |
CN108228307B (en) | Application display method and device, storage medium and electronic equipment | |
CN112948239B (en) | Application program testing method, system, terminal equipment and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 518000 2201, block D, building 1, Chuangzhi Yuncheng bid section 1, Liuxian Avenue, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province Applicant after: Qizhi Technology Co.,Ltd. Address before: 518000 2201, block D, building 1, Chuangzhi Yuncheng bid section 1, Liuxian Avenue, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province Applicant before: Qizhi Network Technology Co.,Ltd. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |