CN111046062B - Applet data acquisition method, intelligent terminal and storage medium - Google Patents

Applet data acquisition method, intelligent terminal and storage medium Download PDF

Info

Publication number
CN111046062B
CN111046062B CN201911293147.3A CN201911293147A CN111046062B CN 111046062 B CN111046062 B CN 111046062B CN 201911293147 A CN201911293147 A CN 201911293147A CN 111046062 B CN111046062 B CN 111046062B
Authority
CN
China
Prior art keywords
applet
developer
data acquisition
acquiring
data
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
CN201911293147.3A
Other languages
Chinese (zh)
Other versions
CN111046062A (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.)
Beijing Zhiyou Wang'an Technology Co ltd
Original Assignee
Beijing Zhiyou Wang'an Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zhiyou Wang'an Technology Co ltd filed Critical Beijing Zhiyou Wang'an Technology Co ltd
Priority to CN201911293147.3A priority Critical patent/CN111046062B/en
Publication of CN111046062A publication Critical patent/CN111046062A/en
Application granted granted Critical
Publication of CN111046062B publication Critical patent/CN111046062B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an applet data acquisition method, an intelligent terminal and a storage medium, wherein the method comprises the following steps: collecting street addresses acquired by a third-party website, and acquiring position coordinate values corresponding to the street addresses through map software; adding the position coordinate values and parameters maintained by the simulator into request parameters of applet inquiry to obtain applet inquiry data; and acquiring the application ID of the applet according to the applet query result, and accessing an interface corresponding to the applet developer according to the application ID to acquire the information of the developer. The method and the device acquire the applet data based on coordinate positioning, have high traversing efficiency, acquire the applet data for monitoring, acquire the information of a developer, and provide convenience for the development of subsequent tasks.

Description

Applet data acquisition method, intelligent terminal and storage medium
Technical Field
The present invention relates to the field of computer applications, and in particular, to a method for acquiring applet data, an intelligent terminal, and a storage medium.
Background
Maintaining a mobile phone simulator and logging in WeChat, acquiring data parameters of logging in information by proxy middleware (namely a proxy server which can intercept http access and acquire request parameters), converting the coordinate parameters (collecting addresses of main provincial and urban streets in China and the like, converting the addresses into longitude and latitude coordinate points through a map api interface, and accessing WeChat applet interfaces, returning data to acquire applet list information and necessary parameters, and further acquiring applets (the purpose of acquiring applets is to achieve the functions of applet data acquisition and monitoring for enterprises, acquire information of developers and develop subsequent tasks) and data and details of a developer main body.
The prior art has the disadvantages that the coordinate position application has high distribution coincidence degree (namely the same applet such as the mcdonald effort can appear in a plurality of coordinates, but the developer is only the same, so the efficiency is low), and the traversing efficiency is low.
Accordingly, the prior art is still in need of improvement and development.
Disclosure of Invention
Aiming at the problems of insufficient collection resources, high difficulty and difficult manual collection in the prior art of data collection of the small program, the invention mainly aims to provide a small program data acquisition method, an intelligent terminal and a storage medium, and provides the small program data acquisition method which comprises the following steps of:
collecting street addresses acquired by a third-party website, and acquiring position coordinate values corresponding to the street addresses through map software;
adding the position coordinate values and parameters maintained by the simulator into request parameters of applet inquiry to obtain applet inquiry data;
and acquiring the application ID of the applet according to the applet query result, and accessing an interface corresponding to the applet developer according to the application ID to acquire the information of the developer.
Optionally, in the method for acquiring applet data, the collecting a street address acquired by a third-party website, and acquiring a location coordinate value corresponding to the street address through map software specifically includes:
the third-party website sends a request through a simulated browser, analyzes the returned webpage information and acquires a plurality of street addresses;
and acquiring position coordinate values corresponding to the street addresses through map software.
Optionally, in the method for acquiring applet data, the adding the location coordinate value and the parameter maintained by the simulator to a request parameter of applet query, acquiring applet query data specifically includes:
acquiring small program interface parameters according to the position coordinate values and WeChat parameters maintained by the simulator;
and adding the applet interface parameters into the request parameters of the applet query to obtain applet query data.
Optionally, the applet data acquiring method, wherein the applet interface parameters include a token and coordinate values.
Optionally, the applet data acquisition method further includes automatically refreshing the internal token by a simulator simulation click.
Optionally, in the method for acquiring applet data, the acquiring an application ID of the applet according to an applet query result, accessing an interface corresponding to an applet developer according to the application ID to acquire information of the developer, specifically includes:
acquiring the application ID of the applet according to the applet query result;
and continuously accessing an interface corresponding to the applet developer by carrying the application ID to acquire information of the developer.
Optionally, the applet data obtaining method, wherein the information of the developer includes a social credit code, a developer name and a data provider.
Optionally, the applet data acquiring method further includes:
and covering the information of the applet developer in the preset range by continuously switching the coordinate positions.
In addition, to achieve the above object, the present invention further provides an intelligent terminal, where the intelligent terminal includes: the system comprises a memory, a processor and an applet data acquisition program stored on the memory and executable on the processor, which, when executed by the processor, implements the steps of the applet data acquisition method as described above.
In addition, in order to achieve the above object, the present invention also provides a storage medium storing an applet data acquisition program which, when executed by a processor, implements the steps of the applet data acquisition method described above.
The method comprises the steps of collecting street addresses acquired by a third-party website, and acquiring position coordinate values corresponding to the street addresses through map software; adding the position coordinate values and parameters maintained by the simulator into request parameters of applet inquiry to obtain applet inquiry data; and acquiring the application ID of the applet according to the applet query result, and accessing an interface corresponding to the applet developer according to the application ID to acquire the information of the developer. The method and the device acquire the applet data based on coordinate positioning, have high traversing efficiency, acquire the applet data for monitoring, acquire the information of a developer, and provide convenience for the development of subsequent tasks.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of the applet data acquisition method of the present invention;
FIG. 2 is a schematic diagram of an operating environment of a smart terminal according to a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear and clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, the method for acquiring applet data according to the preferred embodiment of the present invention includes the following steps:
step S10, collecting street addresses acquired by a third-party website, and acquiring position coordinate values corresponding to the street addresses through map software;
step S20, adding the position coordinate values and parameters maintained by the simulator into request parameters of the applet query to obtain applet query data;
and step S30, acquiring the application ID of the applet according to the applet query result, and accessing an interface corresponding to the applet developer according to the application ID to acquire the information of the developer.
Specifically, the third-party website (e.g., an administrative street query website such as https:// xingzhengquhua.51240.Com /) sends a request through the simulated browser, parses the returned web page information, and obtains a plurality of street addresses; the position coordinate values corresponding to a plurality of street addresses (such as the position coordinates of street offices in province and county of the whole country) are obtained through map software (such as a Tengming map, a hundred-degree map and the like).
Specifically, according to the position coordinate values and the simulator (the computer simulation is a method for performing simulation by using a computer, and the simulator developed by using computer software can perform complex simulation tasks such as fault tree analysis and VLSI logic design test, in the optimization field, the simulation of a physical process is often used for optimizing a control strategy together with evolution calculation, and the computer simulator is of a special type, namely a computer architecture simulator is used for simulating a microcomputer with incompatible instruction or different system on one computer) to acquire small program interface parameters; and adding the applet interface parameters into the request parameters of the applet query to obtain applet query data.
Two main parameters to be maintained of a small program interface of the WeChat are obtained through corresponding position coordinates and WeChat parameters maintained in a simulator, wherein one is a token of the WeChat (token is a string of character strings generated by a server and is used as an identifier of a request of a client), and the other is a coordinate value. For the token, clicking is simulated by a simulator, and then the internal token is automatically refreshed in the process; by combining the two parameters and adding the parameters into the request parameters of the applet query, the applet data corresponding to the address can be obtained, the applet query data is obtained in fact, the process of clicking the applet to view the adjacent applet by WeChat is realized, and the displayed result is the data result of the query.
Specifically, acquiring an application ID of the applet according to the applet query result; and continuously accessing an interface corresponding to the applet developer by carrying the application ID to acquire information of the developer.
According to the obtained query result, the application ID of the applet is obtained, and the information (the social credit code, the name of the developer, the data provider and other information) of the developer can be obtained by continuously accessing the interface corresponding to the applet developer through carrying the application ID, for example, logo after the applet is clicked on a mobile phone in a trial mode, and more corresponding developer details are checked in the upper right corner.
Further, as shown in fig. 2, based on the above-mentioned applet data obtaining method, the present invention further provides an intelligent terminal, which includes a processor 10, a memory 20 and a display 30. Fig. 2 shows only some of the components of the intelligent terminal, but it should be understood that not all of the illustrated components are required to be implemented, and more or fewer components may alternatively be implemented.
The memory 20 may in some embodiments be an internal storage unit of the smart terminal, such as a hard disk or a memory of the smart terminal. The memory 20 may also be an external storage device of the Smart terminal in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like. Further, the memory 20 may also include both an internal storage unit and an external storage device of the smart terminal. The memory 20 is used for storing application software installed in the intelligent terminal and various data, such as program codes for installing the intelligent terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 has stored thereon an applet data acquisition program 40, the applet data acquisition program 40 being executable by the processor 10 to implement the applet data acquisition method of the present application.
The processor 10 may in some embodiments be a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chip for executing program code or processing data stored in the memory 20, for example, performing the applet data acquisition method, etc.
The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like in some embodiments. The display 30 is used for displaying information on the intelligent terminal and for displaying a visual user interface. The components 10-30 of the intelligent terminal communicate with each other via a system bus.
In one embodiment, the following steps are implemented when the processor 10 executes the applet data acquisition program 40 in the memory 20:
collecting street addresses acquired by a third-party website, and acquiring position coordinate values corresponding to the street addresses through map software;
adding the position coordinate values and parameters maintained by the simulator into request parameters of applet inquiry to obtain applet inquiry data;
and acquiring the application ID of the applet according to the applet query result, and accessing an interface corresponding to the applet developer according to the application ID to acquire the information of the developer.
The step of collecting the street address acquired by the third-party website and acquiring the position coordinate value corresponding to the street address through map software specifically comprises the following steps:
the third-party website sends a request through a simulated browser, analyzes the returned webpage information and acquires a plurality of street addresses;
and acquiring position coordinate values corresponding to the street addresses through map software.
The step of adding the position coordinate value and the parameters maintained by the simulator to the request parameters of the applet query to obtain applet query data, specifically comprising:
acquiring small program interface parameters according to the position coordinate values and WeChat parameters maintained by the simulator;
and adding the applet interface parameters into the request parameters of the applet query to obtain applet query data.
The applet interface parameters include a token and coordinate values.
Clicking is simulated by a simulator to automatically refresh the internal token.
The method for acquiring the application ID of the applet according to the applet query result comprises the steps of accessing an interface corresponding to the applet developer according to the application ID to acquire information of the developer, and specifically comprises the following steps:
acquiring the application ID of the applet according to the applet query result;
and continuously accessing an interface corresponding to the applet developer by carrying the application ID to acquire information of the developer.
The information of the developer includes social credit code, developer name, and data provider.
The applet data acquisition method further comprises the steps of:
and covering the information of the applet developer in the preset range by continuously switching the coordinate positions.
The present invention also provides a storage medium storing an applet data acquisition program which, when executed by a processor, implements the steps of the applet data acquisition method as described above.
In summary, the invention provides an applet data acquisition method, an intelligent terminal and a storage medium, wherein the method comprises the following steps: collecting street addresses acquired by a third-party website, and acquiring position coordinate values corresponding to the street addresses through map software; adding the position coordinate values and parameters maintained by the simulator into request parameters of applet inquiry to obtain applet inquiry data; and acquiring the application ID of the applet according to the applet query result, and accessing an interface corresponding to the applet developer according to the application ID to acquire the information of the developer. The method and the device acquire the applet data based on coordinate positioning, have high traversing efficiency, acquire the applet data for monitoring, acquire the information of a developer, and provide convenience for the development of subsequent tasks.
Of course, those skilled in the art will appreciate that implementing all or part of the above-described methods may be implemented by a computer program for instructing relevant hardware (such as a processor, a controller, etc.), where the program may be stored in a computer-readable storage medium, and where the program may include the steps of the above-described method embodiments when executed. The storage medium may be a memory, a magnetic disk, an optical disk, or the like.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.

Claims (7)

1. A applet data acquisition method, characterized in that it comprises the steps of:
collecting street addresses acquired by a third-party website, and acquiring position coordinate values corresponding to the street addresses through map software;
the step of collecting the street address acquired by the third-party website and acquiring the position coordinate value corresponding to the street address through map software specifically comprises the following steps:
the third-party website sends a request through a simulated browser, analyzes the returned webpage information and acquires a plurality of street addresses;
acquiring position coordinate values corresponding to a plurality of street addresses through map software;
adding the position coordinate values and parameters maintained by the simulator into request parameters of applet inquiry to obtain applet inquiry data;
the step of adding the position coordinate value and the parameters maintained by the simulator to the request parameters of the applet query to obtain applet query data, specifically comprising:
acquiring small program interface parameters according to the position coordinate values and WeChat parameters maintained by the simulator;
adding the applet interface parameters into the request parameters of applet inquiry to obtain applet inquiry data;
acquiring an application ID of the applet according to the applet query result, and accessing an interface corresponding to the applet developer according to the application ID to acquire information of the developer;
the method for acquiring the application ID of the applet according to the applet query result comprises the steps of accessing an interface corresponding to the applet developer according to the application ID to acquire information of the developer, and specifically comprises the following steps:
acquiring the application ID of the applet according to the applet query result;
the information of the developer is obtained by carrying the application ID and continuously accessing the interface corresponding to the applet developer;
and the small program data are acquired based on coordinate positioning, so that the traversing efficiency is high, the small program data are acquired for monitoring, the information of a developer is acquired, and convenience is provided for the development of subsequent tasks.
2. The applet data acquisition method according to claim 1 wherein the applet interface parameters include a token and coordinate values.
3. The applet data acquisition method according to claim 2, wherein clicking on the token inside the auto-refresh is simulated by a simulator.
4. The applet data acquisition method according to claim 1 wherein the information of the developer includes a social credit code, a developer name and a data provider.
5. The applet data acquisition method according to claim 1, further comprising:
and covering the information of the applet developer in the preset range by continuously switching the coordinate positions.
6. An intelligent terminal, characterized in that, the intelligent terminal includes: memory, a processor and an applet data acquisition program stored on said memory and executable on said processor, said applet data acquisition program implementing the steps of the applet data acquisition method according to any one of claims 1-5 when executed by said processor.
7. A storage medium storing an applet data acquisition program which when executed by a processor implements the steps of the applet data acquisition method according to any one of claims 1-5.
CN201911293147.3A 2019-12-16 2019-12-16 Applet data acquisition method, intelligent terminal and storage medium Active CN111046062B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911293147.3A CN111046062B (en) 2019-12-16 2019-12-16 Applet data acquisition method, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911293147.3A CN111046062B (en) 2019-12-16 2019-12-16 Applet data acquisition method, intelligent terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111046062A CN111046062A (en) 2020-04-21
CN111046062B true CN111046062B (en) 2023-06-23

Family

ID=70236681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911293147.3A Active CN111046062B (en) 2019-12-16 2019-12-16 Applet data acquisition method, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111046062B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111787088B (en) 2020-06-28 2023-04-28 百度在线网络技术(北京)有限公司 Method and device for processing small program data
CN112286656B (en) * 2020-10-21 2023-08-29 百度在线网络技术(北京)有限公司 Applet simulation method, apparatus, electronic device, and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109308261A (en) * 2018-09-11 2019-02-05 百度在线网络技术(北京)有限公司 Application program adjustment method, device, system, equipment and storage medium
CN109543120A (en) * 2018-10-17 2019-03-29 南方科技大学 A kind of ambient scene investigating system and method based on wechat small routine
CN110213234A (en) * 2019-04-30 2019-09-06 深圳市腾讯计算机***有限公司 Developer's recognition methods, device, equipment and the storage medium of application file
CN110377365A (en) * 2019-07-19 2019-10-25 腾讯科技(深圳)有限公司 The method and apparatus for showing small routine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8271626B2 (en) * 2001-01-26 2012-09-18 American Power Conversion Corporation Methods for displaying physical network topology and environmental status by location, organization, or responsible party
US8739123B2 (en) * 2007-05-28 2014-05-27 Google Inc. Incorporating gadget functionality on webpages

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109308261A (en) * 2018-09-11 2019-02-05 百度在线网络技术(北京)有限公司 Application program adjustment method, device, system, equipment and storage medium
CN109543120A (en) * 2018-10-17 2019-03-29 南方科技大学 A kind of ambient scene investigating system and method based on wechat small routine
CN110213234A (en) * 2019-04-30 2019-09-06 深圳市腾讯计算机***有限公司 Developer's recognition methods, device, equipment and the storage medium of application file
CN110377365A (en) * 2019-07-19 2019-10-25 腾讯科技(深圳)有限公司 The method and apparatus for showing small routine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
雍昭宇 ; 邓小玲 ; .基于微信小程序的智能公交查询***设计.计算机与网络.2019,(第8期),全文. *

Also Published As

Publication number Publication date
CN111046062A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
US20220318336A1 (en) Method and Terminal Device for Extracting Web Page Content
US10579344B2 (en) Converting visual diagrams into code
CN107291438B (en) Automatic script generation method and device and electronic equipment
CN105264529B (en) The data for being used for the machine application are indexed
Gottschalk et al. Removing energy code smells with reengineering services
US20130166527A1 (en) System and methods thereof for dynamically updating the contents of a folder on a device
WO2020154737A1 (en) Identifying user interface elements using element signatures
CN111046062B (en) Applet data acquisition method, intelligent terminal and storage medium
CN105550206B (en) The edition control method and device of structured query sentence
CN110968305A (en) Applet visualization generation method, device, equipment and storage medium
CN110704476A (en) Data processing method, device, equipment and storage medium
CN104679500B (en) Method and device for realizing automatic generation of entity class
CN104391951A (en) Web page thermodynamic diagram loading method and device
CN103049404A (en) Method and system for obtaining android cell phone model
CN108471433B (en) Configurated synchronous message verification receiving method, system and storage medium
US20120072918A1 (en) Generation of generic universal resource indicators
CN110851123A (en) WebGIS power grid visualization framework construction method, system and device based on SpringMVC
US11106670B2 (en) Local identifiers for database objects
CN115562989A (en) Automatic test sequence conversion method, system, equipment and medium
CN104408135A (en) Webpage thermodynamic diagram loading method and device
US20130013600A1 (en) Attribute change coalescing in order to deal with component moves on a page
CN106610855B (en) Method and device for importing 3D model into 3dsMAX
Kang et al. Tablet application for satellite image processing on cloud computing platform
US20140195908A1 (en) Uniform value help and value check
CN116755684B (en) OAS Schema generation method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant