CN109683944B - Application function switch management method, device, equipment and readable storage medium - Google Patents

Application function switch management method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN109683944B
CN109683944B CN201811379556.0A CN201811379556A CN109683944B CN 109683944 B CN109683944 B CN 109683944B CN 201811379556 A CN201811379556 A CN 201811379556A CN 109683944 B CN109683944 B CN 109683944B
Authority
CN
China
Prior art keywords
managed
switch
switches
target application
acquiring
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.)
Active
Application number
CN201811379556.0A
Other languages
Chinese (zh)
Other versions
CN109683944A (en
Inventor
黄春岑
李培光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811379556.0A priority Critical patent/CN109683944B/en
Publication of CN109683944A publication Critical patent/CN109683944A/en
Application granted granted Critical
Publication of CN109683944B publication Critical patent/CN109683944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Stored Programmes (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses an application function switch management method, a device, equipment and a readable storage medium, wherein the method comprises the following steps: acquiring the names of all switches to be managed in a target application, and acquiring the positions of all the switches to be managed in the target application and the setting time information of all the switches to be managed so as to obtain the switch configuration information of the target application; generating a switch management interface of the target application based on the switch configuration information, wherein the switch management interface comprises interface switches mapped corresponding to the switches to be managed; establishing a control relation between each interface switch and the corresponding state of each switch to be managed in the target application; and managing the switches to be managed in the target application based on the control relation. The technical problems that an application switch is not effectively managed and the working efficiency is reduced in the prior art are solved.

Description

Application function switch management method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for managing an application function switch.
Background
At present, when developing an application, a switch is often required to be arranged on a plurality of functions of the application, especially the application is not required at present, but in order to ensure that the functions which are possibly used later are realized through the switch, in addition, when the application is docked with other applications, if a certain function switch of the application is opened, the normal use of other functions of other applications can be influenced, at the moment, the function of the application can be closed, the switch is also required to be realized, at present, the opening and closing processes of the switch all need a developer to manually search the switch, and because of the complexity of the application function, the time and the labor are consumed for manually searching the switch, the efficiency is low, and the working efficiency of the developer is reduced.
Disclosure of Invention
The invention mainly aims to provide an application function switch management method, an application function switch management device and a readable storage medium, and aims to solve the technical problem that an application switch is not effectively managed in the prior art, and the working efficiency is reduced.
In order to achieve the above object, the present invention provides an application function switch management method, including:
acquiring the names of all switches to be managed in a target application, and acquiring the positions of all the switches to be managed in the target application and the setting time information of all the switches to be managed so as to obtain the switch configuration information of the target application;
generating a switch management interface of the target application based on the switch configuration information, wherein the switch management interface comprises interface switches mapped corresponding to the switches to be managed;
Establishing a control relation between each interface switch and the corresponding state of each switch to be managed in the target application;
and managing the switches to be managed in the target application based on the control relation.
Optionally, the step of obtaining the switch configuration information of the target application includes:
acquiring the number of each switch to be managed, and judging whether the number of the switches to be managed is larger than a preset value;
If the number of the switches to be managed is larger than a preset value, classifying the switches to be managed based on the names of the switches to be managed to obtain classified switches to be managed, wherein the names of the switches to be managed are associated with the functions of the switches to be managed;
And orderly sorting the switch configuration information based on the classified switches to be managed.
Optionally, the step of obtaining the names of the switches to be managed in the target application and the positions of the switches to be managed in the target application and the setting time information of the switches to be managed includes:
acquiring switch common keywords input by a user, acquiring names of all switches to be managed in the target application through matching of the switch common keywords, and recording display positions of the switch common keywords in the target application to acquire positions of all the switches to be managed in the target application;
And identifying the positions of the switches to be managed in the target application, and acquiring and extracting the setting time information of the switches to be managed based on the attribute information of the identified positions.
Optionally, the step of obtaining the names of the switches to be managed in the target application and obtaining the positions of the switches to be managed in the target application and the setting time information of the switches to be managed to obtain the switch configuration information of the target application includes:
acquiring the names of all switches to be managed in a target application, and acquiring the positions of all the switches to be managed in the target application and the setting time information of all the switches to be managed;
Based on the names of the switches to be managed, the positions of the switches to be managed in the target application and the setting time information of the switches to be managed generate a switch record report of the target application, and the switch record report is displayed for a developer to modify and confirm;
and generating switch configuration information of the target application based on the switch record report when receiving the confirmation instruction.
Optionally, the step of establishing a control relationship between the respective interface switches and the states of the respective switches to be managed in the corresponding target application includes:
Associating each interface switch with a call script of the switch to be managed, which is correspondingly pre-stored, so as to acquire state change information carried in operation when an operation instruction of the interface switch is received;
And acquiring the position corresponding to the switch to be managed based on the preset calling script, and carrying out state change on the switch to be managed based on the state change information and the position of the switch to be managed.
Optionally, the step of managing the respective switch to be managed in the target application based on the control relationship includes:
If a switch search instruction is detected by the switch management interface, acquiring a search keyword and the type of the search keyword based on the switch search instruction;
and determining a target searching mode based on the type of the keyword, wherein the searching mode comprises a fuzzy searching mode and an accurate searching mode, and acquiring a target switch corresponding to the switch searching instruction based on the target searching mode.
Optionally, the step of obtaining the target switch corresponding to the switch search instruction based on the target search mode includes:
if the target searching mode is fuzzy searching, acquiring the functional attribute of the keyword;
and displaying the function switches matched with the function attributes so that a user can select a target switch from the function switches.
The invention also provides an application function switch management device, which comprises:
The first acquisition module is used for acquiring the names of all the switches to be managed in the target application, and acquiring the positions of all the switches to be managed in the target application and the setting time information of all the switches to be managed so as to obtain the switch configuration information of the target application;
the generation module is used for generating a switch management interface of the target application based on the switch configuration information, wherein the switch management interface comprises interface switches mapped corresponding to the switches to be managed;
the establishing module is used for establishing a control relation between each interface switch and the corresponding state of each switch to be managed in the target application;
and the management module is used for managing the switches to be managed in the target application based on the control relation.
Optionally, the application function switch management device further includes:
The second acquisition module is used for acquiring the number of each switch to be managed and judging whether the number of the switches to be managed is larger than a preset value or not;
The classification module is used for classifying each switch to be managed based on the names of each switch to be managed if the number of the switches to be managed is larger than a preset value, so as to obtain each classified switch to be managed, wherein the names of each switch to be managed are associated with the functions of each switch to be managed;
and the sorting module is used for sorting the switch configuration information orderly based on the classified switches to be managed.
Optionally, the first acquisition module includes:
The first acquisition unit is used for acquiring switch sharing keywords input by a user, acquiring names of all switches to be managed in the target application through matching of the switch sharing keywords, and recording display positions of the switch sharing keywords in the target application to obtain positions of all the switches to be managed in the target application;
the identification unit is used for identifying the positions of the switches to be managed in the target application, and acquiring and extracting the setting time information of the switches to be managed based on the attribute information of the identified positions.
Optionally, the first obtaining unit further includes:
The second acquisition unit is used for acquiring the names of all the switches to be managed in the target application, and acquiring the positions of all the switches to be managed in the target application and the setting time information of all the switches to be managed;
The first generation unit is used for generating a switch record report of the target application based on the names of the switches to be managed, the positions of the switches to be managed in the target application and the setting time information of the switches to be managed, and displaying the switch record report for a developer to modify and confirm;
And the second generation unit is used for generating switch configuration information of the target application based on the switch record report when receiving the confirmation instruction.
Optionally, the establishing module includes:
The association unit is used for associating each interface switch with a corresponding prestored call script of the switch to be managed so as to acquire state change information carried in the operation when an operation instruction of the interface switch is received;
And the third acquisition unit is used for acquiring the position corresponding to the switch to be managed based on the preset calling script and carrying out state change on the switch to be managed based on the state change information and the position of the switch to be managed.
Optionally, the application function switch management device further includes:
The third acquisition module is used for acquiring search keywords and types of the search keywords based on the switch search instruction if the switch search instruction is detected by the switch management interface;
The determining module is used for determining a target searching mode based on the type of the keyword, wherein the searching mode comprises a fuzzy searching mode and an accurate searching mode, and a target switch corresponding to the switch searching instruction is obtained based on the target searching mode.
Optionally, the determining module includes:
a fourth obtaining unit, configured to obtain a functional attribute of the keyword if the target search mode is fuzzy search;
and the display unit is used for displaying the function switches matched with the function attributes so as to enable a user to select a target switch from the function switches.
In addition, to achieve the above object, the present invention also provides an application function switch management apparatus including: a memory, a processor, a communication bus, and an application function switch management program stored on the memory,
The communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the application function switch management program to implement the following steps:
acquiring the names of all switches to be managed in a target application, and acquiring the positions of all the switches to be managed in the target application and the setting time information of all the switches to be managed so as to obtain the switch configuration information of the target application;
generating a switch management interface of the target application based on the switch configuration information, wherein the switch management interface comprises interface switches mapped corresponding to the switches to be managed;
Establishing a control relation between each interface switch and the corresponding state of each switch to be managed in the target application;
and managing the switches to be managed in the target application based on the control relation.
In addition, to achieve the above object, the present invention also provides a readable storage medium storing one or more programs executable by one or more processors for:
acquiring the names of all switches to be managed in a target application, and acquiring the positions of all the switches to be managed in the target application and the setting time information of all the switches to be managed so as to obtain the switch configuration information of the target application;
generating a switch management interface of the target application based on the switch configuration information, wherein the switch management interface comprises interface switches mapped corresponding to the switches to be managed;
Establishing a control relation between each interface switch and the corresponding state of each switch to be managed in the target application;
and managing the switches to be managed in the target application based on the control relation.
The method comprises the steps of obtaining names of all switches to be managed in a target application, and obtaining positions of all the switches to be managed in the target application and setting time information of all the switches to be managed so as to obtain switch configuration information of the target application; generating a switch management interface of the target application based on the switch configuration information, wherein the switch management interface comprises interface switches mapped corresponding to the switches to be managed; establishing a control relation between each interface switch and the corresponding state of each switch to be managed in the target application; and managing the switches to be managed in the target application based on the control relation. In this embodiment, the application switch is not in an unmanaged state, but the switch management interface generated based on the switch configuration information can perform orderly management of the application switch, and the switch management interface can control the state of the application switch, so that a program personnel is not required to search the position of the switch in the application to change the switch state, thereby improving the management efficiency of the switch, improving the working efficiency of developers, and solving the technical problems that the application switch is not effectively managed and the working efficiency is reduced in the prior art.
Drawings
FIG. 1 is a flowchart of a first embodiment of an application function switch management method according to the present invention;
FIG. 2 is a detailed flowchart of steps after the step of obtaining the switch configuration information of the target application in a second embodiment of the application function switch management method of the present invention;
FIG. 3 is a schematic diagram of a device architecture of a hardware operating environment involved in a method according to an embodiment of the present invention;
fig. 4 is a flow chart of the application function switch management device of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The present invention provides an application function switch management method, in a first embodiment of the application function switch management method of the present invention, referring to fig. 1, the application function switch management method includes:
Step S10, acquiring names of all switches to be managed in a target application, and acquiring positions of all switches to be managed in the target application and setting time information of all switches to be managed so as to obtain switch configuration information of the target application;
step S20, generating a switch management interface of the target application based on the switch configuration information, wherein the switch management interface comprises interface switches mapped corresponding to the switches to be managed;
step S30, establishing a control relation between each interface switch and the corresponding state of each switch to be managed in the target application;
And step S40, managing the switches to be managed in the target application based on the control relation.
The method comprises the following specific steps:
Step S10, acquiring names of all switches to be managed in a target application, and acquiring positions of all switches to be managed in the target application and setting time information of all switches to be managed so as to obtain switch configuration information of the target application;
In the present embodiment, the target application is an application that needs to perform switch management, where a switch in the target application is set in the target application and is matched with each program segment to implement a control element of each function of the target application, in the prior art, if a change of a state of a certain switch needs to be performed, a specific location of the certain switch in the target application needs to be manually found, that is, a location of a specific program segment of the certain switch needs to be found, and after the location of the specific program segment of the certain switch is found, the modification of the program segment is performed, that is, on and off of a function of the target application is implemented, and because there are many and complex functions of the switch, it is obvious that a waste of manpower and physical resources is caused by manually finding and modifying the state of the switch.
The method comprises the steps of obtaining names of all switches to be managed in a target application, and obtaining positions of all switches to be managed in the target application and setting time information of all switches to be managed to obtain switch configuration information of the target application, wherein parameters such as the names of all switches to be managed, the positions of all switches in the target application and the setting time information can be manually input by a developer after the target application is developed, and in addition, all parameters can be extracted from a development form of the target application.
In addition, the step of obtaining the names of the switches to be managed in the target application and the positions of the switches to be managed in the target application and the setting time information of the switches to be managed includes:
Step S11, acquiring switch sharing keywords input by a user, acquiring names of all switches to be managed in the target application through matching of the switch sharing keywords, and recording display positions of the switch sharing keywords in the target application to acquire positions of all the switches to be managed in the target application;
in this embodiment, a keyword may also be input in a search box of the target application, where the name of each switch to be managed is searched by the input keyword, where the input keyword is common to switches of each function in the target application, for example, the keyword may be "switch", specifically, the keyword may be multiple or one, after determining the keyword, query the keyword in the target application based on the received search instruction, so as to obtain the name of each switch to be managed, and a specific manner of obtaining the name of each switch to be managed may be: the method comprises the steps of obtaining a keyword to be managed, obtaining a word of a previous sequence, which is closest to the keyword, of the keyword, taking the word of the previous sequence, which is closest to the keyword, of the keyword as the name of each switch to be managed, specifically, if the keyword is swith, the word of the previous sequence, which is closest to the keyword, is linked, the name of the switch to be managed is LINKED SWITH, and the word of the previous sequence, which is closest to the keyword, of the keyword is distinguished through recognition of a space key, wherein the display position of the switch sharing keyword in the target application is recorded after each query in the target application, so that the position of each switch to be managed in the target application is obtained, for example, the display position of the switch sharing keyword in the target application is in the row # of class A1 of class A.
Step S12, the positions of the switches to be managed in the target application are identified, and setting time information of the switches to be managed is obtained and extracted based on the attribute information of the identified positions.
After the positions of the switches to be managed in the target application are obtained, the positions in the target application are marked significantly, wherein the purpose of the marked significantly is to obtain the setting time information of the switches to be managed, specifically, obtain the attribute information of the marked significantly position area, and determine the setting time information of the switches to be managed based on the attribute information, for example, if the attribute information of the marked significantly position area includes: the first setting time record is 2018, 8, 30 days, and the setting time information of each switch to be managed is 2018, 8, 30 days.
Specifically, the step of obtaining the names of the switches to be managed in the target application, and obtaining the positions of the switches to be managed in the target application and the setting time information of the switches to be managed to obtain the switch configuration information of the target application further includes:
Step S13, acquiring names of all switches to be managed in a target application, and acquiring positions of all switches to be managed in the target application and setting time information of all switches to be managed;
Step S14, based on the names of the switches to be managed, the positions of the switches to be managed in the target application and the setting time information of the switches to be managed, a switch record report of the target application is generated, and the switch record report is displayed for modification and confirmation by a developer;
In this embodiment, based on the name of each switch to be managed in the target application, the position in the target application, and the setting time information, a switch record report of the target application is obtained, the switch record report is displayed, the record report is displayed for facilitating modification by a developer, after the developer modifies the displayed record report, the modified record report is saved, in addition, in the record report, a switch name item and a use item are provided, and the switch name item and the use item may be manually filled out, and after completion of filling out, the developer is prompted to confirm.
And step S15, if a confirmation instruction is received, generating switch configuration information of the target application based on the switch record report.
And if a confirmation instruction of confirming a switch record report is received by a developer, generating switch configuration information of a target application based on the switch record report, wherein parameters such as names of all switches to be managed in the target application, positions in the target application and setting time information are orderly constructed, namely all the parameters are preset in a determined identifiable area.
Step S20, generating a switch management interface of the target application based on the switch configuration information, wherein the switch management interface comprises interface switches mapped corresponding to the switches to be managed;
after obtaining the switch configuration information, generating a switch management interface of the target application based on the switch configuration information, wherein the switch management interface comprises interface switches mapped corresponding to the switches to be managed, and in the process of generating the switch management interface, a preset generation program segment needs to be called, that is, in this embodiment, when a switch configuration information event is detected, a terminal responds to the switch configuration information event to generate the switch management interface, a generation program segment needs to be set in a built-in processor in advance, the generation program segment represents generation logic of the switch management interface, when the switch configuration information event is detected, the generation logic is used for triggering the processor to respond to the switch configuration information event to generate the switch management interface based on the switch configuration information event, and the switch management interface comprises interface switches mapped corresponding to the switches to be managed, wherein the interface switches and the switches to be managed are mapped (mapped one by one) for one control of the switches to be managed.
Step S30, establishing a control relation between each interface switch and the corresponding state of each switch to be managed in the target application;
after each interface switch is obtained, a control relation between each interface switch and the corresponding state of each switch to be managed in the target application is established, namely, the state of the switch to be managed is controlled through each interface switch, and the mode of establishing the control relation can be realized through the following two ways:
Pathway one: and controlling the state of the switch to be managed through each interface switch by running a preset call script.
Pathway two: the state of the switch to be managed is controlled through each interface switch through the interface.
Specifically, the step of establishing a control relationship between the interface switches and the states of the corresponding switches to be managed in the target application includes:
Step S31, associating each interface switch with a corresponding prestored call script of the switch to be managed, so as to acquire state change information carried in operation when an operation instruction of the interface switch is received;
in this embodiment, the state of the switch to be managed is controlled by running a preset call script, specifically, each interface switch is associated with a call script corresponding to a prestored switch to be managed, where each interface switch may correspond to a call script, and each interface switch is associated with the preset call script through an identifier, or each interface switch may correspond to the same call frame script, and the call frame script may be flexibly embedded into contents such as position information, so as to finally obtain each preset call script. And after the call script of the switch to be managed is obtained, associating each interface switch with the call script of the switch to be managed, which is correspondingly pre-stored.
After association, when an operation instruction of the interface switch is received, state change information carried in the operation can be obtained.
Step S32, acquiring a position corresponding to the switch to be managed based on the preset call script, and performing state change on the switch to be managed based on the state change information and the position of the switch to be managed.
After each interface switch is associated with a pre-stored call script of the switch to be managed, the position corresponding to the switch to be managed can be obtained based on the preset call script, and the state of the switch to be managed is changed based on the state change information and the position of the switch to be managed. Namely, the function of the call leg is as follows: and acquiring the position corresponding to the switch to be managed, and carrying out state change on the switch to be managed based on the state change information and the position of the switch to be managed.
And step S40, managing the switches to be managed in the target application based on the control relation.
And after the control relation is established, managing each switch to be managed in the target application based on the control relation, namely realizing control of each corresponding switch to be managed in the target application through switching each interface switch.
The method comprises the steps of obtaining names of all switches to be managed in a target application, and obtaining positions of all the switches to be managed in the target application and setting time information of all the switches to be managed so as to obtain switch configuration information of the target application; generating a switch management interface of the target application based on the switch configuration information, wherein the switch management interface comprises interface switches mapped corresponding to the switches to be managed; establishing a control relation between each interface switch and the corresponding state of each switch to be managed in the target application; and managing the switches to be managed in the target application based on the control relation. In this embodiment, the application switch is not in an unmanaged state, but the switch management interface generated based on the switch configuration information can perform orderly management of the application switch, and the switch management interface can control the state of the application switch, so that a program personnel is not required to search the position of the switch in the application to change the switch state, thereby improving the management efficiency of the switch, improving the working efficiency of developers, and solving the technical problems that the application switch is not effectively managed and the working efficiency is reduced in the prior art.
Further, the present invention provides another embodiment of the application function switch management method, referring to fig. 2, in this embodiment, after the step of obtaining the switch configuration information of the target application, the method includes:
step A1, obtaining the number of each switch to be managed, and judging whether the number of the switches to be managed is larger than a preset value;
Step A2, if the number of the switches to be managed is greater than a preset value, classifying the switches to be managed based on the names of the switches to be managed to obtain classified switches to be managed, wherein the names of the switches to be managed are associated with the functions of the switches to be managed;
In this embodiment, the number of the switches to be managed is also obtained, whether the number of the switches to be managed is greater than a preset value is determined, and whether the number of the switches to be managed is greater than the preset value is determined to determine whether to classify the interface switches in the switch management interface, where if the number of the switches to be managed is greater than the preset value, the switches to be managed are classified based on the names of the switches to be managed, and the classified names of the switches to be managed are associated with the functions of the switches to be managed, so that the switches to be managed are classified based on the names of the switches to be managed, that is, the interface switches are classified based on the functions of the switches to be managed in the switch management interface, that is, the interface switches are classified according to the functions in the switch management interface.
And step A3, orderly sorting the switch configuration information based on the classified switches to be managed.
After classification, the switch configuration information is orderly arranged based on each classified switch to be managed, and then a unified micro-service interface is arranged in a switch management interface, and interface switches with the same function type are gathered for subsequent calling.
In this embodiment, by acquiring the number of the switches to be managed, it is determined whether the number of the switches to be managed is greater than a preset value; if the number of the switches to be managed is larger than a preset value, classifying the switches to be managed based on the names of the switches to be managed to obtain classified switches to be managed, wherein the names of the switches to be managed are associated with the functions of the switches to be managed; and orderly sorting the switch configuration information based on the classified switches to be managed. When the switches to be managed are too many, the management switches are classified, so that the switches of the target application can be managed more orderly, and the switch management efficiency is improved.
Further, the present invention provides another embodiment of the application function switch management method, in which, after the step of managing the respective switches to be managed in the target application based on the control relationship, the method includes:
Step S50, if a switch search instruction is detected at the switch management interface, acquiring a search keyword and the type of the search keyword based on the switch search instruction;
After the switch management interface is generated, if a switch search instruction generated based on a search keyword input by a user is detected in a search box of the switch management interface, the search strategy or the search mode is determined by acquiring the search keyword and the type of the search keyword based on the switch search instruction.
And step S60, determining a target searching mode based on the type of the keyword, wherein the searching mode comprises a fuzzy searching mode and an accurate searching mode, and acquiring a target switch corresponding to the switch searching instruction based on the target searching mode.
Determining a target search mode based on the types of the keywords, wherein the search mode comprises a fuzzy search mode and an accurate search mode, specifically, if the types of the keywords are name type keywords (with special identifiers such as the same suffix), the target search mode is the accurate search mode, and if the types of the keywords are function type keywords (without the special identifiers), the target search mode is the fuzzy search mode, and a target switch corresponding to the switch search instruction is acquired based on the target search mode.
Specifically, the step of obtaining the target switch corresponding to the switch search instruction based on the target search mode includes:
Step S61, if the target searching mode is fuzzy searching, acquiring the functional attribute of the keyword;
When the target searching mode is determined to be fuzzy searching, the functional attributes of the keywords are acquired, the functional attributes of the keywords are matched with the functional attributes of the switches, and the switches corresponding to the functional attributes can be multiple.
And step S62, displaying the function switches matched with the function attributes so that a user can select a target switch from the function switches.
Because the number of the switches corresponding to the function attributes can be multiple, each function switch matched with the function attributes is displayed on the switch management interface, so that a user can select a target switch from the function switches.
In this embodiment, if a switch search instruction is detected at the switch management interface, a search keyword and a type of the search keyword are obtained based on the switch search instruction; and determining a target searching mode based on the type of the keyword, wherein the searching mode comprises a fuzzy searching mode and an accurate searching mode, and acquiring a target switch corresponding to the switch searching instruction based on the target searching mode. In this embodiment, the search target switch is performed in different manners in the switch management interface, so as to improve the search efficiency.
Referring to fig. 3, fig. 3 is a schematic device structure diagram of a hardware running environment according to an embodiment of the present invention.
The application function switch management device of the embodiment of the invention can be a PC, or can be terminal devices such as a smart phone, a tablet personal computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio layer 3) player, a portable computer and the like.
As shown in fig. 3, the application function switch management device may include: a processor 1001, such as a CPU, memory 1005, and a communication bus 1002. Wherein a communication bus 1002 is used to enable connected communication between the processor 1001 and a memory 1005. The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the application function switch management device may further include a target user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. The target user interface may comprise a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the selectable target user interface may further comprise a standard wired interface, a wireless interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
It will be appreciated by those skilled in the art that the application function switch management device structure shown in fig. 3 does not constitute a limitation of the application function switch management device, and may include more or fewer components than shown, or may combine certain components, or may be arranged in a different arrangement of components.
As shown in fig. 3, an operating system, a network communication module, and an application function switch management program may be included in a memory 1005, which is a type of computer storage medium. The operating system is a program that manages and controls the application function switch management device hardware and software resources, supporting the execution of the application function switch management program and other software and/or programs. The network communication module is used to implement communication between components within the memory 1005 and other hardware and software in the application function switch management device.
In the application function switch management device shown in fig. 3, a processor 1001 is configured to execute an application function switch management program stored in a memory 1005, and implement the steps of the application function switch management method described in any one of the above.
The specific implementation manner of the application function switch management device of the present invention is basically the same as the embodiments of the application function switch management method described above, and will not be repeated here.
The present invention also provides an application function switch management device, referring to fig. 4, the application function switch management device includes:
The first obtaining module 10 is configured to obtain names of switches to be managed in a target application, and obtain positions of the switches to be managed in the target application and setting time information of the switches to be managed, so as to obtain switch configuration information of the target application;
the generating module 20 is configured to generate a switch management interface of the target application based on the switch configuration information, where the switch management interface includes interface switches mapped corresponding to the switches to be managed;
The establishing module 30 is configured to establish a control relationship between the interface switches and the corresponding states of the switches to be managed in the target application;
And a management module 40, configured to manage the switches to be managed in the target application based on the control relationship.
The specific implementation manner of the application function switch management device of the present invention is basically the same as the embodiments of the application function switch management method described above, and will not be repeated here.
The present invention provides a readable storage medium storing one or more programs executable by one or more processors for implementing the steps of the application function switch management method of any one of the above.
The specific implementation manner of the readable storage medium of the present invention is basically the same as the above embodiments of the application function switch management method, and will not be repeated here.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein, or any application, directly or indirectly, within the scope of the invention.

Claims (8)

1. An application function switch management method, characterized in that the method comprises:
acquiring the names of all switches to be managed in a target application, and acquiring the positions of all the switches to be managed in the target application and the setting time information of all the switches to be managed so as to obtain the switch configuration information of the target application;
the step of obtaining the names of the switches to be managed in the target application and obtaining the positions of the switches to be managed in the target application and the setting time information of the switches to be managed comprises the following steps:
Acquiring a switch common keyword input by a user, acquiring a keyword to be managed, acquiring a word of a previous sequence, which is closest to the keyword to be managed, taking the keyword to be managed and the word of the previous sequence, which is closest to the keyword to be managed, as names of all switches to be managed, and recording the display positions of the switch common keyword in the target application to obtain the positions of all the switches to be managed in the target application;
Identifying the positions of the switches to be managed in the target application, and acquiring and extracting the setting time information of the switches to be managed based on the attribute information of the identified positions;
generating a switch management interface of the target application based on the switch configuration information, wherein the switch management interface comprises interface switches mapped corresponding to the switches to be managed;
establishing a control relation between each interface switch and the corresponding state of each switch to be managed in the target application;
The step of establishing a control relation between each interface switch and the corresponding state of each switch to be managed in the target application includes:
associating each interface switch with a call script of the corresponding pre-stored switch to be managed, so as to acquire state change information carried in operation when receiving an operation instruction of each interface switch;
acquiring the position corresponding to the switch to be managed based on a preset call script, and carrying out state change on the switch to be managed based on the state change information and the position of the switch to be managed;
and managing the switches to be managed in the target application based on the control relation.
2. The application function switch management method according to claim 1, wherein the step of obtaining the switch configuration information of the target application includes:
acquiring the number of each switch to be managed, and judging whether the number of the switches to be managed is larger than a preset value;
If the number of the switches to be managed is larger than a preset value, classifying the switches to be managed based on the names of the switches to be managed to obtain classified switches to be managed, wherein the names of the switches to be managed are associated with the functions of the switches to be managed;
And orderly sorting the switch configuration information based on the classified switches to be managed.
3. The application function switch management method as set forth in claim 1, wherein the step of obtaining names of respective switches to be managed in a target application and obtaining positions of the respective switches to be managed in the target application and setting time information of the respective switches to be managed to obtain switch configuration information of the target application includes:
acquiring the names of all switches to be managed in a target application, and acquiring the positions of all the switches to be managed in the target application and the setting time information of all the switches to be managed;
Based on the names of the switches to be managed, the positions of the switches to be managed in the target application and the setting time information of the switches to be managed generate a switch record report of the target application, and the switch record report is displayed for a developer to modify and confirm;
and generating switch configuration information of the target application based on the switch record report when receiving the confirmation instruction.
4. The application function switch management method according to claim 1, wherein said managing said respective switch to be managed in said target application based on said control relation includes, after:
If a switch search instruction is detected by the switch management interface, acquiring a search keyword and the type of the search keyword based on the switch search instruction;
and determining a target searching mode based on the type of the keyword, wherein the searching mode comprises a fuzzy searching mode and an accurate searching mode, and acquiring a target switch corresponding to the switch searching instruction based on the target searching mode.
5. The application function switch management method according to claim 4, wherein the step of obtaining the target switch corresponding to the switch search instruction based on the target search mode includes:
if the target searching mode is fuzzy searching, acquiring the functional attribute of the keyword;
and displaying the function switches matched with the function attributes so that a user can select a target switch from the function switches.
6. An application function switch management device, characterized in that the application function switch management device comprises:
The first acquisition module is used for acquiring the names of all the switches to be managed in the target application, and acquiring the positions of all the switches to be managed in the target application and the setting time information of all the switches to be managed so as to obtain the switch configuration information of the target application;
The first acquisition module includes:
The first acquisition unit is used for acquiring switch sharing keywords input by a user, acquiring keywords to be managed, acquiring a word of a previous sequence, which is closest to the keywords to be managed, taking the keywords to be managed and the word of the previous sequence, which is closest to the keywords to be managed, as names of all the switches to be managed, and recording display positions of the switch sharing keywords in the target application to obtain positions of all the switches to be managed in the target application;
The identification unit is used for identifying the positions of the switches to be managed in the target application, and acquiring and extracting the setting time information of the switches to be managed based on the attribute information of the identified positions;
the generation module is used for generating a switch management interface of the target application based on the switch configuration information, wherein the switch management interface comprises interface switches mapped corresponding to the switches to be managed;
The establishing module is used for establishing the control relation between each interface switch and the corresponding state of each switch to be managed in the target application;
The establishing module comprises:
The association unit is used for associating each interface switch with a call script corresponding to the prestored switch to be managed so as to acquire state change information carried in operation when an operation instruction of each interface switch is received;
The third acquisition unit is used for acquiring the position corresponding to the switch to be managed based on a preset call script, and carrying out state change on the switch to be managed based on the state change information and the position of the switch to be managed;
and the management module is used for managing the switches to be managed in the target application based on the control relation.
7. An application function switch management device, characterized in that the application function switch management device comprises: a memory, a processor, a communication bus, and an application function switch management program stored on the memory,
The communication bus is used for realizing communication connection between the processor and the memory;
The processor is configured to execute the application function switch management program to implement the steps of the application function switch management method according to any one of claims 1 to 5.
8. A readable storage medium, wherein an application function switch management program is stored on the readable storage medium, and when executed by a processor, the application function switch management program implements the steps of the application function switch management method according to any one of claims 1-5.
CN201811379556.0A 2018-11-16 2018-11-16 Application function switch management method, device, equipment and readable storage medium Active CN109683944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811379556.0A CN109683944B (en) 2018-11-16 2018-11-16 Application function switch management method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811379556.0A CN109683944B (en) 2018-11-16 2018-11-16 Application function switch management method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN109683944A CN109683944A (en) 2019-04-26
CN109683944B true CN109683944B (en) 2024-05-07

Family

ID=66185886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811379556.0A Active CN109683944B (en) 2018-11-16 2018-11-16 Application function switch management method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN109683944B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472903B (en) * 2021-09-02 2021-11-16 腾讯科技(深圳)有限公司 Data processing method and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425704A (en) * 2012-05-24 2013-12-04 阿里巴巴集团控股有限公司 Application interface providing method and application interface providing device
CN103455330A (en) * 2013-08-27 2013-12-18 小米科技有限责任公司 Application program management method, terminal, equipment and system
EP2704365A1 (en) * 2012-08-31 2014-03-05 Nxp B.V. Method for establishing control relationships, configuration device, networked device and computer program product
CN106970805A (en) * 2016-01-14 2017-07-21 平安科技(深圳)有限公司 Function configuration method and system
CN107045442A (en) * 2017-03-15 2017-08-15 武汉斗鱼网络科技有限公司 The method of controlling switch and system of function button on a kind of Application Program Interface
CN107357580A (en) * 2017-07-05 2017-11-17 竞技世界(北京)网络技术有限公司 A kind of method that guiding terminal user opens the miscellaneous function authority of application
CN107493339A (en) * 2017-08-23 2017-12-19 广东欧珀移动通信有限公司 Information-pushing method, device, terminal and computer-readable recording medium
CN108255536A (en) * 2017-04-27 2018-07-06 平安科技(深圳)有限公司 Application control method and server based on functional switch
CN108255709A (en) * 2017-12-26 2018-07-06 平安壹钱包电子商务有限公司 Script tests method, apparatus, terminal device and the storage medium of written in code
CN108509212A (en) * 2018-02-07 2018-09-07 平安科技(深圳)有限公司 Application program update test method, device, terminal device and storage medium
CN108549569A (en) * 2018-04-26 2018-09-18 上海掌门科技有限公司 The method and apparatus of information in a kind of search for application
CN108762760A (en) * 2018-05-25 2018-11-06 中国平安人寿保险股份有限公司 Software interface customizing method, device, computer equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425704A (en) * 2012-05-24 2013-12-04 阿里巴巴集团控股有限公司 Application interface providing method and application interface providing device
EP2704365A1 (en) * 2012-08-31 2014-03-05 Nxp B.V. Method for establishing control relationships, configuration device, networked device and computer program product
CN103455330A (en) * 2013-08-27 2013-12-18 小米科技有限责任公司 Application program management method, terminal, equipment and system
CN106970805A (en) * 2016-01-14 2017-07-21 平安科技(深圳)有限公司 Function configuration method and system
CN107045442A (en) * 2017-03-15 2017-08-15 武汉斗鱼网络科技有限公司 The method of controlling switch and system of function button on a kind of Application Program Interface
CN108255536A (en) * 2017-04-27 2018-07-06 平安科技(深圳)有限公司 Application control method and server based on functional switch
CN107357580A (en) * 2017-07-05 2017-11-17 竞技世界(北京)网络技术有限公司 A kind of method that guiding terminal user opens the miscellaneous function authority of application
CN107493339A (en) * 2017-08-23 2017-12-19 广东欧珀移动通信有限公司 Information-pushing method, device, terminal and computer-readable recording medium
CN108255709A (en) * 2017-12-26 2018-07-06 平安壹钱包电子商务有限公司 Script tests method, apparatus, terminal device and the storage medium of written in code
CN108509212A (en) * 2018-02-07 2018-09-07 平安科技(深圳)有限公司 Application program update test method, device, terminal device and storage medium
CN108549569A (en) * 2018-04-26 2018-09-18 上海掌门科技有限公司 The method and apparatus of information in a kind of search for application
CN108762760A (en) * 2018-05-25 2018-11-06 中国平安人寿保险股份有限公司 Software interface customizing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN109683944A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN108287917B (en) File opening method and device, storage medium and electronic equipment
CN108958844B (en) Application program control method and terminal
CN108319489A (en) Startup method, apparatus, storage medium and the electronic equipment of five application page
CN109284261B (en) Application searching method and device, storage medium and electronic equipment
CN108549568B (en) Application entry processing method and device, storage medium and electronic equipment
EP3975474B1 (en) Methods and apparatuses for chaining service data
CN108363792A (en) Link generation method, device, storage medium and the electronic equipment of five application page
CN105389325A (en) Content search method and electronic device implementing same
CN108595100A (en) Multi-screen display method, device, storage medium and electronic equipment
CN108363528A (en) Startup method, apparatus, storage medium and the electronic equipment of five application page
CN103294335A (en) Apparatus and method for creating a shortcut menu
CN107958365B (en) Material information changing method and device, storage medium and electronic equipment
CN108769234B (en) Application downloading method and device, storage medium and electronic equipment
CN111078556B (en) Application testing method and device
CN107239527A (en) web access method and device
CN108595965B (en) Method and device for preventing attribute information of interface control from being stolen
CN109885793A (en) Page data acquisition method and device, electronic equipment, storage medium
CN106201216A (en) The display packing of a kind of self-defined desktop icons and system
CN108255509B (en) Application deployment method, device, equipment and readable storage medium
CN111090866A (en) Application authority management method, mobile terminal and computer readable storage medium
CN110457312B (en) Method, device, equipment and readable storage medium for collecting multi-type data
CN105847446A (en) Network data obtaining method, device and system
CN109683944B (en) Application function switch management method, device, equipment and readable storage medium
CN110716914B (en) Database configuration method, system, computer readable storage medium and terminal device
CN105094608A (en) Task display method and device

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
GR01 Patent grant
GR01 Patent grant