CN111061502A - Installation package obtaining method, device, equipment and storage medium - Google Patents

Installation package obtaining method, device, equipment and storage medium Download PDF

Info

Publication number
CN111061502A
CN111061502A CN201911319407.XA CN201911319407A CN111061502A CN 111061502 A CN111061502 A CN 111061502A CN 201911319407 A CN201911319407 A CN 201911319407A CN 111061502 A CN111061502 A CN 111061502A
Authority
CN
China
Prior art keywords
target
identification code
equipment
terminal equipment
installation package
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.)
Granted
Application number
CN201911319407.XA
Other languages
Chinese (zh)
Other versions
CN111061502B (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.)
Guiyang Huochebang Technology Co Ltd
Original Assignee
Guiyang Huochebang 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 Guiyang Huochebang Technology Co Ltd filed Critical Guiyang Huochebang Technology Co Ltd
Priority to CN201911319407.XA priority Critical patent/CN111061502B/en
Publication of CN111061502A publication Critical patent/CN111061502A/en
Application granted granted Critical
Publication of CN111061502B publication Critical patent/CN111061502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses an installation package obtaining method, an installation package obtaining device, installation package obtaining equipment and a storage medium, wherein the method comprises the following steps: receiving a target identification code of a current browser in terminal equipment and a target equipment number of the terminal equipment; if the target equipment number exists in the binding relationship between the pre-established equipment number and the developer account, adding the target identification code into the binding relationship corresponding to the target equipment number; and acquiring a target installation package corresponding to the developer account bound with the target identification code, and issuing the target installation package to the terminal equipment. According to the embodiment of the invention, the binding relationship among the equipment number, the browser identification code and the developer account is established, the developer account and the corresponding installation package can be determined according to the equipment number and the identification code, a user does not need to record the equipment and the corresponding developer account by himself or download the equipment and the corresponding developer account manually, the automatic acquisition of the installation package is realized, the acquisition efficiency of the installation package is improved, the accuracy is high, and errors are not easy to occur.

Description

Installation package obtaining method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of internet, in particular to an installation package obtaining method, device, equipment and storage medium.
Background
With the abuse of IOS enterprise development account certificates in domestic markets, apple authorities perform a large amount of sealing-up on the enterprise development account certificates, and the enterprise development account certificates are not easy to obtain and high in price. Therefore, many businesses address this problem by applying for individual developer accounts.
However, a single individual developer account can only support binding 100 devices, the bound devices can only download installation packages produced by the account, and large companies often need multiple developer accounts and multiple apple devices to support development and testing of functions. Therefore, a user needs to record a plurality of devices on hand and what the account number certificate of the developer corresponding to each device is, and then manually download the corresponding installation package for test development, and the process is very complicated, and download errors are easily caused, so that test development is influenced.
Disclosure of Invention
The embodiment of the invention provides an installation package obtaining method, device, equipment and storage medium, and aims to solve the problems that in the prior art, the installation package obtaining process is complicated and errors are easy to occur.
In a first aspect, an embodiment of the present invention provides an installation package obtaining method, including:
receiving a target identification code of a current browser in terminal equipment and a target equipment number of the terminal equipment;
if the target equipment number exists in the binding relationship between the pre-established equipment number and the developer account, adding the target identification code into the binding relationship corresponding to the target equipment number;
and acquiring a target installation package corresponding to the developer account bound with the target identification code, and issuing the target installation package to the terminal equipment.
In a second aspect, an embodiment of the present invention further provides an installation package obtaining apparatus, including:
the first receiving module is used for receiving a target identification code of a current browser in terminal equipment and a target equipment number of the terminal equipment;
the identification code adding module is used for adding the target identification code to the binding relation corresponding to the target equipment number if the target equipment number received by the first receiving module exists in the binding relation between the pre-established equipment number and the developer account;
and the first installation package issuing module is used for acquiring a target installation package corresponding to the developer account bound with the target identification code and issuing the target installation package to the terminal equipment.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the installation package obtaining method according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the installation package obtaining method according to any embodiment of the present invention.
The embodiment of the invention pre-establishes the binding relationship between the equipment number and the developer account number, when any terminal equipment wants to acquire the installation package, by acquiring the target identification code of the current browser in the terminal equipment and the target equipment number of the terminal equipment and judging whether the target equipment number exists in the binding relationship, if the identifier exists, the corresponding developer account can be determined through the binding relationship, and meanwhile, the target identification code is also added into the binding relationship corresponding to the target device number, so that when the terminal device requests to acquire the installation package again, if the terminal device uses the same current browser, the corresponding developer account can be determined in the binding relationship directly through the target identification code of the browser, so that the target installation package corresponding to the account is issued to the terminal device. In the process, a user does not need to record equipment and a corresponding developer account by himself or download the installation package manually, automatic acquisition of the installation package is achieved, convenience and rapidness are achieved, the acquisition efficiency of the installation package is improved, accuracy is high, and mistakes are not prone to occurring.
Drawings
Fig. 1 is a flowchart of an installation package obtaining method in a first embodiment of the present invention;
fig. 2 is a flowchart of an installation package obtaining method in the second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an installation package acquiring apparatus in a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device in a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of an installation package obtaining method in an embodiment of the present invention, which is applicable to a case where a server determines and obtains an installation package of corresponding application software to be tested for any terminal device. The method may be performed by an installation package obtaining apparatus, which may be implemented in software and/or hardware, and may be configured in an electronic device, such as a server or a computer device. As shown in fig. 1, the method specifically includes:
s101, receiving a target identification code of a current browser in terminal equipment and a target equipment number of the terminal equipment.
The terminal device is any device that needs to download and install an installation package to be tested and developed, and may be a mobile terminal device, for example. Because the installation package is stored in the server, and the device bound to the developer account can only download the installation package corresponding to the account, and meanwhile, there are a plurality of developer accounts, the server needs to identify which developer account the current terminal device is bound to, and then acquire the installation package corresponding to the account for the current terminal device to download and install.
In the embodiment of the invention, the binding relationship between the device number of the terminal and the developer account can be pre-established, and then the developer account corresponding to the current terminal device is determined by inquiring according to the obtained target identification code of the current browser in the terminal device and the target device number of the terminal device. The identification code and the equipment number are respectively unique identifications of the browser and the terminal equipment.
S102, if the target equipment number exists in the binding relationship between the pre-established equipment number and the developer account, adding the target identification code to the binding relationship corresponding to the target equipment number.
Further, after judgment, if the target device number of the current terminal device exists in the binding relationship, it indicates that the developer account number bound with the target device number can be obtained by querying from the binding relationship.
In addition, it should be noted that, because the device number of the terminal device is acquired more complicatedly and sometimes limited and cannot be acquired, and the identification code of the browser is acquired relatively easily, in the embodiment of the present invention, the target identification code of the current browser may also be added to the binding relationship corresponding to the target device number. Therefore, when the terminal equipment requests to download the installation package again next time, the developer account number bound with the terminal equipment can be directly obtained in the binding relationship through the identification code of the browser of the terminal equipment, so that the process is simpler to realize and easy to realize, and meanwhile, errors are not easy to make. Of course, if the terminal device changes the browser, the target device number of the terminal device can be used as a basis to query the developer account number bound with the terminal device in the binding relationship, and the target identification code of the new browser at the moment is added into the binding relationship so as to be used next time.
S103, acquiring a target installation package corresponding to the developer account bound with the target identification code, and issuing the target installation package to the terminal equipment.
After the target identification code is added into the binding relationship corresponding to the target equipment number, the developer account number bound with the target identification code can be obtained in the binding relationship through the target identification code, and then the target installation package corresponding to the developer account number is obtained from a database for downloading and installing the terminal equipment.
The method comprises the steps of establishing a binding relationship between a device number and a developer account in advance, when any terminal device wants to acquire an installation package, acquiring a target identification code of a current browser in the terminal device and a target device number of the terminal device, judging whether the target device number exists in the binding relationship, if so, indicating that the corresponding developer account can be determined through the binding relationship, and simultaneously adding the target identification code into the binding relationship corresponding to the target device number, so that when the terminal device requests to acquire the installation package again, if the terminal device uses the same browser, the corresponding developer account can be determined in the binding relationship directly through the target identification code of the browser, and the target installation package corresponding to the account is issued to the terminal device. In the process, a user does not need to record equipment and a corresponding developer account by himself or download the installation package manually, automatic acquisition of the installation package is achieved, convenience and rapidness are achieved, the acquisition efficiency of the installation package is improved, accuracy is high, and mistakes are not prone to occurring.
Example two
Fig. 2 is a flowchart of an installation package obtaining method in the second embodiment of the present invention, and the second embodiment is further optimized based on the first embodiment. As shown in fig. 2, the method includes:
s201, receiving a target identification code of a current browser in the terminal equipment, which is obtained by scanning the second two-dimensional code by the terminal equipment.
The second two-dimensional code can be generated in advance, so that a user can conveniently send a request. In addition, other modes can be adopted, for example, the user can input a preset website by himself, and the user can send a request on an opened webpage according to preset operation. The embodiment of the present invention does not limit the specific manner of issuing the request at all.
After the user scans the second two-dimensional code by using the terminal device, a request message for downloading the installation package is sent to the server, after the server receives the request message, the browser is opened in a redirection mode, so that the terminal device opens a preset appointed webpage through the current browser, after the terminal device opens the appointed webpage, the front-end service of the current browser can obtain the target identification code of the current browser, and then the terminal device uploads the target identification code to the server.
S202, judging whether the target identification code exists in a binding relationship between a pre-established device number and a developer account, if so, executing S203, otherwise, executing S204.
If the target identification code exists in the binding relationship, the terminal device is indicated to download the installation package by using the current browser, and the server records the identification code, so that the target installation package corresponding to the developer account bound with the target identification code can be directly acquired through S203. Otherwise, the identification code is not recorded.
S203, acquiring a target installation package corresponding to the developer account bound with the target identification code, and issuing the target installation package to the terminal equipment.
S204, responding to a first request message sent by the terminal equipment after scanning the first two-dimensional code, and pushing an equipment authentication certificate to the terminal equipment.
When the target identification code is not recorded, the user is required to scan another first two-dimensional code acquisition device number. The first two-dimensional code is generated in advance, and the purpose is to enable a user to conveniently send a request. When a user uses the terminal equipment to scan the first two-dimensional code, a request message for installing the equipment authentication certificate is sent to the server, the server pushes the certificate to the terminal equipment, and after the terminal equipment obtains and installs the certificate, the corresponding installation information is fed back to the server.
S205, obtaining installation information based on the equipment authentication certificate fed back by the terminal equipment, and analyzing the installation information to obtain the target equipment number.
The server can obtain the target equipment number of the terminal equipment by analyzing the installation information.
S206, reversely pushing the target equipment number to the terminal equipment in a mode of opening the browser through redirection, and enabling the terminal equipment to open a preset appointed webpage through the current browser.
S207, receiving the target equipment number sent by the terminal equipment, and the target identification code obtained by the front-end service of the current browser after the terminal equipment opens the appointed webpage.
After the server acquires the target equipment number of the terminal equipment, the browser is opened through redirection, on one hand, the target equipment number is fed back to the terminal equipment, and on the other hand, the terminal equipment is enabled to open an appointed webpage to acquire the target identification code of the current browser. Then, after the terminal device sends the target device number and the target identification code to the server together, the server can judge whether the terminal device is a binding device of a certain developer account according to the target device number, and if so, the target identification code can be added to the corresponding binding relationship.
It should be further noted that, although the target identification code of the current browser in the terminal device has already been acquired in S201, when it is determined that the target identification code does not exist in the pre-established binding relationship between the device number and the developer account, the target identification code of the current browser in the terminal device needs to be acquired again in a manner that the terminal device scans the first two-dimensional code, so as to acquire the target identification code together with the target device number to uniquely determine the terminal device that currently issues the request, thereby avoiding an error.
And S208, judging whether the target equipment number exists in the binding relationship between the pre-established equipment number and the developer account, if so, executing S209 and then executing S203, otherwise, ending the process.
If the target device number exists in the binding relationship, the current device is a binding device of a certain developer account, the target identification code can be continuously added into the binding relationship corresponding to the target device number, if the target device number does not exist in the binding relationship, the current device is not the binding device of any developer account, the device is not allowed to download the installation package, and the process is ended.
S209, adding the target identification code into the binding relation corresponding to the target equipment number.
The embodiment of the invention pre-establishes the binding relationship between the equipment number and the developer account number, when any terminal equipment wants to acquire the installation package, the server can acquire the target identification code of the current browser in the terminal equipment and the target equipment number of the terminal equipment as long as the user scans the two-dimensional code by using the terminal equipment, and judges whether the target equipment number exists in the binding relationship, if the identifier exists, the corresponding developer account can be determined through the binding relationship, and meanwhile, the target identification code is also added into the binding relationship corresponding to the target device number, so that when the terminal device requests to acquire the installation package again, if the terminal device uses the same current browser, the corresponding developer account can be determined in the binding relationship directly through the target identification code of the browser, so that the target installation package corresponding to the account is issued to the terminal device. In the process, a user does not need to record equipment and a corresponding developer account by himself or download the installation package manually, automatic acquisition of the installation package is achieved, convenience and rapidness are achieved, the acquisition efficiency of the installation package is improved, accuracy is high, and mistakes are not prone to occurring.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an installation package obtaining apparatus in the third embodiment of the present invention, which is applicable to a case where an installation package of corresponding application software to be tested is determined and obtained for any terminal device in a test development process. As shown in fig. 3, the apparatus includes:
a first receiving module 310, configured to receive a target identifier of a current browser in a terminal device and a target device number of the terminal device;
an identifier adding module 320, configured to add the target identifier to a binding relationship corresponding to the target device number if the target device number received by the first receiving module exists in a binding relationship between a pre-established device number and a developer account;
the first installation package issuing module 330 is configured to acquire a target installation package corresponding to the developer account bound to the target identification code, and issue the target installation package to the terminal device.
The embodiment of the invention pre-establishes the binding relationship between the equipment number and the developer account number, when any terminal equipment wants to acquire the installation package, by acquiring the target identification code of the current browser in the terminal equipment and the target equipment number of the terminal equipment and judging whether the target equipment number exists in the binding relationship, if the identifier exists, the corresponding developer account can be determined through the binding relationship, and meanwhile, the target identification code is also added into the binding relationship corresponding to the target device number, so that when the terminal device requests to acquire the installation package again, if the terminal device uses the same current browser, the corresponding developer account can be determined in the binding relationship directly through the target identification code of the browser, so that the target installation package corresponding to the account is issued to the terminal device. In the process, a user does not need to record equipment and a corresponding developer account by himself or download the installation package manually, automatic acquisition of the installation package is achieved, convenience and rapidness are achieved, the acquisition efficiency of the installation package is improved, accuracy is high, and mistakes are not prone to occurring.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving the target identification code of the current browser in the terminal equipment before the first receiving module executes;
the second installation package issuing module is used for acquiring a target installation package corresponding to the developer account bound with the target identification code and issuing the target installation package to the terminal equipment if the target identification code received by the second receiving module exists in the binding relationship;
the first receiving module 310 is specifically configured to receive the target identifier of the current browser in the terminal device and the target device number of the terminal device if the target identifier received by the second receiving module does not exist in the binding relationship.
Optionally, the first receiving module is specifically configured to: receiving a target identification code of a current browser in the terminal equipment and a target equipment number of the terminal equipment, which are obtained by scanning a first two-dimensional code by the terminal equipment;
the second receiving module is specifically configured to: and receiving a target identification code of a current browser in the terminal equipment, which is obtained by scanning the second two-dimensional code by the terminal equipment.
Optionally, the first receiving module includes:
the authentication certificate pushing unit is used for responding to a first request message sent by the terminal equipment after scanning the first two-dimensional code, and pushing the equipment authentication certificate to the terminal equipment;
the equipment number analyzing unit is used for acquiring installation information based on the equipment authentication certificate fed back by the terminal equipment and analyzing the installation information to obtain the target equipment number;
the first redirection unit is used for reversely pushing the target equipment number to the terminal equipment in a mode of opening a browser through redirection, and enabling the terminal equipment to open a preset specified webpage through a current browser;
and the equipment number and identification code receiving unit is used for receiving the target equipment number sent by the terminal equipment and the target identification code acquired by using the front-end service of the current browser after the terminal equipment opens the specified webpage.
Optionally, the second receiving module includes:
the second redirection unit is used for responding to a second request message sent by the terminal equipment after scanning the second two-dimensional code, and enabling the terminal equipment to open a preset specified webpage through a current browser in a browser redirection mode;
and the identification code receiving unit is used for receiving the target identification code acquired by using the front-end service of the current browser after the terminal equipment opens the specified webpage.
The installation package acquisition device provided by the embodiment of the invention can execute the installation package acquisition method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the installation package acquisition method.
Example four
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 4 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 4, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing an installation package obtaining method provided by the embodiment of the present invention, including:
receiving a target identification code of a current browser in terminal equipment and a target equipment number of the terminal equipment;
if the target equipment number exists in the binding relationship between the pre-established equipment number and the developer account, adding the target identification code into the binding relationship corresponding to the target equipment number;
and acquiring a target installation package corresponding to the developer account bound with the target identification code, and issuing the target installation package to the terminal equipment.
EXAMPLE five
The fifth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the installation package obtaining method provided in the fifth embodiment of the present invention, and the method includes:
receiving a target identification code of a current browser in terminal equipment and a target equipment number of the terminal equipment;
if the target equipment number exists in the binding relationship between the pre-established equipment number and the developer account, adding the target identification code into the binding relationship corresponding to the target equipment number;
and acquiring a target installation package corresponding to the developer account bound with the target identification code, and issuing the target installation package to the terminal equipment.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. 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 (a non-exhaustive list) of the computer readable storage medium would include the following: 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 context of this document, 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, 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 wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like 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).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An installation package obtaining method is characterized by comprising the following steps:
receiving a target identification code of a current browser in terminal equipment and a target equipment number of the terminal equipment;
if the target equipment number exists in the binding relationship between the pre-established equipment number and the developer account, adding the target identification code into the binding relationship corresponding to the target equipment number;
and acquiring a target installation package corresponding to the developer account bound with the target identification code, and issuing the target installation package to the terminal equipment.
2. The method according to claim 1, wherein before receiving the target identification code of the current browser in the terminal device and the target device number of the terminal device, the method further comprises:
receiving a target identification code of a current browser in the terminal equipment;
if the target identification code exists in the binding relationship, acquiring a target installation package corresponding to the developer account bound with the target identification code, and issuing the target installation package to the terminal equipment;
and if the target identification code does not exist in the binding relationship, executing the operation of receiving the target identification code of the current browser in the terminal equipment and the target equipment number of the terminal equipment.
3. The method of claim 2,
the receiving the target identification code of the current browser in the terminal device and the target device number of the terminal device includes:
receiving a target identification code of a current browser in the terminal equipment and a target equipment number of the terminal equipment, which are obtained by scanning a first two-dimensional code by the terminal equipment;
the receiving the target identification code of the current browser in the terminal device includes:
and receiving a target identification code of a current browser in the terminal equipment, which is obtained by scanning the second two-dimensional code by the terminal equipment.
4. The method according to claim 3, wherein the receiving the target identification code of the current browser in the terminal device and the target device number of the terminal device, which are obtained by the terminal device by scanning the first two-dimensional code, comprises:
responding to a first request message sent by the terminal equipment after scanning a first two-dimensional code, and pushing an equipment authentication certificate to the terminal equipment;
acquiring installation information based on the equipment authentication certificate fed back by the terminal equipment, and analyzing the installation information to obtain the target equipment number;
reversely pushing the target equipment number to the terminal equipment in a mode of redirecting and opening a browser, and enabling the terminal equipment to open a preset specified webpage through a current browser;
and receiving the target equipment number sent by the terminal equipment, and acquiring the target identification code by using the front-end service of the current browser after the terminal equipment opens the specified webpage.
5. The method according to claim 3, wherein the receiving the target identification code of the current browser in the terminal device, which is obtained by the terminal device by scanning the second two-dimensional code, comprises:
responding to a second request message sent by the terminal equipment after scanning a second two-dimensional code, and enabling the terminal equipment to open a preset appointed webpage through a current browser in a browser redirection mode;
and receiving the target identification code acquired by using the front-end service of the current browser after the terminal equipment opens the specified webpage.
6. An installation package acquisition apparatus, comprising:
the first receiving module is used for receiving a target identification code of a current browser in terminal equipment and a target equipment number of the terminal equipment;
the identification code adding module is used for adding the target identification code to the binding relation corresponding to the target equipment number if the target equipment number received by the first receiving module exists in the binding relation between the pre-established equipment number and the developer account;
and the first installation package issuing module is used for acquiring a target installation package corresponding to the developer account bound with the target identification code and issuing the target installation package to the terminal equipment.
7. The apparatus of claim 6, further comprising:
the second receiving module is used for receiving the target identification code of the current browser in the terminal equipment before the first receiving module executes;
the second installation package issuing module is used for acquiring a target installation package corresponding to the developer account bound with the target identification code and issuing the target installation package to the terminal equipment if the target identification code received by the second receiving module exists in the binding relationship;
the first receiving module is specifically configured to receive the target identification code of the current browser in the terminal device and the target device number of the terminal device if the target identification code received by the second receiving module does not exist in the binding relationship.
8. The apparatus of claim 7,
the first receiving module is specifically configured to: receiving a target identification code of a current browser in the terminal equipment and a target equipment number of the terminal equipment, which are obtained by scanning a first two-dimensional code by the terminal equipment;
the second receiving module is specifically configured to: and receiving a target identification code of a current browser in the terminal equipment, which is obtained by scanning the second two-dimensional code by the terminal equipment.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the installation package acquisition method of any one of claims 1-5.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the installation package acquisition method according to any one of claims 1 to 5.
CN201911319407.XA 2019-12-19 2019-12-19 Installation package acquisition method, device, equipment and storage medium Active CN111061502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911319407.XA CN111061502B (en) 2019-12-19 2019-12-19 Installation package acquisition method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911319407.XA CN111061502B (en) 2019-12-19 2019-12-19 Installation package acquisition method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111061502A true CN111061502A (en) 2020-04-24
CN111061502B CN111061502B (en) 2023-05-26

Family

ID=70300853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911319407.XA Active CN111061502B (en) 2019-12-19 2019-12-19 Installation package acquisition method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111061502B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624913A (en) * 2012-03-20 2012-08-01 深圳世纪华辰科技有限公司 Data pushing method, and terminal device and server employing same
US20140025949A1 (en) * 2012-07-20 2014-01-23 Google Inc. Method and system for browser identity
CN104573547A (en) * 2014-10-21 2015-04-29 江苏通付盾信息科技有限公司 Information interaction safety protection system and operation realization method thereof
JP2015141703A (en) * 2014-01-30 2015-08-03 株式会社デジタルガレージ integrated user identifier management system, network terminal, integrated user identifier management server and program
CN109151019A (en) * 2018-08-20 2019-01-04 彩讯科技股份有限公司 A kind of application method for down loading, device, equipment and storage medium
CN109284107A (en) * 2018-08-03 2019-01-29 北京城市网邻信息技术有限公司 Application program configuration method, device, computer equipment and readable storage medium storing program for executing
WO2019105296A1 (en) * 2017-11-29 2019-06-06 华为技术有限公司 Card linking method and terminal
CN110286922A (en) * 2019-05-22 2019-09-27 深圳壹账通智能科技有限公司 Using downloading updating method, device, computer equipment and storage medium
US20190303136A1 (en) * 2018-03-27 2019-10-03 International Business Machines Corporation Software globalization management

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624913A (en) * 2012-03-20 2012-08-01 深圳世纪华辰科技有限公司 Data pushing method, and terminal device and server employing same
US20140025949A1 (en) * 2012-07-20 2014-01-23 Google Inc. Method and system for browser identity
JP2015141703A (en) * 2014-01-30 2015-08-03 株式会社デジタルガレージ integrated user identifier management system, network terminal, integrated user identifier management server and program
CN104573547A (en) * 2014-10-21 2015-04-29 江苏通付盾信息科技有限公司 Information interaction safety protection system and operation realization method thereof
WO2019105296A1 (en) * 2017-11-29 2019-06-06 华为技术有限公司 Card linking method and terminal
US20190303136A1 (en) * 2018-03-27 2019-10-03 International Business Machines Corporation Software globalization management
CN109284107A (en) * 2018-08-03 2019-01-29 北京城市网邻信息技术有限公司 Application program configuration method, device, computer equipment and readable storage medium storing program for executing
CN109151019A (en) * 2018-08-20 2019-01-04 彩讯科技股份有限公司 A kind of application method for down loading, device, equipment and storage medium
CN110286922A (en) * 2019-05-22 2019-09-27 深圳壹账通智能科技有限公司 Using downloading updating method, device, computer equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
EJIKE OFUONYE: ""Securing web-clients with instrumented code and dynamic runtime monitoring"", 《JOURNAL OF SYSTEMS AND SOFTWARE》 *
JTBSHAN: ""web项目绑定固定电脑方案"", 《HTTPS://BLOG.CSDN.NET/JTBSHAN/ARTICLE/DETAILS/84257629》 *
孟青春: ""基于移动终端的多终端单点登录研究与设计"", 《计算机工程与设计》 *

Also Published As

Publication number Publication date
CN111061502B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
CN110221982B (en) Performance test method, device and equipment of business system and readable storage medium
CN111813804B (en) Data query method and device, electronic equipment and storage medium
CN110134869B (en) Information pushing method, device, equipment and storage medium
CN110110236B (en) Information pushing method, device, equipment and storage medium
CN112769802B (en) Access verification method and device based on server, electronic equipment and storage medium
CN110719590B (en) One-key login method, device, equipment and storage medium based on mobile phone number
CN111796978B (en) Interface detection method, device, system, equipment and storage medium
CN112463729B (en) Data file warehousing method and device, electronic equipment and medium
CN113515271B (en) Service code generation method and device, electronic equipment and readable storage medium
CN110798445A (en) Public gateway interface testing method and device, computer equipment and storage medium
CN110570293A (en) method, device, server and storage medium for reimbursing collected invoices
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN113656301A (en) Interface testing method, device, equipment and storage medium
CN108399128A (en) A kind of generation method of user data, device, server and storage medium
CN112084114B (en) Method and apparatus for testing interfaces
CN112437002B (en) Food ordering method, system, equipment and storage medium based on RCS message
CN111581098B (en) Method, device, server and storage medium for transferring and storing interface data
CN112083982B (en) Information processing method and device
CN112860538A (en) Method and device for performing interface regression test based on online log
CN111061502B (en) Installation package acquisition method, device, equipment and storage medium
CN109189332A (en) A kind of disk hanging method, device, server and storage medium
CN111338642B (en) Method, device, terminal and storage medium for determining application download path
CN110753136B (en) Domain name resolution method, device, equipment and storage medium
CN112685072B (en) Method, device, equipment and storage medium for generating communication address knowledge base
CN111262727B (en) Service capacity expansion method, device, equipment 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