CN109582534B - Method and device for determining operation entry of system and server - Google Patents

Method and device for determining operation entry of system and server Download PDF

Info

Publication number
CN109582534B
CN109582534B CN201811294564.5A CN201811294564A CN109582534B CN 109582534 B CN109582534 B CN 109582534B CN 201811294564 A CN201811294564 A CN 201811294564A CN 109582534 B CN109582534 B CN 109582534B
Authority
CN
China
Prior art keywords
mode
tested
page
tag
determining
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
CN201811294564.5A
Other languages
Chinese (zh)
Other versions
CN109582534A (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201811294564.5A priority Critical patent/CN109582534B/en
Publication of CN109582534A publication Critical patent/CN109582534A/en
Application granted granted Critical
Publication of CN109582534B publication Critical patent/CN109582534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The specification provides a method, a device and a server for determining an operation entry of a system. Wherein, the method comprises the following steps: acquiring configuration data of a system to be tested; determining a front-end mode of the system to be tested according to the configuration data of the system to be tested; acquiring a front-end page tag of the system to be tested according to the front-end mode of the system to be tested; and determining an operation entrance of the system to be tested according to the front-end page tag. In the embodiment of the specification, a front-end mode of a system to be tested is determined according to configuration data of the system, and then a corresponding front-end page tag is determined; and then automatically positioning the manually operated operation entry of the system to be tested according to the front-end page label, thereby solving the technical problems of low processing efficiency and incomplete and accurate determination of the operation entry in the existing method, and achieving the technical effect of automatically, efficiently and comprehensively determining the operation entry of the system to be tested.

Description

Method and device for determining operation entry of system and server
Technical Field
The present specification belongs to the field of internet technologies, and in particular, to a method, an apparatus, and a server for determining an operation entry of a system.
Background
With the development and popularization of computer network technology, computer network technology is beginning to be applied to complete specific operation operations in more and more work fields. For example, in the field of internet finance, a worker can conveniently and efficiently perform specific operations such as query and editing on fund data related to a platform system through an operation interface provided by the platform system or an interface such as an input box in a front-end page.
The existing monitoring method usually needs technicians to manually comb the operation interface or the front end page of the system to position each operation entrance provided for the workers to manually operate on the operation interface or the front end page; and subsequently, specific operations of workers at the operation entrance are monitored and managed so as to find wrong operations or high-risk operations (such as unauthorized operations of workers in the field of internet finance) in manual operations in time, so that system risks can be reduced. Because the method needs to rely on technicians to determine the operation entrance through manual combing in the implementation process, the situations of omission, incompleteness and the like are easy to occur when the operation entrance of the system is specifically determined, and the determination efficiency is relatively low. Therefore, a method for determining operation entries of a system is needed to automatically, efficiently and comprehensively determine each operation entry in a system to be tested, so as to facilitate subsequent monitoring and management of manual operations at the operation entries.
Disclosure of Invention
The present disclosure provides a method, an apparatus, and a server for determining an operation entry of a system, so as to automatically, efficiently, and comprehensively determine the operation entry in a system under test.
The method, the device and the server for determining the operation entry of the system are realized as follows:
a method of determining an operational portal of a system, comprising: acquiring configuration data of a system to be tested; determining a front-end mode of the system to be tested according to the configuration data of the system to be tested; acquiring a front-end page tag of the system to be tested according to the front-end mode of the system to be tested; and determining an operation entrance of the system to be tested according to the front-end page tag.
An apparatus for determining an operational portal of a system, comprising: the first acquisition module is used for acquiring configuration data of the system to be tested; the first determining module is used for determining the front-end mode of the system to be tested according to the configuration data of the system to be tested; the second acquisition module is used for acquiring a front-end page tag of the system to be tested according to the front-end mode of the system to be tested; and the second determining module is used for determining the operation entrance of the system to be tested according to the front-end page tag.
A server comprises a processor and a memory for storing processor executable instructions, wherein the processor executes the instructions to acquire configuration data of a system to be tested; determining a front-end mode of the system to be tested according to the configuration data of the system to be tested; acquiring a front-end page tag of the system to be tested according to the front-end mode of the system to be tested; and determining an operation entrance of the system to be tested according to the front-end page tag.
A computer readable storage medium having stored thereon computer instructions which, when executed, implement obtaining configuration data for a system under test; determining a front-end mode of the system to be tested according to the configuration data of the system to be tested; acquiring a front-end page tag of the system to be tested according to the front-end mode of the system to be tested; and determining an operation entrance of the system to be tested according to the front-end page tag.
According to the method, the device and the server for determining the operation entry of the system, the front-end mode of the system to be tested is determined according to the configuration data of the system to be tested, the front-end page label corresponding to the front-end mode is determined, and then the operation entry of the system to be tested can be automatically determined according to the front-end page label, so that the technical problems that the determination efficiency is low and the determined operation entry is not comprehensive and accurate in the existing method are solved, and the technical effect that the operation entry of the system to be tested can be automatically, efficiently and comprehensively determined is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 is a diagram illustrating an embodiment of a method for determining an operation entry of a system according to an embodiment of the present disclosure;
fig. 2 is a schematic process flow diagram of a method for determining an operation entry of a system according to an embodiment of the present specification, in an example scenario;
FIG. 3 is a schematic process flow diagram illustrating a method for determining an operation entry of a system according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating an embodiment of a process of a method for determining an operation entry of a system according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating an embodiment of a structure of a server provided by an embodiment of the present specification;
fig. 6 is a schematic diagram of an embodiment of a structure of a device for determining an operation entry of a system provided in an embodiment of the present specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
In consideration of the fact that the existing method often needs to rely on technicians to manually comb and position the operation inlets provided by the front-end page or the operation interface of the system. When the method is implemented specifically, the carding is carried out by depending on technicians, the determination efficiency is relatively low when the operation inlet is determined, and errors or omissions are easy to occur. Moreover, with the development and progress of the technology, the system becomes more and more complex, and the updating is more and more frequent; accordingly, the front page or the operation interface of the system is changed more and more frequently. In this case, with the existing method, it is more difficult and more prone to omission or error depending on the technician manually combing the front page or the operation interface of the system to determine the operation entry. Namely, the existing method is often easy to miss, not comprehensive enough, and low in efficiency.
For the root cause of the above problems, the present specification considers that a front-end mode of the system can be automatically determined by starting from a code source file of a background bottom layer corresponding to a front-end page or an operation interface of the system through a computer based on background bottom layer data such as the code source file of the system, and then a corresponding front-end page tag is obtained by searching according to the front-end mode, and an operation entry of the system is determined according to the front-end page tag. Therefore, the technical problems that the processing efficiency is low and the operation inlets are determined to be incomplete and accurate in the existing method are solved, the processing efficiency is improved, the operation inlets of the system to be detected can be determined automatically, efficiently and comprehensively, and therefore the manual operation passing through each operation inlet can be monitored and managed comprehensively and effectively in the follow-up process, the risk is reduced, and the safety degree of the system is improved.
The embodiment of the specification provides a method for determining an operation entrance of a system, wherein the method can be applied to a system architecture (such as a risk management system) which comprises a plurality of servers and is used for managing system risks. Specifically, the configuration data of the system to be tested can be acquired through the positioning server in the system architecture; determining a front-end mode of the system to be tested according to the configuration data of the system to be tested; acquiring a front-end page tag of the system to be tested according to the front-end mode of the system to be tested; and determining an operation entrance of the system to be tested according to the front-end page tag. Furthermore, the positioning server may subsequently send the determined entry link data of the operation entry to a monitoring server in a system architecture, so that the monitoring server may perform analysis processing on a page request at the operation entry, thereby achieving effective and comprehensive monitoring management on manual operation through the operation entry.
In this embodiment, the server may be a background service server capable of implementing functions such as data transmission and data processing. Specifically, the server may be an electronic device having data operation, storage function and network interaction function; or a software program running in the electronic device to support data processing, storage and network interaction. In the present embodiment, the number of servers is not particularly limited. The server may specifically be one server, or may also be several servers, or a server cluster formed by several servers.
In an example scenario, as shown in fig. 1, a method for determining an operation entry of a system may be provided by applying an embodiment of this specification, and an operation entry at an operation interface of a business system of a certain financial platform is identified and determined by a positioning server, so that a monitoring server may subsequently perform monitoring management on manual operations at the operation entry.
In this scenario, a clerk of a financial platform needs to perform a query operation on each fund data uploaded to the financial platform by a user, and then perform a corresponding editing operation on the fund data and account data associated with the fund data according to a result obtained by the query.
Specifically, the user may perform a specific operation through an operation interface or a front-end page (for example, an APP page of the financial platform set on the mobile phone) provided by the service system to the user side to complete the uploading of the fund data.
The business staff of the financial platform can provide an operation interface on one side of the business staff or a query window of a front-end page through the business system of the financial platform to perform manual query operation on the fund data uploaded by the user.
For example, the clerk may specifically send a query request for the fund data to the business system through a query window (or query box, or other type of link entry provided for the clerk to query) in a page displayed on a desktop computer; further, the query result fed back by the service system can be obtained on the page, which includes: the amount value of the fund data, the associated account information of the fund data, the business item corresponding to the fund data and the like. For example, the results of a query on the funds data uploaded by user A may be presented on a page as: the capital value is 10 ten thousand; the account information associated with the fund data is transmitted from the account of the user A to the account of the institution R; the business item corresponding to the fund data is fund investment with the number of 0912.
After obtaining the query result, the service person can perform corresponding manual editing operation through an editing window provided by the operation interface according to the rule requirement of the platform. For example, the account record of user a is edited as "-1000000", the account record of institution R is edited as "+ 100000", and the corresponding fund item name is marked on the fund data: 0912, etc. Thereby completing the inquiry and editing of the fund data. Of course, it should be noted that, the above listed clerks perform the query operation and the edit operation through the query window and the edit window, respectively, is only an illustrative description. In specific implementation, according to specific application scenarios and service requirements, and according to specific situations, the service staff may also perform related operations through other forms of operation entries provided by the operation interface. For example, the operator may input his/her own processing record, tag data, and the like through a data input box on the operation interface, and perform an input operation and the like. The present specification is not limited to these.
In this scenario, when the monitoring server applying the method for determining the operation entry of the system is implemented, the configuration data of the service system (for example, a configuration file, a markup file, and the like of the service system) may be obtained first, and the configuration data of the system is retrieved to obtain a tag parameter in the configuration data; and determining the front-end mode of the system according to the label parameters.
The front-end mode of the system may be specifically understood as a modular scheme corresponding to a front-end page or an operation interface of the system, and specifically, the front-end page or the operation interface, which is used by a business system for a user or a business operator, may be set and defined through the modular scheme. Usually, based on a modular scheme of a certain schema type, a mapping relationship between an operation interface (or a front page) of a business system and an underlying code (e.g., Java code) file (also referred to as a source file or a source code file, etc.) of a system background can be established. The mapping relationships established for different schema types, i.e., based on different front-end schemas, tend to be different. In specific implementation, a data object defined in a code file of the system by a manual operation performed on an operation interface (or a front-end page) by a user or an operator can be determined based on a front-end mode of the business system, and then corresponding data processing can be performed through a bottom-layer code program of the system in response to the manual operation.
Specifically, the front-end mode may specifically include: VM mode and AntD mode, among many different mode types.
The VM mode may be specifically understood as a front-end mode based on a Velocity framework. The above-mentioned Velocity framework can be understood as an underlying system framework, in which a Java-based template engine can obtain data objects defined in a Java-based code file through a specific grammar rule, thereby implementing separation of an operation interface (or a front-end page) and the code file of the system.
The AntD mode can be specifically understood as a front-end mode type based on an AntD (Ant design) framework. The AntD can be understood as another type of underlying system framework, and the system framework is specifically designed based on a certain and natural concept and serves an enterprise-level product. Based on the system framework, the data processing related to the service system can be completed in a modularized manner, and the system framework has better applicability and higher processing efficiency. It should be noted that the two types of front-end modes listed above are only schematic illustrations. In specific implementation, the front-end mode may further include a front-end mode based on a js structure, for example, according to specific situations. The present specification is not limited to these.
The tag parameter may be specifically understood as a character string in the configuration data for indicating the type of the front-end mode. Generally, the character strings contained in the tag parameters corresponding to different types of front-end modes are often different from each other. Specifically, for example, the tag parameter of the VM mode usually includes a string: "Controller"; the tag parameters of the AntD mode often include the following character strings: jsx ", and the like. Of course, the above listed label parameters are only illustrative. In specific implementation, the tag parameter may also include other forms of character strings according to the specific type of front-end mode involved. The present specification is not limited to these.
In this scenario, in specific implementation, the server may retrieve, from the configuration data of the service system of the financial platform, a tag parameter carrying a "Controller" string, and may further tag the parameter to determine that the front-end mode of the service system is the VM mode.
After determining the front-end mode of the service system, as shown in fig. 2, the location server may optionally use a determination method matching the front-end mode of the service system to automatically find and determine each operation entry provided by the service system to the service operator on the operation interface (or on the front-end page) for manual operation.
Specifically, after determining that the front-end mode of the service system is the VM mode, the positioning server may first scan a Controller layer in an original code file of the service system in a determination manner matched with the VM mode to identify a statement carrying a first characteristic character string, and use the statement carrying the first characteristic character string as a front-end page tag of the service system; and further identifying and determining an entry link of the front-end page of the business system according to the determined front-end page tag, namely obtaining an operation entry of the business system.
The operation entry of the service system may be specifically understood as a data interface that is arranged on an operation interface or a front-end page and used for a service person or a user to perform manual operation by sending a page request. Usually, an operation entry uniquely corresponds to an entry link at the bottom of an operation interface or a front page.
The first characteristic character string may be specifically understood as a characteristic character string corresponding to the VM mode and used for indicating an operation interface of the VM mode or an entry link at the bottom of a front-end page. Specifically, the first characteristic character string may be represented in the following form: "htm".
In specific implementation, after determining that the front-end mode is the VM mode, the positioning server may scan and retrieve the Controller layer in the original code file by using the Controller layer in the original code file as a scanning node; a statement carrying "htm" (i.e., the first string) is retrieved as the front-end page tag for the business system. For example, a sentence "@ RequestMapplng ("/xxx. htm ")" is retrieved as a front-end page tag, and then a corresponding entry link on the operation interface or the front-end page can be found from the source file according to the front-end page tag, that is, a corresponding operation entry is determined.
According to the mode, the positioning server can respectively position and determine various entrance links corresponding to different operations on the operation interface provided by the business system for the business personnel. For example, a portal link corresponding to the query window, a portal link corresponding to the edit window, and the like can be determined, respectively. Therefore, the operation interface or the front-end page of the business system is comprehensively and accurately identified and provided for multiple operation entrances for multiple manual operations of the business personnel.
It should be noted that, the above only takes the front-end mode of the service system as the VM mode as an example, and how the positioning server determines each operation entry on the operation interface in a determination manner matching with the front-end mode is described.
If the front-end mode of the service system is the AntD mode, similarly, the positioning server may determine the operation entry of the service system by using a determination mode matched with the AntD mode.
Specifically, after determining that the front-end mode of the service system is the AntD mode, the positioning server may scan an index.jsx file in an original file of the system by using the index.jsx file in the original file of the system as a scanning node, so as to retrieve and identify a sentence carrying a second characteristic character string as a front-end page tag of the service system; and finding out a corresponding entry link from the original code file according to the front-end page tag, thereby determining the operation entry of the service system.
The second characteristic character string may be specifically understood as a characteristic character string corresponding to the AntD mode and used for indicating an operation interface of the AntD mode or an entry link at the bottom of the front-end page. Specifically, the second characteristic string may be expressed in the following form "Component".
According to the mode, after determining each operation entrance on the operation interface provided by the business system for the business person, the positioning server can send the operation entrance, namely the entrance link corresponding to each operation entrance to the monitoring server through the network, and the monitoring server specifically monitors the manual operation of the business person at each operation entrance on the operation interface according to the entrance link and finds out the illegal operation or high-risk operation of the business person, so as to reduce the safety risk of the system.
In specific implementation, the monitoring server may first obtain a page request at the operation entry, where the page request corresponds to an operation input through the operation entry; and then, determining whether the operation input through the operation entrance meets a preset safety rule or not through the analysis and the processing of the page request.
It should be noted that the page request sent from the entry link corresponding to the operation entry corresponds to a manual operation input through the operation entry on the operation interface or the front-end page. For example, on an operation interface of a business system, a business worker performs query operation on a certain fund data through a query window in the interface; correspondingly, a page request for inquiring the fund data is sent out through an entry link corresponding to the inquiry window in the bottom code file of the system.
In specific implementation, as shown in fig. 3, the monitoring server may select to acquire the page request at the operation entry by using an acquisition mode matched with the front-end mode of the service system according to the mode type of the front-end mode of the system.
Specifically, before acquiring the page request, the monitoring server may determine a front-end mode of the service system. Under the condition that the front-end mode of the business system is determined to be the VM mode, the monitoring server can obtain a front-end page file at an operation inlet, wherein the front-end page file in the VM mode comprises a VM file; and analyzing the front-end page file so as to extract and obtain the page request at the operation entrance. The VM file may be specifically understood as a standard file corresponding to a VM mode.
Under the condition that the front-end mode of the service system is determined to be the AntD mode, the monitoring server may scan and retrieve a request statement carrying an entry tag at the operation entry, where the entry tag may specifically include a Component tag; and taking the request statement carrying the entry tag as a page request at the operation entry, thereby obtaining the page request at the operation entry. Of course, the above listed manner of obtaining the page request is only an illustrative illustration. For other types of front-end modes, the page requests at each operation entrance can be acquired by adopting a corresponding matched acquisition mode. The present specification is not limited to these.
After the page requests at each operation entrance in the operation interface or the front-end page of the service system are obtained in the above manner, the monitoring server can further analyze and process the page requests at each operation entrance respectively. Specifically, the monitoring server can analyze various characteristic parameters such as request types, numerical data, aging data, project data and the like of each page request at each operation entrance respectively; respectively determining operation types (such as query types, edit types or input types) corresponding to the page requests according to the request types of the page requests; comparing the characteristic parameters of the page request, such as numerical data, aging data, project data and the like, with the preset safety threshold parameter ranges, such as numerical thresholds, aging thresholds, project reference values and the like, contained in the preset safety rules corresponding to the operation types at the operation entrance to obtain a comparison result; and determining whether each operation at each operation entrance accords with a preset safety rule or not according to the comparison result, namely determining whether an illegal operation exists or not, thereby effectively monitoring the manual operation input by each operation entrance.
Specifically, if the comparison result is: if the numerical data, the aging data, the project data and the like are respectively located in the corresponding preset safety threshold parameter ranges, judging that the page request at the operation entrance conforms to a preset safety rule, and judging that the corresponding operation is legal and safe; if the comparison result is: if at least one of the numerical data, the aging data and the like is located outside the corresponding preset safety threshold parameter range, the page request is judged to be not in accordance with the preset safety rule, and is illegal and unsafe operation or even high-risk operation, and further alarm information can be generated for prompting, so that a system or a technician can find the illegal operation in time and carry out corresponding processing in time, thereby effectively reducing the system risk and ensuring the system safety.
For example, when a business operator edits a fund project name of a fund data to 0911 by mistake through an editing window on an operation interface, the monitoring server compares the project name with a preset project reference value range at the inlet link, finds that 0911 does not exist in the preset project reference value range at the inlet link, and therefore can judge that the editing operation of the business operator has a mistake, namely belongs to illegal operation, and further can generate alarm information to prompt the business operator that the editing operation has a mistake and please edit again. Therefore, the manual operation input by each operation inlet in the operation interface of the system can be automatically and efficiently and accurately monitored and managed, and the safety risk of the system is reduced.
As can be seen from the above scenario example, according to the method for determining the operation entry of the system provided in this specification, the front-end mode of the system to be tested is determined according to the configuration data of the system to be tested, and then the front-end page tag corresponding to the front-end mode is determined, so that the operation entry of the system to be tested can be automatically determined according to the front-end page tag, thereby solving the technical problems that the determination efficiency is low and the determined operation entry is not comprehensive and accurate in the existing method, and achieving the technical effect of automatically, efficiently and comprehensively determining the operation entry of the system to be tested.
Referring to fig. 4, an embodiment of the present disclosure provides a method for determining an operation portal of a system, where the method is specifically applied to a side of a location server. In specific implementation, the method may include the following:
s41: and acquiring configuration data of the system to be tested.
In this embodiment, the system under test may be specifically understood as a business system, that is, a system framework that includes an operation interface (or a front-end page) capable of supporting manual operation and a corresponding bottom code file (or an original code file), and is capable of responding to the specific manual operation and completing corresponding business functions, where the operation interface (or the front-end page) and the bottom code file have a certain mapping relationship.
Specifically, the operation interface may also be referred to as a front-end page, which faces a user or an operator, and is used for providing an operation entry (e.g., a data interface such as an input box or an editing window) supporting manual operation for the user or the operator; and receiving and acquiring manual operation input by a user or a salesman and the like through the operation entrance.
The underlying code file, which may also be referred to as an original code file, may complete a specific service function through corresponding data processing according to a received instruction indicated by a manual operation based on a preset mapping relationship.
For example, a user may perform a query operation on a certain fund data through a query window provided on the operation interface. Correspondingly, the bottom layer original code file can receive a page request which is sent from an entry link corresponding to the query window and used for representing the query operation, respond to the page request, search data information related to the fund data, and feed the searched data information as result data back to the user to complete the query of the user.
In this embodiment, the configuration data of the system under test may be specifically understood as file data for annotating an original code file of the system under test. Specifically, for example, the configuration data may be a configuration file or a markup file of a system, and the like.
In this embodiment, in a specific implementation, the positioning server may obtain the configuration data of the system to be tested by scanning the system to be tested.
S43: and determining the front-end mode of the system to be tested according to the configuration data of the system to be tested.
In this embodiment, the front-end mode of the system under test may be specifically understood as a modular scheme corresponding to a front-end page or an operation interface of the system under test, and specifically, the front-end page or the operation interface of the system under test, which is used by a user or an operator, may be set and defined through the modular scheme. Usually, based on a modular scheme of a certain mode type, a mapping relationship between an operation interface (or a front page) of the system under test and an underlying code (e.g., Java code) file (also referred to as a source file or a source file) in a background of the system under test may be established. The mapping relationships established for different schema types, i.e., based on different front-end schemas, tend to be different. In specific implementation, a data object defined in a code file of the system to be tested by manual operation performed on an operation interface (or a front-end page) by a user or an operator can be determined based on a front-end mode of the system to be tested, and corresponding data processing can be performed through a bottom-layer code program of the system to be tested in response to the manual operation.
Specifically, the front-end mode of the system under test may specifically include: VM mode and AntD mode, among many different mode types.
The VM mode may be specifically understood as a front-end mode based on a Velocity framework. The above-mentioned Velocity framework can be understood as an underlying system framework, in which a Java-based template engine can obtain data objects defined in a Java-based code file through a specific grammar rule, thereby implementing separation of an operation interface (or a front-end page) and the code file of the system.
The AntD mode can be specifically understood as a front-end mode type based on an AntD (Ant design) framework. The AntD can be understood as another type of underlying system framework, and the system framework is specifically designed based on a certain and natural concept and serves an enterprise-level product. Based on the system framework, the data processing related to the service system can be completed in a modularized manner, and the system framework has better applicability and higher processing efficiency. It should be noted that the two types of front-end modes listed above are only schematic illustrations. In specific implementation, the front-end mode may further include a front-end mode based on a js structure, for example, according to specific situations. The present specification is not limited to these.
In this embodiment, when determining the front-end mode of the system under test according to the configuration data of the system under test, the following steps may be included: extracting tag parameters from the configuration data of the system to be tested; and determining the front-end mode of the system to be tested according to the label parameters.
In this embodiment, the tag parameter may be specifically understood as a type string stored in the configuration data and used for indicating the front-end mode. Generally, the character strings contained in the tag parameters corresponding to different types of front-end modes are often different from each other. Specifically, for example, the tag parameter of the VM mode usually includes a character string "Controller"; the tag parameter of the AntD mode often includes a character string "index. Of course, the above listed label parameters are only illustrative. In specific implementation, the tag parameter may also include other forms of character strings according to the specific system and front-end mode type. The present specification is not limited to these.
In this embodiment, in specific implementation, the server may scan and retrieve configuration data of the system to be tested, and extract corresponding tag parameters from the configuration data; and determining the front end face mode of the system to be tested according to the label parameters.
S45: and acquiring a front-end page tag of the system to be tested according to the front-end mode of the system to be tested.
In this embodiment, the front-end page tag may be specifically understood as a code statement used for indicating an entry link corresponding to an operation entry at a front-end page (or an operation interface) in an original file at a bottom layer of a system to be tested, where the code statement carries a corresponding characteristic character string. The characteristic character strings carried in the front-end page tags are different, which generally correspond to different front-end modes.
Specifically, for example, corresponding to the VM mode, the front-end page tag may specifically be a statement carrying a first characteristic string, where the first characteristic string may be represented in the following form "htm". Corresponding to the AntD mode, the front page tag may be a sentence carrying a second characteristic character string, where the second characteristic character string may be represented in the form of "Component" or the like. Of course, it should be noted that the front-end tag may also carry other different forms of characteristic character strings corresponding to other front-end modes. The present specification is not limited to these.
In this embodiment, the obtaining of the front-end page tag of the system to be tested according to the front-end mode of the system to be tested may include the following steps in specific implementation: determining the front-end mode of the system to be tested, selecting a mode matched with the front-end mode of the system to be tested, and acquiring a front-end page tag from an original code file of the system to be tested.
In this embodiment, in specific implementation, when it is determined that the front-end mode of the system to be tested is the VM mode, the front-end page tag of the system to be tested may be obtained in a manner matching with the VM. Specifically, the following may be included: scanning a Controller layer in an original code file of a system to be tested to identify a statement carrying a first characteristic character string, and taking the statement carrying the first characteristic character string as a front-end page label of the system to be tested.
Under the condition that the front-end mode of the system to be tested is determined to be the AntD mode, the front-end page label of the system to be tested can be obtained in a mode matched with the AntD mode, and the method specifically includes the following steps: jsx files in the source code files of the system to be tested are scanned to identify sentences carrying the second characteristic character strings, and the sentences carrying the second characteristic character strings are used as front-end page labels of the system to be tested. Of course, it should be noted that the above only takes the common VM mode and the AntD mode as an example to illustrate how to obtain the front-end page tag by matching with the front-end mode. In a specific implementation, if the front-end mode of the system to be tested is another type of mode, for example, the front-end mode of the system based on the js structure, the corresponding front-end page tag may also be obtained in a manner matching with the type of mode. The present specification is not limited to these.
S47: and determining an operation entrance of the system to be tested according to the front-end page tag.
In this embodiment, the operation entry may be specifically understood as a data interface provided on a front end page or an operation interface and provided for a user or an operator to perform manual operation. Through the operation entrance, a user or a service person and the like can perform corresponding manual operations, such as query, editing, input and the like. Specifically, the operation entries may include a plurality of different types of operation entries such as a query window, an edit box, and an input box according to different service operation types and operation modes. Of course, it should be noted that the various types of operation inlets are listed above only for better illustration of the embodiments of the present disclosure. In particular, other types of operation entries may be included as the case may be. The present specification is not limited to these.
It is to be added that each operation entry set on the front-end page or the operation interface uniquely corresponds to an entry link at the bottom of the operation interface or the front-end page. Therefore, the system to be tested can map manual operation input by a user or an operator at a certain operation entry in a front-end page or an operation interface to a page request which is sent to indicate corresponding operation through an entry link corresponding to the operation entry in the bottom layer original code file, and then the system can respond to the operation of the user or the operator from the bottom layer original code side to perform corresponding data processing.
In this embodiment, the determining, according to the front-end page tag, an operation entry of the system under test may include the following steps in specific implementation: the positioning server can retrieve the corresponding entry link of the front-end page from the original code file of the system to be tested according to the obtained front-end page label as a basis, so as to determine the corresponding operation entry. Furthermore, the manual operation based on the operation entry can be specifically monitored subsequently, the manual operation which does not accord with the safety rule can be found in time, and the safety risk of the system is reduced.
As can be seen from the above, in the method for determining an operation entry of a system provided in the embodiment of the present specification, the front-end mode of the system to be tested is determined according to the configuration data of the system to be tested, and then the front-end page tag corresponding to the front-end mode is determined, so that the operation entry of the system to be tested can be automatically determined according to the front-end page tag, thereby solving the technical problems that the determination efficiency is low and the determined operation entry is not comprehensive and accurate in the existing method, and achieving the technical effect of automatically, efficiently and comprehensively determining the operation entry of the system to be tested.
In an embodiment, the determining the front-end mode of the system under test according to the configuration data of the system under test may include the following steps: extracting tag parameters from the configuration data of the system to be tested; and determining the front-end mode of the system to be tested according to the label parameters.
In this embodiment, the tag parameter may be specifically understood as a character string in the configuration data for indicating the type of the front-end mode of the system under test. Generally, the character strings contained in the tag parameters corresponding to different types of front-end modes are often different from each other. Specifically, for example, the tag parameter of the VM mode usually includes a character string "Controller"; the tag parameter of the AntD mode often includes a character string "index. Of course, the above listed label parameters are only illustrative. In specific implementation, the tag parameter may also include other forms of character strings according to the type of the front-end mode specifically involved. The present specification is not limited to these.
In one embodiment, the front-end mode may specifically include: VM mode, or AntD mode, etc. It should be understood that the front-end mode listed above is only an exemplary one. In particular, other types of front-end modes may be included according to a specific application scenario. The present specification is not limited thereto.
In this embodiment, the VM mode may be specifically understood as a front-end mode type based on a Velocity framework. The above-mentioned Velocity framework can be understood as an underlying system framework, in which a Java-based template engine can obtain data objects defined in a Java-based code file through a specific grammar rule, thereby implementing separation of an operation interface (or a front-end page) and the code file of the system. The AntD mode can be specifically understood as a front-end mode type based on an AntD (Ant design) framework, which is different from the VM mode. The AntD can be understood as another type of underlying system framework, and the system framework is specifically designed based on a certain and natural concept and serves an enterprise-level product. Through the system framework, the data processing related to the service system can be completed in a modularized mode, and the system framework has good applicability and high processing efficiency. It should be noted that the two types of front-end modes listed above are only schematic illustrations. In specific implementation, the front-end mode may further include a front-end mode based on a js structure, for example, according to specific situations. The specification is not limited to a specific type of front-end mode of the system under test.
In this embodiment, in specific implementation, the front-end mode type of the system under test may be determined according to the tag parameter of the system obtained from the configuration data of the system under test. For example, it is determined whether the front-end mode of the system under test is the VM mode, the AntD mode, or the front-end mode based on the js structure.
In an embodiment, the obtaining the front-end page tag of the system under test according to the front-end mode of the system under test may include, in specific implementation: and obtaining the front-end page label of the system from the original code file (or called code file or source file and the like) of the bottom layer of the system to be tested by adopting an obtaining mode matched with the front-end mode of the system to be tested.
In this embodiment, the front-end page tag may be specifically understood as a code statement used for indicating an entry link corresponding to an operation entry at a front-end page (or an operation interface) in an original file at a bottom layer of a system to be tested, where the code statement carries a corresponding characteristic character string. Usually corresponding to different front-end modes, the characteristic character strings carried in the front-end page tags are different.
In an embodiment, in specific implementation, when it is determined that the front-end mode of the system to be tested is the VM mode, the front-end page tag of the system to be tested may be obtained in an obtaining manner matched with the VM mode. The method specifically comprises the following steps: scanning a Controller layer in an original code file of a system to be tested to identify a statement carrying a first characteristic character string, and taking the statement carrying the first characteristic character string as a front-end page label of the system to be tested. The first characteristic string may be represented in the following form "htm".
In an embodiment, in a specific implementation, in a case that it is determined that the front-end mode of the system to be tested is the AntD mode, acquiring a front-end page tag of the system to be tested in an acquisition mode matched with the AntD mode may specifically include: and scanning an index.jsx file in the original code file of the system to be tested to identify the statement carrying the second characteristic character string, and taking the statement carrying the second characteristic character string as a front-end page label of the system to be tested. Here, the second characteristic character string may be expressed in the following form "Component".
In an embodiment, after determining the operation entry of the system under test according to the front-end page tag, when the method is implemented, the method may further include the following steps: acquiring a page request at the operation entrance, wherein the page request corresponds to an operation input through the operation entrance; and determining whether the operation input through the operation entrance meets a preset safety rule or not according to the page request.
In this embodiment, in a specific implementation, a user or a service engineer may perform a specific service operation through an operation interface or an operation entry set on a front-end page. The source file corresponding to the bottom layer of the system corresponds to a page request for indicating a business operation issued from the portal link corresponding to the operation portal. That is, the page request sent from the portal link corresponding to each operation portal corresponds to the manual operation input through the operation portal. Therefore, in the present embodiment, it is possible to monitor and manage the manual operation through the operation portal by analyzing and processing the page request at the operation portal.
In this embodiment, the preset safety rule may be specifically understood as a preset safety threshold parameter range. In specific implementation, the server compares a plurality of feature data in each page request passing through the operation entry with the corresponding preset safety threshold parameter range, and when each specific data in the page request is within the preset safety threshold parameter range, the server judges that the page request conforms to a preset safety rule, the corresponding manual operation is legal, and no safety risk exists; when at least one characteristic data in the plurality of characteristic data in the page request is located outside the corresponding preset safety value parameter range, the page request is judged to be not in accordance with the preset safety rule, the corresponding manual operation is illegal, and the safety risk exists.
In this embodiment, it is determined that the page request at an operation entry does not conform to the preset safety rule, that is, it is determined that the manual operation at the operation entry is illegal, and even may be a high-risk operation. At the moment, the system can generate corresponding alarm information for prompting so as to correct the illegal operation in time, thereby reducing the safety risk of the system.
In an embodiment, in a specific implementation, the obtaining of the page request at the operation entry may specifically include the following: and acquiring the page request at the operation entrance of the system to be tested by adopting an acquisition mode matched with the front-end mode.
In an embodiment, in a specific implementation, in a case that the front-end mode of the system to be tested is the VM mode, the obtaining, by using the obtaining method matched with the front-end mode, the page request at the operation entry of the system to be tested may include the following: acquiring a front-end page file at the operation entrance, wherein the front-end page file comprises a vm file; and analyzing the front-end page file to obtain a page request at the operation entrance.
In an embodiment, in a specific implementation, in a case that the front-end mode of the system to be tested is the AntD mode, the obtaining of the page request at the operation entry of the system to be tested by using the obtaining method matched with the front-end mode may include the following: retrieving a request statement carrying an entry tag at the operation entry, wherein the entry tag comprises a Component tag; and taking the request statement carrying the entry tag as a page request at the operation entry.
As can be seen from the above, according to the method for determining the operation entry of the system provided by the present specification, the front-end mode of the system to be tested is determined according to the configuration data of the system to be tested, and then the front-end page tag corresponding to the front-end mode is determined, so that the operation entry of the system to be tested can be automatically determined according to the front-end page tag, thereby solving the technical problems that the determination efficiency is low and the determined operation entry is not comprehensive and accurate in the existing method, and achieving the technical effect of automatically, efficiently and comprehensively determining the operation entry of the system to be tested; after each operation entry set on the operation interface of the system to be tested is determined, further, according to the front-end mode of the system to be tested, the page request at each operation entry is obtained in an obtaining mode matched with the front-end mode, and then the page request at the operation entry is analyzed, so that the manual operation of each operation entry is comprehensively and efficiently monitored and managed.
Embodiments of the present specification further provide a server, including a processor and a memory for storing processor-executable instructions, where the processor, when implemented, may perform the following steps according to the instructions: acquiring configuration data of a system to be tested; determining a front-end mode of the system to be tested according to the configuration data of the system to be tested; acquiring a front-end page tag of the system to be tested according to the front-end mode of the system to be tested; and determining an operation entrance of the system to be tested according to the front-end page tag.
In order to more accurately complete the above instructions, referring to fig. 5, the present specification further provides another specific server, wherein the server includes a network communication port 501, a processor 502 and a memory 503, and the above structures are connected by an internal cable, so that the structures can perform specific data interaction.
The network communication port 501 may be specifically configured to obtain configuration data of a system under test.
The processor 502 may be specifically configured to determine a front-end mode of the system to be tested according to the configuration data of the system to be tested; acquiring a front-end page tag of the system to be tested according to the front-end mode of the system to be tested; and determining an operation entrance of the system to be tested according to the front-end page tag.
The memory 503 may be specifically configured to store configuration data acquired through the network communication port 501, and store a corresponding instruction program applied by the processor 502.
In this embodiment, the network communication port 501 may be a virtual port bound with different communication protocols so as to send or receive different data. For example, the network communication port may be port No. 80 responsible for web data communication, port No. 21 responsible for FTP data communication, or port No. 25 responsible for mail data communication. In addition, the network communication port can also be a communication interface or a communication chip of an entity. For example, it may be a wireless mobile network communication chip, such as GSM, CDMA, etc.; it can also be a Wifi chip; it may also be a bluetooth chip.
In this embodiment, the processor 502 may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, an embedded microcontroller, and so forth. The description is not intended to be limiting.
In this embodiment, the memory 503 may include multiple layers, and in a digital system, the memory may be any memory as long as binary data can be stored; in an integrated circuit, a circuit without a physical form and with a storage function is also called a memory, such as a RAM, a FIFO and the like; in the system, the storage device in physical form is also called a memory, such as a memory bank, a TF card and the like.
The present specification further provides a computer storage medium based on the method for determining an operation entry of the system, where the computer storage medium stores computer program instructions, and when the computer program instructions are executed, the computer storage medium implements: acquiring configuration data of a system to be tested; determining a front-end mode of the system to be tested according to the configuration data of the system to be tested; acquiring a front-end page tag of the system to be tested according to the front-end mode of the system to be tested; and determining an operation entrance of the system to be tested according to the front-end page tag.
In the present embodiment, the storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard disk (HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, the functions and effects specifically realized by the program instructions stored in the computer storage medium can be explained by comparing with other embodiments, and are not described herein again.
Referring to fig. 6, in a software level, an embodiment of the present specification further provides a device for determining an operation entry of a system, where the device may specifically include the following structural modules:
the first obtaining module 61 may be specifically configured to obtain configuration data of a system to be tested;
the first determining module 62 may be specifically configured to determine a front-end mode of the system to be tested according to the configuration data of the system to be tested;
the second obtaining module 63 may be specifically configured to obtain a front-end page tag of the system to be tested according to the front-end mode of the system to be tested;
the second determining module 64 may be specifically configured to determine an operation entry of the system to be tested according to the front-end page tag.
In one embodiment, the first determining module 43 may specifically include the following structural units:
the extracting unit is specifically used for extracting tag parameters from the configuration data of the system to be tested;
the first determining unit may be specifically configured to determine a front-end mode of the system under test according to the tag parameter.
In one embodiment, the front-end mode comprises: VM mode, or AntD mode, etc. Of course, it should be noted that the front-end mode listed above is only a schematic illustration. In specific implementation, the front-end mode may also include other types of modes according to specific situations. The present specification is not limited to these.
In an embodiment, the second obtaining module 63 may be specifically configured to scan a Controller layer in an original code file of the system to be tested, under the condition that the front-end mode of the system to be tested is determined to be the VM mode, so as to identify a statement carrying a first characteristic character string as a front-end page tag of the system to be tested.
In an embodiment, the second obtaining module 63 may be further specifically configured to scan an index.jsx file in an original code file of the system to be tested to identify a statement carrying a second characteristic character string as a front-end page tag of the system to be tested, when it is determined that the front-end mode of the system to be tested is the AntD mode.
In an embodiment, in specific implementation, the apparatus may further include a monitoring module, configured to obtain a page request at the operation entry, where the page request corresponds to an operation input through the operation entry; and determining whether the operation input through the operation entrance meets a preset safety rule or not according to the page request.
In an embodiment, in a specific implementation, in a case that it is determined that a front-end mode of the system to be tested is a VM mode, the monitoring module may be specifically configured to obtain a front-end page file at the operation entry, where the front-end page file includes a VM file; and analyzing the front-end page file to obtain a page request at the operation entrance.
In an embodiment, in a specific implementation, in a case that it is determined that a front-end mode of the system to be tested is an AntD mode, the monitoring module may be further configured to retrieve a request statement carrying an entry tag at the operation entry, where the entry tag includes a Component tag; and taking the request statement carrying the entry tag as a page request at the operation entry.
It should be noted that, the units, devices, modules, etc. illustrated in the above embodiments may be implemented by a computer chip or an entity, or implemented by a product with certain functions. For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. It is to be understood that, in implementing the present specification, functions of each module may be implemented in one or more pieces of software and/or hardware, or a module that implements the same function may be implemented by a combination of a plurality of sub-modules or sub-units, or the like. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
As can be seen from the above, according to the device for determining an operation entry of a system provided in the present specification, since the first determining module determines a front mode of the system to be tested according to configuration data, the second obtaining module obtains a corresponding front page tag, and the second determining module automatically determines the operation entry of the system to be tested according to the front page tag, the technical problems of low processing efficiency and incomplete and accurate determined operation entry in the existing method are solved, and the technical effect of automatically, efficiently and comprehensively determining the operation entry of the system to be tested is achieved; after each operation entrance of the system is determined, the monitoring module is used for acquiring the page request of each operation entrance in a matched acquisition mode according to the front-end mode of the system to be tested, and comprehensive and efficient monitoring management of manual operation of each operation entrance is achieved through analysis and processing of the page request.
Although the present specification provides method steps as described in the examples or flowcharts, additional or fewer steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of sequences, and does not represent a unique order of performance. When an apparatus or client product in practice executes, it may execute sequentially or in parallel (e.g., in a parallel processor or multithreaded processing environment, or even in a distributed data processing environment) according to the embodiments or methods shown in the figures. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the presence of additional identical or equivalent elements in a process, method, article, or apparatus that comprises the recited elements is not excluded. The terms first, second, etc. are used to denote names, but not any particular order.
Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may therefore be considered as a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
From the above description of the embodiments, it is clear to those skilled in the art that the present specification can be implemented by software plus a necessary general hardware platform. Based on such understanding, the technical solutions of the present specification may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, or the like, and includes instructions for causing a computer device (which may be a personal computer, a mobile terminal, a server, or a network device) to execute the method according to the embodiments or some parts of the embodiments of the present specification.
The embodiments in the present specification are described in a progressive manner, and the same or similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. The description is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
While the specification has been described with examples, those skilled in the art will appreciate that there are numerous variations and permutations of the specification that do not depart from the spirit of the specification, and it is intended that the appended claims include such variations and modifications that do not depart from the spirit of the specification.

Claims (18)

1. A method of determining an operational portal of a system, comprising:
acquiring configuration data of a system to be tested;
determining a front-end mode of the system to be tested according to the configuration data of the system to be tested; the front-end mode is a modular scheme corresponding to a front-end page or an operation interface of the system to be tested;
acquiring a front-end page tag of the system to be tested according to the front-end mode of the system to be tested;
and determining an operation entrance of the system to be tested according to the front-end page tag.
2. The method of claim 1, determining a front-end mode of the system under test from configuration data of the system under test, comprising:
extracting tag parameters from the configuration data of the system to be tested;
and determining the front-end mode of the system to be tested according to the label parameters.
3. The method of claim 1, the front-end mode comprising: VM mode, or AntD mode; wherein the VM mode is a front-end mode based on a Velocity framework; the AntD mode is a front-end mode based on an Ant Design framework.
4. The method of claim 3, wherein obtaining the front-end page tag of the system under test according to the front-end mode of the system under test comprises:
and under the condition that the front-end mode of the system to be tested is determined to be the VM mode, scanning a Controller layer in an original code file of the system to be tested to identify a statement carrying a first characteristic character string as a front-end page label of the system to be tested.
5. The method of claim 3, wherein obtaining the front-end page tag of the system under test according to the front-end mode of the system under test comprises:
and under the condition that the front-end mode of the system to be tested is determined to be the AntD mode, scanning an index.jsx file in an original code file of the system to be tested to identify a statement carrying a second characteristic character string as a front-end page label of the system to be tested.
6. The method of claim 3, after determining an operational entry for the system under test from the front-end page tag, the method further comprising:
acquiring a page request at the operation entrance, wherein the page request corresponds to an operation input through the operation entrance;
and determining whether the operation input through the operation entrance meets a preset safety rule or not according to the page request.
7. The method of claim 6, wherein obtaining the page request at the operation entry, when the front-end mode of the system under test is the VM mode, comprises:
acquiring a front-end page file at the operation entrance, wherein the front-end page file comprises a vm file;
and analyzing the front-end page file to obtain a page request at the operation entrance.
8. The method according to claim 6, wherein in a case that the front-end mode of the system under test is the AntD mode, acquiring the page request at the operation entry comprises:
retrieving a request statement carrying an entry tag at the operation entry, wherein the entry tag comprises a Component tag;
and taking the request statement carrying the entry tag as a page request at the operation entry.
9. An apparatus for determining an operational portal of a system, comprising:
the first acquisition module is used for acquiring configuration data of the system to be tested;
the first determining module is used for determining the front-end mode of the system to be tested according to the configuration data of the system to be tested; the front-end mode is a modular scheme corresponding to a front-end page or an operation interface of the system to be tested;
the second acquisition module is used for acquiring a front-end page tag of the system to be tested according to the front-end mode of the system to be tested;
and the second determining module is used for determining the operation entrance of the system to be tested according to the front-end page tag.
10. The apparatus of claim 9, the first determining module comprising:
the extraction unit is used for extracting tag parameters from the configuration data of the system to be tested;
and the first determining unit is used for determining the front-end mode of the system to be tested according to the label parameters.
11. The apparatus of claim 10, the front-end mode comprising: VM mode, or AntD mode; wherein the VM mode is a front-end mode based on a Velocity framework; the AntD mode is a front-end mode based on an Ant Design framework.
12. The apparatus according to claim 11, wherein the second obtaining module is specifically configured to scan a Controller layer in an original code file of the system to be tested, to identify a statement carrying a first characteristic character string as a front-end page tag of the system to be tested, when it is determined that the front-end mode of the system to be tested is the VM mode.
13. The apparatus according to claim 11, wherein the second obtaining module is specifically configured to scan an index.jsx file in a source file of the system under test to identify a statement carrying a second characteristic character string as a front-end page tag of the system under test, when it is determined that the front-end mode of the system under test is the AntD mode.
14. The device of claim 11, further comprising a monitoring module configured to obtain a page request at the operation portal, wherein the page request corresponds to an operation input through the operation portal; and determining whether the operation input through the operation entrance meets a preset safety rule or not according to the page request.
15. The apparatus according to claim 14, wherein the monitoring module is specifically configured to, when a front-end mode of the system under test is a VM mode, obtain a front-end page file at the operation entry, where the front-end page file includes a VM file; and analyzing the front-end page file to obtain a page request at the operation entrance.
16. The apparatus according to claim 14, wherein the monitoring module is specifically configured to retrieve a request statement carrying an entry tag at the operation entry when a front-end mode of the system under test is an AntD mode, where the entry tag includes a Component tag; and taking the request statement carrying the entry tag as a page request at the operation entry.
17. A server comprising a processor and a memory for storing processor-executable instructions that when executed by the processor implement the steps of the method of any one of claims 1 to 8.
18. A computer readable storage medium having stored thereon computer instructions which, when executed, implement the steps of the method of any one of claims 1 to 8.
CN201811294564.5A 2018-11-01 2018-11-01 Method and device for determining operation entry of system and server Active CN109582534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811294564.5A CN109582534B (en) 2018-11-01 2018-11-01 Method and device for determining operation entry of system and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811294564.5A CN109582534B (en) 2018-11-01 2018-11-01 Method and device for determining operation entry of system and server

Publications (2)

Publication Number Publication Date
CN109582534A CN109582534A (en) 2019-04-05
CN109582534B true CN109582534B (en) 2022-05-17

Family

ID=65921180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811294564.5A Active CN109582534B (en) 2018-11-01 2018-11-01 Method and device for determining operation entry of system and server

Country Status (1)

Country Link
CN (1) CN109582534B (en)

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7330855B2 (en) * 2005-05-25 2008-02-12 Microsoft Corporation Converting data between a front end schema node and a back end schema node
US8479170B2 (en) * 2010-05-12 2013-07-02 Fujitsu Limited Generating software application user-input data through analysis of client-tier source code
US9009837B2 (en) * 2010-07-01 2015-04-14 Onapsis S.R.L. Automated security assessment of business-critical systems and applications
US20120078874A1 (en) * 2010-09-27 2012-03-29 International Business Machine Corporation Search Engine Indexing
EP2788913B1 (en) * 2011-12-06 2019-10-23 Vertiv IT Systems, Inc. Data center infrastructure management system incorporating security for managed infrastructure devices
US9274668B2 (en) * 2012-06-05 2016-03-01 Dimensional Insight Incorporated Guided page navigation
CN104850871B (en) * 2014-02-19 2018-07-31 阿里巴巴集团控股有限公司 The method and device of barcode scanning result information is provided
US20150293834A1 (en) * 2014-04-11 2015-10-15 Synechron Holdings, Inc. Methods, Apparatus, and Computer Readable Media for Providing a Governance Framework for Declarative Rule Based Programming
CN105094754B (en) * 2014-04-21 2019-02-05 阿里巴巴集团控股有限公司 Program developing method, page request response method and its device based on label
US10432662B2 (en) * 2015-04-30 2019-10-01 Oath, Inc. Method and system for blocking malicious third party site tagging
US9507984B1 (en) * 2016-03-28 2016-11-29 Bank Of America Corporation Resource tag generation and deployment for resource valuation and distribution
CN106021068B (en) * 2016-05-27 2018-07-17 北京京东尚科信息技术有限公司 The monitoring method and monitoring system of service interface
CN106844213A (en) * 2017-01-21 2017-06-13 江苏千米网络科技股份有限公司 A kind of front end method of testing and device
CN108427646B (en) * 2018-04-13 2021-11-16 中国民航信息网络股份有限公司 Android App automatic test framework construction method and device based on Apium

Also Published As

Publication number Publication date
CN109582534A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
US8463811B2 (en) Automated correlation discovery for semi-structured processes
CN112491602B (en) Behavior data monitoring method and device, computer equipment and medium
CN110674360B (en) Tracing method and system for data
CN109241014B (en) Data processing method and device and server
CN114528457A (en) Web fingerprint detection method and related equipment
CN111324786A (en) Method and device for processing consultation problem information
US11010393B2 (en) Library search apparatus, library search system, and library search method
CN112328805A (en) Entity mapping method of vulnerability description information and database table based on NLP
CN110647523B (en) Data quality analysis method and device, storage medium and electronic equipment
CN110414806B (en) Employee risk early warning method and related device
CN115346686A (en) Relation map generation method and device, storage medium and electronic equipment
US20140067443A1 (en) Business process transformation recommendation generation
US20170109640A1 (en) Generation of Candidate Sequences Using Crowd-Based Seeds of Commonly-Performed Steps of a Business Process
US20160179851A1 (en) Method and system of process reconstruction
US8903754B2 (en) Programmatically identifying branding within assets
CN109582534B (en) Method and device for determining operation entry of system and server
CN112612817B (en) Data processing method, device, terminal equipment and computer readable storage medium
CN115604343A (en) Data transmission method, system, electronic equipment and storage medium
CN110083807B (en) Contract modification influence automatic prediction method, device, medium and electronic equipment
CN109918293B (en) System test method and device, electronic equipment and computer readable storage medium
CN113138974A (en) Database compliance detection method and device
CN112434195A (en) Data analysis method and device, electronic equipment and computer readable storage medium
CN112416713A (en) Operation auditing system and method, computer readable storage medium and electronic equipment
CN112988441A (en) Exception handling method and device
CN111290870A (en) Method and device for detecting abnormity

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
TA01 Transfer of patent application right

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: Greater Cayman, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant