Method, device, equipment and medium for querying and checking changes in open-end fund holdings

Through process robot technology, manual operations are simulated, and changes in open-end fund positions are automatically queried and checked, solving the problems of low efficiency, poor accuracy and poor stability in the existing technology, and achieving more efficient, more accurate and more stable fund position data processing.

CN113870035BActive Publication Date: 2025-05-13CHINA CONSTRUCTION BANK +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111257918.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-27
Publication Date
2025-05-13
Estimated Expiration
2041-10-27

AI Technical Summary

Technical Problem

The prior art is inefficient and has poor accuracy when querying and checking changes in open-end fund positions, and has poor stability due to the existence of an anti-crawler mechanism.

Method used

The proxy side of the process robot is adopted, and through user page automated testing technology, it simulates manual operations, automatically logs into the fund website, obtains position data and checks.

Benefits of technology

It improves query efficiency and verification accuracy, reduces the risk of anti-crawlers being blocked, and improves the stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113870035B_ABST
    Figure CN113870035B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of artificial intelligence, and specifically discloses a method, device, equipment and medium for querying and checking changes in open-end fund positions. The method includes: obtaining a fund website data list to be queried, the fund website data list including multiple website URLs, and account numbers and passwords corresponding to the website URLs; opening the login pages of each fund website from a browser in sequence according to a preset order based on the data in the fund website data list; using user page automation testing technology to identify elements of the login page, and inputting the account number and password of the fund website in the corresponding element to log in to the website; following the operation path preset by the fund website, reaching the position page of the fund website, obtaining the position data of the position page and taking screenshots for archiving; and checking the obtained position data with the position data stored in the system. Compared with the prior art, the embodiment of the present invention improves stability on the basis of improving query efficiency and verification accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to artificial intelligence technology, and more particularly to a method, device, equipment and medium for querying and checking changes in open-end fund holdings. Background Art

[0002] In the financial industry, almost all companies hold open-end funds. According to risk control requirements, accounting personnel generally need to log in to the website of the over-the-counter fund they invest in on a specified date, query and take screenshots of the fund holdings on that day, and use them for subsequent valuation and reconciliation. When the investment scale and investment types increase, query and login become very cumbersome, and there is also the risk of omission and misreading when comparing with the naked eye.

[0003] In the prior art, in order to save manpower and reduce the risk of visual comparison, a web crawler may be used to crawl data from the fund website. This method has higher technical requirements than manual query and verification methods. It simulates the behavior of a browser requesting a site, fetches the data returned by the site locally, and then extracts the data needed and stores it for subsequent comparison.

[0004] Among them, crawler technology is more efficient because it can capture a large amount of data in a short time. However, using crawler technology to capture data from fund websites also has corresponding disadvantages, such as causing a certain amount of access traffic pressure on the target website. In order to prevent itself from being overwhelmed by the traffic brought by crawlers, a mature fund website generally sets up various anti-crawler mechanisms, such as:

[0005] (1) Use verification codes to prevent crawlers from logging in at will.

[0006] (2) Set access frequency limit for the same IP.

[0007] (3) Honeypot technology, that is, designing links on the website that are impossible for humans to access but can be accessed by crawlers accidentally. Once a crawler is found to have entered, the access IP address is immediately blocked.

[0008] In this way, the use of crawler technology to capture data from fund websites may be blocked, resulting in poor stability. Summary of the invention

[0009] The present invention provides a method, device, equipment and medium for querying and checking changes in open-end fund holdings, so as to improve stability while improving query efficiency and checking accuracy.

[0010] In a first aspect, an embodiment of the present invention provides a method for querying and checking changes in open-end fund holdings, which is executed by an agent of a process robot and includes:

[0011] Obtain a fund website data list to be queried, the fund website data list including multiple website URLs, and account numbers and passwords corresponding to the website URLs;

[0012] According to the data in the fund website data list, the login pages of the fund websites are opened in turn from the browser in a preset order;

[0013] Using user page automated testing technology, the login page is identified by elements, and the account and password of the fund website are entered in the corresponding elements to log in to the website; wherein the elements include an account box, a password box and a login button;

[0014] Following the operation path preset on the fund website, reaching the holdings page of the fund website, obtaining the holdings data on the holdings page and taking a screenshot for archiving;

[0015] The acquired position data is compared with the position data stored in the system.

[0016] Optionally, the operation path preset on the fund website is a customized operation performed according to the corresponding website URL.

[0017] Optionally, the operation path preset on the fund website includes at least one intermediate page;

[0018] The user page automated testing technology is adopted to identify the elements of the intermediate page, and perform input and / or click operations; wherein the elements include a search box, a search button and / or menu buttons at various levels.

[0019] Optionally, the intermediate page includes a position page selection menu; accordingly, the position page selection menu is identified on the intermediate page, and the position page selection menu is clicked to reach the position page.

[0020] Optionally, the intermediate page includes a search box and a search button; accordingly, the search box and the search button are identified on the intermediate page, search content is entered in the search box, and the search button is clicked to reach the position page.

[0021] Optionally, before obtaining the fund website data list to be queried, the following steps are also included:

[0022] Use machine learning algorithms to train page elements and improve the success rate of element recognition.

[0023] Optionally, the number of agent terminals of the process robot is at least two, and at least two of the agent terminals respectively obtain different data lists of the fund website to query and verify the changes in open-end fund holdings.

[0024] Optionally, the account number and password in the fund website data list are encrypted using a preset encryption and decryption protocol;

[0025] Correspondingly, the agent of the process robot uses the preset encryption and decryption protocol to decrypt the account number and password in the fund website data list.

[0026] Optionally, the elements of the login page also include: a verification code image and a verification code input box; accordingly, when logging into the fund website, it is also necessary to identify the verification code image and input the corresponding verification code into the verification code input box.

[0027] Optionally, the screenshot content includes: fund name, name of held product and number of positions;

[0028] Accordingly, the content of the position data includes: fund name, name of the held product and the number of positions held.

[0029] Optionally, the file name of the screenshot is the time when the screenshot is taken.

[0030] Optionally, the open-end fund position change query and verification method also includes:

[0031] The position data is saved in a database or spreadsheet software.

[0032] Optionally, after obtaining the position data of the position page and taking a screenshot for archiving, the method further includes:

[0033] Log out and close the current page.

[0034] Optionally, the user page automated testing technology is used to identify the logout menu button or the close page menu button in the position holding page, and perform a single-click operation.

[0035] In a second aspect, an embodiment of the present invention further provides an open-end fund position change query and verification device, which is configured on the agent end of the process robot, and includes:

[0036] A list acquisition module is used to acquire a fund website data list to be queried, wherein the fund website data list includes multiple website URLs, and account numbers and passwords corresponding to the website URLs;

[0037] A login page opening module, used to open the login pages of various fund websites from the browser in sequence according to the data in the fund website data list in a preset order;

[0038] The website login module is used to use the user page automated testing technology to identify the elements of the login page, and enter the account and password of the fund website in the corresponding elements to log in to the website; wherein the elements include an account box, a password box and a login button;

[0039] A query module, used to reach the holdings page of the fund website according to the operation path preset on the fund website, obtain the holdings data on the holdings page and take a screenshot for archiving;

[0040] The verification module is used to verify the acquired position data with the position data stored in the system.

[0041] In a third aspect, an embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for querying and verifying changes in open-end fund positions as described in any embodiment of the present invention is implemented.

[0042] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for querying and verifying changes in open-end fund positions as described in any embodiment of the present invention.

[0043] The embodiment of the present invention realizes the query and verification of shares of a large number of open-end funds by adopting the technology of process robots. Since the captured content is relatively fixed and the data structure is relatively simple during the query process of the fund website, it is relatively simple to use the process robot. In addition, since the process robot technology simulates human operation to improve efficiency, this operation is generally allowed by the fund website, and it is difficult for anti-crawlers to accurately distinguish between human operations and process robot operations through pattern recognition. Therefore, the method provided by the embodiment of the present invention will not be accidentally damaged by anti-crawler technology, and the possibility of being banned is smaller. In short, the use of process robot technology to query and verify fund holdings data improves the efficiency of query and the accuracy of verification compared to manual operation; compared with crawler technology, it also improves stability. The embodiment of the present invention improves stability on the basis of improving query efficiency and verification accuracy, which is a more reasonable solution. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A schematic diagram of a flow chart of a method for querying and checking changes in open-end fund holdings provided by an embodiment of the present invention;

[0045] Figure 2 A schematic diagram of a process from a login page to a position holding page provided by an embodiment of the present invention;

[0046] Figure 3Another schematic diagram of a process of reaching a position holding page from a login page provided by an embodiment of the present invention;

[0047] Figure 4 A schematic diagram of a flow chart of another method for querying and checking changes in open-end fund holdings provided by an embodiment of the present invention;

[0048] Figure 5 A schematic diagram of the structure of an open-end fund position change query and verification device provided by an embodiment of the present invention;

[0049] Figure 6 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0050] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0051] The embodiment of the present invention provides a method for querying and checking changes in open-end fund positions, which relates to the field of artificial intelligence and is performed by an open-end fund position change query and verification device. The device is implemented by software and / or hardware and is configured on the agent end of a process robot, which may be a client in a computer device. Among them, the agent end of the process robot adopts Robotic Process Automation (RPA) technology, which belongs to the category of AI artificial intelligence. The RPA technology is specified by designing a process to simulate human actions to perform tasks. RPA technology can perform a series of operations on a computer device by imitating a human, and can realize all human operation behaviors on a computer, such as copying, pasting, data entry, web page navigation, opening, closing, etc., and can repeat the operation continuously according to certain rules.

[0052] Figure 1 A flow chart of a method for querying and checking open-end fund position changes provided by an embodiment of the present invention. Figure 1 The method for querying and checking the change of open-end fund holdings includes the following steps:

[0053] S110, obtaining a fund website data list to be queried, the fund website data list including multiple website URLs, and account numbers and passwords corresponding to the website URLs.

[0054] This step is the initialization step of query and verification, and is the basis for the implementation of the following steps. Among them, the fund website data list can be obtained by manually sending the fund website data list to the agent end of the process robot. For example, the fund website data list can be a spreadsheet loaded by the agent end of the process robot. For another example, the fund website data list can also be input into the UI interactive page of the agent end of the process robot by the input device of the computer device.

[0055] S120. Open the login pages of various fund websites from the browser in sequence according to the data in the fund website data list and in a preset order.

[0056] This step is a login page opening step. Among them, there are website URLs in the fund website data list, and the process robot agent can open the login page of the corresponding fund website from the browser according to the obtained website URL. For example, the agent of the process robot enters the website URL into the address bar of the browser in sequence to open the login page of the fund website. For another example, the website URL in the fund website data list is hyperlinked to the login page of the corresponding fund website, and the agent of the process robot can open the login page of the fund website from the browser by clicking or double-clicking the website URL.

[0057] The preset order can be a traversal order such as forward order or reverse order. In actual application, the login pages of various fund websites can be opened in the preset order first, and then subsequent operations can be performed; or the login page of a fund website can be opened first, and subsequent operations can be performed. After completing the query and verification, the query and verification of other fund websites can be completed in the preset order.

[0058] S130. Use user page automated testing technology to identify elements on the login page, and enter the account and password of the fund website in the corresponding elements to log in to the website; wherein the elements include an account box, a password box and a login button.

[0059] This step is a website login step. Among them, the user page automation testing technology can be, for example, UIAutomation. UI Automation is an auxiliary function framework that enables applications in computer devices to provide and use programming information about user pages. It provides programmatic access to most UI elements on the desktop, and enables assistive technology products (such as screen readers) to provide information about the UI to end users and operate the UI through non-standard input. UI Automation also allows automatic test scripts to interact with the UI. Through the user page automation testing technology, elements such as the account box, password box, and login button in the login page can be identified and their handles can be obtained. For input boxes such as the account box and password box, the agent directly performs an input operation on its element handle and fills the value into the corresponding input box. For the login button, the agent performs a click operation on its element handle. This simulates a manual login operation.

[0060] For the login page of some fund websites, you need to fill in the verification code in the verification code input box according to the verification code image when logging in. At this time, you also need to identify the verification code image and enter the recognized verification code into the verification code input box.

[0061] S140. Following the operation path preset on the fund website, reach the position page of the fund website, obtain the position data on the position page and take a screenshot for archiving.

[0062] This step is a step for querying holdings and taking screenshots for archiving. The embodiment of the present invention is suitable for querying and checking the shares of open-end funds in a large number of fund websites. Since the characteristics of various fund websites are different, the operation paths to reach the fund holding page are also different. Therefore, it is necessary to operate according to the operation path corresponding to the fund website to reach the holding page. Optionally, the operation path preset by the fund website is a customized operation based on the corresponding website URL. For example, some fund websites jump directly to the holding page after logging in, and the agent of the process robot can directly obtain the holding data (for example, amount, share, etc.) from the holding page and take screenshots for archiving. For another example, some fund websites also need to click the corresponding selection menu or search after logging in to jump to the holding page. Among them, the acquisition of holding data can be recognized by UI Automation, or it can be other operations such as copying and saving.

[0063] S150. Compare the acquired position data with the position data stored in the system.

[0064] This step is a verification step, which can be performed after each fund website in the fund website data list has been queried. All fund holdings data obtained are saved and archived and stored in the database. The data stored in the database can be directly verified with the holdings data in the system; screenshot files can be stored in the system for reference.

[0065] In summary, the embodiment of the present invention realizes the query and verification of shares of a large number of open-end funds by adopting the technology of process robots. Since the captured content is relatively fixed and the data structure is relatively simple during the query process of the fund website, it is relatively simple to use the process robot. In addition, since the process robot technology simulates human operation to improve efficiency, this operation is generally allowed by the fund website, and it is difficult for anti-crawlers to accurately distinguish between human operations and process robot operations through pattern recognition. Therefore, the method provided by the embodiment of the present invention will not be accidentally injured by anti-crawler technology, and the possibility of being banned is smaller. In short, the use of process robot technology to query and verify fund holdings data improves the efficiency of query and the accuracy of verification compared to manual operation; compared with crawler technology, it also improves stability. The embodiment of the present invention improves stability on the basis of improving query efficiency and verification accuracy, which is a more reasonable solution.

[0066] Based on the above embodiments, optionally, at least one intermediate page is included in the preset operation path of the fund website; user page automation testing technology is adopted to identify elements of the intermediate page, and perform input and / or click operations; wherein the elements include a search box, a search button and / or menu buttons at various levels.

[0067] Since most fund websites do not jump directly to the holding page after logging in, there will be at least one intermediate page between the login page and the holding page. In order to correctly operate the intermediate page to reach the holding page, similar to the operation of the login page, it is necessary to use user page automation testing technology such as UI Automation to perform element recognition. The following is a specific description of different operation paths, but it is not intended to limit the present invention.

[0068] Figure 2 A flow chart of a process from a login page to a position holding page provided by an embodiment of the present invention. Figure 2 In one embodiment of the present invention, optionally, reaching the position page from the login page includes the following steps:

[0069] S210. Use user page automated testing technology to identify elements on the login page, enter the account and password of the fund website in the corresponding elements, and log in to the website.

[0070] S220. The browser jumps to the intermediate page, uses the user page automated testing technology to identify the position page selection menu on the intermediate page, and performs a single-click operation on the position page selection menu.

[0071] The middle page shows shortcut buttons for jumping to different pages, i.e., selection menus. Among these menu options, there is also a position page selection menu. By clicking the position page selection menu, you can jump directly to the position page.

[0072] S230. The browser jumps to the position page.

[0073] Through S210-S230, a step of reaching the position page from the login page is implemented. In this step, the position page can be reached by identifying the selection menu and clicking the position page selection menu.

[0074] Figure 3 Another flow chart of the process of reaching the position holding page from the login page provided by the embodiment of the present invention. Figure 3 In one embodiment of the present invention, optionally, reaching the position page from the login page includes the following steps:

[0075] S310. Use user page automated testing technology to identify elements on the login page, and enter the account and password of the fund website in the corresponding elements to log in to the website.

[0076] S320, the browser jumps to the intermediate page, uses the user page automation testing technology to identify the search box and search button of the intermediate page, enters the search content in the search box, and clicks the search button.

[0077] In addition to displaying various information content and selection menus, the middle page also includes a search box and a search button, so that users can quickly query the corresponding content by entering search keywords. The search content can be, for example, "position page", "position shares" or "position", and by clicking the search button, the browser jumps to the corresponding page according to the search keyword.

[0078] S330. The browser jumps to the position page.

[0079] Through S210-S230, a step of reaching the position page from the login page is implemented. In this step, the position page can be reached by identifying the search box and the search button, entering keywords and clicking the search button.

[0080] It should be noted that Figure 2 and Figure 3The example in the figure only shows that the operation path includes only one intermediate page, which is not a limitation of the present invention. In other embodiments, the operation path may include multiple intermediate pages; further, the operation of clicking to select a menu and the search operation may be used in combination.

[0081] Figure 4 A flowchart of another method for querying and checking open-end fund position changes provided by an embodiment of the present invention. Figure 4 Based on the above embodiments, optionally, the method for querying and checking changes in open-end fund holdings includes the following steps:

[0082] S410, obtaining a fund website data list to be queried, the fund website data list including multiple website URLs, and encrypted account numbers and passwords corresponding to the website URLs.

[0083] Among them, the account number and password in the fund website data list are encrypted with the preset encryption and decryption protocol; accordingly, the robot agent uses the preset encryption and decryption protocol to decrypt the account number and password in the fund website data list. In this way, the account number and password can be given in encrypted form without plain text, thereby improving the security of the user account.

[0084] S420. Open the login pages of various fund websites from the browser in sequence according to the data in the fund website data list and in a preset order.

[0085] S430. Use user page automated testing technology to identify elements on the login page, and enter the fund website account, password and verification code in the corresponding elements to log in to the website.

[0086] S440. Following the operation path preset on the fund website, the fund website reaches the holdings page, obtains the holdings data on the holdings page, and takes a screenshot for archiving.

[0087] Among them, the holding data and the screenshot content are the same. For example, the screenshot content includes: fund name, name of the product held and the number of positions; accordingly, the holding data content includes: fund name, name of the product held and the number of positions. The fund name, name of the product held and the number of positions are important contents for checking the changes in the open-end fund's holdings. Therefore, it is necessary to take screenshots of these contents and keep them on file for future reference.

[0088] Optionally, the screenshot content also includes the screenshot time to facilitate checking the holding time.

[0089] Optionally, the file name of the screenshot is the time when the screenshot was taken, so there is no need to associate the screenshot with data such as the screenshot time, which helps to reduce the amount of data storage.

[0090] Optionally, the position data is stored in a database or in a spreadsheet software, wherein the spreadsheet software may be, for example, an Excel spreadsheet.

[0091] S450. Check the acquired position data with the position data stored in the system.

[0092] S460. Log out and close the current page.

[0093] This step is the logout step. After the query is completed, logging out and closing the page is beneficial to account security. Optionally, the user page automated testing technology is used to identify the logout menu button or the close page menu button in the position page and perform a click operation.

[0094] In the above embodiments, user page automated testing technology is used in multiple steps to perform element recognition, i.e., image recognition. Optionally, before obtaining the list of fund website data to be queried, it also includes: using a machine learning algorithm to train page elements. Since the success rate of image recognition depends on machine learning and a sufficient training library, using a machine learning algorithm to train page elements is conducive to improving the success rate of element recognition.

[0095] Based on the above embodiments, optionally, the number of robot agents is at least two, and at least two robot agents respectively obtain different fund website data lists to query and check the changes in open-end fund holdings. This arrangement is further conducive to improving the efficiency and stability of querying open-end fund holdings.

[0096] An embodiment of the present invention also provides an open-end fund position change query and verification device, which can correspond to the open-end fund position change query and verification method provided by any embodiment of the present invention, and is configured on the agent end of the process robot. Figure 5 A schematic diagram of the structure of an open-end fund position change query and verification device provided by an embodiment of the present invention. Figure 5 The open-end fund position change query and verification device includes:

[0097] The list acquisition module 510 is used to acquire a fund website data list to be queried, and the fund website data list includes multiple website URLs, and account numbers and passwords corresponding to the website URLs.

[0098] The login page opening module 520 is used to open the login pages of various fund websites from the browser in sequence according to the data in the fund website data list and in a preset order.

[0099] The website login module 530 is used to use the user page automatic testing technology to identify the elements of the login page, and enter the account and password of the fund website in the corresponding elements to log in to the website; wherein the elements include an account box, a password box and a login button.

[0100] The query module 540 is used to reach the holdings page of the fund website according to the operation path preset by the fund website, obtain the holdings data of the holdings page and take a screenshot for archiving.

[0101] The verification module 550 is used to verify the acquired position data with the position data stored in the system.

[0102] The open-end fund position change query and verification device provided in the embodiment of the present invention can execute the open-end fund position change query and verification method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0103] On the basis of the above embodiments, optionally, the operation path preset by the fund website is a customized operation performed according to the corresponding website URL.

[0104] Based on the above embodiments, optionally, at least one intermediate page is included in the operation path preset on the fund website. The query module is also used to use user page automation testing technology to identify elements of the intermediate page and perform input and / or click operations; wherein the elements include a search box, a search button and / or menu buttons at various levels.

[0105] Based on the above embodiments, optionally, the intermediate page includes a position page selection menu; accordingly, the query module is also used to identify the position page selection menu on the intermediate page, and perform a single-click operation on the position page selection menu to reach the position page.

[0106] Based on the above embodiments, optionally, the intermediate page includes a search box and a search button. Accordingly, the query module is also used to identify the search box and the search button on the intermediate page, enter the search content in the search box, and click the search button to reach the position page.

[0107] On the basis of the above embodiments, optionally, the device further includes a page element training module for training page elements using a machine learning algorithm to improve the success rate of element recognition.

[0108] Based on the above embodiments, optionally, the elements of the login page also include: a verification code image and a verification code input box; accordingly, the website login module is also used to identify the verification code image when logging into the fund website, and enter the corresponding verification code into the verification code input box.

[0109] Based on the above embodiments, optionally, the number of agent terminals of the process robot is at least two, and at least two agent terminals respectively obtain different fund website data lists to query and verify the changes in open-end fund holdings.

[0110] Based on the above embodiments, optionally, the account number and password in the fund website data list are encrypted using a preset encryption and decryption protocol. Accordingly, the list acquisition module is also used to decrypt the account number and password in the fund website data list using a preset encryption and decryption protocol.

[0111] Based on the above embodiments, optionally, the content of the screenshot includes: the fund name, the name of the held product and the number of positions;

[0112] Accordingly, the contents of the position data include: fund name, name of the product held and the number of positions held.

[0113] Based on the above embodiments, optionally, the file name of the screenshot is the time when the screenshot is taken.

[0114] Based on the above embodiments, optionally, the query module is also used to save the position data in a database or spreadsheet software.

[0115] Based on the above embodiments, optionally, the device further includes: a logout module, used to log out and close the current page.

[0116] On the basis of the above embodiments, optionally, the logout module is also used to adopt the user page automated testing technology to identify the logout menu button or the close page menu button in the position holding page and perform a single-click operation.

[0117] Figure 6 A schematic diagram of the structure of a computer device provided by an embodiment of the present invention is shown in FIG. Figure 6 As shown, the computer device includes a processor 610, a memory 620, an input device 630, and an output device 640; the number of the processor 610 in the computer device can be one or more. Figure 6 A processor 610 is taken as an example; the processor 610, memory 620, input device 630 and output device 640 in the computer device can be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0118] The memory 620, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the open-end fund position change query and verification method in the embodiment of the present invention (for example, the list acquisition module, login page opening module, website login module, query module and verification module in the open-end fund position change query and verification device). The processor 610 executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory 620, that is, realizing the above-mentioned open-end fund position change query and verification method.

[0119] The memory 620 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 620 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 620 may further include a memory remotely arranged relative to the processor 610, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0120] The input device 630 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the computer device. The output device 640 may include a display device such as a display screen.

[0121] The embodiment of the present invention further provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to execute a method for querying and checking changes in open-end fund holdings when executed by a computer processor, the method comprising:

[0122] Obtain a list of fund website data to be queried, the list of fund website data including multiple website URLs, and account numbers and passwords corresponding to the website URLs;

[0123] According to the data in the fund website data list, the login pages of the fund websites are opened from the browser in sequence according to the preset order;

[0124] Use user page automated testing technology to identify elements on the login page, and enter the account and password of the fund website in the corresponding elements to log in to the website; the elements include the account box, password box and login button;

[0125] Follow the preset operation path on the fund website to reach the holdings page on the fund website, obtain the holdings data on the holdings page and take a screenshot for archiving;

[0126] Compare the acquired position data with the position data saved in the system.

[0127] Of course, the storage medium containing computer executable instructions provided in an embodiment of the present invention is not limited to the method operations described above, and can also execute related operations in the open-end fund position change query and verification method provided in any embodiment of the present invention.

[0128] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0129] It is worth noting that in the above-mentioned embodiment of the open-end fund position change query and verification device, the various modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the various functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0130] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for querying and checking changes in open-end fund holdings, characterized in that: Executed by the agent of the process robot, including: Obtain a fund website data list to be queried, the fund website data list including multiple website URLs, and account numbers and passwords corresponding to the website URLs; According to the data in the fund website data list, the login pages of the fund websites are opened in turn from the browser in a preset order; Using user page automated testing technology, the login page is identified by elements, and the account and password of the fund website are entered in the corresponding elements to log in to the website; wherein the elements include an account box, a password box and a login button; Following the operation path preset on the fund website, reaching the holdings page of the fund website, obtaining the holdings data on the holdings page and taking a screenshot for archiving; Comparing the acquired position data with the position data stored in the system; The operation path preset on the fund website is a customized operation performed according to the corresponding website URL; the operation path preset on the fund website includes at least one intermediate page; Using user page automated testing technology, the intermediate page is identified for elements, and input and / or click operations are performed; wherein the elements include a search box, a search button and / or menu buttons at various levels; The intermediate page includes a position page selection menu; accordingly, the position page selection menu is identified on the intermediate page, and the position page selection menu is clicked to reach the position page; The intermediate page also includes a search box and a search button; accordingly, the search box and the search button are identified on the intermediate page, search content is entered in the search box, and the search button is clicked to reach the position page.

2. The method for querying and checking the change of open-end fund holdings according to claim 1, characterized in that: Before obtaining the list of fund website data to be queried, it also includes: Use machine learning algorithms to train page elements and improve the success rate of element recognition.

3. The method for querying and checking open-end fund position changes according to claim 1, characterized in that: The number of the agent terminals of the process robot is at least two, and at least two of the agent terminals respectively obtain different data lists of the fund website to query and check the changes in open-end fund holdings.

4. The method for querying and checking open-end fund position changes according to claim 1, characterized in that: The account number and password in the fund website data list are encrypted using a preset encryption and decryption protocol; Correspondingly, the agent of the process robot uses the preset encryption and decryption protocol to decrypt the account number and password in the fund website data list.

5. The method for querying and checking the change of open-end fund holdings according to claim 1, characterized in that: The elements of the login page also include: a verification code image and a verification code input box; accordingly, when logging into the fund website, it is also necessary to identify the verification code image and input the corresponding verification code into the verification code input box.

6. The method for querying and checking the change of open-end fund holdings according to claim 1, characterized in that: The contents of the screenshot include: fund name, name of the product held and the number of positions held; Accordingly, the content of the position data includes: fund name, name of the held product and the number of positions held.

7. The method for querying and checking the change of open-end fund holdings according to claim 1, characterized in that: The file name of the screenshot is the time when the screenshot was taken.

8. The method for querying and checking open-end fund position changes according to claim 1, characterized in that: Also includes: The position data is saved in a database or spreadsheet software.

9. The method for querying and checking open-end fund position changes according to claim 1, characterized in that: After obtaining the position data of the position page and taking a screenshot for archiving, it also includes: Log out and close the current page.

10. The method for querying and checking the change of open-end fund holdings according to claim 9, characterized in that: The user page automated testing technology is used to identify the logout menu button or the close page menu button in the position holding page and perform a single-click operation.

11. An open-end fund position change query and verification device, characterized in that: Configured on the agent side of the process robot, including: A list acquisition module is used to acquire a fund website data list to be queried, wherein the fund website data list includes multiple website URLs, and account numbers and passwords corresponding to the website URLs; A login page opening module, used to open the login pages of various fund websites from the browser in sequence according to the data in the fund website data list in a preset order; The website login module is used to use the user page automated testing technology to identify the elements of the login page, and enter the account and password of the fund website in the corresponding elements to log in to the website; wherein the elements include an account box, a password box and a login button; A query module, used to reach the holdings page of the fund website according to the operation path preset on the fund website, obtain the holdings data on the holdings page and take a screenshot for archiving; A checking module, used to check the acquired position data with the position data stored in the system; The operation path preset on the fund website is a customized operation performed according to the corresponding website URL; the operation path preset on the fund website includes at least one intermediate page; The query module is specifically used for: Using user page automated testing technology, the intermediate page is identified for elements, and input and / or click operations are performed; wherein the elements include a search box, a search button and / or menu buttons at various levels; The intermediate page includes a position page selection menu; accordingly, the position page selection menu is identified on the intermediate page, and the position page selection menu is clicked to reach the position page; The intermediate page also includes a search box and a search button; accordingly, the search box and the search button are identified on the intermediate page, search content is entered in the search box, and the search button is clicked to reach the position page.

12. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the open-end fund position change query and verification method as described in any one of claims 1-10 is implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the open-end fund position change query and verification method as described in any one of claims 1-10 is implemented.

Citation Information

Patent Citations

  • Method and device for filling in website login information

    CN103227786A

  • FoF asset industry analysis method, terminal, and computer readable storage medium

    CN108154440A