CN111061502B - Installation package acquisition method, device, equipment and storage medium - Google Patents

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

Info

Publication number
CN111061502B
CN111061502B CN201911319407.XA CN201911319407A CN111061502B CN 111061502 B CN111061502 B CN 111061502B CN 201911319407 A CN201911319407 A CN 201911319407A CN 111061502 B CN111061502 B CN 111061502B
Authority
CN
China
Prior art keywords
target
terminal equipment
identification code
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.)
Active
Application number
CN201911319407.XA
Other languages
Chinese (zh)
Other versions
CN111061502A (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 a method, a device, equipment and a storage medium for acquiring an installation package, 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 relation between the pre-established equipment number and the account number of the developer, adding the target identification code into the binding relation 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 relation 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, the user does not need to record the equipment and the corresponding developer account by himself or manually download, the automatic acquisition of the installation package is realized, the acquisition efficiency of the installation package is improved, the accuracy is high, and the error is not easy to occur.

Description

Installation package acquisition method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of Internet, in particular to a method, a device, equipment and a storage medium for acquiring an installation package.
Background
Along with abuse of the IOS enterprise development account certificates in the domestic market, apple authorities seal the enterprise development account certificates in a large amount, so that the enterprise development account certificates are not easy to obtain, and the price is high. Therefore, many businesses address this problem by applying for personal developer accounts.
However, a single personal developer account can only support binding 100 devices, which can only download the installation packages produced by their accounts, whereas large companies typically require multiple developer accounts and multiple apple devices to support the development and testing of functionality. Therefore, the user needs to record a plurality of devices on the hand and what the account certificate of the developer corresponding to each device is, and then manually download the corresponding installation package to perform test development.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for acquiring an installation package, which are used for solving the problems that the process of acquiring the installation package is complex and error is easy to occur in the prior art.
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 relation between the pre-established equipment number and the account number of the developer, adding the target identification code into the binding relation 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 into 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 account number of the developer;
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;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement an installation package retrieval method according to any of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements an installation package obtaining method according to any of the embodiments of the present invention.
The embodiment of the invention establishes a binding relation between the equipment number and the developer account in advance, when any terminal equipment wants to acquire the installation package, the target identification code of the current browser in the terminal equipment and the target equipment number of the terminal equipment are acquired, whether the target equipment number exists in the binding relation is judged, if so, the corresponding developer account can be determined through the binding relation, and meanwhile, the target identification code is also added into the binding relation corresponding to the target equipment number, so that when the terminal equipment requests to acquire the installation package again, if the terminal equipment uses the same current browser, the corresponding developer account can be determined in the binding relation directly through the target identification code of the browser, and the target installation package corresponding to the account is issued to the terminal equipment. In the process, the user does not need to record equipment and corresponding developer account numbers by himself or manually download the installation package, automatic acquisition of the installation package is realized, convenience and quickness are realized, the acquisition efficiency of the installation package is improved, the accuracy is high, and errors are not easy to occur.
Drawings
FIG. 1 is a flow chart of a method of acquiring an installation package in accordance with a first embodiment of the present invention;
FIG. 2 is a flow chart of a method of acquiring an installation package in a second embodiment of the invention;
fig. 3 is a schematic structural view of an installation package acquisition 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 invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Fig. 1 is a flowchart of an installation package obtaining method in a first embodiment of the present invention, where the embodiment 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 acquisition 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 which needs to download and install the installation package to be tested and developed, and can be a mobile terminal device for example. Because the installation package is stored in the server, the device bound with the account numbers of the developers can only download the installation package corresponding to the account numbers, and meanwhile, the account numbers of the developers are multiple, the server needs to identify the account numbers of the current terminal device to be bound under, and then acquire the installation package corresponding to the account numbers for the current terminal device to download and install.
In the embodiment of the invention, the binding relation between the equipment number of the terminal and the account number of the developer can be established in advance, and then the account number of the developer corresponding to the current terminal equipment is determined through inquiry according to the binding relation by acquiring the target identification code of the current browser in the terminal equipment and the target equipment number of the terminal equipment. Wherein the identification code and the device number are respectively unique identifications of the browser and the terminal device.
S102, if the target equipment number exists in the pre-established binding relation between the equipment number and the account number of the developer, adding the target identification code into the binding relation corresponding to the target equipment number.
Further, if the target device number of the current terminal device exists in the binding relationship, the judgment shows that the account number of the developer bound with the target device number can be inquired from the binding relationship.
In addition, it should be noted that, because the device number of the terminal device is cumbersome to obtain, and sometimes is limited and cannot be obtained, and the identifier of the browser is relatively easy to obtain, in the embodiment of the present invention, the target identifier 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 account number of the developer bound with the terminal equipment can be directly obtained in the binding relation through the identification code of the browser of the terminal equipment, so that the process is simpler to realize and is easy to realize, and meanwhile, the error is not easy to occur. Of course, if the terminal device replaces the browser, the target device number of the terminal device can be used as a basis to query the account number of the developer bound with the target device number of the terminal device in the binding relationship, and the target identification code of the new browser is added into the binding relationship at the moment 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 relation corresponding to the target equipment number, the target identification code can be used for acquiring the developer account number bound with the target identification code in the binding relation, and then a target installation package corresponding to the developer account number is acquired from a database for downloading and installing of the terminal equipment.
The embodiment of the invention establishes a binding relation between the equipment number and the developer account in advance, when any terminal equipment wants to acquire the installation package, the target identification code of the current browser in the terminal equipment and the target equipment number of the terminal equipment are acquired, whether the target equipment number exists in the binding relation is judged, if so, the corresponding developer account can be determined through the binding relation, and meanwhile, the target identification code is also added into the binding relation corresponding to the target equipment number, so that when the terminal equipment requests to acquire the installation package again, if the same browser is used by the terminal equipment, the corresponding developer account can be determined in the binding relation directly through the target identification code of the browser, and the target installation package corresponding to the account is issued to the terminal equipment. In the process, the user does not need to record equipment and corresponding developer account numbers by himself or manually download the installation package, automatic acquisition of the installation package is realized, convenience and quickness are realized, the acquisition efficiency of the installation package is improved, the accuracy is high, and errors are not easy to occur.
Example two
Fig. 2 is a flowchart of an installation package acquisition method in a second embodiment of the present invention, which is further optimized based on the first embodiment. As shown in fig. 2, the method includes:
s201, receiving the target identification code of the current browser in the terminal equipment, which is obtained by the terminal equipment through scanning the second two-dimensional code.
The second two-dimensional code can be generated in advance, so that a user can conveniently send out a request. In addition, other modes may be adopted, for example, the user can input a preset website by himself, and the user can send out a request on the opened webpage according to a preset operation. The embodiment of the invention does not limit the specific way of making the request.
After the user scans the second two-dimensional code by using the terminal equipment, a request message for downloading the installation package is sent to the server, after the server receives the request message, the terminal equipment opens a preset appointed webpage through the current browser in a mode of redirecting and opening the browser, after the terminal equipment opens the appointed webpage, the front-end service of the current browser can acquire the target identification code of the current browser, and then the terminal equipment can upload the target identification code to the server.
S202, judging whether the target identification code exists in a binding relation between a pre-established device number and a developer account number, if so, executing S203, otherwise, executing S204.
If the target identification code exists in the binding relationship, the terminal equipment downloads the installation package by using the current browser, the server records the identification code, and the target installation package corresponding to the developer account bound with the target identification code can be directly obtained through S203. And 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, pushing the equipment authentication certificate to the terminal equipment in response to the first request message sent by the terminal equipment after the first two-dimensional code is scanned.
When the target identification code is not recorded, the user is required to scan another first two-dimensional code to acquire the equipment number. The first two-dimensional code is pre-generated, so that a user can conveniently send out a request. After the user scans the first two-dimensional code by using the terminal equipment, a request message of the installation equipment authentication certificate is sent to the server, the server pushes the certificate to the terminal equipment, and after the terminal equipment acquires and installs the certificate, the corresponding installation information is fed back to the server.
S205, acquiring installation information based on the equipment authentication certificate and 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 through 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 designated webpage through the current browser.
S207, receiving the target equipment number sent by the terminal equipment, and after the terminal equipment opens the appointed webpage, utilizing the target identification code acquired by the front-end service of the current browser.
After the server acquires the target equipment number of the terminal equipment, the target equipment number is fed back to the terminal equipment on the one hand by redirecting the mode of opening the browser, and on the other hand, the terminal equipment is enabled to open a designated 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 into the corresponding binding relationship.
It should be noted that, although the target identification code of the current browser in the terminal device has been acquired in S201, when it is determined that the target identification code does not exist in the binding relationship between the device number and the account number of the developer, it is also necessary to acquire the target identification code of the current browser in the terminal device again in such 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 is currently sending the request, thereby avoiding errors.
S208, judging whether the target equipment number exists in the binding relation between the pre-established equipment number and the account number of the developer, if so, executing S203 after executing S209, otherwise, ending the flow.
If the target device number exists in the binding relationship, the current device is the 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 a binding relation corresponding to the target equipment number.
The embodiment of the invention establishes a binding relation between the equipment number and the account number of the developer in advance, when any terminal equipment wants to acquire the installation package, a user only needs to use the terminal equipment to scan the two-dimensional code, 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 and judge whether the target equipment number exists in the binding relation, if so, the corresponding account number of the developer can be determined through the binding relation, and meanwhile, the target identification code is also added into the binding relation corresponding to the target equipment number, so that when the terminal equipment requests to acquire the installation package again, if the terminal equipment uses the same current browser, the corresponding account number of the developer can be determined in the binding relation directly through the target identification code of the browser, and the target installation package corresponding to the account number is issued to the terminal equipment. In the process, the user does not need to record equipment and corresponding developer account numbers by himself or manually download the installation package, automatic acquisition of the installation package is realized, convenience and quickness are realized, the acquisition efficiency of the installation package is improved, the accuracy is high, and errors are not easy to occur.
Example III
Fig. 3 is a schematic structural diagram of an installation package obtaining device in a third embodiment of the present invention, where the present embodiment 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 identification code adding module 320, configured to add the target identification code 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 device number and a developer account number that is established in advance;
and the first installation package issuing module 330 is configured to obtain a target installation package corresponding to the developer account bound with the target identification code, and issue the target installation package to the terminal device.
The embodiment of the invention establishes a binding relation between the equipment number and the developer account in advance, when any terminal equipment wants to acquire the installation package, the target identification code of the current browser in the terminal equipment and the target equipment number of the terminal equipment are acquired, whether the target equipment number exists in the binding relation is judged, if so, the corresponding developer account can be determined through the binding relation, and meanwhile, the target identification code is also added into the binding relation corresponding to the target equipment number, so that when the terminal equipment requests to acquire the installation package again, if the terminal equipment uses the same current browser, the corresponding developer account can be determined in the binding relation directly through the target identification code of the browser, and the target installation package corresponding to the account is issued to the terminal equipment. In the process, the user does not need to record equipment and corresponding developer account numbers by himself or manually download the installation package, automatic acquisition of the installation package is realized, convenience and quickness are realized, the acquisition efficiency of the installation package is improved, the accuracy is high, and errors are not easy to occur.
Optionally, the apparatus further includes:
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 a 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 relation;
the first receiving module 310 is specifically configured to receive, if the target identifier received by the second receiving module does not exist in the binding relationship, a target identifier of a current browser in the terminal device and a target device number of the terminal device.
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 acquired by the terminal equipment through scanning a first two-dimensional code;
the second receiving module is specifically configured to: and receiving the target identification code of the current browser in the terminal equipment, which is obtained by the terminal equipment through scanning the second two-dimensional code.
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 device number analysis unit is used for acquiring the installation information based on the device authentication certificate and fed back by the terminal device, and analyzing the installation information to obtain the target device number;
the first redirection unit is used for reversely pushing the target equipment number to the terminal equipment in a browser opening redirection mode, and enabling the terminal equipment to open a preset appointed webpage through a current browser;
and the device number and identification code receiving unit is used for receiving the target device number sent by the terminal device and the target identification code acquired by the front-end service of the current browser after the terminal device opens the appointed 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 designated webpage through the current browser in a browser redirection mode;
and the identification code receiving unit is used for receiving the target identification code acquired by the front-end service of the current browser after the terminal equipment opens the appointed 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 IV
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 merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 4, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include 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 can 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 or write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules 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 in, for example, 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 or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 over the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running a program stored in the system memory 28, for example, implementing the installation package acquisition 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 relation between the pre-established equipment number and the account number of the developer, adding the target identification code into the binding relation 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 having stored thereon a computer program which, when executed by a processor, implements the installation package obtaining method as 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 relation between the pre-established equipment number and the account number of the developer, adding the target identification code into the binding relation 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.
The computer storage media of embodiments of the invention may take the form of 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. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 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.
The computer readable signal medium may include 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 any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 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 ++ 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. 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, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (8)

1. A method of acquiring an installation package, comprising:
receiving a target identification code of a current browser in terminal equipment;
if the target identification code exists in the binding relation between the pre-established equipment number and the developer account, 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 does not exist in the binding relationship, receiving the target identification code of the current browser in the terminal equipment and the target equipment number of the terminal equipment;
if the target equipment number exists in the binding relationship, adding the target identification code into the binding relationship corresponding to the target equipment number;
and acquiring the 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 of claim 1, wherein the step of determining the position of the substrate comprises,
the receiving the target identification code of the current browser in the terminal equipment and the target equipment number of the terminal equipment comprises the following steps:
receiving the target identification code of the current browser in the terminal equipment and the target equipment number of the terminal equipment, which are acquired by the terminal equipment through scanning a first two-dimensional code;
the target identification code of the current browser in the receiving terminal equipment comprises the following steps:
and receiving the target identification code of the current browser in the terminal equipment, which is obtained by the terminal equipment through scanning the second two-dimensional code.
3. The method according to claim 2, wherein said receiving the target identification code of the current browser in the terminal device and the target device number of the terminal device obtained by the terminal device by scanning a first two-dimensional code, comprises:
pushing a device authentication certificate to the terminal device in response to a first request message sent by the terminal device after scanning a first two-dimensional code;
acquiring installation information based on the equipment authentication certificate and fed back by the terminal equipment, and analyzing the installation information to obtain the target equipment number;
the target equipment number is reversely pushed to the terminal equipment in a mode of opening the browser in a redirection mode, and the terminal equipment opens a preset appointed webpage through the current browser;
and receiving the target equipment number sent by the terminal equipment, and after the terminal equipment opens the appointed webpage, utilizing the target identification code acquired by the front-end service of the current browser.
4. The method according to claim 2, wherein the receiving the target identification code of the current browser in the terminal device obtained by the terminal device by scanning a second two-dimensional code includes:
responding to a second request message sent by the terminal equipment after scanning a second two-dimensional code, and opening a preset appointed webpage by the terminal equipment through a current browser in a mode of opening the browser through redirection;
and after receiving the appointed webpage opened by the terminal equipment, utilizing the front-end service of the current browser to acquire the target identification code.
5. 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 account number of the developer;
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;
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 a 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 relation;
the first receiving module is specifically configured to receive, if the target identifier received by the second receiving module does not exist in the binding relationship, a target identifier of a current browser in the terminal device and a target device number of the terminal device.
6. The apparatus of claim 5, wherein the device comprises a plurality of sensors,
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 acquired by the terminal equipment through scanning a first two-dimensional code;
the second receiving module is specifically configured to: and receiving the target identification code of the current browser in the terminal equipment, which is obtained by the terminal equipment through scanning the second two-dimensional code.
7. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the installation package retrieval method of any of claims 1-4.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements the installation package acquisition method as claimed in any one of claims 1 to 4.
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 CN111061502A (en) 2020-04-24
CN111061502B true 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)

Family Cites Families (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
US9887965B2 (en) * 2012-07-20 2018-02-06 Google Llc 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
CN104573547B (en) * 2014-10-21 2018-06-19 江苏通付盾信息安全技术有限公司 Information interaction safety precaution system and operation implementation method thereof
EP4307198A3 (en) * 2017-11-29 2024-01-31 Huawei Technologies Co., Ltd. Card binding method and terminal
US10671379B2 (en) * 2018-03-27 2020-06-02 International Business Machines Corporation Software globalization management
CN109284107B (en) * 2018-08-03 2022-04-05 北京城市网邻信息技术有限公司 Application program configuration method and device, computer equipment and readable storage medium
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

Also Published As

Publication number Publication date
CN111061502A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
CN111813804B (en) Data query method and device, electronic equipment and storage medium
CN112035354B (en) Positioning method, device and equipment of risk codes and storage medium
CN112769802B (en) Access verification method and device based on server, electronic equipment and storage medium
CN110110236B (en) Information pushing method, device, equipment and storage medium
CN112463729B (en) Data file warehousing method and device, electronic equipment and medium
WO2022127196A1 (en) Application identification method and apparatus, and device and storage medium
CN109241722A (en) For obtaining method, electronic equipment and the computer-readable medium of information
CN110570293A (en) method, device, server and storage medium for reimbursing collected invoices
CN112163879B (en) User rights pushing method, device, server and storage medium
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN110677307B (en) Service monitoring method, device, equipment and storage medium
CN110134869B (en) Information pushing method, device, equipment and storage medium
CN109753437B (en) Test program generation method and device, storage medium and electronic equipment
CN111581098B (en) Method, device, server and storage medium for transferring and storing interface data
CN114020689A (en) Data processing method, data processing device, electronic device, 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
US10162488B1 (en) Browser-based media scan
CN111061502B (en) Installation package acquisition method, device, equipment and storage medium
CN112083982B (en) Information processing method and device
CN109145591B (en) Plug-in loading method of application program
CN116662193A (en) Page testing method and device
CN109144864B (en) Method and device for testing window
CN111784481B (en) Code scanning ordering method, service code creating method, device and electronic equipment
CN115981525A (en) Test data construction method, device, equipment and medium

Legal Events

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