Platform address configuration method and device, computer device, and storage medium
By analyzing and reconstructing platform address parameters and dynamically switching platform addresses, the problems of low platform switching efficiency and system interference in traditional technologies are solved, achieving efficient and stable platform switching.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-19
- Publication Date
- 2026-04-14
AI Technical Summary
Traditional technologies are inefficient for financial institutions when switching platforms to obtain address parameters for different platforms. Frequent manual modifications to the program interfere with system operation and affect system stability.
By responding to access events, the address parameter types of the target platform and the current platform are determined, common and unique parameters are analyzed, the target address is dynamically reconstructed, and unique parameters are automatically updated using mapping relationships and Spring container management interfaces, avoiding manual modification of the program.
It improves platform switching efficiency, ensures system operational stability, reduces error jump time, and improves the accuracy and efficiency of address reconstruction.
Smart Images

Figure CN116633774B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of big data processing technology, and in particular to a platform address configuration method, apparatus, computer equipment, storage medium, and computer program product. Background Technology
[0002] When a user requests to borrow resources from a financial institution, the institution needs to calculate a threshold for the resources the user can borrow. During this calculation, with the user's authorization, the institution needs to redirect to different platforms and, within the bounds of data compliance, obtain and process the user's data from these platforms to calculate the available resource threshold. The web addresses for different platforms correspond to different URL parameters, and these parameters must be obtained through different channels.
[0003] In traditional technology, financial institutions configure a calculation module for threshold calculation, and this module includes a method for obtaining platform address parameters. If it is necessary to switch the platform to be accessed, it is usually necessary to manually modify the program in the calculation module to change the method of obtaining platform address parameters, thereby obtaining the address parameters of the platform that needs to be accessed.
[0004] Furthermore, the traditional method of manually modifying the program to obtain address parameters for different platforms requires frequent releases of new program versions, which can interfere with the availability and stability of the financial institution's internal system and disrupt its operation. In scenarios where multiple platforms need to be accessed to obtain data, the efficiency of obtaining address parameters for different platforms is low, affecting the efficiency of switching platforms. Summary of the Invention
[0005] Therefore, it is necessary to provide a platform address configuration method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve platform switching efficiency without interfering with system operation, addressing the aforementioned technical problems.
[0006] Firstly, this application provides a platform address configuration method. The method includes:
[0007] In response to access events targeting target data, determine the target platform that matches the target data;
[0008] If the target platform is different from the currently accessed platform, determine the current platform address of the currently accessed platform and the real-time target personalized parameters corresponding to the target platform; the current platform address contains multiple address parameters;
[0009] Perform parameter type analysis on the multiple address parameters contained in the current platform address to determine the common parameters and unique parameters contained in the current platform address;
[0010] The target address of the target platform is obtained by reconstructing the address based on the target's unique parameters, common parameters, and current unique parameters.
[0011] In one embodiment, the method further includes:
[0012] Retrieve an event set that includes multiple access events; each access event carries a data identifier for the data to be accessed;
[0013] In response to an access event targeting target data, determine the target platform that matches the target data, including:
[0014] Identify the target data with the highest access priority among all the data to be accessed;
[0015] In response to access events targeting target data, determine the target platform that matches the target data.
[0016] In one embodiment, parameter type analysis is performed on multiple address parameters contained in the current platform address to determine the common parameters and unique parameters contained in the current platform address, including:
[0017] Get the set delimiter;
[0018] If the current platform address includes a delimiter, the location of the delimiter is used as the splitting point to determine the multiple address parameters included in the current platform address;
[0019] Based on the position of each address parameter in the current platform address, common parameters and current individual parameters are determined from each address parameter.
[0020] In one embodiment, address reconstruction is performed based on target individual parameters, common parameters, and current individual parameters to obtain the target address of the target platform, including:
[0021] Set the current platform address as the initial address;
[0022] The common parameters in the initial address are retained, and the individual parameters of the target are replaced based on the individual parameters of the target to obtain the target address of the target platform.
[0023] In one embodiment, the initial address is subjected to a personalized parameter replacement process based on the target personalized parameters, including:
[0024] Determine the multiple sub-parameters contained in both the current personality parameter and the target personality parameter;
[0025] Based on the individual parameter categories corresponding to each sub-parameter, the initial address is replaced with individual parameters using the target individual parameters.
[0026] In one embodiment, based on the individual parameter category corresponding to each sub-parameter, the initial address is subjected to individual parameter replacement processing using the target individual parameter, including:
[0027] Based on the individual parameter category corresponding to each sub-parameter, parameter pairing is performed on each sub-parameter to obtain at least one set of sub-parameter pairs; each set of sub-parameter pairs includes the current sub-parameter in the current individual parameter and the target sub-parameter in the target individual parameter;
[0028] For each sub-parameter pair, the target sub-parameter pair in the sub-parameter pair is used to perform parameter replacement processing on the current sub-parameter in the sub-parameter pair.
[0029] In one embodiment, the method further includes:
[0030] Based on the personalized parameters configured for the data platform, a mapping relationship is established between the data platform and the personalized parameters; the data platform includes the target platform and the currently accessed platform.
[0031] In response to a personalized parameter update event, the updated parameters are obtained, and the mapping relationship is updated based on the updated parameters.
[0032] In one embodiment, the method further includes:
[0033] Based on the platform address of the data platform, determine the platform access interface corresponding to the data platform; the data platform includes the target platform and the currently accessed platform;
[0034] If the personalized parameters of the data platform have not been updated, the data platform is accessed through the platform access interface in response to the access event targeting the data platform.
[0035] When the data platform's unique parameters are updated, the corresponding platform access interface for the data platform will be updated.
[0036] Secondly, this application also provides a platform address configuration device. The device includes:
[0037] The target platform determination module determines the target platform that matches the target data in response to access events for the target data.
[0038] The personalized parameter determination module is used to determine the current platform address of the current access platform and the real-time target personalized parameters corresponding to the target platform when the target platform is different from the current access platform; the current platform address contains multiple address parameters;
[0039] The parameter type analysis module is used to analyze the parameter types of multiple address parameters contained in the current platform address, and to determine the common parameters and unique parameters contained in the current platform address.
[0040] The target address acquisition module is used to reconstruct the address based on the target's unique parameters, common parameters, and current unique parameters to obtain the target address of the target platform.
[0041] In one embodiment, the device further includes:
[0042] The event set acquisition module is used to acquire an event set including multiple access events; each access event carries a data identifier of the data to be accessed; determine the target data with the highest access priority among the data to be accessed; and in response to the access event for the target data, determine the target platform that matches the target data.
[0043] In one embodiment, the parameter type analysis module is further configured to: obtain a set separator; if the set separator is included in the current platform address, determine multiple address parameters included in the current platform address by taking the location of the set separator as the segmentation position; and determine common parameters and current individual parameters from the address parameters based on their respective positions in the current platform address.
[0044] In one embodiment, the target address acquisition module is further configured to: determine the current platform address as the initial address; retain the common parameters in the initial address, and perform individual parameter replacement processing on the initial address based on the target individual parameters to obtain the target address of the target platform.
[0045] In one embodiment, the device further includes:
[0046] The personalized parameter replacement module is used to determine the multiple sub-parameters contained in the current personalized parameter and the target personalized parameter; based on the personalized parameter category corresponding to each sub-parameter, the initial address is processed to replace the personalized parameter using the target personalized parameter.
[0047] In one embodiment, the device further includes:
[0048] The sub-parameter replacement module is used to perform parameter pairing on each sub-parameter based on the corresponding personalized parameter category, to obtain at least one set of sub-parameter pairs. Each set of sub-parameter pairs includes the current sub-parameter in the current personalized parameter and the target sub-parameter in the target personalized parameter. For each sub-parameter pair, the target sub-parameter in the sub-parameter pair is used to perform parameter replacement processing on the current sub-parameter in the sub-parameter pair.
[0049] In one embodiment, the device further includes:
[0050] The mapping relationship update module is used to establish a mapping relationship between the data platform and the personalized parameters configured for the data platform; the data platform includes the target platform and the currently accessed platform; in response to the personalized parameter update event, it obtains the updated parameters and updates the mapping relationship based on the updated parameters.
[0051] In one embodiment, the device further includes:
[0052] The platform access interface management module is used to determine the platform access interface corresponding to the data platform based on the platform address of the data platform. The data platform includes the target platform and the currently accessed platform. If the data platform's individual parameters have not been updated, the module responds to access events for the data platform by accessing the data platform through the platform access interface. If the data platform's individual parameters have been updated, the module updates the platform access interface corresponding to the data platform.
[0053] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0054] In response to access events targeting target data, determine the target platform that matches the target data;
[0055] If the target platform is different from the currently accessed platform, determine the current platform address of the currently accessed platform and the real-time target personalized parameters corresponding to the target platform; the current platform address contains multiple address parameters;
[0056] Perform parameter type analysis on the multiple address parameters contained in the current platform address to determine the common parameters and unique parameters contained in the current platform address;
[0057] The target address of the target platform is obtained by reconstructing the address based on the target's unique parameters, common parameters, and current unique parameters.
[0058] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0059] In response to access events targeting target data, determine the target platform that matches the target data;
[0060] If the target platform is different from the currently accessed platform, determine the current platform address of the currently accessed platform and the real-time target personalized parameters corresponding to the target platform; the current platform address contains multiple address parameters;
[0061] Perform parameter type analysis on the multiple address parameters contained in the current platform address to determine the common parameters and unique parameters contained in the current platform address;
[0062] The target address of the target platform is obtained by reconstructing the address based on the target's unique parameters, common parameters, and current unique parameters.
[0063] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0064] In response to access events targeting target data, determine the target platform that matches the target data;
[0065] If the target platform is different from the currently accessed platform, determine the current platform address of the currently accessed platform and the real-time target personalized parameters corresponding to the target platform; the current platform address contains multiple address parameters;
[0066] Perform parameter type analysis on the multiple address parameters contained in the current platform address to determine the common parameters and unique parameters contained in the current platform address;
[0067] The target address of the target platform is obtained by reconstructing the address based on the target's unique parameters, common parameters, and current unique parameters.
[0068] The aforementioned platform address configuration method, apparatus, computer equipment, storage medium, and computer program product first respond to access events targeting target data, determine the target platform matching the target data, and, if the target platform is inconsistent with the currently accessed platform, determine the current platform address of the currently accessed platform and the real-time target-specific parameters corresponding to the target platform. This ensures the timeliness of the target-specific parameters corresponding to the target platform, avoids time-consuming redirects to incorrect addresses, and improves the efficiency of platform switching. The current platform address contains multiple address parameters. Then, parameter type analysis is performed on these multiple address parameters to determine the common parameters and current-specific parameters contained in the current platform address. Address reconstruction is performed based on the target-specific parameters, common parameters, and current-specific parameters. No manual program modification is required, and the target address of the target platform can be quickly obtained. In other words, throughout the entire process, no manual modification of the calculation module's program is needed, which does not interfere with system operation, ensures the timeliness of the target-specific parameters, updates the current-specific parameters through the target-specific parameters, and quickly reconstructs the address based on the common parameters, dynamically switching platform addresses without spending excessive time manually modifying the program, thus improving the efficiency of platform switching. Attached Figure Description
[0069] Figure 1This is an application environment diagram of a platform address configuration method in one embodiment;
[0070] Figure 2 This is a flowchart illustrating a platform address configuration method in one embodiment;
[0071] Figure 3 This is a flowchart illustrating a target platform determination method in one embodiment;
[0072] Figure 4 This is a flowchart illustrating a parameter type analysis method in one embodiment;
[0073] Figure 5 This is a flowchart illustrating a method for obtaining a target address in one embodiment;
[0074] Figure 6 This is a flowchart illustrating a method for replacing individual parameters in one embodiment;
[0075] Figure 7 This is a flowchart illustrating a subparameter replacement method in one embodiment;
[0076] Figure 8 This is a flowchart illustrating a mapping relationship update method in one embodiment;
[0077] Figure 9 This is a flowchart illustrating a platform access interface management method in one embodiment;
[0078] Figure 10 This is a flowchart illustrating the platform address configuration method in another embodiment;
[0079] Figure 11 This is a structural block diagram of a platform address configuration device in one embodiment;
[0080] Figure 12 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0081] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0082] It should be noted that the user information (including but not limited to user device information and user personal information stored on various platforms) and data (including but not limited to data used for analysis, stored data, and displayed data) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0083] The platform address configuration method provided in this application embodiment can be applied to, for example, Figure 1 The system illustrates a platform address configuration system. Terminal 102 communicates with configuration center 104 via a network. A data storage system stores the data that configuration center 104 needs to process. This data storage system can be integrated into configuration center 104 or located in the cloud or on another network server. Configuration center 104 responds to access events initiated by terminal 102 for target data, determining the target platform matching the target data. If the target platform differs from the currently accessed platform, configuration center 104 first determines the current platform address of the currently accessed platform and the real-time target-specific parameters corresponding to the target platform. The current platform address contains multiple address parameters. Then, configuration center 104 performs parameter type analysis on these address parameters to determine the common parameters and current-specific parameters contained in the current platform address. Based on the target-specific parameters, common parameters, and current-specific parameters, it reconstructs the address to obtain the target address of the target platform.
[0084] Specifically, terminal 102 is a terminal device on the financial institution side, which may be, but is not limited to, a personal computer, laptop, smartphone, tablet, IoT device, etc., so that the terminal device on the financial institution side can calculate the threshold of available resources for the user based on the user's request and send access events for the required data to configuration center 104. Configuration center 104 may be Nacos (Naming and Configuration Service), which can store, retrieve and monitor changes to configured address parameters.
[0085] In one embodiment, such as Figure 2 As shown, a platform address configuration method is provided, which can be applied to... Figure 1 Taking the configuration center in the example, the following steps are included:
[0086] Step 202: In response to an access event for the target data, determine the target platform that matches the target data.
[0087] The configuration center registers monitoring services for access events. The target data specifically refers to data used to calculate the threshold for available resources. The target platform specifically refers to the platform that stores the target data. Different platforms store different types of data.
[0088] Optionally, the configuration center can respond promptly to access events targeting target data based on the monitoring services registered in the configuration center, identify the target data, determine the type of target data, and determine the target platform that matches the target data based on the type of target data.
[0089] For example, the monitoring services registered in the configuration center can specifically be monitoring services registered based on the Spring Listen monitoring function and the Nacos monitoring function. Both the Spring Listen and Nacos monitoring functions can monitor specific operations and respond promptly when events related to those operations are triggered, thus handling the triggered events in a timely manner. However, the monitoring services registered in the configuration center are not limited to the above types, and this embodiment does not impose any limitations on them.
[0090] Step 204: If the target platform is inconsistent with the current access platform, determine the current platform address of the current access platform and the real-time target personality parameters corresponding to the target platform; the current platform address contains multiple address parameters.
[0091] The discrepancy between the target platform and the currently accessed platform indicates a need to switch platforms to obtain data stored on the next platform for calculating the available resource threshold. The platform address specifically refers to the webpage address, or URL (Uniform Resource Locator) address, including but not limited to the protocol and port used when accessing the webpage. The address parameters in the platform address are the characters that constitute the webpage address, which can be divided into common parameters and unique parameters. Common parameters are the characters that remain unchanged across different platforms' webpage addresses, representing commonly used protocols or ports. Unique parameters are the characters in the address parameters other than the common parameters. Each platform's address has its own corresponding unique parameters.
[0092] Optionally, for a target platform, the configuration center can categorize the target platform's address parameters into common parameters and unique parameters, and determine the real-time unique parameters corresponding to the target platform based on the monitoring services registered in the configuration center. If the target platform differs from the currently accessed platform, the configuration center can first determine the current platform address of the currently accessed platform and the real-time unique parameters corresponding to the target platform. This allows for subsequent dynamic updates of the current platform address based on the real-time unique parameters of the target platform, thus obtaining the target address corresponding to the target platform.
[0093] Step 206: Analyze the parameter types of the multiple address parameters contained in the current platform address to determine the common parameters and unique parameters contained in the current platform address.
[0094] The classification rules for common and unique parameters can be flexibly configured according to actual application scenarios, and this embodiment does not impose any limitations on this. Each platform address has at least one common parameter and at least one unique parameter.
[0095] Optionally, the configuration center can perform parameter type analysis on multiple address parameters contained in the current platform address based on preset parameter type classification rules to determine the common parameters and current unique parameters contained in the current platform address.
[0096] For example, taking platforms A, B, and C, which store threshold calculation data, as examples where the address parameters all include "https" and "com", the configuration center can use "https" and "com" as common parameters among platforms A, B, and C. The configuration center can use the address parameters for each platform, excluding "https" and "com", as unique parameters for each platform. For instance, the configuration center can use the address parameters for platform A, excluding "https" and "com", as unique parameters for platform A.
[0097] Step 208: Reconstruct the address based on the target individual parameters, common parameters, and current individual parameters to obtain the target address of the target platform.
[0098] Optionally, the configuration center can update the current personalized parameters in the current platform address corresponding to the currently accessed platform based on the target personalized parameters, and reconstruct the address based on the target personalized parameters and common parameters to obtain the target address of the target platform.
[0099] In the above platform address configuration method, the system first responds to access events for target data, determining the target platform that matches the target data. If the target platform differs from the currently accessed platform, it determines the current platform address of the current accessed platform and the real-time target-specific parameters corresponding to the target platform. This ensures the timeliness of the target-specific parameters, avoids time-consuming redirects to incorrect addresses, and improves platform switching efficiency. The current platform address contains multiple address parameters. Then, parameter type analysis is performed on these parameters to determine the common and current-specific parameters. Address reconstruction is performed based on the target-specific parameters, common parameters, and current-specific parameters. No manual program modification is required, allowing for rapid acquisition of the target platform's address. In short, the entire process requires no manual modification of the calculation module, preventing system disruption and ensuring the timeliness of the target-specific parameters. The target-specific parameters are updated to reflect the current-specific parameters, and address reconstruction is performed quickly using common parameters, dynamically switching platform addresses without requiring excessive manual program modification, thus improving platform switching efficiency.
[0100] In one embodiment, before responding to an access event for the target data, the configuration center needs to obtain an event set comprising multiple access events, where each access event carries a data identifier for the data to be accessed. For example... Figure 3 As shown, in response to an access event for target data, the target platform matching the target data is determined, including:
[0101] Step 302: Determine the target data with the highest access priority among all the data to be accessed.
[0102] Among them, the highest priority for target data access indicates that the target platform storing the target data needs to be accessed first in order to obtain the target data from the target platform first.
[0103] Optionally, the configuration center can identify the access priority of each piece of data to be accessed and determine the target data with the highest access priority among them.
[0104] For example, if the financial institution has configured the priority of each piece of data to be accessed on the terminal, the configuration center can determine the access priority of each piece of data based on the priority relationship configured by the financial institution. If the financial institution has not configured the priority of each piece of data to be accessed on the terminal, the configuration center can first identify the trigger time of the access event corresponding to each piece of data to be accessed, and then determine the access priority of each piece of data to be accessed according to the trigger time. For example, the data to be accessed corresponding to the access event with the earliest trigger time can be determined as the target data with the highest access priority.
[0105] Step 304: In response to an access event for the target data, determine the target platform that matches the target data.
[0106] Optionally, the configuration center may prioritize responding to access events for target data, determine the target platform that matches the target data, and prioritize obtaining the target data from the target platform.
[0107] For example, after the configuration center responds to an access event for the target data and the financial institution has obtained the target data from the target platform, the configuration center can delete the access event for the target data from the event set to obtain an updated event set. Then, from the data to be accessed corresponding to each access event in the updated event set, the next target data with the highest access priority and the next target platform are determined.
[0108] In this embodiment, in scenarios where multiple platforms need to be accessed, the order of switching to each platform can be determined based on the access priority of the data to be accessed corresponding to each access event. This allows for automatic and dynamic switching of the required platforms according to the access order, without interfering with system operation or requiring manual switching of accessed platforms, thus improving the efficiency of platform switching.
[0109] In one embodiment, such as Figure 4 As shown, parameter type analysis is performed on multiple address parameters contained in the current platform address to determine the common parameters and unique parameters contained in the current platform address, including:
[0110] Step 402: Obtain the set separator.
[0111] The separators include, but are not limited to, the characters in the web address such as " / ", ".", "_", "&", and "=".
[0112] Optionally, the configuration center can determine the separator based on the format of the web address.
[0113] Step 404: If the current platform address includes a delimiter, determine the multiple address parameters included in the current platform address by using the location of the delimiter as the splitting position.
[0114] Optionally, if the current platform address includes a delimiter, the configuration center can use the location of the delimiter as the splitting point to split the current platform address and determine the multiple address parameters included in the current platform address.
[0115] For example, taking the current platform address as "https: / / AAA / BBB=CCC&DDD_EEE" as an example, the configuration center can segment the current platform address based on the set separators " / ", "_", "&" and "=" in the current platform address to determine the multiple address parameters https, AAA, BBB, CCC, DDD and EEE included in the current platform address.
[0116] Step 406: Based on the position of each address parameter in the current platform address, determine the common parameters and the current individual parameters from each address parameter.
[0117] Optionally, the configuration center can determine common parameters and current personalized parameters from the address parameters based on their respective positions within the current platform address set. For example, following a left-to-right order, the first address parameter, such as "http" or "https," can be taken as a common parameter, or the last address parameter, such as "com" or "cn," can be taken as a common parameter. However, the methods used in this embodiment to determine common parameters and current personalized parameters based on the positions of the address parameters are not limited to the above methods; this embodiment only provides examples of some determination methods.
[0118] For example, taking the current platform address as "https: / / AAA / BBB=CCC&DDD_EEE" as an example, after the configuration center determines that the current platform address includes multiple address parameters https, com, AAA, BBB, CCC, DDD, and EEE, the configuration center can determine https as a common parameter and AAA, BBB, CCC, DDD, and EEE as current unique parameters of the current platform address based on the position of each address parameter in the current platform address.
[0119] In this embodiment, by setting a separator, the common parameters and current individual parameters in the current platform address are determined, so that the platform address can be quickly reconstructed by updating the current individual parameters in the current platform address. This helps to improve the efficiency of address reconstruction, thereby improving the efficiency of obtaining the target address of the target platform, and further improving the efficiency of dynamic platform switching.
[0120] In one embodiment, such as Figure 5 As shown, address reconstruction is performed based on target individual parameters, common parameters, and current individual parameters to obtain the target address of the target platform, including:
[0121] Step 502: Determine the current platform address as the initial address.
[0122] Optionally, the configuration center can determine the current platform address as the initial address.
[0123] Step 504: Retain the common parameters in the initial address, and perform personalized parameter replacement on the initial address based on the target personalized parameters to obtain the target address of the target platform.
[0124] Optionally, after performing parameter type analysis on each address parameter in the initial address in the configuration center and determining the common parameters and current individual parameters in the initial address, the configuration center can retain the common parameters in the initial address and perform individual parameter replacement processing on the initial address based on the target individual parameters to obtain the target address of the target platform.
[0125] For example, the configuration center can first construct a string based on the target personalized parameters, and then perform personalized parameter replacement processing on the string composed of personalized parameters in the initial address based on the constructed string. Taking the current platform address as "https: / / XXXXXX" and the configuration center retaining "https" as a common parameter as an example, the configuration center can determine the string "YYYYYY" composed of the target personalized parameters corresponding to the target platform based on each target personalized parameter and the position of each target personalized parameter, and then perform personalized parameter replacement processing on the string composed of the current personalized parameters in the initial address based on the determined string "YYYYYY", and combine it with the retained common parameters to obtain the target address of the target platform "https: / / YYYYYY".
[0126] For example, the configuration center can first perform personalized parameter replacement processing on each personalized parameter in the initial address based on the position of each target personalized parameter. For instance, the configuration center can replace the i-th current personalized parameter in the initial address with the i-th target personalized parameter in a left-to-right order. If the number of current personalized parameters is less than or equal to the number of target personalized parameters, the remaining target personalized parameters are added to the reconstructed address according to their respective positional orders; if the number of current personalized parameters is greater than the number of target personalized parameters, the remaining current personalized parameters are deleted after all target personalized parameters have been replaced.
[0127] In this embodiment, by retaining the common parameters in the initial address and only replacing the individual parameters in the initial address, dynamic address switching is achieved without the need for manual program modification, which can improve the efficiency of address switching and thus improve the efficiency of the switching platform.
[0128] In one embodiment, such as Figure 6 As shown, the initial address is processed by replacing individual parameters based on the target individual parameters, including:
[0129] Step 602: Determine the multiple sub-parameters contained in the current personality parameter and the target personality parameter respectively.
[0130] Optionally, since most platform addresses, in addition to characters representing commonly used ports or protocols, typically include multiple characters representing less commonly used ports or protocols, these less commonly used characters constitute the platform address's unique parameters. Each character representing a less commonly used port or protocol corresponds to a sub-parameter within that platform address's unique parameters. Therefore, the configuration center can separately determine the multiple sub-parameters contained in the current unique parameters and the target unique parameters.
[0131] Step 604: Based on the individual parameter category corresponding to each sub-parameter, perform individual parameter replacement processing on the initial address using the target individual parameter.
[0132] Specifically, the category of personalized parameters is the functional category corresponding to the sub-parameter. For example, the sub-parameter representing the domain name and the sub-parameter representing the port correspond to different functional categories.
[0133] Optionally, if among the multiple sub-parameters included in the target personality parameter, there exists a sub-parameter whose personality parameter category is the same as that included in the current personality parameter, the configuration center can replace the sub-parameters of the same personality parameter category in the current personality parameter based on the sub-parameters in the target personality parameter.
[0134] For example, if sub-parameter A in the current personalized parameters represents the domain name of the currently accessed platform, and sub-parameter B in the target personalized parameters represents the domain name of the target platform, since sub-parameter A and sub-parameter B correspond to the same personalized parameter category, the configuration center can use sub-parameter B in the target personalized parameters to replace sub-parameter A in the current personalized parameters.
[0135] In this embodiment, based on the individual parameter categories corresponding to each sub-parameter, the individual parameter replacement process is performed, which can more accurately complete the replacement of the current individual parameter, which is conducive to improving the accuracy of the obtained target address and avoiding wasting time switching to the wrong address, thereby improving the accuracy and efficiency of the switching platform.
[0136] In one embodiment, such as Figure 7 As shown, based on the individual parameter categories corresponding to each sub-parameter, the initial address is processed by replacing individual parameters using the target individual parameters, including:
[0137] Step 702: Based on the individual parameter category corresponding to each sub-parameter, perform parameter pairing on each sub-parameter to obtain at least one set of sub-parameter pairs; each set of sub-parameter pairs includes the current sub-parameter in the current individual parameter and the target sub-parameter in the target individual parameter.
[0138] Optionally, the configuration center can pair the current personal parameters with the sub-parameters of the same personal parameter category in the target personal parameters to obtain at least one set of sub-parameter pairs.
[0139] For example, if the current sub-parameter A in the current personality parameter represents the domain name of the currently accessed platform, and the target sub-parameter B in the target personality parameter represents the domain name of the target platform, since sub-parameter A and sub-parameter B correspond to the same personality parameter category, the configuration center can establish a pairing relationship between the current sub-parameter A in the current personality parameter and the target sub-parameter B in the target personality parameter to obtain a set of sub-parameter pairs.
[0140] Step 704: For each sub-parameter pair, perform parameter replacement processing on the current sub-parameter in the target sub-parameter pair of the sub-parameter pair.
[0141] Optionally, for each sub-parameter pair, the configuration center can perform parameter replacement processing using the current sub-parameter in the target sub-parameter pair. Taking the sub-parameter pair constructed based on the current sub-parameter A and the target sub-parameter B in step 702 as an example, the configuration center can use the target sub-parameter B to replace the current sub-parameter A in the current personalized parameter to achieve address reconstruction.
[0142] In this embodiment, based on the individual parameter categories corresponding to each sub-parameter, sub-parameter pairs are determined, and sub-parameter replacement is performed accurately and quickly based on the sub-parameter pairs. This helps to improve the accuracy of the obtained target address and avoids wasting time switching to the wrong address, thereby improving the accuracy and efficiency of the switching platform.
[0143] In one embodiment, such as Figure 8 As shown, the method further includes:
[0144] Step 802: Based on the personalized parameters configured for the data platform, establish a mapping relationship between the data platform and the personalized parameters; the data platform includes the target platform and the currently accessed platform.
[0145] Optionally, the configuration center can monitor the data platform based on the monitoring services registered in the configuration center, determine the real-time personalized parameters configured for the data platform, establish a mapping relationship between the data platform and the personalized parameters, and store the established mapping relationship in the configuration center so that when it is necessary to jump to a certain data platform in the future, the personalized parameters of that data platform can be directly obtained.
[0146] Optionally, the configuration center can also determine the common parameters of the data platform based on the monitoring services registered in the configuration center, and store the common parameters of the data platform in the configuration center as well.
[0147] Step 804: In response to the personalized parameter update event, obtain the updated parameters and update the mapping relationship based on the updated parameters.
[0148] Optionally, for each data platform, the configuration center can respond promptly to the personalized parameter update event corresponding to the data platform based on the monitoring service registered in the configuration center, obtain the updated parameters corresponding to the data platform, i.e. the updated personalized parameters, and update the mapping relationship based on the updated parameters.
[0149] For example, if the web address of a data platform needs to be changed, the configuration center can use the monitoring service to promptly detect the update event of the corresponding personalized parameters of the data platform and update the personalized parameters of the data platform stored in the configuration center in a timely manner.
[0150] In this embodiment, on the one hand, a mapping relationship between the data platform's individual parameters and the data platform is pre-established in the configuration center, and the corresponding individual parameters of the data platform are stored. This allows for direct retrieval of the data platform's individual parameters later, improving the efficiency of individual parameter replacement and thus increasing the efficiency of platform switching. On the other hand, changes to individual parameters are monitored, and the individual parameters and mapping relationship stored in the configuration center are dynamically modified. This ensures the timeliness of individual parameters, avoids wasting time switching to the wrong address, and helps improve the efficiency and accuracy of address switching.
[0151] In one embodiment, such as Figure 9 As shown, the method further includes:
[0152] Step 902: Based on the platform address of the data platform, determine the platform access interface corresponding to the data platform; the data platform includes the target platform and the currently accessed platform.
[0153] Optionally, after determining the platform address of the data platform, the configuration center can instantiate a Java object for the platform address, generate a platform access interface corresponding to the data platform, and inject the generated platform access interface into the Spring container for management. The Spring container is the core of the Spring framework and is used to manage the lifecycle of created objects; in this embodiment, it is used to manage the generated Java object, i.e., the platform access interface.
[0154] For example, the configuration center can inject the instantiated platform access interfaces into the Spring container for management based on Spring IoC and Spring AOP technologies. Spring IoC (Inversion of Control) technology manages the generated objects through the container, controlling the object lifecycle and relationships between objects through the Spring framework. Spring AOP (Aspect-Oriented Programming) technology is based on a proxy implementation, where the generation and management of proxies both rely on the Spring container.
[0155] Step 904: If the personalized parameters of the data platform have not been updated, respond to the access event for the data platform and access the data platform through the platform access interface.
[0156] Optionally, the configuration center can determine the update status of the data platform's individual parameters based on the monitoring services registered in the configuration center. If the data platform's individual parameters have not been updated, the configuration center can quickly respond to access events targeting the data platform based on the monitoring services, and obtain the platform access interface corresponding to the data platform from the Spring container, and access the data platform based on the obtained platform access interface.
[0157] Step 906: If the personalized parameters of the data platform are updated, update the corresponding platform access interface of the data platform.
[0158] Optionally, when the personalized parameters of the data platform are updated, the configuration center can quickly determine the updated personalized parameters of the data platform, i.e., the updated parameters corresponding to the data platform, based on the monitoring service registered in the configuration center. Then, based on the obtained updated parameters, a new platform address is generated, and a new platform access interface is generated based on the new platform address, thereby updating the platform access interface of the data platform stored in the Spring container.
[0159] In this embodiment, by utilizing the management functions of the Spring container, the generated platform access interface can be directly obtained from the Spring container when the personalized parameters of the data platform have not been updated, which helps to improve the efficiency of switching platforms. When the personalized parameters of the data platform are updated, the platform access interface stored in the Spring container can be updated synchronously, which can ensure the timeliness and validity of the platform access interface obtained from the Spring container, and help to improve the accuracy and efficiency of switching platforms.
[0160] In another embodiment, such as Figure 10 As shown, a flowchart illustrating a platform address configuration method within a platform address configuration system comprised of a data platform, configuration center, terminal, and Spring container is provided. The main steps include the following:
[0161] First, the configuration center can monitor the unique parameters of the data platform based on the monitoring services registered in the configuration center, and establish a mapping relationship between the data platform and these unique parameters. The data platform includes the target platform and the currently accessed platform. For each data platform, the configuration center can respond to the corresponding unique parameter update event based on the monitoring services registered in the configuration center, obtain the updated parameters of the data platform, and dynamically update the mapping relationship stored in the configuration center based on these updated parameters. Furthermore, the configuration center can also monitor the common parameters of the data platform based on the monitoring services registered in the configuration center and store these common parameters.
[0162] Then, the configuration center can obtain an event set including multiple access events based on the monitoring services registered in the configuration center. Each access event carries a data identifier of the data to be accessed. The configuration center can first determine the target data with the highest access priority among the data to be accessed, and in response to the access event for the target data, determine the target platform that matches the target data. If the target platform is inconsistent with the current access platform, the configuration center can determine the current platform address of the current access platform and the real-time target-specific parameters corresponding to the target platform based on the stored mapping relationship. It can also perform parameter type analysis on the multiple address parameters contained in the current platform address to determine the common parameters and current-specific parameters contained in the current platform address. Based on the target-specific parameters, common parameters, and current-specific parameters, the address is reconstructed to obtain the target address of the target platform.
[0163] Furthermore, after the configuration center determines the platform access interface corresponding to the data platform based on the platform address, it can inject the generated platform access interface into the Spring container for management. If the data platform's individual parameters remain unchanged, the configuration center can respond to access events related to the data platform, obtain the data platform's access interface from the Spring container, and access the data platform through this interface. If the data platform's individual parameters are updated, the configuration center can update the corresponding platform access interface stored in the Spring container based on the changes detected by the monitoring service.
[0164] In this embodiment, on the one hand, during platform switching, there is no need to manually modify the calculation module program, thus avoiding interference with system operation. On the other hand, by monitoring access events, access requests can be responded to promptly, improving the efficiency of platform switching. Furthermore, updating the address only requires changing individual parameters, further enhancing efficiency. Additionally, changes to individual parameters are dynamically monitored and modified to ensure their timeliness, preventing time-consuming switching to incorrect addresses and improving the efficiency and accuracy of address switching. Moreover, utilizing the management capabilities of the Spring container to manage the data platform's access interfaces provides timely and valid access interfaces, further contributing to improved efficiency and accuracy of platform switching.
[0165] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0166] Based on the same inventive concept, this application also provides a platform address configuration apparatus for implementing the platform address configuration method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more platform address configuration apparatus embodiments provided below can be found in the limitations of the platform address configuration method described above, and will not be repeated here.
[0167] In one embodiment, such as Figure 11 As shown, a platform address configuration device is provided, including: a target platform determination module, a personalized parameter determination module, a parameter type analysis module, and a target address acquisition module, wherein:
[0168] The target platform determination module determines the target platform that matches the target data in response to access events for the target data.
[0169] The personalized parameter determination module is used to determine the current platform address of the current access platform and the real-time target personalized parameters corresponding to the target platform when the target platform is different from the current access platform; the current platform address contains multiple address parameters;
[0170] The parameter type analysis module is used to analyze the parameter types of multiple address parameters contained in the current platform address, and to determine the common parameters and unique parameters contained in the current platform address.
[0171] The target address acquisition module is used to reconstruct the address based on the target's unique parameters, common parameters, and current unique parameters to obtain the target address of the target platform.
[0172] In the aforementioned platform address configuration device, in response to access events targeting target data, the target platform matching the target data is determined. If the target platform differs from the currently accessed platform, the current platform address of the currently accessed platform and the real-time target-specific parameters corresponding to the target platform are determined. This ensures the timeliness of the target-specific parameters corresponding to the target platform, avoids time-consuming redirects to incorrect addresses, and improves platform switching efficiency. The current platform address contains multiple address parameters. Then, parameter type analysis is performed on these multiple address parameters to determine the common parameters and current-specific parameters contained in the current platform address. Address reconstruction is performed based on the target-specific parameters, common parameters, and current-specific parameters. No manual program modification is required, allowing for rapid acquisition of the target platform's target address. In other words, the entire process does not require manual modification of the calculation module's program, does not interfere with system operation, ensures the timeliness of the target-specific parameters, updates the current-specific parameters through the target-specific parameters, and rapidly reconstructs the address based on the common parameters, dynamically switching platform addresses without consuming excessive time for manual program modification, thus improving platform switching efficiency.
[0173] In one embodiment, the device further includes:
[0174] The event set acquisition module is used to acquire an event set including multiple access events; each access event carries a data identifier of the data to be accessed; determine the target data with the highest access priority among the data to be accessed; and in response to the access event for the target data, determine the target platform that matches the target data.
[0175] In one embodiment, the parameter type analysis module is further configured to: obtain a set separator; if the set separator is included in the current platform address, determine multiple address parameters included in the current platform address by taking the location of the set separator as the segmentation position; and determine common parameters and current individual parameters from the address parameters based on their respective positions in the current platform address.
[0176] In one embodiment, the target address acquisition module is further configured to: determine the current platform address as the initial address; retain the common parameters in the initial address, and perform individual parameter replacement processing on the initial address based on the target individual parameters to obtain the target address of the target platform.
[0177] In one embodiment, the device further includes:
[0178] The personalized parameter replacement module is used to determine the multiple sub-parameters contained in the current personalized parameter and the target personalized parameter; based on the personalized parameter category corresponding to each sub-parameter, the initial address is processed to replace the personalized parameter using the target personalized parameter.
[0179] In one embodiment, the device further includes:
[0180] The sub-parameter replacement module is used to perform parameter pairing on each sub-parameter based on the corresponding personalized parameter category, to obtain at least one set of sub-parameter pairs. Each set of sub-parameter pairs includes the current sub-parameter in the current personalized parameter and the target sub-parameter in the target personalized parameter. For each sub-parameter pair, the target sub-parameter in the sub-parameter pair is used to perform parameter replacement processing on the current sub-parameter in the sub-parameter pair.
[0181] In one embodiment, the device further includes:
[0182] The mapping relationship update module is used to establish a mapping relationship between the data platform and the personalized parameters configured for the data platform; the data platform includes the target platform and the currently accessed platform; in response to the personalized parameter update event, it obtains the updated parameters and updates the mapping relationship based on the updated parameters.
[0183] In one embodiment, the device further includes:
[0184] The platform access interface management module is used to determine the platform access interface corresponding to the data platform based on the platform address of the data platform. The data platform includes the target platform and the currently accessed platform. If the data platform's individual parameters have not been updated, the module responds to access events for the data platform by accessing the data platform through the platform access interface. If the data platform's individual parameters have been updated, the module updates the platform access interface corresponding to the data platform.
[0185] Each module in the aforementioned platform address configuration device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0186] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 12As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores platform address configuration data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When executed by the processor, the computer program implements a platform address configuration method.
[0187] Those skilled in the art will understand that Figure 12 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0188] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0189] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above method embodiments.
[0190] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0191] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0192] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0193] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A platform address configuration method, characterized in that, The method includes: In response to an access event for target data, the target data is identified, the type of the target data is determined, and based on the type of the target data, a target platform matching the target data is determined; the target data includes data for calculating a threshold of available resources, and the target platform is used to store the target data; If the target platform is inconsistent with the currently accessed platform, determine the current platform address of the currently accessed platform and the real-time target personality parameters corresponding to the target platform; the current platform address contains multiple address parameters; Parameter type analysis is performed on multiple address parameters contained in the current platform address to determine the common parameters and current unique parameters contained in the current platform address; the common parameters include characters that have not changed in the web page address of different platforms, and the unique parameters include other characters in the address parameters besides the common parameters; The target address of the target platform is obtained by reconstructing the address based on the target individual parameters, the common parameters, and the current individual parameters. The method further includes: monitoring the data platform based on the monitoring service registered in the configuration center, determining the real-time personalized parameters configured for the data platform, and establishing a mapping relationship between the data platform and the personalized parameters based on the personalized parameters configured for the data platform, and storing the established mapping relationship in the configuration center; the data platform includes the target platform and the currently accessed platform; in response to a personalized parameter update event, obtaining the updated personalized parameters, and updating the mapping relationship based on the updated personalized parameters, the mapping relationship being used to obtain the personalized parameters corresponding to the data platform.
2. The method according to claim 1, characterized in that, The method further includes: Obtain an event set that includes multiple access events; each access event carries a data identifier for the data to be accessed; The step of determining the target platform matching the target data in response to an access event for the target data includes: Determine the target data with the highest access priority among all the data to be accessed; In response to an access event for the target data, a target platform matching the target data is determined.
3. The method according to claim 1, characterized in that, The step of performing parameter type analysis on multiple address parameters contained in the current platform address to determine the common parameters and current unique parameters contained in the current platform address includes: Get the set delimiter; If the current platform address includes the set separator, the position of the set separator is used as the splitting position to determine the multiple address parameters included in the current platform address; Based on the position of each of the address parameters in the current platform address, common parameters and current individual parameters are determined from each of the address parameters.
4. The method according to claim 1, characterized in that, The process of reconstructing the address based on the target individual parameters, the common parameters, and the current individual parameters to obtain the target address of the target platform includes: The current platform address is set as the initial address; The common parameters in the initial address are retained, and the initial address is processed by replacing the individual parameters based on the target individual parameters to obtain the target address of the target platform.
5. The method according to claim 4, characterized in that, The process of replacing the initial address with personalized parameters based on the target personalized parameters includes: Determine the multiple sub-parameters contained in both the current personality parameter and the target personality parameter; Based on the individual parameter category corresponding to each of the sub-parameters, the initial address is replaced with individual parameter using the target individual parameter.
6. The method according to claim 5, characterized in that, The process of replacing the initial address with the target personalized parameter based on the personalized parameter category corresponding to each of the sub-parameters includes: Based on the individual parameter category corresponding to each of the sub-parameters, parameter pairing is performed on each of the sub-parameters to obtain at least one set of sub-parameter pairs; each set of sub-parameter pairs includes the current sub-parameter in the current individual parameter and the target sub-parameter in the target individual parameter; For each of the sub-parameter pairs, the target sub-parameter in the sub-parameter pair is used to perform parameter replacement processing on the current sub-parameter in the sub-parameter pair.
7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Based on the platform address of the data platform, determine the platform access interface corresponding to the data platform; the data platform includes the target platform and the currently accessed platform; If the personalized parameters of the data platform are not updated, the data platform is accessed through the platform access interface in response to an access event for the data platform. When the personalized parameters of the data platform are updated, the platform access interface corresponding to the data platform is updated.
8. A platform address configuration device, characterized in that, The device includes: The target platform determination module, in response to an access event for target data, identifies the target data, determines the type of the target data, and, based on the type of the target data, determines the target platform that matches the target data; the target data includes data used to calculate a threshold for available resources, and the target platform is used to store the target data; The personalized parameter determination module is used to determine the current platform address of the current access platform and the real-time target personalized parameters corresponding to the target platform when the target platform is inconsistent with the current access platform; the current platform address contains multiple address parameters; The parameter type analysis module is used to perform parameter type analysis on multiple address parameters contained in the current platform address to determine the common parameters and current unique parameters contained in the current platform address; the common parameters include characters that have not changed in the web page address of different platforms, and the unique parameters include other characters in the address parameters besides the common parameters; The target address acquisition module is used to reconstruct the address based on the target individual parameters, the common parameters, and the current individual parameters to obtain the target address of the target platform; The device further includes a mapping update module, configured to: monitor the data platform based on monitoring services registered in the configuration center, determine real-time personalized parameters configured for the data platform, establish a mapping relationship between the data platform and the personalized parameters based on the personalized parameters configured for the data platform, and store the established mapping relationship in the configuration center; the data platform includes the target platform and the currently accessed platform; in response to a personalized parameter update event, obtain the updated personalized parameters, and update the mapping relationship based on the updated personalized parameters, the mapping relationship being used to obtain the personalized parameters corresponding to the data platform.
9. The apparatus according to claim 8, characterized in that, The device further includes: An event set acquisition module is used to acquire an event set including multiple access events; each access event carries a data identifier of the data to be accessed; determine the target data with the highest access priority among the data to be accessed; and in response to the access event for the target data, determine the target platform that matches the target data.
10. The apparatus according to claim 8, characterized in that, The parameter type analysis module is further configured to: obtain a set separator; if the set separator is included in the current platform address, determine multiple address parameters included in the current platform address by taking the location of the set separator as the segmentation position; and determine common parameters and current individual parameters from the address parameters based on their respective positions in the current platform address.
11. The apparatus according to claim 8, characterized in that, The target address acquisition module is further configured to: determine the current platform address as the initial address; retain the common parameters in the initial address; perform personalized parameter replacement processing on the initial address based on the target personalized parameters to obtain the target address of the target platform.
12. The apparatus according to claim 11, characterized in that, The device further includes: The personalized parameter replacement module is used to determine the multiple sub-parameters contained in the current personalized parameter and the target personalized parameter; based on the personalized parameter category corresponding to each of the sub-parameters, the initial address is processed by replacing the personalized parameter using the target personalized parameter.
13. The apparatus according to claim 8, characterized in that, The device further includes: The sub-parameter replacement module is used to perform parameter pairing on each sub-parameter based on the corresponding personalized parameter category of each sub-parameter to obtain at least one set of sub-parameter pairs; each set of sub-parameter pairs includes the current sub-parameter in the current personalized parameter and the target sub-parameter in the target personalized parameter; for each sub-parameter pair, the target sub-parameter in the sub-parameter pair is used to perform parameter replacement processing on the current sub-parameter in the sub-parameter pair.
14. The apparatus according to any one of claims 8 to 13, characterized in that, The device further includes: The platform access interface management module is used to determine the platform access interface corresponding to the data platform based on the platform address of the data platform; the data platform includes the target platform and the currently accessed platform; if the personalized parameters of the data platform have not been updated, the module accesses the data platform through the platform access interface in response to an access event for the data platform; if the personalized parameters of the data platform are updated, the module updates the platform access interface corresponding to the data platform.
15. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
17. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
A service invoking method, a service invoking device and a central server
CN109324914A