Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly and may, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Fig. 1 is a schematic interaction diagram of a data processing terminal 100 according to an embodiment of the present invention. In this embodiment, the data processing terminal 100 may be, but is not limited to, a web server, an ftp (file transfer protocol) server, a Personal Computer (PC), and the like. The data processing terminal 100 includes an application information acquiring device 110, a memory 120, a processor 130, and a communication unit 140.
The elements of the memory 120, the processor 130 and the communication unit 140 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The application information acquiring means 110 includes at least one software functional module which can be stored in the memory 120 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the data processing terminal 100. The processor 130 is used for executing executable modules stored in the memory 120, such as software functional modules and computer programs included in the application information acquiring device 110.
The Memory 120 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 120 is used for storing a program, and the processor 130 executes the program after receiving the execution instruction. The communication unit 140 receives or transmits data, such as an information acquisition request transmitted by a data acquirer in the present embodiment, and transmits application information and installation package information to the data acquirer.
The processor 130 may be an integrated circuit chip having signal processing capabilities. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP)), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In this embodiment, the data processing terminal 100 includes an application resource library, and the application resource library includes installation packages of different applications. The data processing terminal 100 can receive an information acquisition request sent by a data acquirer, match a screening rule item according to the information acquisition request, screen out information of applications and installation packages thereof meeting requirements from the application resource library, and feed the information back to the data acquirer. The specific manner will be described in detail below.
Referring to fig. 2, fig. 2 is a flowchart of an application information obtaining method applied to the data processing terminal 100 shown in fig. 1, and the method including various steps will be described in detail below.
Step S110, receiving an information acquisition request, wherein the information acquisition request comprises identity information of a data acquirer of the information acquisition request and a configurable screening item.
In this embodiment, the configurable filter items may include filter items customized by the data acquirer, for example, a filter item for an application, a filter item for time, or a filter item for a data field.
The identity information of the data acquirer may include an ID, an identification code or other data information that can determine the unique identity of the data acquirer.
Step S120, matching a corresponding default screening item according to the identity information of the data acquirer, where the data processing terminal 100 stores default screening items corresponding to the identity information of different data acquirers.
In this embodiment, the application repository includes various types of different applications, such as a software class, a stand-alone game class, an online game class, and the like. According to different cooperative contents, different data acquirers can acquire different application information from the application resource library.
In this embodiment, the data processing terminal 100 pre-stores default screening items corresponding to the identity information of each data acquirer, and after receiving the information acquisition request, the data processing terminal 100 determines the default screening item corresponding to the data acquirer according to the matching of the identity information of the data acquirer in the information acquisition request, where the default screening item may include a certain specified type of application (such as a software type, a stand-alone game type, or an online game type), or a certain specified specific application (such as an APP including a specific name, or a specific name and version number).
Step S130, determining target applications according to the configurable screening items or the default screening items, wherein each target application comprises at least one installation package.
And the data processing terminal 100 searches for the target application required by the data acquirer according to the default screening item and the configurable screening item.
Specifically, the configurable filter item includes an application specific item, and the content in the application specific item includes whether the data acquirer needs to acquire a specific application. In this embodiment, the application specifying item may be an application that is not specified and needs to be obtained, or may be an application that is specified in a certain type (for example, a software-defined class, a stand-alone game class, or an online game class), or a specific application (for example, an APP that includes a specific name, or a specific name and version number, etc.).
After receiving the information acquisition request, the data processing terminal 100 determines whether the application-specific item includes a specific application that needs to be acquired.
And when the specified application is included in the application specified item, taking the specified application included in the application specified item as a target application.
And when the application specified item does not comprise a specified application, selecting a target application from the applications specified by the default screening item.
Further, in this embodiment, the configurable filtering items may further include a time filtering item, and when the application designation item does not include a designated application, the data processing terminal 100 determines whether the time filtering item includes a designated time period that needs to be acquired.
And when the time screening item does not comprise a specified time period, all the applications specified by the default screening item are taken as the target applications.
And when the time screening item comprises a specified time period, taking the application specified by the default screening item in the specified time period as the target application. And the application specified by the default screening item in the specified time period is included in the application range specified by the default screening item, and the application resource library has an application updated by the installation package or a newly added application in the specified time period.
Step S140, for each target application, selecting an installation package of the target application as a target installation package according to the identity information of the data acquirer.
Specifically, in this embodiment, the installation packages in the application resource library have different acquisition levels, and each application includes at least one installation package with an acquisition level.
The data processing terminal 100 further stores an acquisition right corresponding to the identity information of the data acquirer, and different acquisition rights correspond to installation packages of different acquisition levels. Referring to fig. 3, for example, the acquisition levels of the applications include a higher first acquisition level and a lower second acquisition level, and the acquisition permissions of the data acquirer include a higher first acquisition permission and a lower second acquisition permission, where the first acquisition permission corresponds to the first acquisition level and the second acquisition permission corresponds to the second acquisition level. If the application A has the installation package of the first acquisition level and the installation package of the second acquisition level, and the data acquirer X has a first acquisition right, the data acquirer X can acquire information of the installation package of the first acquisition level and the installation package of the second acquisition level of the application A; and if the data acquirer X only has the second acquisition authority, only the information of the installation package of the second acquisition level of the application A can be acquired.
In this embodiment, the data processing terminal 100 may obtain the corresponding acquisition right according to the identity information matching of the data acquirer.
And aiming at each target application, taking the installation package with the highest acquisition level corresponding to the acquisition authority as a target installation package. For example, in the above situation, when the data acquirer X has an acquisition right of a first acquisition level, if the application a includes an installation package of the first acquisition level and an installation package of a second acquisition level, the installation package of the first acquisition level of the application a is a highest-level installation package that can be acquired by the data acquirer X, and the data processing terminal 100 takes the installation package of the first acquisition level as a target installation package; when the application a only includes the installation package of the second acquisition level, the installation package of the second acquisition level of the application a is the installation package of the highest level that can be acquired by the data acquirer X, and the data processing terminal 100 takes the installation package of the second acquisition level as the target installation package.
Similarly, when the target application has installation packages with more acquisition levels, the data processing terminal 100 takes the installation package with the highest acquisition level that can be acquired by the data acquirer as the target installation package according to the acquisition level of the data acquirer.
Further, in this embodiment, the application installation package has at least one version, and when the data processing terminal 100 selects the target installation package, for each target application, the highest acquisition level corresponding to the acquisition right is used as a target acquisition level, and the installation package with the highest version at the target acquisition level is acquired as the target installation package.
And step S150, acquiring the information of the target application and the information of the target installation package corresponding to the target application and sending the information to the data acquirer.
The information of the target application and the information of the target installation package corresponding to the target application may include a plurality of fields, such as an application name, an application type, an installation package size, an installation package version, and the like. The information acquisition request may further include a specified field item, and the data processing terminal 100 may extract, according to the specified field item, the information of the target application and the content in the information of the target installation package corresponding to the information of the target application, and send the information to the data acquirer.
Specifically, the data processing terminal 100 determines whether the specified field entry includes a specified field that needs to be acquired.
And when the specified field item does not contain the specified field, sending the information of the target application and the contents of all fields in the information of the target installation package corresponding to the target application to the data acquirer.
And when the specified field item comprises the specified field, sending the information of the target application and the content of the specified field in the information of the target installation package corresponding to the target application to the data acquirer.
Further, in this embodiment, the information of the installation package may be stored in a plurality of information pages, and the information obtaining request further includes a page number specifying item. And the data processing terminal 100 acquires the information of the target application and the information of the target installation package corresponding to the target application from the information page specified by the page number specified item according to the page number specified item and sends the information to the data acquirer.
Referring to fig. 4, the present embodiment further provides an application information obtaining apparatus 110, which is applied to the data processing terminal 100, and the apparatus includes a request receiving module 111, a default filtering item matching module 112, an application filtering module 113, an installation package filtering module 114, and an information sending module 115.
The request receiving module 111 is configured to receive an information obtaining request, where the information obtaining request includes identity information of a data obtaining party of the information obtaining request and a configurable screening item.
In this embodiment, the request receiving module 111 may be configured to execute step S110 shown in fig. 2, and reference may be made to the description of step S110 for a detailed description of the request receiving module 111.
The default screening item matching module 112 is configured to match a corresponding default screening item according to the identity information of the data acquirer, and the data processing terminal 100 stores default screening items corresponding to the identity information of different data acquirers.
In this embodiment, the default filtering item matching module 112 may be configured to execute step S120 shown in fig. 2, and the detailed description about the default filtering item matching module 112 may refer to the description about step S120.
The application screening module 113 is configured to determine target applications according to the configurable screening or default screening, where each target application includes at least one installation package.
In this embodiment, the application screening module 113 may be configured to execute step S130 shown in fig. 2, and the detailed description about the application screening module 113 may refer to the description about the step S130.
Specifically, referring to fig. 5, in the present embodiment, the application screening module 113 includes a first determining sub-module 1131 and a specified application screening sub-module 1132.
The first determining sub-module 1131 is configured to determine whether the application-specific item includes a specific application that needs to be acquired.
The specified application screening submodule 1132 is configured to, when the application specified item includes a specified application, take the specified application included in the application specified item as a target application; and when the application specified item does not comprise the specified application, selecting the target application from the applications specified by the default screening item.
Specifically, referring to fig. 5 again, in the present embodiment, the application screening module 113 further includes a second determining sub-module 1133 and a specified time screening sub-module 1134.
The second determining sub-module 1133 is configured to determine, when the application specific item does not include a specific application, whether the time screening item includes a specific time period that needs to be obtained;
the specified time filtering sub-module 1134 is configured to, when a specified time period is not included in the time filtering items, take all applications specified by the default filtering item as the target applications; and when the time screening item comprises a specified time period, taking the application specified by the default screening item in the specified time period as the target application.
The installation package screening module 114 is configured to select, for each target application, one installation package of the target application as a target installation package according to the identity information of the data acquirer.
In this embodiment, the installation package screening module 114 may be configured to execute step S140 shown in fig. 2, and the detailed description about the installation package screening module 114 may refer to the description about the step S140.
Specifically, in this embodiment, each of the target applications includes at least one installation package having an acquisition level. The data processing terminal 100 further stores an acquisition right corresponding to the identity information of the data acquirer, and different acquisition rights correspond to installation packages of different acquisition levels. Referring to fig. 5 again, the installation package screening module 114 includes an obtaining authority matching sub-module 1141 and a target installation package selecting sub-module 1142.
The acquisition permission matching sub-module 1141 is configured to obtain a corresponding acquisition permission according to the identity information matching of the data acquirer.
The target installation package selecting submodule 1142 is configured to, for each target application, use the installation package with the highest acquisition level corresponding to the acquisition permission as the target installation package.
Further, in this embodiment, the installation package has at least one version; the target installation package selecting sub-module 1142 is further configured to:
aiming at each target application, taking the highest acquisition level of the acquisition permission pair as a target acquisition level; and
and acquiring the installation package with the highest version at the target acquisition level as a target installation package.
The information sending module 115 is configured to obtain information of a target application and information of a target installation package corresponding to the target application, and send the information to the data acquirer.
In this embodiment, the information sending module 115 may be configured to execute step S150 shown in fig. 2, and reference may be made to the description of step S150 for a detailed description of the information sending module 115.
Specifically, in this embodiment, the information acquisition request further includes a specified field item. Referring to fig. 5 again, the information sending module 115 includes a third determining sub-module 1151 and an information filtering sub-module 1152.
The third determining sub-module 1151 is configured to determine whether the specified field entry includes a specified field that needs to be obtained.
The information screening submodule 1152 is configured to, when the specified field item does not include the specified field, send the information of the target application and contents of all fields in the information of the target installation package corresponding to the target application to the data acquirer; and when the specified field item comprises the specified field, sending the information of the target application and the content of the specified field in the information of the target installation package corresponding to the target application to the data acquirer.
Further, in this embodiment, the information of the installation package is stored in a plurality of information pages, and the information acquisition request further includes a page number specifying item; the information sending module 115 is further configured to:
and acquiring the information of the target application and the information of the target installation package corresponding to the target application in the information page specified by the page number specified item and sending the information to the data acquirer.
In summary, according to the application information obtaining method, the application information obtaining apparatus and the data processing terminal 100 provided by the present invention, by receiving an information obtaining request sent by a data obtaining party, information of a corresponding application and an installation package thereof is obtained according to identity information of the data obtaining party and an automatic application screening item in the information obtaining request, and is sent to the data obtaining party. Therefore, the work of a large amount of repeated data configuration which is needed when different synchronization rules need to be formulated by a data acquisition party is effectively reduced, and the data synchronization efficiency is improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.