CN109741099B - Method and device for acquiring equipment characteristic information - Google Patents

Method and device for acquiring equipment characteristic information Download PDF

Info

Publication number
CN109741099B
CN109741099B CN201811615817.4A CN201811615817A CN109741099B CN 109741099 B CN109741099 B CN 109741099B CN 201811615817 A CN201811615817 A CN 201811615817A CN 109741099 B CN109741099 B CN 109741099B
Authority
CN
China
Prior art keywords
target
information
target app
app
equipment
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
CN201811615817.4A
Other languages
Chinese (zh)
Other versions
CN109741099A (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.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201811615817.4A priority Critical patent/CN109741099B/en
Publication of CN109741099A publication Critical patent/CN109741099A/en
Application granted granted Critical
Publication of CN109741099B publication Critical patent/CN109741099B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the disclosure provides a method and a device for acquiring device characteristic information and electronic equipment, belonging to the technical field of data processing, wherein the method comprises the steps of presetting a function page for running in a target APP, so that the function page acquires the characteristic information of the device running the target APP when the target APP is run; generating a graphic code, wherein the graphic code comprises target APP information and an automatic jump link for calling the target APP; obtaining a scanning operation of target equipment for the graphic code, wherein the scanning operation enables the target equipment to automatically run the functional page in the target APP through target APP information and an automatic jump link of the target APP; and after the scanning operation is successful, automatically acquiring the characteristic information of the target APP by utilizing the function page. The scheme of the disclosure can automatically acquire the information of the target device, and improves the information acquisition efficiency.

Description

Method and device for acquiring equipment characteristic information
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method and an apparatus for acquiring device characteristic information, and an electronic device.
Background
In the process of software product development, internal testing is to make two (A/B) or multiple (A/B/n) versions for a Web or APP (application program) interface or process, to make visitor groups with the same (similar) components randomly access the versions in the same time dimension, to collect user experience data and service data of each group, and to analyze and evaluate the best version for formal adoption.
Through internal tests, disputes of different opinions in the design of customer experience (UX) are eliminated, and the optimal scheme is determined according to the actual effect. Through a comparison test, the real reason of the problem is found, and the product design and operation level can be improved. The closed loop process of establishing data drive and continuous optimization passes through the A/B test, so that the release risk of new products or new characteristics is reduced, and the product innovation is guaranteed.
In the APP and Web development stage, the development and QA workload caused by adding codes for making A/B version and collecting data in the program is large, and the ROI (return on investment) is low. The AB test scene is limited, and the AB test scene cannot be increased or changed after the APP and the Web are released. The extra A/B test code increases the APP and Web post-maintenance cost. Therefore, improving efficiency is a key issue in the field of A/B testing.
In the cold start or AB test stage of products, the biggest technical pain point in the internet industry lies in how to identify and classify user groups, and most internet companies generally define target user groups by issuing operation means such as preferential offers and internal mail promotion, but the method cannot accurately hit the expected users, so that the device fingerprints need to be acquired by technical means to accurately define gray target groups.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a method and an apparatus for acquiring device feature information, and an electronic device, which at least partially solve the problems in the prior art.
In a first aspect, an embodiment of the present disclosure provides a method for acquiring device feature information, including:
presetting a function page for running in a target APP, so that the function page collects characteristic information of equipment running the target APP when the target APP is run;
generating a graphic code, wherein the graphic code comprises target APP information and an automatic jump link for calling the target APP;
obtaining a scanning operation of target equipment for the graphic code, wherein the scanning operation enables the target equipment to automatically run the functional page in the target APP through target APP information and an automatic jump link of the target APP;
and after the scanning operation is successful, automatically acquiring the characteristic information of the target APP by utilizing the function page.
According to a specific implementation manner of the embodiment of the present disclosure, before generating the graphic code with the user information, the method further includes:
judging whether an operation user currently generating the graphic code has operation authority or not;
if not, generating the graphic code after the user completes the authority application.
According to a specific implementation manner of the embodiment of the present disclosure, the setting of the function page running in the target APP includes:
acquiring all browsers in target equipment;
determining a browser for displaying the function page in all browsers based on selection information of all browsers by a user;
and loading the target browser in the target APP to display a functional page running in the target APP.
According to a specific implementation manner of the embodiment of the present disclosure, the generating the graphic code with the user information includes:
acquiring user name and password information input by a user on background equipment;
verifying whether the user name and password are correct, and
and acquiring user information matched with the user name under the condition that the user name and the password are correct.
According to a specific implementation manner of the embodiment of the present disclosure, the generating the graphic code with the user information further includes:
and adding user information and target APP information into the graphic code and calling an automatic jump link of the target APP.
According to a specific implementation manner of the embodiment of the present disclosure, the obtaining a scanning operation of the target device for the graphic code, where the scanning operation enables the target device to automatically run a function page in the target APP includes:
judging whether the APP currently scanning the graphic code is a target APP;
if not, jumping to a target APP through the automatic jump link, and automatically starting the function page in the target APP.
According to a specific implementation manner of the embodiment of the present disclosure, the automatically acquiring the feature information of the target device by using the function page includes:
after the user is authorized, obtaining non-sensitive information of a target APP login user through internal service; and
and interacting with other APPs in the target equipment through the preset component to acquire the information of the other APPs.
According to a specific implementation manner of the embodiment of the present disclosure, the automatically acquiring the feature information of the target device by using the function page further includes:
the method comprises the steps of obtaining GUP rendering information, screen pixel density information and screen size information of canvas in target equipment;
determining model information of the target device based on the GUP rendering information, the screen pixel density information and the screen size information;
adding the model information to feature information of the target device.
According to a specific implementation manner of the embodiment of the present disclosure, the method further includes:
and uploading the characteristic information to a target server.
In a second aspect, an embodiment of the present disclosure provides an apparatus for acquiring device characteristic information, including:
the device comprises a setting module, a processing module and a processing module, wherein the setting module is used for presetting a function page for running in a target APP so as to enable the function page to collect characteristic information of equipment for running the target APP when the target APP is run;
the generating module is used for generating a graphic code, and the graphic code comprises target APP information and an automatic jump link for calling the target APP;
an obtaining module, configured to obtain a scanning operation of a target device for the graphic code, where the scanning operation enables the target device to automatically run the function page in the target APP through target APP information and an automatic jump link of the target APP;
and the acquisition module is used for automatically acquiring the characteristic information of the target APP by utilizing the functional page after the scanning operation is successful.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of device characteristic information acquisition of any of the first aspects or any implementation of the first aspect.
In a fourth aspect, the disclosed embodiments also provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method for acquiring device feature information in the first aspect or any implementation manner of the first aspect.
In a fifth aspect, the present disclosure also provides a computer program product including a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions that, when executed by a computer, cause the computer to perform the method for acquiring device feature information in the foregoing first aspect or any implementation manner of the first aspect.
The scheme for acquiring the device characteristic information in the embodiment of the disclosure includes presetting a function page for running in a target APP, so that the function page acquires the characteristic information of a device running the target APP when the target APP is run; generating a graphic code, wherein the graphic code comprises target APP information and an automatic jump link for calling the target APP; obtaining a scanning operation of target equipment for the graphic code, wherein the scanning operation enables the target equipment to automatically run the functional page in the target APP through target APP information and an automatic jump link of the target APP; and after the scanning operation is successful, automatically acquiring the characteristic information of the target APP by utilizing the function page. The scheme of the disclosure can automatically acquire the information of the target device, and improves the information acquisition efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating the collection of device characteristic information according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of generating a graphic code with user information according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart illustrating another apparatus characteristic information collection method provided in the embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus for acquiring device characteristic information according to an embodiment of the present disclosure;
fig. 5 is a schematic view of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present disclosure, and the drawings only show the components related to the present disclosure rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
The embodiment of the disclosure provides a method for collecting equipment characteristic information. The method for acquiring the device characteristic information provided by the embodiment may be executed by a computing device, where the computing device may be implemented as software, or implemented as a combination of software and hardware, and the computing device may be integrally disposed in a server, a terminal device, or the like.
Referring to fig. 1, a method for collecting device feature information provided in the embodiments of the present disclosure includes the following steps:
s101, presetting a function page for running in a target APP, so that the function page collects characteristic information of equipment running the target APP when the target APP is run.
The target APP is an application program which can be controlled by a developer for collecting the device characteristic information, the target APP can be installed in a client (for example, a mobile phone), and the target APP located at the client can transmit information collected in the target device to a server through a network so as to obtain the information collected in the target device.
Through the back-end server of the target APP, the function page for acquiring the information of the target equipment can be directly embedded in the target APP. The function page can be a function page newly added in the target APP, and can also be a page embedded into the target APP in a calling mode. The setting of the function page is realized by, for example, calling a H5 page prepared in advance.
S102, generating a graphic code, wherein the graphic code comprises target APP information and an automatic jump chain for calling the target APP.
The traditional method for acquiring the information of the target equipment has insufficient accuracy, therefore, a list of users for acquiring the information is preset at a background server, the target users can be accurately determined through the list, and the accuracy of target information acquisition is ensured.
In order to improve the efficiency of information interaction, the information acquisition of the target device is carried out interactively in a graphic code mode, and the graphic code can be a common two-dimensional code or other types of graphic codes capable of carrying out quick interaction.
The purpose of using the graphic code is to quickly call a target APP, and target APP information is set in the graphic code for this purpose, so that the APP of code scanning operation can judge whether the APP is the target APP. In the actual application process, the situation that the APP for scanning the graphic code is not the target APP usually occurs, and for this reason, an automatic jump link for calling the target APP needs to be set in the graphic code.
Use the two-dimensional code as an example, this two-dimensional code includes the general schema link of transferring target APP, and the user uses arbitrary APP to sweep the sign indicating number, if this APP is not target APP, then can transfer target APP through the schema to open appointed function page, later through the private interface that target APP provided, obtain the permission of reading equipment information.
S103, obtaining the scanning operation of the target equipment aiming at the graphic code, wherein the scanning operation enables the target equipment to automatically run the functional page in the target APP through target APP information and the automatic jump link of the target APP.
After the graphic code is generated, the graphic code may be displayed on a specific device, for example, the graphic code may be displayed on a computer device or a smart device such as a mobile phone. The user scans the graphic code on the specific device by using the target device used by the user.
Once the user finishes the scanning operation for the graphic code through the target device, the target APP running in the target device sends the scanning result for the graphic code to a background device (e.g., a server). As a case may be, the background device may also be the particular device itself. After the background equipment receives the scanning success mark sent by the target APP in the target equipment, the background equipment can push the function page for acquiring the characteristic information of the target equipment to the target APP, and the target APP can automatically display the function page in the target APP after receiving the function page.
And S104, after the scanning operation is successful, automatically acquiring the characteristic information of the target APP by using the functional page.
After the code scanning is successful, the target APP can collect the characteristic information of the target device in various ways. Through the private interface provided by the target APP, the target APP can obtain the right to read the information of the target device, and further obtain the device information of the target device, for example, the IMEI number, the IESI number, the model, the brand, the CPU model, the CPU frequency, and the like of the target device.
After obtaining the user authorization, the target APP may also obtain non-sensitive information of the target APP login user, such as a contact of the user, through the internal service. Thereby further acquiring more characteristic information.
In addition, through interaction between a preset component (e.g., jsbridge) and other APPs installed in the target device, information such as other APP versions can be acquired. By utilizing the high-priority authority of the APP to the hardware information, the information such as the equipment model, the system type, the system version and the like can be obtained.
As a specific application, under an IOS system, different GPUs, screen pixels and screen sizes are adopted by different iphone models, and the specific iphone model set by a target can be accurately judged by comprehensively considering GPU rendering (render) information, screen pixel density and screen size of a canvas. Therefore, the machine type information which cannot be directly read in the target equipment can be effectively obtained.
The user can manually fill in the label of the user on the functional page, after confirmation is completed, an uploading request is initiated in the opened page, and various information collected in the target equipment is uploaded to the database. Before the new project is online, a developer can screen according to dimensions such as users, versions, systems and models based on collected information to find a target user group, and deploy services according to expected gray scale rules.
In order to further ensure the security of the generated graphic code, it is necessary to limit the user generating the graphic code, according to a specific implementation manner of the embodiment of the present disclosure, before generating the graphic code with user information, it is necessary to further determine whether the operating user currently generating the graphic code has an operation right, and when the operating user has the operation right, the operation of generating the graphic code in step S102 is performed. If the operator does not have the operation authority, the user is further reminded to apply the authority, and the generation operation of the graphic code is performed after the user finishes the authority application.
The function page can be displayed by calling a browser in the target device, and according to a specific implementation manner of the embodiment of the disclosure, the setting of the function page running in the target APP includes: the code used for acquiring all browsers in the target equipment is set in the background equipment in advance, and by setting the code, after the target equipment successfully scans the code, the background equipment can push the code to the target APP, so that the target APP can call a list of the browsers installed in the target equipment, and a user can select a specific browser. And displaying the functional page running in the target APP in the target browser based on the selection information of the user to all the browsers.
Referring to fig. 2 and fig. 3, according to a specific implementation manner of the embodiment of the present disclosure, the generating a graphic code with user information includes:
s201, obtaining the user name and password information input by the user on the background equipment.
The graphic code contains information of a user, only the user displayed in the graphic code can perform code scanning operation, and in order to prevent users without code scanning authority from performing code scanning operation, before the graphic code is generated, the user is checked through a user name and a password.
S202, verifying whether the user name and the password are correct.
The database of the target user is pre-stored in the database of the background equipment, and the user name and the password input by the user can be compared with the data in the database to judge whether the user name and the password input by the user are correct or not.
S203, under the condition that the user name and the password are correct, user information matched with the user name is obtained.
Besides the password and the user name of the target user, the database also stores user information matched with the user name, and the user information can be the mobile phone number, the mailbox, the head portrait, the nickname and the like of the user.
After obtaining the user information, according to a specific implementation manner of the embodiment of the present disclosure, the generating the graphic code with the user information further includes: and adding user information and target APP information into the graphic code and calling an automatic jump link of the target APP.
By adding the automatic jump link in the graphic code, any APP with the code scanning function can execute the code scanning operation, and the code scanning operation efficiency is improved. Specifically, when any code scanning APP performs code scanning operation on the graphic code, firstly, whether the APP currently scanning the graphic code is a target APP is judged; if not, jumping to a target APP through the automatic jump link, and automatically starting the function page in the target APP.
The information that target APP can gather includes multiple types of information, and according to a specific implementation manner of the embodiment of the present disclosure, automatically gathering the feature information of the target device by using the function page includes: after the user is authorized, obtaining non-sensitive information of a target APP login user through internal service, and interacting with other APPs in the target equipment through jsbridge to obtain information of other APPs.
In addition to the above information, the target APP can also obtain the GUP rendering information, the screen pixel density information, and the screen size information of the canvas in the target device, determine the model information of the target device based on the GUP rendering information, the screen pixel density information, and the screen size information, and add the model information to the feature information of the target device. Thereby enabling accurate determination of characteristic information in the target device that cannot be directly read.
After the target APP finishes the collection of the characteristic information, the characteristic information can be uploaded to a target server, and the target server can be background equipment or a server which is independently arranged and used for collecting the information of the target equipment.
Corresponding to the above method embodiment, referring to fig. 4, an embodiment of the present disclosure provides an apparatus 40 for acquiring device feature information, including:
the setting module 401 is configured to preset a function page used for running in a target APP, so that the function page collects feature information of a device running the target APP when the target APP is run.
The target APP is an application program which can be controlled by a developer for collecting the device characteristic information, the target APP can be installed in a client (for example, a mobile phone), and the target APP located at the client can transmit information collected in the target device to a server through a network so as to obtain the information collected in the target device.
Through the back-end server of the target APP, the function page for acquiring the information of the target equipment can be directly embedded in the target APP. The function page can be a function page newly added in the target APP, and can also be a page embedded into the target APP in a calling mode. The setting of the function page is realized by, for example, calling a H5 page prepared in advance.
A generating module 402, configured to generate a graphical code, where the graphical code includes target APP information and invokes an automatic jump link of the target APP.
The traditional method for acquiring the information of the target equipment has insufficient accuracy, therefore, a list of users for acquiring the information is preset at a background server, the target users can be accurately determined through the list, and the accuracy of target information acquisition is ensured.
In order to improve the efficiency of information interaction, the information acquisition of the target device is carried out interactively in a graphic code mode, and the graphic code can be a common two-dimensional code or other types of graphic codes capable of carrying out quick interaction.
The purpose of using the graphic code is to quickly call a target APP, and target APP information is set in the graphic code for this purpose, so that the APP of code scanning operation can judge whether the APP is the target APP. In the actual application process, the situation that the APP for scanning the graphic code is not the target APP usually occurs, and for this reason, an automatic jump link for calling the target APP needs to be set in the graphic code.
Use the two-dimensional code as an example, this two-dimensional code includes the general schema link of transferring target APP, and the user uses arbitrary APP to sweep the sign indicating number, if this APP is not target APP, then can transfer target APP through the schema to open appointed function page, later through the private interface that target APP provided, obtain the permission of reading equipment information.
An obtaining module 403, configured to obtain a scanning operation of the target device for the graphic code, where the scanning operation enables the target device to automatically run the function page in the target APP through target APP information and an automatic jump link of the target APP.
After the graphic code is generated, the graphic code may be displayed on a specific device, for example, the graphic code may be displayed on a computer device or a smart device such as a mobile phone. The user scans the graphic code on the specific device by using the target device used by the user.
Once the user finishes the scanning operation for the graphic code through the target device, the target APP running in the target device sends the scanning result for the graphic code to a background device (e.g., a server). As a case may be, the background device may also be the particular device itself. After the background equipment receives the scanning success mark sent by the target APP in the target equipment, the background equipment pushes a function page for acquiring characteristic information of the target equipment to the target APP, and the target APP automatically displays the function page in the target APP after receiving the function page.
An acquiring module 404, configured to automatically acquire, by using the function page, feature information of the target APP after the scanning operation is successful.
After the code scanning is successful, the target APP can collect the characteristic information of the target device in various ways. Through the private interface provided by the target APP, the target APP can obtain the right to read the information of the target device, and further obtain the device information of the target device, for example, the IMEI number, the IESI number, the model, the brand, the CPU model, the CPU frequency, and the like of the target device.
After obtaining the user authorization, the target APP may also obtain non-sensitive information of the target APP login user, such as a contact of the user, through the internal service. Thereby further acquiring more characteristic information.
In addition, through the interaction of the jsbridge and other APPs installed in the target equipment, information such as other APP versions can be obtained. By utilizing the high-priority authority of the APP to the hardware information, the information such as the equipment model, the system type, the system version and the like can be obtained.
As a specific application, under an IOS system, the specific iphone model set by the target can be accurately judged by comprehensively considering GPU rendering (render) information of canvas, screen pixel density and screen size.
The user can manually fill in the label of the user on the functional page, after confirmation is completed, an uploading request is initiated in the opened page, and various information collected in the target equipment is uploaded to the database. Before the new project is online, a developer can screen according to dimensions such as users, versions, systems and models based on collected information to find a target user group, and deploy services according to expected gray scale rules.
The content executed by each module in the apparatus for acquiring device characteristic information is the same as or corresponds to the content executed in the corresponding step in the above method embodiment, and is not described herein again.
Referring to fig. 5, an embodiment of the present disclosure also provides an electronic device 50, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of collecting device characteristic information in the above method embodiments.
The disclosed embodiments also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the foregoing method embodiments.
The disclosed embodiments also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method of device feature information acquisition in the aforementioned method embodiments.
Referring now to FIG. 5, a schematic diagram of an electronic device 50 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 50 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 50 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 50 to communicate with other devices wirelessly or by wire to exchange data. While the figures illustrate an electronic device 50 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the obtained internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (12)

1. A method for collecting device characteristic information is characterized by comprising the following steps:
presetting a function page for running in a target APP, so that the function page collects characteristic information of equipment running the target APP when the target APP is run;
generating a graphic code, wherein the graphic code comprises target APP information and an automatic jump link for calling the target APP;
obtaining a scanning operation of target equipment for the graphic code, wherein the scanning operation enables the target equipment to automatically run the functional page in the target APP through target APP information and an automatic jump link of the target APP;
after the scanning operation is successful, automatically acquiring the characteristic information of the target equipment for operating the target APP by using the function page, wherein the target APP obtains the permission for reading the information of the target equipment, and then obtains the equipment information of the target equipment.
2. The method of claim 1, wherein prior to generating the graphical code, the method further comprises:
judging whether an operation user currently generating the graphic code has operation authority or not;
if not, generating the graphic code after the user completes the authority application.
3. The method of claim 1, wherein setting the function page running in the target APP comprises:
acquiring all browsers in target equipment;
determining a target browser for displaying the function page in all browsers based on selection information of all browsers by a user;
and loading the target browser in the target APP for displaying the functional page running in the target APP.
4. The method of claim 1, wherein generating the graphical code comprises:
acquiring user name and password information input by a user on background equipment;
verifying whether the user name and password are correct, and
and acquiring user information matched with the user name under the condition that the user name and the password are correct.
5. The method of claim 4, wherein generating the graphical code with the user information further comprises:
and adding user information and target APP information into the graphic code and calling an automatic jump link of the target APP.
6. The method according to claim 1, wherein the obtaining of the scanning operation of the target device for the graphic code, the scanning operation causing the target device to automatically run a function page in the target APP, includes:
judging whether the APP currently scanning the graphic code is a target APP;
if not, jumping to a target APP through the automatic jump link, and automatically starting the function page in the target APP.
7. The method of claim 6, wherein the automatically collecting the feature information of the target device by using the function page comprises:
after the user is authorized, obtaining non-sensitive information of a target APP login user through internal service; and interacting with other APPs in the target equipment through the preset component to acquire information of the other APPs.
8. The method of claim 6, wherein the automatically collecting the feature information of the target device by using the function page comprises:
the method comprises the steps of obtaining GUP rendering information, screen pixel density information and screen size information of canvas in target equipment;
determining model information of the target device based on the GUP rendering information, the screen pixel density information and the screen size information;
adding the model information to feature information of the target device.
9. The method of claim 1, further comprising: and uploading the characteristic information to a target server.
10. An apparatus for collecting device characteristic information, comprising:
the device comprises a setting module, a processing module and a processing module, wherein the setting module is used for presetting a function page for running in a target APP so as to enable the function page to collect characteristic information of equipment for running the target APP when the target APP is run;
the generating module is used for generating a graphic code, and the graphic code comprises target APP information and an automatic jump link for calling the target APP;
an obtaining module, configured to obtain a scanning operation of a target device for the graphic code, where the scanning operation enables the target device to automatically run the function page in the target APP through target APP information and an automatic jump link of the target APP;
and the acquisition module is used for automatically acquiring and operating the characteristic information of the target APP by utilizing the functional page after the scanning operation is successful, and the target APP acquires the authority for reading the information of the target equipment so as to acquire the equipment information of the target equipment.
11. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of acquisition of any one of the preceding claims 1-9.
12. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of acquisition of any preceding claim 1-9.
CN201811615817.4A 2018-12-28 2018-12-28 Method and device for acquiring equipment characteristic information Active CN109741099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811615817.4A CN109741099B (en) 2018-12-28 2018-12-28 Method and device for acquiring equipment characteristic information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811615817.4A CN109741099B (en) 2018-12-28 2018-12-28 Method and device for acquiring equipment characteristic information

Publications (2)

Publication Number Publication Date
CN109741099A CN109741099A (en) 2019-05-10
CN109741099B true CN109741099B (en) 2020-04-03

Family

ID=66361475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811615817.4A Active CN109741099B (en) 2018-12-28 2018-12-28 Method and device for acquiring equipment characteristic information

Country Status (1)

Country Link
CN (1) CN109741099B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110853490B (en) * 2019-10-24 2021-05-18 北京智慧中网科技有限公司 Ship signboard with RFID electronic tag
CN110851883B (en) * 2019-10-29 2021-11-02 武汉极意网络科技有限公司 Equipment fingerprint generation method and device based on picture drawing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834952A (en) * 2014-02-11 2015-08-12 刘中一 Intelligent two-dimension code
US20150235271A1 (en) * 2014-02-19 2015-08-20 Passbeemedia Multi-platform promotions for mobile devices
CN104978213B (en) * 2014-07-21 2018-03-16 腾讯科技(深圳)有限公司 Realize the link acquisition methods and device of application installation package
CN108121568B (en) * 2017-11-30 2021-11-09 五八有限公司 APP calling method and device, electronic equipment and readable storage medium
CN108829597B (en) * 2018-06-13 2023-04-18 中国平安人寿保险股份有限公司 Software public testing method and device, computer device and readable storage medium

Also Published As

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

Similar Documents

Publication Publication Date Title
CN108829597B (en) Software public testing method and device, computer device and readable storage medium
CN109542468B (en) Application program release method and device and electronic equipment
CN109741099B (en) Method and device for acquiring equipment characteristic information
CN109150700A (en) A kind of method and device of data acquisition
CN111738316B (en) Zero sample learning image classification method and device and electronic equipment
CN111736918A (en) Buried point configuration method and device and electronic equipment
CN109491908B (en) Page detection method and device, electronic equipment and storage medium
CN111612135B (en) Method and device for information interaction
CN112492399B (en) Information display method and device and electronic equipment
CN114510305B (en) Model training method and device, storage medium and electronic equipment
CN111144526A (en) Method and device for realizing data maintenance and verification based on two-dimensional code
CN109408387B (en) Page testing method and device
CN109145591B (en) Plug-in loading method of application program
CN111240786A (en) Walkthrough method and device, electronic equipment and storage medium
CN107889191B (en) Connection method, device and equipment of wireless local area network and computer readable storage medium
CN110555861A (en) optical flow calculation method and device and electronic equipment
CN106302821B (en) Data request method and equipment thereof
CN111930736B (en) Data verification method and device
CN110046384B (en) Model instantiation method and device, electronic equipment and computer-readable storage medium
CN108471635B (en) Method and apparatus for connecting wireless access points
RU2595763C2 (en) Method and apparatus for managing load on basis of android browser
CN112416989A (en) Management method and device of Internet performance broker platform and electronic equipment
CN111274551A (en) Compiler-based java code protection method and device and electronic equipment
CN111371764A (en) Data verification method, device, equipment and storage medium
CN110572310A (en) Address book-based driving test route sharing method, terminal and storage 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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.