CN109740074B - Method, device and equipment for processing parameter configuration information - Google Patents

Method, device and equipment for processing parameter configuration information Download PDF

Info

Publication number
CN109740074B
CN109740074B CN201811452856.7A CN201811452856A CN109740074B CN 109740074 B CN109740074 B CN 109740074B CN 201811452856 A CN201811452856 A CN 201811452856A CN 109740074 B CN109740074 B CN 109740074B
Authority
CN
China
Prior art keywords
information
configuration
website
preset
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.)
Active
Application number
CN201811452856.7A
Other languages
Chinese (zh)
Other versions
CN109740074A (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.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN201811452856.7A priority Critical patent/CN109740074B/en
Publication of CN109740074A publication Critical patent/CN109740074A/en
Application granted granted Critical
Publication of CN109740074B publication Critical patent/CN109740074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application discloses a method, a device and equipment for processing parameter configuration information, relates to the technical field of information processing, and can improve the modification efficiency of the parameter configuration information. The method comprises the following steps: acquiring website information obtained by code scanning identification, wherein the website information comprises an analysis rule corresponding to parameter configuration information; analyzing the website information according to the analysis rule to obtain target jump page information and dictionary information for constructing the parameter configuration information; and calling a preset view controller, and generating configuration view information corresponding to the parameter configuration information in the target jump page information according to the dictionary information. The method and the device are suitable for processing the parameter configuration information.

Description

Method, device and equipment for processing parameter configuration information
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a method, an apparatus, and a device for processing parameter configuration information.
Background
In the development or test process of an operating system (such as an IOS operating system, an android operating system, etc.), system or service parameter configuration information needs to be set to assist debugging, verifying a service scenario and positioning problems. For example, to dynamically modify the gateway to manage the service switch.
At present, the setting mode of the parameter configuration information is to directly write configuration in the program code. However, when the parameter configuration information needs to be modified, the program code needs to be rewritten and modified manually, so that the operation is not convenient and fast, and the modification efficiency of the parameter configuration information is affected.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus, and a device for processing parameter configuration information, and mainly aims to solve the problem that the current setting mode of the parameter configuration information is not convenient and fast to operate, and the modification efficiency of the parameter configuration information is affected.
According to an aspect of the present application, there is provided a method for processing parameter configuration information, the method including:
acquiring website information obtained by code scanning identification, wherein the website information comprises an analysis rule corresponding to parameter configuration information;
analyzing the website information according to the analysis rule to obtain target jump page information and dictionary information for constructing the parameter configuration information;
and calling a preset view controller, and generating configuration view information corresponding to the parameter configuration information in the target jump page information according to the dictionary information.
Optionally, the analyzing the website information according to the analysis rule to obtain target jump page information and dictionary information for constructing the parameter configuration information specifically includes:
segmenting the website information by using a preset mark symbol;
respectively carrying out preset keyword matching on the divided website part information;
and determining the target jump page information and the dictionary information according to the website part information matched with the preset keywords.
Optionally, determining the dictionary information according to the website part information matched with the preset keyword, specifically including:
acquiring website part information matched with a first target preset keyword related to configuration information;
analyzing the website part information matched with the first target preset keyword according to an analysis format of a preset key-value pair to obtain an identifier of a configuration item and a state value corresponding to the configuration item; and
and determining the configuration display type corresponding to the first target preset keyword as the display type corresponding to the configuration item.
Optionally, the invoking a preset view controller, and generating configuration view information corresponding to the parameter configuration information in the target jump page information according to the dictionary information, specifically includes:
and calling the preset view controller, generating configuration view information corresponding to the configuration item in the target jump page information according to the identification of the configuration item and the display type corresponding to the configuration item, and determining the editable state of the configuration item by referring to the state value corresponding to the configuration item.
Optionally, determining the target jump page information according to the website part information matched with the preset keyword, which specifically includes:
acquiring website part information matched with a second target preset keyword related to the page object;
and according to a preset reading format, extracting a page Key corresponding to the target jump page information from the website part information matched with the second target preset keyword so as to access the target jump page information by using the page Key.
Optionally, after the preset view controller is called, and configuration view information corresponding to the parameter configuration information is generated in the target jump page information according to the dictionary information, the method further includes:
outputting the configuration view information;
receiving input updating configuration information corresponding to the parameter configuration information;
and storing the user preference setting information in a key-value pair mode according to the updated configuration information.
Optionally, before acquiring the website information obtained by scanning the code identification, the method further includes:
receiving a code scanning instruction;
when the characteristic information of the bar code is detected, scanning the bar code, wherein the bar code is generated according to the Schema protocol standard;
the acquiring of the website information obtained by code scanning identification specifically includes:
and acquiring the Schema URL obtained by code scanning identification.
According to another aspect of the present application, there is provided an apparatus for processing parameter configuration information, the apparatus comprising:
the acquisition unit is used for acquiring website information obtained by code scanning identification, and the website information comprises an analysis rule corresponding to the parameter configuration information;
the analysis unit is used for analyzing the website information according to the analysis rule to obtain target jump page information and dictionary information for constructing the parameter configuration information;
and the generating unit is used for calling a preset view controller and generating configuration view information corresponding to the parameter configuration information in the target jump page information according to the dictionary information.
Optionally, the parsing module is specifically configured to segment the website information by using a preset mark symbol;
respectively carrying out preset keyword matching on the divided website part information;
and determining the target jump page information and the dictionary information according to the website part information matched with the preset keywords.
Optionally, the parsing module is specifically further configured to acquire website part information matched with the first target preset keyword related to the configuration information;
analyzing the website part information matched with the first target preset keyword according to an analysis format of a preset key-value pair to obtain an identifier of a configuration item and a state value corresponding to the configuration item; and
and determining the configuration display type corresponding to the first target preset keyword as the display type corresponding to the configuration item.
Optionally, the generating module is specifically configured to invoke the preset view controller, generate, in the target jump page information, configuration view information corresponding to the configuration item according to the identifier of the configuration item and the display type corresponding to the configuration item, and determine the editable state of the configuration item by referring to the state value corresponding to the configuration item.
Optionally, the parsing module is further specifically configured to acquire website part information matched with a second target preset keyword related to the page object;
and according to a preset reading format, extracting a page Key corresponding to the target jump page information from the website part information matched with the second target preset keyword so as to access the target jump page information by using the page Key.
Optionally, the apparatus further comprises:
the output module is used for outputting the configuration view information after the preset view controller is called and the configuration view information corresponding to the parameter configuration information is generated in the target jump page information according to the dictionary information;
the receiving module is used for receiving input updating configuration information corresponding to the parameter configuration information;
and the storage module is used for storing the user preference setting information in a key-value pair mode according to the updated configuration information.
Optionally, the apparatus further comprises: a code scanning module;
the code scanning module is used for receiving a code scanning instruction; when the characteristic information of the bar code is detected, scanning the bar code, wherein the bar code is generated according to the Schema protocol standard;
the obtaining module is specifically configured to obtain the Schema URL obtained by code scanning identification.
According to yet another aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described method of processing parameter configuration information.
According to still another aspect of the present application, there is provided a physical device for processing parameter configuration information, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, where the processor implements the method for processing parameter configuration information when executing the program.
By means of the technical scheme, compared with the existing setting mode of the parameter configuration information, the parameter configuration information processing method, the parameter configuration information processing device and the parameter configuration information processing equipment provided by the application can obtain the website information containing the analysis rule corresponding to the parameter configuration information by scanning the specific bar code for identification; and then analyzing the obtained website information according to the analysis rule to obtain target jump page information and dictionary information for constructing parameter configuration information, and then calling a preset view controller, and generating configuration view information corresponding to the parameter configuration information in the target jump page information according to the dictionary information, so that a user can dynamically set the parameter configuration information through the configuration view, and does not need to manually write and modify program codes again, the operation is convenient, the modification efficiency of the parameter configuration information can be improved, the setting of a system or service parameter configuration is effectively realized to assist in debugging, the service scene and the positioning problem are verified, the research and development efficiency of development and testing is improved, and the operation is friendly and efficient for the user.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart illustrating a method for processing parameter configuration information according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating another parameter configuration information processing method provided in an embodiment of the present application;
FIG. 3 is a diagram illustrating an example of a processing system architecture according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating an example parsing rule of website information according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an example of an implementation effect of a method provided by an embodiment of the present application;
fig. 6 shows a schematic structural diagram of a parameter configuration information processing apparatus provided in an embodiment of the present application;
fig. 7 shows a schematic structural diagram of another parameter configuration information processing apparatus provided in an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In view of the problem that the setting mode of the existing parameter configuration information is not convenient and fast to operate, and the modification efficiency of the parameter configuration information is affected, this embodiment provides a method for processing the parameter configuration information, as shown in fig. 1, the method includes:
101. and acquiring website information obtained by code scanning identification.
The website information comprises an analysis rule corresponding to the parameter configuration information. The parsing rule can be used for indicating which part of the website information is corresponding target jump page information and which part is corresponding dictionary information used for constructing the parameter configuration information, the parsing rule can be pre-configured in the website information according to actual business requirements, then a corresponding bar code is generated based on the website information, the bar code can be a one-dimensional code, a two-dimensional code or other multi-dimensional codes, and the like, for example, if the website information is a one-dimensional code (namely a bar code), the corresponding website information can be inquired through a bar code number obtained by scanning the bar code, and if the website information is a two-dimensional code, the website information carried by the two-dimensional code can be identified.
If the user needs to set the parameter configuration information, the dynamic setting of the parameter configuration information can be further realized by scanning the bar code. In this embodiment, the parameter configuration information may be a system parameter or configuration information of a specific service parameter, such as a catering service, an order service, a takeout service, and the like.
The execution subject of the present embodiment may be a processing device or apparatus for parameter configuration information, and may be disposed on the client side, or may also be disposed on the server side according to actual requirements. For the client side, a user can directly scan a specific bar code through the processing device or the set mobile terminal, and further dynamic setting of the parameter configuration information is achieved.
102. And analyzing the website information according to an analysis rule contained in the website information to obtain target jump page information and dictionary information used for constructing parameter configuration information.
The target jump page information can include the page Key of the jump page, so that the target page can be jumped by using the page Key, and a user can modify and set the parameter configuration information in the target page. The dictionary information can contain description information for constructing corresponding configuration items in the target page, so that the configuration items of parameter configuration are constructed in the target page by utilizing the description information, a user can conveniently set and change corresponding system or service parameter configuration in the configuration items to assist system development, testing and the like, and service scene verification, problem positioning and the like are facilitated.
103. And calling a preset view controller, and generating configuration view information corresponding to the parameter configuration information in the target jump page information according to the dictionary information obtained by analysis.
The configuration view information may include view contents configured by parameters, such as a name of each configuration item, an editing area corresponding to the configuration item, and an editing mode. And the preset view controller is used for rendering and generating a corresponding configuration view in the target jump page according to the dictionary information analyzed by the process, so that a user can edit the corresponding parameter configuration condition in the configuration view.
By applying the processing method of the parameter configuration information, if a user needs to set the parameter configuration, the barcode corresponding to the parameter configuration can be skipped to the corresponding configuration interface by scanning the barcode through the terminal, and then the parameter configuration is set and modified in the configuration interface.
In the practical application process of the method of this embodiment, a barcode carrying specific website information may be generated based on different protocol standards, and then the barcode is scanned and analyzed by using the used protocol standard to further implement the implementation process of the method of this embodiment, further, as a refinement and an extension of the specific implementation mode of the method of this embodiment, in order to fully describe the implementation process of the method of this embodiment, for example, a Schema protocol standard is provided, and as shown in fig. 2, the method includes:
201. and receiving a code scanning instruction.
In this embodiment, a corresponding code scanning instruction input button may be configured in advance, and then a user may input a code scanning instruction by inputting the button, and call a corresponding camera on the terminal to perform code scanning identification. Or when the system detects that the code needs to be scanned, the system automatically triggers and inputs a code scanning instruction, and further the code scanning function is realized.
202. And when the characteristic information of the bar code is detected, scanning the bar code.
The bar code is generated according to a Schema protocol standard, wherein the Schema refers to an agreed encoding and resolving protocol standard. The characteristic information may include specific style characteristics of the barcode (e.g., one-dimensional barcode style characteristics, two-dimensional barcode style characteristics, etc.), and if the barcode is a plurality of barcodes, corresponding layout conditions (e.g., including one-dimensional barcode and two-dimensional barcode, the one-dimensional barcode is above the two-dimensional barcode), etc.
203. And acquiring the Schema URL obtained by code scanning identification.
The obtained Schema URL (Uniform Resource Locator) is equivalent to website information, and carries an analysis rule corresponding to the parameter configuration information, that is, a parameter configuration information style rule is predefined in the Schema URL. After the codes are scanned, the client can analyze the Schema URL into corresponding service configuration information and provide a function of modifying the configuration information in the target jump page, so that the user configuration information can be dynamically modified according to the service scene. The resolution process of the Schema URL can be seen in the following steps 204 to 206.
204. And segmenting the obtained Schema URL by using a preset sign symbol.
The preset sign symbol may be preset according to actual requirements, for example, the preset sign symbol is an "&" sign, and the Schema URL is divided according to the "&" sign to obtain each part of the divided Schema URL, that is, each website part information.
205. And respectively carrying out preset keyword matching on each part of the divided Schema URL.
The preset keywords can be preset according to actual service requirements and are used for identifying which part of each divided part of the Schema URL corresponds to the target jump page information and which parts correspond to dictionary information used for constructing parameter configuration information.
The specific matching mode may include first determining whether the preset keyword exists in each part, determining that the part does not match the preset keyword if the preset keyword does not exist in the part, and then continuing determining whether the preset sentence pattern format is met if the preset keyword exists, and determining that the part matches the preset keyword if the preset keyword is met.
For example, if the portion of the Schema URL after segmentation exists in the target and the portion conforms to the preset period format of target XXX, it may be determined that the portion matches the preset keyword target.
206. And determining dictionary information used by the target jump page information and the construction parameter configuration information according to the Schema URL part matched with the preset keyword.
In this embodiment, after obtaining the Schema URL portion matching the preset keyword, it may be determined whether the preset keyword is a keyword related to the page object or a keyword related to the configuration information, and further, the content of each related portion is read, so as to obtain the target jump page information and the dictionary information used for constructing the parameter configuration information.
To illustrate the process of determining dictionary information, as an alternative, the process of determining dictionary information may specifically include: acquiring a Schema URL part matched with a first target preset keyword related to configuration information; analyzing the Schema URL part matched with the first target preset keyword according to an analysis format of a preset key-value pair to obtain an identifier of a configuration item and a state value corresponding to the configuration item; and determining the configuration display type corresponding to the first target preset keyword as the display type corresponding to the configuration item.
In this alternative, the first target preset keyword is a keyword related to the configuration information, such as textInput (referring to text input related to the configuration information), switchInput (referring to switch input related to the configuration information), and the like. The configuration information in the form of key-value pairs can be obtained by parsing according to the parsing format of the predetermined key-value pairs, wherein the key is an identifier of a configuration item, and the value can be a state value corresponding to the configuration item. And the configuration presentation type corresponding to the configuration item can be determined by the configuration presentation type corresponding to the first target preset keyword, for example, for the keyword textInput, the type of the corresponding configuration presentation is TextField (text box).
By the above-mentioned manner of analyzing the analysis format by using the predetermined key-value pair, dictionary information used for constructing parameter configuration information can be accurately identified. It should be noted that, in order to satisfy the requirement that a plurality of configuration items are simultaneously presented so that a user can perform dynamic configuration setting of a plurality of configuration items at the same time, configuration item information of the same presentation type may be separated by a specific symbol, for example, a comma is used to separate each configuration item information, so that configuration item information of the same presentation type may be presented in parallel. The key and value in the key-value pair may be distinguished by another specific symbol for the key-value pair content present in each configuration item information, such as an underlining symbol separating the keys and values in the configuration item information. Accordingly, in the specific parsing process of this optional manner, the configuration item information of each presentation type, and the key and value in each configuration item information, that is, the identifier of the configuration item and the state value corresponding to the configuration item, may be obtained through accurate parsing according to the specific symbols.
Further, for explaining the process of determining the target jump page information, as an optional manner, the process may specifically include: acquiring a Schema URL part matched with a second target preset keyword related to the page object; and according to a preset reading format, extracting a page Key corresponding to the target jump page information from the Schema URL part matched with the second target preset keyword so as to access the target jump page information by using the page Key.
In this optional manner, the second target preset keyword is a keyword related to the page object, such as target. The page Key corresponding to the target jump page can be obtained through analysis according to a preset reading format, for example, the part of the Schema URL matching the keyword target is obtained as target (actual configuration), the page Key can be read through the preset reading format as actual configuration (successful registration is achieved), and the corresponding configuration page can be displayed through the page Key in a jump manner. By the aid of the analysis mode, target jump page information needing to be jumped to can be accurately identified, and effective display page jumping is achieved.
207. And calling a preset view controller, and generating configuration view information corresponding to the parameter configuration information in the target jump page information according to the analyzed dictionary information.
Based on the content of the option in step 206, step 207 may specifically include: and calling a preset view controller, generating configuration view information corresponding to the configuration item in the target jump page information according to the identification of the configuration item and the display type corresponding to the configuration item, and determining the editable state of the configuration item by referring to the state value corresponding to the configuration item. By the method, the configuration view corresponding to the parameter configuration information can be accurately generated. Further, after step 207, the method may further include: and outputting the generated configuration view information so that a user can edit the corresponding parameter configuration condition in the configuration view. Then receiving updated configuration information corresponding to the parameter configuration information input by a user at the device side; and finally, storing the user preference setting information in a key-value pair mode according to the updated configuration information. For example, a series of user preference settings are stored in the form of key-value pairs, where a key is the name of a user preference setting and a value is some type of corresponding data. By the method, the parameter configuration changed by the user can be accurately stored, and then the related interface is called, so that the auxiliary debugging, the verification of the service scene and the positioning problem are realized according to the parameter configuration in the system development or test process. Such as dynamically modifying gateways or managing service switches, etc.
For convenience of understanding the description of the present embodiment, the following application scenarios are given, but not limited to:
as shown in fig. 3, firstly, a Schema URL is generated according to a Schema protocol standard, and the Schema URL defines a configuration rule for parsing by a client, and then a two-dimensional code carrying the Schema URL is generated. When a user needs to configure service parameters, the two-dimensional code is scanned by the client, the content after code scanning is analyzed, the page target to be skipped is obtained, and the dictionary type to be processed by the service is analyzed in a key-value pair (key) mode in the schema. And the view controller can display the corresponding configuration view based on the analyzed content, display user preference configuration information, such as configuration information of display text, switches and the like, and provide functions of editing and modifying the configuration information. And then the user edits corresponding parameter configuration conditions in the configuration view, the parameter configuration conditions are stored in a database according to modification setting conditions of configuration information, a series of user preference settings are stored in the database in a key-value pair mode, wherein the key is the name of the user preference setting, and the value is corresponding data of a certain type. Similar to NSDictionary, data can be accessed via the object ForKey and setObject ForKey. It should be noted that, when the scheme is implemented specifically, the view controller may be integrated in the client to meet more service requirements.
The defined schema Url protocol rule is shown in fig. 4, and after the client divides the schema Url according to the symbol, the skip page information target part is obtained: target and dictionary information configuration section: textInput ═ kSettings1_1, kSettings2_2& switchInput ═ kSwitch1_1, kSwitch2_ 0. The target part is a page key corresponding to a configuration page needing to enter; the configuration part is the configuration information, and the configuration will be analyzed into the corresponding configuration content in the configuration page. The textInput corresponding configuration shows a type of TextField, which has values of kSettings1_1 and kSettings2_2, and is partitioned into 2 corresponding configuration information according to 'and' in a configuration page, namely kSettings1_1 and kSettings2_2, and two specific configurations of key & kSettings1 and value & 1 are respectively partitioned into information according to 'and'. The same applies to the resolution of kSwitch2_0, kSwitch input — kSwitch1_ 1.
Based on the overall architecture in fig. 3 and the example in fig. 4, the steps of the overall flow are as follows:
1) registering a configuration page view controller ConfigViewController into a helper schema helper in a key (instactconfig) manner at a client;
2) constructing a schema url needing configuration information according to a protocol, and generating a two-dimensional code by using the content of the schema url;
3) entering a code scanning page in the client, and carrying out code scanning identification on the two-dimensional code generated in the step 2;
4) analyzing the protocol of the two-dimensional code at the assistant schema helper, constructing a dictionary of the configuration information, and opening a page ConfigViewController of the configuration information;
5) in the configuration information page configview controller, the configuration information is analyzed, and a configuration view is generated according to the analyzed configuration information, as shown in fig. 5, and is modified and stored in the user configuration center according to the corresponding configuration content.
The present embodiments provide a design for modifying configuration information that is good for developing and testing experience. The method is mainly characterized in that system configuration information is added and modified dynamically on the basis of a framework level at a client according to a well agreed Schema URL protocol. The plug-in type access can be realized on the technical design, the service is not invasive, and the expansion is convenient. In actual business, the method can help development and testing personnel to improve the efficiency of positioning problems. The method is applicable to IOS clients and dynamically modifies the configuration information based on code scanning, but is not limited to the IOS clients, and can also be applicable to other clients of similar operating systems.
Further, as a specific implementation of the method shown in fig. 1 and fig. 2, this embodiment provides an apparatus for processing parameter configuration information, as shown in fig. 6, the apparatus includes: an acquisition module 31, an analysis module 32, and a generation module 33.
The acquisition module 31 may be configured to acquire website information obtained by code scanning identification, where the website information includes an analysis rule corresponding to the parameter configuration information;
the analysis module 32 is used for analyzing the website information according to the analysis rule to obtain the target jump page information and dictionary information for constructing parameter configuration information;
and the generating module 33 may be configured to invoke the preset view controller, and generate configuration view information corresponding to the parameter configuration information in the target jump page information according to the dictionary information.
In a specific application scenario, the parsing module 32 may be specifically configured to segment the website information by using a preset mark symbol; respectively carrying out preset keyword matching on the divided website part information; and determining target jump page information and dictionary information according to the website part information matched with the preset keywords.
In a specific application scenario, the parsing module 32 may be further configured to obtain website part information matched with the first target preset keyword related to the configuration information; analyzing the website part information matched with the first target preset keyword according to an analysis format of a preset key-value pair to obtain an identifier of the configuration item and a state value corresponding to the configuration item; and determining the configuration display type corresponding to the first target preset keyword as the display type corresponding to the configuration item.
In a specific application scenario, the generating module 33 is specifically configured to invoke a preset view controller, generate configuration view information corresponding to the configuration item in the target jump page information according to the identifier of the configuration item and the display type corresponding to the configuration item, and determine an editable state of the configuration item by referring to the state value corresponding to the configuration item.
In a specific application scenario, the parsing module 32 may be further configured to obtain website part information matched with a second target preset keyword related to the page object; and according to a preset reading format, extracting a page Key corresponding to the target jump page information from the website part information matched with the second target preset keyword so as to access the target jump page information by using the page Key.
In a specific application scenario, as shown in fig. 7, the apparatus further includes: an output module 34, a receiving module 35, and a storage module 36;
the output module 34 is configured to output the configuration view information after the preset view controller is called and the configuration view information corresponding to the parameter configuration information is generated in the target jump page information according to the dictionary information;
a receiving module 35, configured to receive input updated configuration information corresponding to the parameter configuration information;
a saving module 36 operable to save the user preference setting information in the form of key-value pairs according to the updated configuration information.
In a specific application scenario, as shown in fig. 7, the apparatus further includes: a code scanning module 37;
a code scanning module 37, configured to receive a code scanning instruction; when the characteristic information of the bar code is detected, scanning the bar code, wherein the bar code is generated according to the Schema protocol standard;
the obtaining module 31 may be specifically configured to obtain a Schema URL obtained by code scanning identification.
It should be noted that, other corresponding descriptions of the functional modules related to the processing apparatus for parameter configuration information provided in this embodiment may refer to the corresponding descriptions in fig. 1 to fig. 2, and are not described herein again.
Based on the methods shown in fig. 1 and fig. 2, correspondingly, the present embodiment further provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method for processing the parameter configuration information shown in fig. 1 and fig. 2.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
Based on the method shown in fig. 1 and fig. 2 and the virtual device embodiments shown in fig. 6 and fig. 7, in order to achieve the above object, this embodiment further provides an entity device for processing parameter configuration information, which may specifically be a smart phone, a tablet computer, a smart watch, a notebook computer, a server, or other network devices, and the entity device includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing a computer program to implement the above-mentioned processing method of the parameter configuration information as shown in fig. 1 and 2.
Optionally, the entity device may further include a user interface, a network interface, a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, and the like. The user interface may include a Display screen (Display), an input module such as a Keyboard (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), etc.
Those skilled in the art will appreciate that the structure of the processing device for processing the parameter configuration information provided in the present embodiment does not constitute a limitation to the physical device, and may include more or less components, or combine some components, or arrange different components.
The storage medium may further include an operating system and a network communication module. The operating system is a program that manages hardware and software resources of the entity device for the parameter configuration information processing described above, and supports the operation of the information processing program as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and communication with other hardware and software in the information processing entity device.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and can also be implemented by hardware. By applying the technical scheme, if a user needs to set parameter configuration, the bar code corresponding to the parameter configuration can be skipped to the corresponding configuration interface by scanning the bar code through the terminal, and then the parameter configuration is set and modified in the configuration interface.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (15)

1. A method for processing parameter configuration information is characterized by comprising the following steps:
acquiring website information obtained by code scanning identification, wherein the website information comprises an analysis rule corresponding to parameter configuration information;
analyzing the website information according to the analysis rule to obtain target jump page information and dictionary information for constructing the parameter configuration information, and specifically comprising the following steps: respectively performing preset keyword matching on each website part information after the website information is segmented, and determining the target skip page information and the dictionary information according to the website part information matched with the preset keywords;
and calling a preset view controller, and generating configuration view information corresponding to the parameter configuration information in the target jump page information according to the dictionary information.
2. The method according to claim 1, wherein the analyzing the website information according to the analysis rule to obtain target jump page information and dictionary information for constructing the parameter configuration information specifically includes:
segmenting the website information by using a preset mark symbol;
respectively carrying out preset keyword matching on the divided website part information;
and determining the target jump page information and the dictionary information according to the website part information matched with the preset keywords.
3. The method according to claim 2, wherein determining the dictionary information according to the website part information matched with the preset keyword specifically comprises:
acquiring website part information matched with a first target preset keyword related to configuration information;
analyzing the website part information matched with the first target preset keyword according to an analysis format of a preset key-value pair to obtain an identifier of a configuration item and a state value corresponding to the configuration item; and
and determining the configuration display type corresponding to the first target preset keyword as the display type corresponding to the configuration item.
4. The method according to claim 3, wherein the invoking of the preset view controller generates configuration view information corresponding to the parameter configuration information according to the dictionary information in the target jump page information specifically includes:
and calling the preset view controller, generating configuration view information corresponding to the configuration item in the target jump page information according to the identification of the configuration item and the display type corresponding to the configuration item, and determining the editable state of the configuration item by referring to the state value corresponding to the configuration item.
5. The method according to claim 2, wherein determining the target jump page information according to the website part information matched with the preset keyword specifically comprises:
acquiring website part information matched with a second target preset keyword related to the page object;
and according to a preset reading format, extracting a page Key corresponding to the target jump page information from the website part information matched with the second target preset keyword so as to access the target jump page information by using the page Key.
6. The method according to claim 1, wherein after the calling of the preset view controller and the generation of the configuration view information corresponding to the parameter configuration information in the target jump page information according to the dictionary information, the method further comprises:
outputting the configuration view information;
receiving input updating configuration information corresponding to the parameter configuration information;
and storing the user preference setting information in a key-value pair mode according to the updated configuration information.
7. The method according to any one of claims 1 to 6, wherein before the acquiring of the website information identified by the scan code, the method further comprises:
receiving a code scanning instruction;
when the characteristic information of the bar code is detected, scanning the bar code, wherein the bar code is generated according to the Schema protocol standard;
the acquiring of the website information obtained by code scanning identification specifically includes:
and acquiring the Schema URL obtained by code scanning identification.
8. An apparatus for processing parameter configuration information, comprising:
the acquisition module is used for acquiring website information obtained by code scanning identification, and the website information comprises analysis rules corresponding to the parameter configuration information;
the analysis module is used for analyzing the website information according to the analysis rule to obtain target jump page information and dictionary information for constructing the parameter configuration information, and specifically comprises the following steps: respectively performing preset keyword matching on each website part information after the website information is segmented, and determining the target skip page information and the dictionary information according to the website part information matched with the preset keywords;
and the generating module is used for calling a preset view controller and generating configuration view information corresponding to the parameter configuration information in the target jump page information according to the dictionary information.
9. The apparatus of claim 8,
the analysis module is specifically used for segmenting the website information by using a preset mark symbol;
respectively carrying out preset keyword matching on the divided website part information;
and determining the target jump page information and the dictionary information according to the website part information matched with the preset keywords.
10. The apparatus of claim 9,
the analysis module is specifically used for acquiring website part information matched with a first target preset keyword related to the configuration information;
analyzing the website part information matched with the first target preset keyword according to an analysis format of a preset key-value pair to obtain an identifier of a configuration item and a state value corresponding to the configuration item; and
and determining the configuration display type corresponding to the first target preset keyword as the display type corresponding to the configuration item.
11. The apparatus of claim 10,
the generating module is specifically configured to invoke the preset view controller, generate configuration view information corresponding to the configuration item in the target jump page information according to the identifier of the configuration item and the display type corresponding to the configuration item, and determine the editable state of the configuration item by referring to the state value corresponding to the configuration item.
12. The apparatus of claim 9,
the analysis module is specifically used for acquiring website part information matched with a second target preset keyword related to the page object;
and according to a preset reading format, extracting a page Key corresponding to the target jump page information from the website part information matched with the second target preset keyword so as to access the target jump page information by using the page Key.
13. The apparatus of claim 8, further comprising:
the output module is used for outputting the configuration view information after the preset view controller is called and the configuration view information corresponding to the parameter configuration information is generated in the target jump page information according to the dictionary information;
the receiving module is used for receiving input updating configuration information corresponding to the parameter configuration information;
and the storage module is used for storing the user preference setting information in a key-value pair mode according to the updated configuration information.
14. The apparatus of any one of claims 8 to 13, further comprising: a code scanning module;
the code scanning module is used for receiving a code scanning instruction; when the characteristic information of the bar code is detected, scanning the bar code, wherein the bar code is generated according to the Schema protocol standard;
the obtaining module is specifically configured to obtain the Schema URL obtained by code scanning identification.
15. A storage medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements the method of processing parameter configuration information of any one of claims 1 to 7.
CN201811452856.7A 2018-11-30 2018-11-30 Method, device and equipment for processing parameter configuration information Active CN109740074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811452856.7A CN109740074B (en) 2018-11-30 2018-11-30 Method, device and equipment for processing parameter configuration information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811452856.7A CN109740074B (en) 2018-11-30 2018-11-30 Method, device and equipment for processing parameter configuration information

Publications (2)

Publication Number Publication Date
CN109740074A CN109740074A (en) 2019-05-10
CN109740074B true CN109740074B (en) 2020-11-10

Family

ID=66358368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811452856.7A Active CN109740074B (en) 2018-11-30 2018-11-30 Method, device and equipment for processing parameter configuration information

Country Status (1)

Country Link
CN (1) CN109740074B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112883088B (en) * 2019-11-29 2023-01-31 贵州白山云科技股份有限公司 Data processing method, device, equipment and storage medium
CN112069060A (en) * 2020-08-13 2020-12-11 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426448A (en) * 2015-11-06 2016-03-23 广州华多网络科技有限公司 Method, device and system for interface display
CN106535357A (en) * 2015-09-10 2017-03-22 中国电信股份有限公司 Method and system for configuring wifi parameters
CN107480278A (en) * 2017-08-22 2017-12-15 南京焦点领动云计算技术有限公司 A kind of method of the adjustment webpage pattern to come into force in real time
CN108491247A (en) * 2018-04-10 2018-09-04 武汉斗鱼网络科技有限公司 Method for page jump, device, terminal and computer-readable medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9317490B2 (en) * 2012-09-19 2016-04-19 TagMan Inc. Systems and methods for 3-tier tag container architecture
EP2926309A2 (en) * 2012-12-01 2015-10-07 Gspi B.V. Device, method and server for retrieving information using a machine readable image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106535357A (en) * 2015-09-10 2017-03-22 中国电信股份有限公司 Method and system for configuring wifi parameters
CN105426448A (en) * 2015-11-06 2016-03-23 广州华多网络科技有限公司 Method, device and system for interface display
CN107480278A (en) * 2017-08-22 2017-12-15 南京焦点领动云计算技术有限公司 A kind of method of the adjustment webpage pattern to come into force in real time
CN108491247A (en) * 2018-04-10 2018-09-04 武汉斗鱼网络科技有限公司 Method for page jump, device, terminal and computer-readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Web功能自动化测试关键技术研究与实现;洪裕龙;《中国优秀硕士学位论文全文数据库 信息科技辑》;20131215(第S2期);第I138-695页 *

Also Published As

Publication number Publication date
CN109740074A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN110955416A (en) Interface document generation method, device, equipment and computer storage medium
CN108399072B (en) Application page updating method and device
CN109978629B (en) Advertisement putting method and device, electronic equipment and storage medium
CN111581083B (en) Interface testing method and device, electronic equipment and storage medium
CN113741898B (en) Form generation method, device and equipment
CN109740074B (en) Method, device and equipment for processing parameter configuration information
CN110705226A (en) Spreadsheet creating method and device and computer equipment
CN111708535A (en) Image-text display control method and device and electronic equipment
CN112925520A (en) Method and device for building visual page and computer equipment
CN110209780B (en) Question template generation method and device, server and storage medium
CN109634610B (en) Interface marking data generation method and device
CN111338693A (en) Target file generation method based on model construction, server and storage medium
CN110598186A (en) Auxiliary processing method, device and system for image recognition
CN114416056A (en) Page generation method, system, computer equipment and readable storage medium
CN110990008A (en) Method, device, storage medium and electronic equipment for updating page
JP2019101889A (en) Test execution device and program
CN115065945B (en) Short message link generation method and device, electronic equipment and storage medium
JP7029557B1 (en) Judgment device, judgment method and judgment program
CN115904167A (en) Processing method and device of webpage icon, storage medium and electronic equipment
CN111125605B (en) Page element acquisition method and device
CN110609968B (en) Image-text information sorting processing method, device and equipment
CN104750823B (en) Method and device for inquiring promotion condition data
CN109977169B (en) Data synchronization method, device, computer readable storage medium and system
JP2018106524A (en) Interactive device, interactive method, and program
CN113256253A (en) Data processing method, device, equipment, computer readable storage medium and product

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