CN114281459B - Resource acquisition method and related product - Google Patents

Resource acquisition method and related product Download PDF

Info

Publication number
CN114281459B
CN114281459B CN202111584199.3A CN202111584199A CN114281459B CN 114281459 B CN114281459 B CN 114281459B CN 202111584199 A CN202111584199 A CN 202111584199A CN 114281459 B CN114281459 B CN 114281459B
Authority
CN
China
Prior art keywords
target
resource information
determining
resource
service scene
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
CN202111584199.3A
Other languages
Chinese (zh)
Other versions
CN114281459A (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.)
Nanjing Opper Software Technology Co ltd
Original Assignee
Nanjing Opper Software 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 Nanjing Opper Software Technology Co ltd filed Critical Nanjing Opper Software Technology Co ltd
Priority to CN202111584199.3A priority Critical patent/CN114281459B/en
Publication of CN114281459A publication Critical patent/CN114281459A/en
Application granted granted Critical
Publication of CN114281459B publication Critical patent/CN114281459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a resource acquisition method and related products, wherein the method comprises the following steps: the method comprises the steps that a service scene of a user can be determined in response to a code scanning operation of the user on a two-dimensional code; determining target resource information corresponding to the service scene; and generating a resource downloading link according to the target resource information, and displaying the resource downloading link on a target UI (user interface). The embodiment of the application is beneficial to realizing accurate delivery for different users, is simple to operate, and is beneficial to saving development cost.

Description

Resource acquisition method and related product
Technical Field
The application relates to the technical field of resource distribution, in particular to a resource acquisition method and related products.
Background
With the rapid development of communication technology, the application of the internet is more and more extensive, and in order to meet various personalized requirements of users, the experience of the users in using application programs is improved, and the corresponding application functions are more and more.
Currently, application client developers often need to issue and update on an application development platform, generally need to build a source package of an application on the platform by the client developers, and after the build is completed, other developers need to continuously download the source package of the application from a page of the platform; when releasing the version of the application program, the source package needs to be uploaded to the version release platform. The user also needs to register with the application download platform and enter an application installation page through which the application is downloaded or updated. From the above, it is known that the operations are complicated when downloading or publishing the application program, whether it is a user or a developer, and a large amount of development cost is required in the whole version publishing process.
Disclosure of Invention
The embodiment of the application provides a resource acquisition method and related products.
In a first aspect, an embodiment of the present application provides a method for acquiring resources, where the method includes:
responding to code scanning operation of a user on a two-dimensional code, and determining a service scene of the user;
determining target resource information corresponding to the service scene;
and generating a resource downloading link according to the target resource information, and displaying the resource downloading link on a target UI (user interface).
In a second aspect, an embodiment of the present application provides a resource obtaining apparatus, where the apparatus includes:
a determining unit and a display unit, wherein,
the determining unit is used for responding to the code scanning operation of the user for the two-dimensional code and determining the service scene of the user;
the determining unit is further used for determining target resource information corresponding to the service scene;
and the display unit is used for generating a resource downloading link according to the target resource information and displaying the resource downloading link on a target UI (user interface).
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, the programs including instructions for performing steps in any of the methods of the first aspect of the embodiments of the present application.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program causes a computer to perform some or all of the steps as described in any of the methods of the first aspect of the embodiments of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in any of the methods of the first aspect of embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, the electronic device may determine a service scenario of a user in response to a code scanning operation of the user for a two-dimensional code; determining target resource information corresponding to the service scene; and generating a resource downloading link according to the target resource information, and displaying the resource downloading link on a target UI (user interface). Therefore, users (such as developers, application downloading users and the like) can determine the corresponding service scene through the two-dimension code in the system, acquire the target resource information intended by the users, and can realize the installation of application programs, or the release of the application programs, or the development of the application programs and other service demands through resource downloading links so as to realize the accurate release of different users, and the system is simple to operate and beneficial to saving the development cost.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1A is a schematic structural diagram of a resource obtaining device according to an embodiment of the present application;
fig. 1B is a schematic device installation diagram of a resource obtaining apparatus according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a resource obtaining method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a presentation of a UI interface provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a presentation of a UI interface provided by an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 6A is a functional unit composition block diagram of a resource obtaining device provided in an embodiment of the present application;
fig. 6B is a functional unit composition block diagram of a resource obtaining apparatus provided in an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will clearly and completely describe the technical solution in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The electronic device may be a portable electronic device that also includes other functionality such as personal digital assistant and/or music player functionality, such as a cell phone, tablet computer, wearable electronic device with wireless communication functionality (e.g., smart watch, smart glasses), in-vehicle device, etc. Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices that are equipped with IOS systems, android systems, microsoft systems, or other operating systems. The portable electronic device may also be other portable electronic devices such as a Laptop computer (Laptop) or the like. It should also be appreciated that in other embodiments, the electronic device described above may not be a portable electronic device, but rather a desktop computer.
In the first section, an exemplary service scenario disclosed in the embodiments of the present application is described below.
Fig. 1A shows a schematic architecture diagram of a resource acquisition system applicable to the present application, where the architecture diagram of the system may include: an application management layer, a platform distribution service layer, a UI customization layer, and the like, which are not limited herein.
The application management layer can access a plurality of service scenes, each service scene can correspond to a service channel, and the service channel can comprise at least one of the following: a system resource update service (System Resource Auto Update Service, SAU) platform, a third party app store platform, a local app store platform, and the like, without limitation; the SAU platform can be used for background developers to update corresponding resources of the application program, release the version, upgrade the version, examine and approve the version and the like; third party application store platforms and local application store platforms may be used for users to enable downloads, installations, updates, etc. of applications.
The platform distribution management layer can be used for registration, release approval and the like of the application program; the platform distribution service layer can be used for acquiring application information and the like corresponding to the application program; the UI customization layer can be used for different situations, different application programs (APP), presentation of UI pages of different devices, analysis of distribution rules of resource information and the like.
As shown in fig. 1B, a tree diagram of a resource acquisition system is shown, where the tree diagram can indicate that the resource acquisition platform can support different users to implement different functions, for example, can support a background developer to complete gray level publishing setting of an application program, can support setting of an application blacklist corresponding to a third party application program (a third party application program a or a third party application program B), can support a third party application program (a third party application program a or a third party application program B) to complete downloading of target resource information, can support authority configuration of a client (a third party application program), and can support publishing (publishing time, publishing region, etc.) configuration of different regions.
It can be seen that, in the application, a service scene of a user is determined in response to a code scanning operation of the user on a two-dimensional code; determining target resource information corresponding to the service scene; and generating a resource downloading link according to the target resource information, and displaying the resource downloading link on a target UI (user interface). Therefore, users (such as developers, application downloading users and the like) can determine the corresponding service scene through the two-dimension code in the system, acquire the target resource information intended by the users, and can realize the installation of application programs, or the release of the application programs, or the development of the application programs and other service demands through resource downloading links so as to realize the accurate release of different users, and the system is simple to operate and beneficial to saving the development cost.
In the second section, the protection scope disclosed in the embodiments of the present application is described below.
Referring to fig. 2, fig. 2 is a flowchart of a resource obtaining method provided in an embodiment of the present application, which is applied to an electronic device, and as shown in the drawing, the resource obtaining method includes the following operations.
S201, responding to a code scanning operation of a user for a two-dimensional code, and determining a service scene of the user.
Wherein the user comprises at least one of the following user groups: developer user group, front-end user level user group, etc., wherein the front-end user level user group comprises: application download users, application update users, etc., without limitation; the developer user community may include: application version approvers, application version publishers, application resource updaters, etc., are not limited herein.
Wherein, each type of user may correspond to a business scenario, and the business scenario may include at least one of the following: developer business scenarios, user business scenarios, etc., are not limited herein; specifically, different service scenarios may also be defined according to service requirements, for example, for a developer service scenario, the service scenario may include at least one of the following: application version release, application version update, application resource update, etc.; the business scenario for the user may include at least one of: application updates, application downloads, etc., are not limited herein.
In the architecture diagram of the resource acquisition system shown in fig. 1A, a user corresponding to each service scenario may access a service channel of the service management layer.
The two-dimensional codes can be generated by the electronic equipment, business scenes corresponding to different two-dimensional codes are different, the electronic equipment can only display one two-dimensional code at a user level, and different users or developers can sweep the codes to acquire the desired resource information.
It should be noted that, the user may enter the resource acquisition system described in the present application through other manners, such as a link or a web page, which will not be described herein.
S202, determining target resource information corresponding to the service scene.
The service channels corresponding to different service scenes are determined according to the service scenes, for example, for developers, the service channels are SUA channels, and further, the resource information required by the corresponding service scenes can be obtained according to the service channels.
For example, the resource information may include at least one of: program codes, version numbers, gray release information, automatic update information and the like corresponding to application programs with different version numbers. The gray level release information refers to resource information which needs to be released in a transitional release mode, and generally, release of versions of application programs can be performed aiming at specific users; the automatically updating information may include: the automatic update time, the automatic update version number, etc., are not limited herein.
And S203, generating a resource downloading link according to the target resource information, and displaying the resource downloading link on a target UI (user interface).
The UI customization layer as described in fig. 1A may be used to customize and display UI interfaces for different users, APPs in different regions, different application programs, and different resource acquisition situations, so as to prompt the user about information, for example, failure of resource acquisition, success of resource acquisition, no support of downloading the APPs in the region, and so on, which is beneficial to improving user experience.
It can be seen that, according to the resource acquisition method described in the embodiment of the present application, an electronic device may determine a service scenario of a user in response to a code scanning operation of the user on a two-dimensional code; determining target resource information corresponding to the service scene; and generating a resource downloading link according to the target resource information, and displaying the resource downloading link on a target UI (user interface). Therefore, users (such as developers, application downloading users and the like) can determine the corresponding service scene through the two-dimension code in the system, acquire the target resource information intended by the users, and can realize the installation of application programs, or the release of the application programs, or the development of the application programs and other service demands through resource downloading links so as to realize the accurate release of different users, and the system is simple to operate and beneficial to saving the development cost.
It should be noted that, the present application is described with respect to an electronic device access resource obtaining system, and with respect to access situations of multiple electronic devices, the resource obtaining method described in the embodiment of the present application is the same, and will not be described again. In addition, the plural numbers in the present application refer to two or more, and are not limited herein.
In one possible example, before the determining the service scenario of the user, the method may further include the steps of: acquiring an equipment identifier of the electronic equipment corresponding to the user; judging whether the electronic equipment supports the service scene or not according to the equipment identifier; if the electronic equipment does not support the service scene, a first prompt is generated according to the service scene, and a first UI interface is generated, wherein the first UI interface is used for displaying the first prompt, and the first prompt is used for prompting the user that the access of the electronic equipment is not supported.
Wherein the device identification may include at least one of: IP address, MAC address, integrated circuit card identification code (Integrate circuit card identity, ICCID) ICCID number, international mobile equipment identification code (International Mobile Equipment Identity, IMEI), etc., without limitation. The first prompt and/or the first UI may be set by the user or default by the system, which is not limited herein.
In specific implementation, the electronic device can set corresponding service scenes in advance for different user groups, and can bind the device identifier of the user using the electronic device with the service scenes in advance; furthermore, the electronic device may determine, according to the device identifier, whether the electronic device corresponding to the user supports a service scenario corresponding to the current code scanning operation, and if not, may generate a first prompt according to the service scenario, generate a first UI interface through a UI customization layer as shown in fig. 1A, and display the first prompt through the first UI interface, where the first prompt may be used to prompt the user that access to the electronic device is not supported, or not support access to the service scenario, and so on.
For example, as shown in fig. 3, a schematic diagram of a UI interface is shown, in which if an electronic device used by a user does not support access to the service scenario, for example, the user is an application version publisher, and the service scenario that the user wants to access is an application version development service scenario, a first prompt may be displayed in the first UI interface: you do not have access to the version release interface for application a.
In this example, when the resource information is acquired or downloaded through the two-dimensional code scanning, the access authority of the service scene can be identified once, and if the access authority of the service scene is not available, the user can be prompted through a customized UI interface, which is beneficial to improving the user experience and the system security.
In one possible example, after the determining whether the electronic device supports the service scenario, the method may further include the steps of: if the electronic equipment supports the service scene, determining the service scene of the user, and determining an application blacklist corresponding to the service scene according to a mapping relation between a preset service scene and the application blacklist; determining an application program corresponding to the code scanning operation; if the application program exists in the application blacklist, generating a second prompt according to the service scene, and generating a second UI interface, wherein the second UI interface is used for displaying the second prompt, and the second prompt is used for prompting the user that the resource information cannot be acquired in the application program; and if the application program does not exist in the application blacklist, executing the step of determining the target resource information corresponding to the service scene.
The electronic device may preset a mapping relationship between a service scenario and an application blacklist, where the application blacklist may be used to store an application program that cannot download resource information corresponding to the service scenario, and an application program in the blacklist may refer to a third party application program.
In a specific implementation, because some third party application programs are limited internally, downloading and installing other application programs cannot be realized, and therefore, an application blacklist can be set for the application programs. After the user performs the code scanning operation through the application program, and the electronic device is capable of accessing the service scene, which is generally the case for the user who wants to implement the update or download of the application program, the third party application program platform or the local application program platform as shown in fig. 1A can be accessed. Further, whether the application program is in the application blacklist can be judged, if so, the application program is indicated to be a third party application program, the user can be prompted through a second prompt, and prompt information such as resource information and the like can not be obtained in the third party application program; if the application program does not exist in the blacklist, the application program indicating the code scanning is a local application program or an application program capable of acquiring or downloading resource information.
For example, as shown in fig. 4, which is a schematic diagram showing a UI interface, if a user accesses the platform or the system through a third party application and cannot complete acquisition or downloading of resource information in the third party application, a second prompt in a second UI interface may be set as follows: you do not download the resource information corresponding to application a, you can choose to copy the following links, open the browser for downloading, etc.
In this example, the third party application program or the local application program corresponds to the resource acquisition policy, which is beneficial to improving the practicability of the resource acquisition system and improving the user experience.
In one possible example, the determining the target resource information corresponding to the service scenario includes the following steps: determining a resource information set corresponding to a service scene according to a mapping relation between the preset service scene and the resource information set, wherein the resource information set comprises a plurality of resource information, and each resource information corresponds to one information fingerprint; determining the region where the electronic equipment is located; determining a target information fingerprint set corresponding to the region; matching each target information fingerprint in the target information fingerprint set with each information fingerprint to obtain at least one resource information corresponding to the information fingerprint matched with the target information fingerprint; and packaging the at least one piece of resource information to generate the target resource information.
The mapping relationship between the service scene and the resource information set may be preset in the electronic device, so that the resource information set corresponding to the application program may be located according to the service scene, where the resource information set may include a plurality of resource information, and different resource information corresponds to different functions in the application program, for example, for the resource information a, the function in the application program is a sending function, and for the resource information B, the function in the application program is a downloading function.
The gray level distribution rule may be set according to regions, for example, the downloaded resource information is different for different regions, and the application functions after the application update according to the resource information are different. Target information fingerprints of resource information corresponding to different areas can be packaged in advance, and a target information fingerprint set is obtained.
The information fingerprint may refer to a hash value corresponding to a data packet of each resource information, where the resource information and the resource information may be associated according to the hash value, for example, if the resource information C is associated with the resource information D, then the hash value C corresponding to each of the resource information C and the hash value D is associated before the hash value D, and after the hash value C is determined, no information fingerprint matching may be performed, so that the resource information corresponding to the hash value D may be directly determined as the target resource information.
If the resource information C is associated with the resource information D, when the mapping relationship or association between the hash value C and the hash value D is established, an information index of the information fingerprint of the plurality of resource information may be established in advance, where the information index may be used to determine how the association before the resource information is made, for example, who decompresses or runs before who. Whether the association exists between the resource information C and the resource information D or not can be determined according to the information index, for example, a hash mapping table corresponding to the resource information corresponding to the region can be preset, each hash value in the hash mapping table can correspond to one numerical value, the numerical value corresponds to another numerical value, and the association exists between the hash values corresponding to the two numerical values respectively; further, the hash value C is subjected to a preset operation (which may be set by a user or default by a system) to obtain a value C, another value corresponding to the value C is determined to be a value D in the hash value mapping table, and if it is determined that a value corresponding to the hash value D exists in the plurality of information fingerprints as the value D, it is indicated that the resource information C is associated with the resource information D. Further, the relevance between the resource information and the specific relevance relationship can be determined according to the information indexes among the information fingerprints.
In the present application, gradation distribution may be performed not only according to the region but also according to a time zone, a user type, or the like, and is not limited thereto.
In this example, customized resource acquisition can be performed for people in different regions, and some regions may not have all functions due to the limitation of the functions of the application program, so that users in the regions may access the customized resource acquisition, or the background developer performs gray level release on users in different regions, and the functions of the downloaded application programs in different regions are different, so that the corresponding target resource information of the downloaded application programs can be acquired according to the regions, so as to realize the gray level release function.
In one possible example, before the target UI interface displays the resource download link, the method may further include the steps of: determining a target application program type corresponding to the code scanning operation; and determining a target UI interface corresponding to the target application type according to a mapping relation between the preset application type and the UI interface.
The mapping relationship between the application program type and the UI interface may be preset in the electronic device, and the UI page supported by the electronic device may have different styles due to APP attribute of different device types, so that different UI interfaces may be set for different device types, and corresponding UI display styles may be different.
In this example, different UI interface styles may be set for different APP types to adapt to different APP attribute requirements, which is beneficial to improving the practicality of the resource acquisition system.
In one possible example, if the target resource information is a picture or a video, the picture or the video is displayed in the target UI interface.
In this example, different display modes can be corresponding to different types of resource information, and when the target resource information is of a picture or video type, the target resource information can be directly displayed in the UI interface without downloading through a resource downloading link, which is beneficial to improving user experience.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application, as shown in the drawing, the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs are configured by the processor to execute instructions for:
responding to code scanning operation of a user on a two-dimensional code, and determining a service scene of the user;
Determining target resource information corresponding to the service scene;
and generating a resource downloading link according to the target resource information, and displaying the resource downloading link on a target UI (user interface).
It can be seen that, the electronic device described in the embodiments of the present application may determine a service scenario of a user in response to a code scanning operation of the user on a two-dimensional code; determining target resource information corresponding to the service scene; and generating a resource downloading link according to the target resource information, and displaying the resource downloading link on a target UI (user interface). Therefore, users (such as developers, application downloading users and the like) can determine the corresponding service scene through the two-dimension code in the system, acquire the target resource information intended by the users, and can realize the installation of application programs, or the release of the application programs, or the development of the application programs and other service demands through resource downloading links so as to realize the accurate release of different users, and the system is simple to operate and beneficial to saving the development cost.
In one possible example, before said determining the traffic scenario of the user, the above program further comprises instructions for:
acquiring an equipment identifier of the electronic equipment corresponding to the user;
Judging whether the electronic equipment supports the service scene or not according to the equipment identifier;
if the electronic equipment does not support the service scene, generating a first prompt according to the service scene, and generating a first UI interface, wherein the first UI interface is used for displaying the first prompt.
In one possible example, after said determining whether the electronic device supports the business scenario, the above program further comprises instructions for:
if the electronic equipment supports the service scene, determining the service scene of the user, and determining an application blacklist corresponding to the service scene according to a mapping relation between a preset service scene and the application blacklist;
determining an application program corresponding to the code scanning operation;
if the application program exists in the application blacklist, generating a second prompt according to the service scene, and generating a second UI interface, wherein the second UI interface is used for displaying the second prompt;
and if the application program does not exist in the application blacklist, executing the step of determining the target resource information corresponding to the service scene.
In one possible example, in the determining the target resource information corresponding to the service scenario, the program includes instructions for:
Determining a resource information set corresponding to a service scene according to a mapping relation between the preset service scene and the resource information set, wherein the resource information set comprises a plurality of resource information, and each resource information corresponds to one information fingerprint;
determining the region where the electronic equipment is located;
determining a target information fingerprint set corresponding to the region;
matching each target information fingerprint in the target information fingerprint set with each information fingerprint to obtain at least one resource information corresponding to the information fingerprint matched with the target information fingerprint;
and packaging the at least one piece of resource information to generate the target resource information.
In one possible example, before the target UI interface displays the resource download link, the program further includes instructions for:
determining a target application program type corresponding to the code scanning operation;
and determining a target UI interface corresponding to the target application type according to a mapping relation between the preset application type and the UI interface.
In one possible example, the above-described program further includes instructions for performing the steps of:
and if the target resource information is a picture or a video, displaying the picture or the video in the target UI.
The foregoing description of the embodiments of the present application has been presented primarily in terms of a method-side implementation. It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied as hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application may divide the functional units of the electronic device according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated in one processing unit. The integrated units may be implemented in hardware or in software functional units. It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice.
In the case of dividing each functional module by corresponding each function, fig. 6A shows a schematic diagram of a resource obtaining apparatus, as shown in fig. 6A, which is applied to an electronic device, the resource obtaining apparatus 600 may include: a determination unit 601 and a display unit 602, wherein,
the determination unit 601 may be used to support the terminal device to perform the above-described steps S201-S202, and/or other processes for the techniques described herein.
The display unit 602 may be used to support the terminal device to perform step S203 described above, and/or other processes for the techniques described herein.
It can be seen that, the resource acquisition device provided by the embodiment of the application can respond to the code scanning operation of the user on the two-dimensional code to determine the service scene of the user; determining target resource information corresponding to the service scene; and generating a resource downloading link according to the target resource information, and displaying the resource downloading link on a target UI (user interface). Therefore, users (such as developers, application downloading users and the like) can determine the corresponding service scene through the two-dimension code in the system, acquire the target resource information intended by the users, and can realize the installation of application programs, or the release of the application programs, or the development of the application programs and other service demands through resource downloading links so as to realize the accurate release of different users, and the system is simple to operate and beneficial to saving the development cost.
In one possible example, fig. 6B shows a schematic diagram of a resource obtaining apparatus, as shown in fig. 6B, where the apparatus is applied to an electronic device, the resource obtaining apparatus 600 may further include: an acquisition unit 603, a judgment unit 604, and a generation unit 605.
In one possible example, prior to said determining the traffic scenario of said user, wherein,
the acquiring unit 603 is configured to acquire a device identifier of the electronic device corresponding to the user;
the judging unit 604 is configured to judge whether the electronic device supports the service scenario according to the device identifier;
the generating unit 605 is configured to generate a first prompt according to the service scenario and generate a first UI interface if the electronic device does not support the service scenario, where the first UI interface is used to display the first prompt.
In one possible example, after the determining whether the electronic device supports the service scenario, the determining unit 601 is specifically configured to: if the electronic equipment supports the service scene, determining the service scene of the user, and determining an application blacklist corresponding to the service scene according to a mapping relation between a preset service scene and the application blacklist; and determining the application program corresponding to the code scanning operation.
The generating unit 605 is specifically configured to: if the application program exists in the application blacklist, generating a second prompt according to the service scene, and generating a second UI interface, wherein the second UI interface is used for displaying the second prompt;
the determining unit 601 is specifically configured to: and if the application program does not exist in the application blacklist, executing the step of determining the target resource information corresponding to the service scene.
In one possible example, in the aspect of determining the target resource information corresponding to the service scenario, the determining unit 601 is specifically configured to:
determining a resource information set corresponding to a service scene according to a mapping relation between the preset service scene and the resource information set, wherein the resource information set comprises a plurality of resource information, and each resource information corresponds to one information fingerprint;
determining the region where the electronic equipment is located;
determining a target information fingerprint set corresponding to the region;
matching each target information fingerprint in the target information fingerprint set with each information fingerprint to obtain at least one resource information corresponding to the information fingerprint matched with the target information fingerprint;
And packaging the at least one piece of resource information to generate the target resource information.
In one possible example, before the displaying of the resource download link on the target UI interface, the determining unit 601 is specifically configured to:
determining a target application program type corresponding to the code scanning operation;
and determining a target UI interface corresponding to the target application type according to a mapping relation between the preset application type and the UI interface.
In one possible example, the display unit 602 is specifically configured to:
and if the target resource information is a picture or a video, displaying the picture or the video in the target UI.
It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
The electronic device provided in this embodiment is configured to execute the above-described resource obtaining method, so that the same effects as those of the above-described implementation method can be achieved.
In case an integrated unit is employed, the electronic device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage an action of the electronic device, and may be configured to support the electronic device to perform the steps performed by the determining unit 601, the display unit 602, the obtaining unit 603, the judging unit 604, and the generating unit 605. The memory module may be used to support the electronic device to execute stored program code, data, etc. And the communication module can be used for supporting the communication between the electronic device and other devices.
Wherein the processing module may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processing, DSP) and microprocessor combinations, and the like. The memory module may be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and other equipment which interact with other electronic equipment.
The embodiment of the application also provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, where the computer program causes a computer to execute part or all of the steps of any one of the methods described in the embodiments of the method, where the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the methods described in the method embodiments above. The computer program product may be a software installation package, said computer comprising an electronic device.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, such as the above-described division of units, merely a division of logic functions, and there may be additional manners of dividing in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, including several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned method of the various embodiments of the present application. And the aforementioned memory includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program that instructs associated hardware, and the program may be stored in a computer readable memory, which may include: flash disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
The foregoing has outlined rather broadly the more detailed description of embodiments of the present application, wherein specific examples are provided herein to illustrate the principles and embodiments of the present application, the above examples being provided solely to assist in the understanding of the methods of the present application and the core ideas thereof; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (8)

1. A method for resource acquisition, the method comprising:
responding to code scanning operation of a user on a two-dimensional code, and determining a service scene of the user;
determining target resource information corresponding to the service scene;
Generating a resource downloading link according to the target resource information, and displaying the resource downloading link on a target UI (user interface);
the determining the target resource information corresponding to the service scene includes: determining a resource information set corresponding to a service scene according to a mapping relation between the preset service scene and the resource information set, wherein the resource information set comprises a plurality of resource information, and each resource information corresponds to one information fingerprint; determining the region where the electronic equipment corresponding to the user is located; determining a target information fingerprint set corresponding to the region; matching each target information fingerprint in the target information fingerprint set with each information fingerprint to obtain at least one resource information corresponding to the information fingerprint matched with the target information fingerprint; and packaging the at least one piece of resource information to generate the target resource information.
2. The method of claim 1, wherein prior to said determining the traffic scenario for the user, the method further comprises:
acquiring an equipment identifier of the electronic equipment corresponding to the user;
judging whether the electronic equipment supports the service scene or not according to the equipment identifier;
If the electronic equipment does not support the service scene, generating a first prompt according to the service scene, and generating a first UI interface, wherein the first UI interface is used for displaying the first prompt.
3. The method of claim 2, wherein after said determining whether the electronic device supports the business scenario, the method further comprises:
if the electronic equipment supports the service scene, determining the service scene of the user, and determining an application blacklist corresponding to the service scene according to a mapping relation between a preset service scene and the application blacklist;
determining an application program corresponding to the code scanning operation;
if the application program exists in the application blacklist, generating a second prompt according to the service scene, and generating a second UI interface, wherein the second UI interface is used for displaying the second prompt;
and if the application program does not exist in the application blacklist, executing the step of determining the target resource information corresponding to the service scene.
4. A method according to claim 1 or 3, wherein prior to said displaying the resource download link at the target UI interface, the method further comprises:
Determining a target application program type corresponding to the code scanning operation;
and determining a target UI interface corresponding to the target application type according to a mapping relation between the preset application type and the UI interface.
5. The method according to claim 4, wherein the method further comprises:
and if the target resource information is a picture or a video, displaying the picture or the video in the target UI.
6. A resource acquisition device, the device comprising: a determining unit and a display unit, wherein,
the determining unit is used for responding to the code scanning operation of the user for the two-dimensional code and determining the service scene of the user;
the determining unit is further configured to determine target resource information corresponding to the service scenario, where the determining aspect of the target resource information corresponding to the service scenario is specifically configured to: determining a resource information set corresponding to a service scene according to a mapping relation between the preset service scene and the resource information set, wherein the resource information set comprises a plurality of resource information, and each resource information corresponds to one information fingerprint; determining the region where the electronic equipment corresponding to the user is located; determining a target information fingerprint set corresponding to the region; matching each target information fingerprint in the target information fingerprint set with each information fingerprint to obtain at least one resource information corresponding to the information fingerprint matched with the target information fingerprint; packaging the at least one resource information to generate the target resource information;
And the display unit is used for generating a resource downloading link according to the target resource information and displaying the resource downloading link on a target UI (user interface).
7. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-5.
8. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN202111584199.3A 2021-12-22 2021-12-22 Resource acquisition method and related product Active CN114281459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111584199.3A CN114281459B (en) 2021-12-22 2021-12-22 Resource acquisition method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111584199.3A CN114281459B (en) 2021-12-22 2021-12-22 Resource acquisition method and related product

Publications (2)

Publication Number Publication Date
CN114281459A CN114281459A (en) 2022-04-05
CN114281459B true CN114281459B (en) 2024-04-16

Family

ID=80874014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111584199.3A Active CN114281459B (en) 2021-12-22 2021-12-22 Resource acquisition method and related product

Country Status (1)

Country Link
CN (1) CN114281459B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014190818A1 (en) * 2013-05-31 2014-12-04 腾讯科技(深圳)有限公司 Method and apparatus of displaying download information of network resource
CN105867714A (en) * 2015-01-22 2016-08-17 阿里巴巴集团控股有限公司 Application downloading method, apparatus and system
CN107305569A (en) * 2016-04-21 2017-10-31 北京搜狗科技发展有限公司 A kind of information processing method and device
CN107729000A (en) * 2017-11-24 2018-02-23 北京小米移动软件有限公司 Application program installation kit generation method and device
WO2018041049A1 (en) * 2016-08-29 2018-03-08 腾讯科技(深圳)有限公司 Information processing method, terminal, server and computer storage medium
CN107832329A (en) * 2017-09-26 2018-03-23 中国平安人寿保险股份有限公司 Page resource acquisition methods and terminal device
WO2019095861A1 (en) * 2017-11-17 2019-05-23 阿里巴巴集团控股有限公司 Data processing method and apparatus, terminal device and server
CN110221753A (en) * 2019-05-27 2019-09-10 维沃移动通信有限公司 Application program downloads classification method and terminal device
CN111695156A (en) * 2020-06-15 2020-09-22 北京同邦卓益科技有限公司 Service platform access method, device, equipment and storage medium
CN113542187A (en) * 2020-04-13 2021-10-22 富泰华工业(深圳)有限公司 File uploading and downloading method and device, computer device and medium
CN113722725A (en) * 2020-12-24 2021-11-30 京东数字科技控股股份有限公司 Resource data acquisition method and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014190818A1 (en) * 2013-05-31 2014-12-04 腾讯科技(深圳)有限公司 Method and apparatus of displaying download information of network resource
CN105867714A (en) * 2015-01-22 2016-08-17 阿里巴巴集团控股有限公司 Application downloading method, apparatus and system
CN107305569A (en) * 2016-04-21 2017-10-31 北京搜狗科技发展有限公司 A kind of information processing method and device
WO2018041049A1 (en) * 2016-08-29 2018-03-08 腾讯科技(深圳)有限公司 Information processing method, terminal, server and computer storage medium
CN107832329A (en) * 2017-09-26 2018-03-23 中国平安人寿保险股份有限公司 Page resource acquisition methods and terminal device
WO2019095861A1 (en) * 2017-11-17 2019-05-23 阿里巴巴集团控股有限公司 Data processing method and apparatus, terminal device and server
CN107729000A (en) * 2017-11-24 2018-02-23 北京小米移动软件有限公司 Application program installation kit generation method and device
CN110221753A (en) * 2019-05-27 2019-09-10 维沃移动通信有限公司 Application program downloads classification method and terminal device
CN113542187A (en) * 2020-04-13 2021-10-22 富泰华工业(深圳)有限公司 File uploading and downloading method and device, computer device and medium
CN111695156A (en) * 2020-06-15 2020-09-22 北京同邦卓益科技有限公司 Service platform access method, device, equipment and storage medium
CN113722725A (en) * 2020-12-24 2021-11-30 京东数字科技控股股份有限公司 Resource data acquisition method and system

Also Published As

Publication number Publication date
CN114281459A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN107026832B (en) Account login method, device and server
CN102783121B (en) Communications device
US9301081B1 (en) Delivery of oversized branding elements for customization
JP6270066B2 (en) Brand self-identification and installation of branded firmware on generic electronic devices
CN102077233B (en) Extended user profile
CN109462601B (en) Multi-platform access method and device based on eSIM
CN105302587B (en) Data-updating method and device
CN102469114B (en) Open mobile terminal widget application platform, realization method thereof and server
US8495617B2 (en) Interworking system between user terminal and smart card for executing widget, and method thereof
CN103797827A (en) Method and apparatus for accessing virtual smart cards
CN103314384A (en) Methods and systems for managing device specific content
CN106649446B (en) Information pushing method and device
CN103577207A (en) Loading method and loading device for interface components in custom interface system
CN110287691A (en) Application program login method, device, equipment and storage medium
CN105871695A (en) Emoji sending method and device
CN112286586B (en) Plug-in configuration method and related equipment
CN108241515B (en) Application shortcut establishing method and terminal
CN109766123B (en) Application program packaging method and device
CN103164245B (en) The method of application display language-specific and terminal
CN112818270A (en) Data cross-domain transfer method and device and computer equipment
CN114281459B (en) Resource acquisition method and related product
CN112840305B (en) Font switching method and related product
KR101584276B1 (en) Method for providing application product service
CN106817296A (en) The method of testing of information recommendation, device and electronic equipment
CN102148831A (en) Method and system for safely controlling terminal application

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