Access data determination method and device, electronic equipment and storage medium
By using the Redis server to store and read access data in the data processing system, and determining the target access data through the parameter matching interface, the problem of limited data processing efficiency and storage volume in the prior art is solved, and efficient data query and processing is achieved.
Patent Information
- Application Number
- CN202311166848.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-08
- Publication Date
- 2025-03-11
Smart Images

Figure CN119597782A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data technology, and in particular to a method, device, electronic device and storage medium for determining access data. Background Art
[0002] With the development of science and technology and the popularization and application of computer technology, all walks of life use computers to process data. Therefore, the efficiency and quality of data processing is one of the issues that has received much attention.
[0003] The data processing process generally involves collecting data and filtering the collected data according to pre-set rules. At present, data storage generally uses massively parallel processing (MMP) databases such as Hive (a data warehouse tool based on Hadoop), Hadoop database (Hbase, a non-relational database based on Hadoop), and Hudi (an open source solution for Data Lakes). The label calculation in the rules generally uses Spark (a big data processing framework built around speed, ease of use, and complex analysis) and Flink (an open source stream processing framework built for distributed, high-performance stream processing applications). Label queries generally use Presto (a distributed SQL query engine) and Impala (a real-time interactive SQL big data query tool). However, such data processing efficiency and data storage capacity are limited. Once the amount of data is too large, the data query cycle is long and the data processing efficiency is low. Summary of the invention
[0004] The present invention provides a method, device, electronic device and storage medium for determining access data, aiming to improve the storage capacity and reading rate of access data, improve the query rate and accuracy of target access data, and optimize the performance of a data processing system.
[0005] According to one aspect of the present invention, a method for determining access data is provided, the method comprising:
[0006] Acquire initial access data stored on the first Redis server based on a target application program interface of a second remote dictionary service (Remote Dictionary Server, Redis) server;
[0007] Controlling the interactive interface of the second Redis server to display a parameter matching interface of the target access data, wherein the parameter matching interface is used to instruct the user to determine a parameter matching instruction for the target access data;
[0008] After receiving the parameter matching instruction input by the user based on the interactive interface, determining the target access data according to the parameter matching instruction and the initial access data;
[0009] Display target access data based on the interactive interface.
[0010] Optionally, before acquiring the initial access data stored on the first Redis server based on the target application interface of the second Redis server, the method further includes: determining the target application interface.
[0011] Optionally, determining the target application program interface includes: determining a basic application program interface and a timing application program interface of the second Redis server; and determining the target application program interface based on the basic application program interface, the timing application program interface, and the interface construction requirements.
[0012] Optionally, before acquiring the initial access data stored on the first Redis server based on the target application program interface of the second Redis server, the method further includes: determining environmental parameters of the first Redis server.
[0013] Optionally, determining the environmental parameters of the first Redis server includes: deploying a Redis server cluster on the first Redis server, and installing a Redis time series data module library.
[0014] Optionally, the initial access data includes at least one sub-initial access data, and the sub-initial access data includes the type of access data, a visitor identifier, an access time identifier, an access event identifier, and an access frequency identifier.
[0015] Optionally, the parameter matching interface includes at least one of a data type matching rule, a time matching rule, an event matching rule, and a frequency matching rule.
[0016] Optionally, the target access data includes a target visitor identifier and a target access parameter; determining the target access data according to the parameter matching instruction and the initial access data includes: determining the intermediate access data based on the initial access data and the parameter matching instruction; determining the target visitor identifier based on the visitor identifier of the intermediate access data; determining the target access parameter based on the matching rule in the parameter matching instruction; determining the target access data based on the target access parameter and the target visitor identifier.
[0017] According to another aspect of the present invention, there is provided a device for determining access data, the device comprising:
[0018] An acquisition module, used for acquiring initial access data stored on the first Redis server based on a target application program interface of the second Redis server;
[0019] A display module, used to control the interactive interface of the second Redis server to display a parameter matching interface of the target access data, wherein the parameter matching interface is used to instruct the user to determine the parameter matching instruction of the target access data;
[0020] A determination module, configured to determine target access data based on the parameter matching instruction and the initial access data after receiving the parameter matching instruction input by the user based on the interactive interface;
[0021] The execution module is used to display the target access data based on the interactive interface.
[0022] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0023] at least one processor; and a memory communicatively coupled to the at least one processor;
[0024] The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the method for determining access data described in any embodiment of the present invention.
[0025] According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining access data described in any embodiment of the present invention when executed.
[0026] The technical solution of the embodiment of the present invention obtains the initial access data stored on the first Redis server through the target application program interface based on the second Redis server; controls the interactive interface of the second Redis server to display the parameter matching interface of the target access data, wherein the parameter matching interface is used to instruct the user to determine the parameter matching instruction of the target access data; after receiving the parameter matching instruction input by the user based on the interactive interface, the target access data is determined according to the parameter matching instruction and the initial access data; and the target access data is displayed based on the interactive interface. The Redis server can be used to store and read access data, improve the storage capacity and reading rate of the access data, filter the target access data based on the data query requirements according to the Redis server, improve the query rate and accuracy of the target access data, and optimize the performance of the data processing system. It solves the problems of limited data processing efficiency and data storage capacity in the existing data processing and query methods, and long data query cycle and low data processing efficiency once the data volume is too large.
[0027] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0029] Figure 1 It is a flowchart of a method for determining access data provided by Embodiment 1 of the present invention;
[0030] Figure 2 It is a flowchart of a method for determining access data provided by Embodiment 2 of the present invention;
[0031] Figure 3 is a schematic diagram of the structure of a device for determining access data provided by Embodiment 3 of the present invention;
[0032] Figure 4 It is a structural schematic diagram of an electronic device provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0033] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0035] Embodiment 1
[0036] Figure 1This is a flowchart of a method for determining access data provided by the first embodiment of the present invention. This embodiment can be applied to situations such as rapid data screening and data aggregation. The method can be executed by the device for determining access data provided by the present invention. The device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated in an electronic device. The following embodiments will be described by taking the device integrated in an electronic device as an example. Figure 1 , the method specifically comprises the following steps:
[0037] S101. Acquire initial access data stored on a first Redis server based on a target application program interface of a second remote dictionary service Redis server.
[0038] Among them, the second Redis server (i.e., the second remote dictionary service Redis server) can be understood as the front end of a client, the first Redis server can be understood as the client corresponding to the second Redis server, the target application interface can be understood as the information transmission interface for the second Redis server and the first Redis server to exchange information, and the initial access data can be understood as the original access data that has not been filtered and processed, including various access records of all users within a certain time period.
[0039] Specifically, the second Redis server can be the community Redis4.x open source version, and the first Redis server can be the Redis6.x version. The Redis6.x version is equivalent to a server / client, and the Redis4.x open source version is equivalent to a front end of the Redis6.x version client. The target application program interface can be understood as a compatible application program interface (Application Programming Interface, API) developed on the community Redis4.x open source version, including a basic API and a time series data structure API.
[0040] Furthermore, the initial access data includes basic class data and timing class data. The basic class data needs to be read and written using the basic API, and the timing class data needs to be read using the timing data structure API. The secondary developed compatible API of this embodiment can read and write access information containing basic class data and timing class data at one time, thereby speeding up the reading and writing of data and improving data processing efficiency.
[0041] S102: Control the interactive interface of the second Redis server to display a parameter matching interface of target access data.
[0042] The interactive interface can be understood as a human-computer interactive interface for displaying a parameter matching interface for target access data and obtaining user demand instructions. Specifically, the parameter matching interface can be used to instruct the user to determine the parameter matching instructions for target access data.
[0043] Specifically, the parameter matching interface of the target access data includes multiple matching conditions, and the user can fill in the screening conditions in the parameter setting position corresponding to each matching condition to determine the parameter matching instruction of the target access data, and the parameter matching instruction includes at least one parameter matching rule.
[0044] For example, assuming that it is necessary to filter users whose number of visits between time A and time B is greater than X, the parameter matching interface may include a time matching parameter and a quantity matching parameter. The user can fill in time A-time B in the parameter setting position of the time matching parameter, and fill in greater than X in the parameter setting position of the quantity matching parameter.
[0045] Furthermore, the parameter matching condition of the target access data in this embodiment may be one or more, and the multiple parameter matching conditions may be in the form of "and" or "or", which is not limited in this embodiment.
[0046] The benefit of such a setting is that it is convenient for the user to determine the parameter matching instruction of the target access data based on the parameter matching interface of the target access data displayed on the interactive interface.
[0047] S103: After receiving the parameter matching instruction input by the user based on the interactive interface, determine the target access data according to the parameter matching instruction and the initial access data.
[0048] The parameter matching instruction may be understood as information containing screening rules for target access data, and the target access data may be understood as access data in the initial access data that meets the screening rules in the parameter matching instruction.
[0049] Specifically, the target access data includes the target visitor identification and target access parameters. The target visitor identification can be understood as the visitor's identification information, including the visitor's name, visitor representative, visitor's identity document (ID), etc., which is used to determine the visitor's identity. The target access parameters can be understood as the specific access data of the target visitor, including access time, access frequency, access target and other data.
[0050] Exemplarily, the parameter matching instruction can be understood as an instruction including information such as filtering users whose number of visits between time A and time B is greater than X. The target access data can be understood as the access data of users whose number of visits between time A and time B is greater than X in the initial access data. Specifically, the target visitor representation can be understood as the ID of the user whose number of visits between time A and time B is greater than X. The target access parameters can be understood as the detailed access data of the target visitor, such as the access time, access content, and access target.
[0051] The advantage of this setting is that you can quickly and accurately filter target access data.
[0052] S104: Display target access data based on the interactive interface.
[0053] Specifically, displaying target access data based on an interactive interface can be understood as displaying the target visitor's ID and specific access data on the interactive interface so that operators can understand the specific access data, select target users in a targeted manner, and formulate personalized service strategies for target users.
[0054] The technical solution of this embodiment is to obtain the initial access data stored on the first Redis server through the target application program interface based on the second Redis server; control the interactive interface of the second Redis server to display the parameter matching interface of the target access data, wherein the parameter matching interface is used to instruct the user to determine the parameter matching instruction of the target access data; after receiving the parameter matching instruction input by the user based on the interactive interface, determine the target access data according to the parameter matching instruction and the initial access data; and display the target access data based on the interactive interface. The Redis server can be used to store and read access data, improve the storage capacity and reading rate of access data, filter the target access data based on the data query requirements according to the Redis server, improve the query rate and accuracy of the target access data, and optimize the performance of the data processing system. It solves the problems of limited data processing efficiency and data storage capacity in the existing data processing and query methods, and long data query cycle and low data processing efficiency once the data volume is too large.
[0055] Embodiment 2
[0056] Figure 2 This is a flow chart of a method for determining access data provided by the second embodiment of the present invention. This embodiment can be applied to situations such as rapid data screening and data aggregation. The method can be executed by the device for determining access data provided by the present invention. The device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated in an electronic device. The following embodiments will be described by taking the device integrated in an electronic device as an example. Figure 2 , the method specifically comprises the following steps:
[0057] S201. Determine environmental parameters of a first Redis server.
[0058] The environmental parameters of the first Redis server can be understood as the environmental configuration parameters of the first Redis server, and determining the environmental parameters of the first Redis server can be understood as configuring the operating environment of the first Redis server to improve the storage capacity, computing speed and other performance of the first Redis server. Specifically, determining the environmental parameters of the first Redis server includes: deploying a Redis server cluster on the first Redis server and installing a Redis time series data module library.
[0059] The advantage of this setting is that the storage mode of the first Redis server can be changed from a collection form to a chain form, expanding the data storage interface and data storage space.
[0060] Furthermore, the Redis time series data module library can be understood as the Redis TimeSeries extension module of Redis. Redis Time Series supports the aggregation calculation of the time range of data directly on the Redis side, uses fixed-size memory blocks as time series samples, and uses the same Radix Tree as Redis Streams to implement indexing, which can make up for the defects of high memory and data transmission overhead when Redis saves time series data based on Hash and Sorted Set data structures. Secondly, Redis Time Series can not only ensure the real-time storage and low-latency reading of large-capacity data, solve the problem of data latency in real-time scenarios, but also query by start time and end time, solve the problem that conventional data structures cannot directly aggregate and query accumulation according to time periods, and support aggregation queries of any time bucket (including but not limited to minimum value min, maximum value max, average value avg, sum sum, range range, count count, earliest first, latest last), solve the problem of label data statistics that strongly depend on time for travel orders.
[0061] S202: Determine the target application program interface of the second Redis server.
[0062] Specifically, determining the target application program interface of the second Redis server can be understood as secondary development and integration of the application program interface of the second Redis server to enable fast and efficient read and write access to data.
[0063] In one implementation, step S202 may specifically include: determining a basic application programming interface and a sequential application programming interface of the second Redis server; and determining a target application programming interface based on the basic application programming interface, the sequential application programming interface, and the interface construction requirements.
[0064] Among them, the interface construction requirements can be understood as information containing interface data for requirements. Based on the interface construction requirements, the interface required to build the target application interface can be determined. The target API can be determined by integrating the basic API and timing API to be used.
[0065] For example, assuming that the interfaces to be used include a user ID interface and a timestamp interface, where the timestamp interface is a timing API for reading and writing the timestamp of access data, and the user ID interface is a basic API for reading the user name of access data, then the target application program interface includes a user ID interface and a timestamp interface, which can read and write the user name and timestamp of access data at one time. The advantage of such a setting is that the frequency of data reading and writing can be reduced, and the speed of data reading and writing can be accelerated.
[0066] S203. Acquire initial access data stored on the first Redis server based on the target application program interface of the second Redis server.
[0067] In this embodiment, acquiring the initial access data stored on the first Redis server based on the target application program interface of the second Redis server can be understood as reading the initial access data stored on the first Redis server based on the compatible API of secondary development.
[0068] Specifically, the initial access data includes at least one sub-initial access data, and the sub-initial access data includes the type of access data, a visitor identifier, an access time identifier, an access event identifier, and an access frequency identifier.
[0069] Among them, the type of access data can be understood as the identification information of the accessed data, which is used to distinguish the accessed content, including pictures, texts, web pages, etc.; the visitor identification can be understood as the attribute information of the visitor, including the visitor's name, number, ID, etc.; the access time identification can be understood as the moment of the access, including the access time, the timestamp of the access data, etc.; the access event identification can be understood as the event code of the access event, which is used to distinguish the access events; the access frequency identification can be understood as the cumulative number of user visits.
[0070] S204: Control the interactive interface of the second Redis server to display a parameter matching interface of the target access data.
[0071] The parameter matching interface is used to instruct the user to determine the parameter matching instructions for the target access data.
[0072] Specifically, the parameter matching interface includes at least one of a data type matching rule, a time matching rule, an event matching rule, and a frequency matching rule.
[0073] Among them, the data type matching rule can be understood as the screening condition of the data type, the time matching rule can be understood as the screening condition of the access time period, the event matching rule can be understood as the screening condition of the access event, and the frequency matching rule can be understood as the screening condition of the number of accesses.
[0074] The advantage of this setting is that you can define the filtering conditions for access data in a targeted manner, so as to quickly filter the target access data that meets the requirements.
[0075] S205 : After receiving the parameter matching instruction input by the user based on the interactive interface, determine the intermediate access data based on the initial access data and the parameter matching instruction.
[0076] The intermediate access data may be understood as initial access data that meets the screening conditions in the parameter matching instruction.
[0077] For example, assume that the access data includes data 1, data 2, and data 3, where data 1 means that user 1 accessed product A 109 times within half an hour, data 2 means that user 2 accessed product A 53 times within half an hour, and data 3 means that user 3 accessed product A 76 times within half an hour. Assume that the parameter matching instruction is to filter data with a frequency of accessing product A greater than 80 times within half an hour, then the middle access data is data 1.
[0078] S206: Determine the target visitor identifier based on the visitor identifier of the intermediate access data.
[0079] The target visitor identifier can be understood as the attribute information of the target user.
[0080] Specifically, determining the target visitor identifier based on the visitor identifier of the intermediate access data may be understood as determining the visitor identifier of the intermediate access data as the target visitor identifier.
[0081] For example, assuming that the intermediate access data is data 1, data 1 means that user 1 accesses product A 109 times within half an hour, then the target visitor is identified as user 1.
[0082] S207: Determine the target access parameter based on the matching rule in the parameter matching instruction.
[0083] The target access parameter may be understood as intermediate access data that is reduced, arranged and sorted based on the matching rules in the parameter matching instruction.
[0084] Specifically, the access data contains a variety of information, and the matching rules may only cover one or several types of information. Determining the target access parameters based on the matching rules in the parameter matching instructions can be understood as organizing and reducing the data related to the matching rules in the intermediate access data to generate the target access parameters.
[0085] Exemplarily, assuming that the data types of the intermediate access data include type A, type B, and type C, and the matching rule only involves type A, then the target access parameter only includes specific information of type A.
[0086] The advantage of such a setting is that simple and clear target access data can be obtained, which saves the computing resources of the processor, so as to intuitively display the target access data and facilitate operators to understand the access status of the goods.
[0087] S208: Determine target access data based on the target access parameter and the target visitor identifier.
[0088] The target access data may be understood as access data that meets the screening requirements of the operator.
[0089] Specifically, determining the target access data based on the target access parameter and the target visitor identifier can be understood as integrating the target visitor identifier and the target access parameter to obtain the target access data.
[0090] For example, assuming that the target visitor is identified as User 1 and the target access parameter is that the product is accessed 89 times within half an hour, the target access data is that User 1 accesses the product 89 times within half an hour.
[0091] S209: Display target access data based on the interactive interface.
[0092] Specifically, displaying target access data based on an interactive interface can be understood as displaying the target visitor's ID and specific access data on the interactive interface so that operators can understand the specific access data, select target users in a targeted manner, and formulate personalized service strategies for target users.
[0093] In a specific example, the parameter matching instruction may be that the frequency of accessing a product within half an hour is greater than 100 and the frequency of accessing a product within fifteen minutes is greater than 10, that is, frequent_view_30min>100and frequent_hobby_15m>10. Based on this rule, the target access data that meets the rule can be determined by searching in the data obtained from the Redis Time Series database. For example, (user_view_num_event:user23456, TS RangeParams.range Params(from, to).aggregation(SUM, 1800))=120and(user_view_num_event:user23456, TS Range Params.range Params(from, to).aggregation(SUM, 900))=75. From the above results, it can be seen that 23456 is the target visitor identifier, and 120 (number of visits within half an hour) and 75 (number of visits within fifteen minutes) are the target access parameters.
[0094] The technical solution of this embodiment is to determine the environmental parameters of the first Redis server; determine the target application interface of the second Redis server; obtain the initial access data stored on the first Redis server based on the target application interface of the second Redis server; control the interactive interface of the second Redis server to display the parameter matching interface of the target access data, wherein the parameter matching interface is used to instruct the user to determine the parameter matching instruction of the target access data; determine the intermediate access data based on the initial access data and the parameter matching instruction after receiving the parameter matching instruction input by the user based on the interactive interface; determine the target visitor identifier based on the visitor identifier of the intermediate access data; determine the target access parameters based on the matching rules in the parameter matching instruction; determine the target access data based on the target access parameters and the target visitor identifier; and display the target access data based on the interactive interface. The environment parameters of the first Redis server and the target application program interface of the second Redis server can be configured in advance to store and quickly read access data in large quantities, use the Redis server to store and read access data, improve the storage capacity and reading rate of access data, filter target access data based on data query requirements according to the Redis server, improve the query rate and accuracy of target access data, optimize the performance of the data processing system, and display the target visitor identification and access parameters of the target visitor in the interactive interface so that users can timely understand and view the target user and the target user's access information. This solves the problems of limited data processing efficiency and data storage capacity in existing data processing and query methods, long data query cycle and low data processing efficiency once the data volume is too large.
[0095] Embodiment 3
[0096] Figure 3 Schematic diagram of a structure of a device for determining access data provided by Embodiment 3 of the present invention. Figure 3 As shown, the device includes: an acquisition module 301, a display module 302, a determination module 303 and an execution module 304.
[0097] The acquisition module 301 is used to acquire the initial access data stored on the first Redis server based on the target application program interface of the second Redis server.
[0098] The display module 302 is used to control the interactive interface of the second Redis server to display the parameter matching interface of the target access data, wherein the parameter matching interface is used to instruct the user to determine the parameter matching instruction of the target access data.
[0099] The determination module 303 is used to determine the target access data according to the parameter matching instruction and the initial access data after receiving the parameter matching instruction input by the user based on the interactive interface.
[0100] The execution module 304 is used to display the target access data based on the interactive interface.
[0101] Optionally, the device also includes a configuration module, which is used to determine a target application interface of the second Redis server before acquiring initial access data stored on the first Redis server based on the target application interface of the second Redis server.
[0102] Optionally, a configuration module is specifically used to determine a basic application program interface and a timing application program interface of a second Redis server; based on the basic application program interface, the timing application program interface and the interface construction requirements, a target application program interface is determined.
[0103] Optionally, the configuration module is further used to determine the environmental parameters of the first Redis server before acquiring the initial access data stored on the first Redis server based on the target application interface of the second Redis server.
[0104] Optionally, the initial access data includes at least one sub-initial access data, and the sub-initial access data includes the type of access data, a visitor identifier, an access time identifier, an access event identifier, and an access frequency identifier.
[0105] Optionally, the parameter matching interface includes at least one of a data type matching rule, a time matching rule, an event matching rule, and a frequency matching rule.
[0106] Optionally, the target visit data includes a target visitor identifier and a target visit parameter.
[0107] Optionally, the determination module 303 is specifically used to determine the intermediate access data based on the initial access data and the parameter matching instruction; determine the target visitor identifier based on the visitor identifier of the intermediate access data; determine the target access parameters based on the matching rules in the parameter matching instruction; and determine the target access data based on the target access parameters and the target visitor identifier.
[0108] The access data determination device provided in the embodiment of the present invention can execute the access data determination method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0109] Embodiment 4
[0110] Figure 4 : is a structural diagram of an electronic device provided by Embodiment 4 of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0111] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0112] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0113] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a determination method for accessing data.
[0114] In some embodiments, the method for determining access data may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for determining access data described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method for determining access data in any other appropriate manner (e.g., by means of firmware).
[0115] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0116] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0117] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0118] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0119] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server) or a computing system that includes middleware components (e.g., an application server) or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein) or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0120] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0121] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0122] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining access data, characterized in that: include: Acquire initial access data stored on the first Redis server based on a target application program interface of the second remote dictionary service Redis server; Controlling the interactive interface of the second Redis server to display a parameter matching interface of the target access data, wherein the parameter matching interface is used to instruct the user to determine the parameter matching instruction of the target access data; After receiving the parameter matching instruction input by the user based on the interactive interface, determining the target access data according to the parameter matching instruction and the initial access data; The target access data is displayed based on the interactive interface.
2. The method according to claim 1, characterized in that Before acquiring the initial access data stored on the first Redis server based on the target application program interface of the second Redis server, the method further includes: The target application program interface is determined.
3. The method according to claim 2, characterized in that The determining the target application program interface comprises: Determine a basic application programming interface and a timing application programming interface of the second Redis server; The target application program interface is determined based on the basic application program interface, the timing application program interface and the interface construction requirements.
4. The method according to claim 1, characterized in that Before acquiring the initial access data stored on the first Redis server based on the target application program interface of the second Redis server, the method further includes: Determine the environmental parameters of the first Redis server.
5. The method according to claim 1, characterized in that The initial access data includes at least one sub-initial access data, and the sub-initial access data includes the type of access data, a visitor identifier, an access time identifier, an access event identifier, and an access frequency identifier.
6. The method according to claim 5, characterized in that The parameter matching interface includes at least one of a data type matching rule, a time matching rule, an event matching rule, and a frequency matching rule.
7. The method according to claim 6, characterized in that The target access data includes a target visitor identifier and target access parameters; The step of determining target access data according to the parameter matching instruction and the initial access data includes: Determining intermediate access data based on the initial access data and the parameter matching instruction; determining the target visitor identifier based on the visitor identifier of the intermediate access data; Determining target access parameters based on matching rules in the parameter matching instruction; The target visit data is determined based on the target visit parameter and the target visitor identification.
8. A device for determining access data, characterized in that: include: An acquisition module, used for acquiring initial access data stored on the first Redis server based on a target application program interface of the second Redis server; A display module, used to control the interactive interface of the second Redis server to display a parameter matching interface of the target access data, wherein the parameter matching interface is used to instruct the user to determine the parameter matching instruction of the target access data; A determination module, configured to determine the target access data according to the parameter matching instruction and the initial access data after receiving the parameter matching instruction input by the user based on the interactive interface; An execution module is used to display the target access data based on the interactive interface.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining access data as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining access data as described in any one of claims 1 to 7 when executed.