Target traffic information alignment method, device, equipment and computer-readable medium
By generating backtracking identification to select the matrix and similarity, the accuracy of point-to-point alignment is solved, the accurate alignment and intuitive display of the target traffic is achieved, and the accuracy and efficiency of similarity comparison are improved.
Patent Information
- Application Number
- CN202210365686.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-08
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-04-08
AI Technical Summary
In the prior art, point-to-point alignment is less accurate when comparing the target traffic volume, and it is impossible to intuitively determine the similarity within different time periods, and users need to spend time finding the aligned target traffic volume.
By generating a backtrack identification pair matrix, the group to be backtracked identification pair is determined and the backtrack identification pair is selected according to the similarity, the target traffic comparison information group is generated, and the traffic information is displayed in an aligned manner in the display device.
The accuracy of target business volume similarity comparison is improved, and users can intuitively determine the similarity within different time periods, saving search time.
Smart Images

Figure CN116932606B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a method, apparatus, device, and computer-readable medium for aligning target traffic information. Background Art
[0002] With the development of computer network technology, backend servers can record the traffic volume of various services in real time (for example, website visits, web page views, number of documents received by the backend, etc.). Currently, it is possible to compare target traffic volumes at different times to analyze changes in target traffic volumes. When analyzing target traffic volumes at different times, a numerical sequence comparison method can be used to determine the similarity of target traffic volumes in different time periods and arrange them according to a certain pattern. Currently, the commonly used numerical sequence comparison method is to arrange the numerical sequences using a point-to-point alignment method.
[0003] However, when using the above method to compare numerical sequences, the following technical problems often occur:
[0004] First, in the point-to-point alignment method, one alignment only involves two point-level objects, which cannot represent the local context, resulting in poor accuracy in the similarity comparison results of target business volumes in different time periods.
[0005] Second, simply arranging the values of the numerical sequence cannot enable the user to intuitively determine the similarity between target business volumes in different time periods.
[0006] Third, when the numerical sequences are not arranged in a one-to-one correspondence, the user needs to spend a long time searching for another target business volume that is aligned with a target business volume, resulting in a waste of user time. Summary of the Invention
[0007] The content of this disclosure is used to briefly introduce concepts that will be described in detail in the detailed description section below. The content of this disclosure is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0008] Some embodiments of the present disclosure provide a target traffic volume information alignment method, apparatus, electronic device, and computer-readable medium to solve one or more of the technical problems mentioned in the above background technology section.
[0009] In a first aspect, some embodiments of the present disclosure provide a method for aligning target traffic volume information, the method comprising: determining the number of first target traffic volume information included in a first target traffic volume information sequence as a first number; determining the number of second target traffic volume information included in a second target traffic volume information sequence as a second number; generating a backtracking identifier pair matrix based on the first number and the second number; for each first target traffic volume information in the first target traffic volume information sequence, performing the following steps: for each second target traffic volume information in the second target traffic volume information sequence, performing the following sub-steps: determining a group of to-be-backtracked identifier pairs corresponding to the first target traffic volume information and the second target traffic volume information, wherein the first to-be-backtracked identifier in the to-be-backtracked identifier pair in the to-be-backtracked identifier pair group corresponds to the first target traffic volume information sequence, and the second to-be-backtracked identifier in the to-be-backtracked identifier pair corresponds to the second target traffic volume information sequence; generating the to-be-backtracked identifier pair based on the first target traffic volume information sequence and the second target traffic volume information sequence. The target business volume similarity corresponding to each to-be-backtraced identification pair in the group is obtained to obtain a target business volume similarity group; based on the above-mentioned target business volume similarity group, the to-be-backtraced identification pair that meets the preset backtracing condition is selected from the above-mentioned to-be-backtraced identification pair group as the backtracing identification pair; based on the above-mentioned first serial number and the above-mentioned second serial number, the above-mentioned backtracing identification pair is updated to the above-mentioned backtracing identification pair matrix; based on the updated backtracing identification pair matrix, a target business volume comparison information group is generated, wherein the target business volume comparison information in the above-mentioned target business volume comparison information group includes at least one first target business volume information and at least one second target business volume information corresponding to the above-mentioned at least one first target business volume information, the above-mentioned at least one first target business volume information is continuous, and the above-mentioned at least one second target business volume information is continuous; for each target business volume comparison information in the above-mentioned target business volume comparison information group, the first target business volume information and the second target business volume information included in the above-mentioned target business volume comparison information are displayed on an associated display device, so that the displayed first target business volume information and the second target business volume information present an aligned display effect.
[0010] In a second aspect, some embodiments of the present disclosure provide a target traffic volume information alignment device, the device comprising: a first determination unit, configured to determine the number of first target traffic volume information included in the first target traffic volume information sequence as a first number; a second determination unit, configured to determine the number of second target traffic volume information included in the second target traffic volume information sequence as a second number; a first generation unit, configured to generate a backtracking identifier pair matrix based on the above-mentioned first number and the above-mentioned second number; an execution unit, configured to, for each first target traffic volume information in the above-mentioned first target traffic volume information sequence, perform the following steps: for each second target traffic volume information in the above-mentioned second target traffic volume information sequence, perform the following sub-steps: determine a pair of to-be-backtracked identifiers corresponding to the above-mentioned first target traffic volume information and the above-mentioned second target traffic volume information, wherein the first to-be-backtracked identifier in the pair of to-be-backtracked identifiers in the above-mentioned pair of to-be-backtracked identifiers corresponds to the above-mentioned first target traffic volume information sequence, and the second to-be-backtracked identifier in the pair of to-be-backtracked identifiers corresponds to the above-mentioned second target traffic volume information sequence; according to the above-mentioned first target traffic volume information sequence and the above-mentioned second target traffic volume information sequence , generate the target business volume similarity corresponding to each to-be-backtraced identification pair in the above-mentioned to-be-backtraced identification pair group, and obtain the target business volume similarity group; according to the above-mentioned target business volume similarity group, select the to-be-backtraced identification pair that meets the preset backtracing condition from the above-mentioned to-be-backtraced identification pair group as the backtracing identification pair; according to the above-mentioned first sequence number and the above-mentioned second sequence number, update the above-mentioned backtracing identification pair to the above-mentioned backtracing identification pair matrix; the second generating unit is configured to generate a target business volume comparison information group according to the updated backtracing identification pair matrix, wherein the target business volume comparison information in the above-mentioned target business volume comparison information group includes to at least one first target business volume information and at least one second target business volume information corresponding to the at least one first target business volume information, the at least one first target business volume information being continuous, and the at least one second target business volume information being continuous; and a display unit being configured to display, for each target business volume comparison information in the target business volume comparison information group, the first target business volume information and the second target business volume information included in the target business volume comparison information in an associated display device, so that the displayed first target business volume information and the second target business volume information present an aligned display effect.
[0011] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by one or more processors, the one or more processors implement the method described in any implementation of the first aspect above.
[0012] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation of the first aspect is implemented.
[0013] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the target business volume information alignment method of some embodiments of the present disclosure, the accuracy of the similarity comparison results of the target business volume is improved. Specifically, the reason for the poor accuracy of the similarity comparison results of the target business volume is that: in the point-to-point alignment method, one alignment only involves two point-level objects, and the point-level objects cannot represent the local context, resulting in poor accuracy of the similarity comparison results of the target business volume in different time periods. Based on this, the target business volume information alignment method of some embodiments of the present disclosure, first, determines the number of first target business volume information included in the first target business volume information sequence as the first number. Then, the number of second target business volume information included in the second target business volume information sequence is determined as the second number. Secondly, based on the above-mentioned first number and the above-mentioned second number, a backtracking identification pair matrix is generated. Thus, the backtracking identification pair matrix can be used to store backtracking identification pairs for backtracking sequence alignment. Then, for each first target traffic information item in the first target traffic information sequence, the following steps are performed: For each second target traffic information item in the second target traffic information sequence, the following sub-steps are performed: Step 1: Determine a group of to-be-retrieved identifier pairs corresponding to the first target traffic information item and the second target traffic information item. The first to-be-retrieved identifier in the to-be-retrieved identifier pair in the to-be-retrieved identifier pair group corresponds to the first target traffic information sequence, and the second to-be-retrieved identifier in the to-be-retrieved identifier pair group corresponds to the second target traffic information sequence. Step 2: Based on the first target traffic information sequence and the second target traffic information sequence, generate a target traffic similarity corresponding to each to-be-retrieved identifier pair in the to-be-retrieved identifier pair group to obtain a target traffic similarity group. The target traffic similarity group can thus serve as a basis for determining a to-be-retrieved identifier pair. Step 3: Based on the target traffic similarity group, select a to-be-retrieved identifier pair from the to-be-retrieved identifier pair group that meets a preset retrieval condition as a to-be-retrieved identifier pair. The fourth step is to update the above-mentioned backtracking identification pair to the above-mentioned backtracking identification pair matrix according to the above-mentioned first serial number and the above-mentioned second serial number. In this way, the determined backtracking identification can be added to the backtracking identification pair matrix. Afterwards, a target business volume comparison information group is generated according to the updated backtracking identification pair matrix. Among them, the target business volume comparison information in the above-mentioned target business volume comparison information group includes at least one first target business volume information and at least one second target business volume information corresponding to the above-mentioned at least one first target business volume information, the above-mentioned at least one first target business volume information is continuous, and the above-mentioned at least one second target business volume information is continuous. Thus, the first target business volume information and the corresponding second target business volume information in each target business volume comparison information can be compared in a segment-to-segment alignment manner.Finally, for each target business volume comparison information in the target business volume comparison information group, the first target business volume information and the second target business volume information included in the target business volume comparison information are displayed on the associated display device, so that the displayed first target business volume information and the second target business volume information present an aligned display effect. As a result, the displayed first target business volume information and the second target business volume information present an aligned display effect, and a numerical sequence comparison can be performed in a segment-to-segment alignment manner. Also, because the segment-to-segment alignment method involves at least two point-level objects at a time, the segment-level objects can represent the local context, which improves the accuracy of the target business volume similarity comparison results. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0015] Figure 1 is a flowchart of some embodiments of the target traffic information alignment method according to the present disclosure;
[0016] Figure 2 is a schematic structural diagram of some embodiments of the target traffic information alignment device according to the present disclosure;
[0017] Figure 3 It is a structural diagram of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0019] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.
[0020] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0021] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0023] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0024] Figure 1 A process 100 of some embodiments of the target traffic volume information alignment method according to the present disclosure is shown. The target traffic volume information alignment method includes the following steps:
[0025] Step 101: Determine the quantity of first target traffic volume information included in a first target traffic volume information sequence as a first quantity.
[0026] In some embodiments, the execution entity of the target business volume information alignment method (e.g., a client of a backend staff member) may determine the number of first target business volume information included in the first target business volume information sequence as a first quantity. The first target business volume information sequence may be a sequence of numerical values related to the target business volume. For example, the first target business volume information may be the target business volume within a sub-historical time period. The target business volume may be a quantity related to any business. For example, the target business volume may be, but is not limited to, one of the following: the number of visits to a target website, the number of views of a target webpage, the number of documents received by a backend server, or the turnover (sales) of a target item or target service. The target website may be any website. The target webpage may be any webpage. The target item may be any item. The target service may be any service, such as a document translation service. For another example, the first target business volume information may be a numerical value obtained by normalizing the target business volume. The sub-historical time periods corresponding to each first target business volume information in the first target business volume information sequence are continuous. As an example, the first target business volume information sequence may be x = [0.4, 0.8, 1.0, 0.8]. In this case, the first quantity is 4.
[0027] Optionally, before step 101, the executing entity may obtain the first target traffic volume information sequence and the second target traffic volume information sequence. In practice, the executing entity may obtain the first target traffic volume information sequence and the second target traffic volume information sequence from the server via a wired or wireless connection. For example, the first target traffic volume information sequence may be the target traffic volume information sequence for each day of the second week of February 2022. The second target traffic volume information sequence may be the target traffic volume information sequence for each day of the first week of February 2022. Then, in response to determining that the first target traffic volume information sequence or the second target traffic volume information sequence is empty, a sound playback device in communication with the executing entity may be controlled to play a preset null value prompt tone. The sound playback device may be a speaker in communication with the executing entity. For example, the sound playback device may be a speaker built into the executing entity. The preset null value prompt tone may be a pre-set prompt tone. For example, the preset null value prompt tone may be an audio message that reads "Sequence is empty, please try again later." Thus, when the received first target traffic volume information sequence or the second target traffic volume information sequence is empty, the user is notified that the obtained sequence is empty.
[0028] Step 102: Determine the number of second target traffic volume information included in the second target traffic volume information sequence as a second number.
[0029] In some embodiments, the execution entity may determine the number of second target traffic volume information included in the second target traffic volume information sequence as a second number. The second target traffic volume information sequence may be another sequence composed of numerical values related to the target traffic volume. For example, the second target traffic volume information may be the target traffic volume of any of the above-mentioned businesses within a sub-historical time period. As another example, the second target traffic volume information may be a numerical value after normalization of the above-mentioned target traffic volume. The sub-historical time periods corresponding to the respective second target traffic volume information in the second target traffic volume information sequence are continuous. The historical time period corresponding to the second target traffic volume information sequence may be earlier than the historical time period corresponding to the first target traffic volume information sequence. As an example, the second target traffic volume information sequence may be y = [0.0, 0.2, 0.0, -0.4]. Then the second number is 4.
[0030] Step 103: Generate a traceback identification pair matrix according to the first quantity and the second quantity.
[0031] In some embodiments, the execution entity may generate a backtracking identification pair matrix based on the first quantity and the second quantity. In practice, the execution entity may determine a zero identification pair matrix having the sum of the first quantity and 1 as the number of columns and the sum of the second quantity and 1 as the number of rows as the backtracking identification pair matrix. The zero identification pair matrix may be a matrix whose elements are all (0,0). It is understandable that the backtracking identification pair matrix may be understood as a matrix variable, and the initial value of the matrix variable is a zero matrix. As an example, the backtracking identification pair matrix may be a 5×5 zero identification pair matrix.
[0032] Step 104: For each first sequence number of first target traffic volume information in the first target traffic volume information sequence, perform the following steps:
[0033] Step 1041: For each second sequence number of second target traffic volume information in the second target traffic volume information sequence, perform the following sub-steps:
[0034] Step 10411: Determine a pair of to-be-backtracked identifiers corresponding to the first target business volume information and the second target business volume information.
[0035] In some embodiments, the execution entity may determine the pair of to-be-traced identifiers corresponding to the first target traffic volume information and the second target traffic volume information in various ways. The first sequence number may be a sequence number of the first target traffic volume information in the first target traffic volume information sequence, starting with 1. The second sequence number may be a sequence number of the second target traffic volume information in the second target traffic volume information sequence, starting with 1.
[0036] In some optional implementations of some embodiments, first, the execution entity may determine the difference between the first sequence number and 1 as a first difference. Then, the difference between the second sequence number and 1 may be determined as a second difference. Thereafter, the first sequence number and the second difference are sequentially combined to form a to-be-backtracked identification pair. Secondly, the first difference and the second sequence number are sequentially combined to form a to-be-backtracked identification pair. Finally, the combined to-be-backtracked identification pairs are sequentially combined to form a to-be-backtracked identification pair group.
[0037] As an example, the first serial number can be represented by i, and the second serial number can be represented by j, and the combined pair of identifiers to be backtracked can include (i, j-1) and (i-1, j). The resulting pair of identifiers to be backtracked can be [(i, j-1), (i-1, j)].
[0038] In some optional implementations of some embodiments, before sequentially combining the combined to-be-backtracked identifier pairs into to-be-backtracked identifier pair groups, the execution entity may perform the following steps:
[0039] The first step is to generate a target first sequence number group based on the quantity threshold within the first target segment. The quantity threshold within the first target segment can be the maximum number of first target business volume information included in each segment-level numerical object corresponding to the first target business volume information sequence. The segment-level numerical object can be a numerical object composed of at least one numerical value. The quantity threshold within the first target segment can be set by the user. In practice, the execution entity can select an integer greater than or equal to 0 from the difference between the first sequence number and the quantity threshold within the first target segment to the difference between the first sequence number and 1 as the target first sequence number to obtain the target first sequence number group. The target first sequence number is greater than or equal to 0 and less than or equal to the difference between the first sequence number and 1.
[0040] The second step is to generate a target second sequence number group based on the quantity threshold within the second target segment. The quantity threshold within the second target segment can be the maximum number of second target business volume information included in each segment-level numerical object corresponding to the second target business volume information sequence. The quantity threshold within the second target segment can be set by the user. In practice, the execution entity can select an integer greater than or equal to 0 from the difference between the second sequence number and the quantity threshold within the second target segment to the difference between the second sequence number and 1 as the target second sequence number to obtain the target second sequence number group. The target second sequence number is greater than or equal to 0 and less than or equal to the difference between the second sequence number and 1.
[0041] In the third step, each target first sequence number in the target first sequence number group is sequentially combined with each target second sequence number in the target second sequence number group to form a pair of identifiers to be traced back.
[0042] Step 10412: Generate target traffic similarity corresponding to each pair of to-be-backtracked identifiers in the to-be-backtracked identifier pair group based on the first target traffic information sequence and the second target traffic information sequence to obtain a target traffic similarity group.
[0043] In some embodiments, the execution entity may generate the target business volume similarity corresponding to the to-be-backtracked identification pair using the following formula in response to the to-be-backtracked identification pair being a combination of the first sequence number and the second sequence number:
[0044] S=max(1-(x a -y b ) 2 ,0)×2.
[0045] Where S is the target business volume similarity corresponding to the pair of to-be-traced identifiers. a is the first to-be-traced identifier in the pair of to-be-traced identifiers. b is the second to-be-traced identifier in the pair of to-be-traced identifiers. ais the ath first target traffic volume information in the above first target traffic volume information sequence. b It is the bth second target traffic volume information in the above second target traffic volume information sequence.
[0046] In some optional implementations of some embodiments, in response to the to-be-backtracked identifier pair being a combination of the target first sequence number in the target first sequence number group and the target second sequence number in the target second sequence number group, the following steps are performed:
[0047] In the first step, the first target traffic volume information corresponding to the target first sequence number in the first target traffic volume information sequence is determined as the target first target traffic volume information, wherein the target first target traffic volume information is the first target traffic volume information ranked in the target first sequence number in the first target traffic volume information sequence.
[0048] In a second step, the second target traffic volume information corresponding to the target second sequence number in the second target traffic volume information sequence is determined as the target second target traffic volume information, wherein the target second target traffic volume information is the second target traffic volume information ranked in the target second sequence number in the second target traffic volume information sequence.
[0049] The third step is to aggregate the first target traffic volume information from the sum of the target first sequence number and 1 to the first target traffic volume information in the first target traffic volume information sequence into a first target traffic volume information segment. In practice, the aggregation method can be to combine the quantity information in sequence. For example, the target first sequence number can be represented as i'. The aggregated first target traffic volume information segment can be represented as x i′+1:i , representing each first target traffic volume information from the i′+1th first target traffic volume information to the i-th first target traffic volume information in the above-mentioned first target traffic volume information sequence.
[0050] Step 4: Aggregate the second target traffic information from the sum of the target second sequence number and 1 to the second sequence number in the second target traffic information sequence into a second target traffic information segment. For example, the target second sequence number can be represented as j'. The aggregated second target traffic information segment can be represented as y j′+1:j , representing each second target traffic volume information from the j′+1th second target traffic volume information to the jth second target traffic volume information in the above second target traffic volume information sequence.
[0051] In the fifth step, the similarity between the first target traffic information segment and the second target traffic information segment is determined as the aggregate segment similarity. In practice, the execution entity may generate the similarity between the first target traffic information segment and the second target traffic information segment using the following formula:
[0052]
[0053]
[0054]
[0055] Among them, S agg Indicates the similarity of the aggregated segments. Indicates the starting sequence number of the first target traffic volume information segment. Indicates the ending sequence number of the first target traffic volume information segment. Indicates the starting sequence number of the second target traffic volume information segment. represents the end sequence number of the second target traffic volume information segment. k represents the sequence number of the quantity information segment in each quantity information segment.
[0056] In the sixth step, the sum of the similarity between the target first target traffic volume information and the target second target traffic volume information and the aggregation segment similarity is determined as the target traffic volume similarity.
[0057] Step 10413: According to the target business volume similarity group, a to-be-backtraced identification pair that meets a preset backtracing condition is selected from the to-be-backtraced identification pair group as a backtracing identification pair.
[0058] In some embodiments, the execution entity may select, from the group of to-be-backtracked identifier pairs, a pair of identifiers that meets a preset backtracking condition as a backtracking identifier pair based on the target business volume similarity group. The preset backtracking condition may be "the corresponding target business volume similarity is the largest."
[0059] Step 10414: Update the backtracking identification pair to the backtracking identification pair matrix according to the first sequence number and the second sequence number.
[0060] In some embodiments, the execution entity may update the backtracking identification pair to the backtracking identification pair matrix based on the first serial number and the second serial number. In practice, first, the execution entity may determine the sum of the first serial number and 1 as the first column number. The sum of the second serial number and 1 may be determined as the second row number. Afterwards, the execution entity may add the backtracking identification pair to the position of the first column number and the second row number of the backtracking identification pair matrix. The updating method may be replacement.
[0061] Step 105: Generate a target business volume comparison information group according to the updated backtracking identifier pair matrix.
[0062] In some embodiments, the execution entity may generate a target business volume comparison information group based on the updated backtracking identification pair matrix. The target business volume comparison information in the target business volume comparison information group includes at least one first target business volume information and at least one second target business volume information corresponding to the at least one first target business volume information. The at least one first target business volume information is continuous. The at least one second target business volume information is continuous. In practice, the execution entity may generate a target business volume comparison information group in various ways based on the updated backtracking identification pair matrix. As an example, the updated backtracking identification pair matrix may be:
[0063]
[0064] In some optional implementations of some embodiments, first, the execution subject may execute the following backtracking identifier pair array generation step in response to both the first sequence number variable and the second sequence number variable being greater than zero:
[0065] In the first step, the first backtracking identifier in the backtracking identifier pair corresponding to the first sequence number variable and the second sequence number variable in the backtracking identifier pair matrix is determined as the first loop identifier variable, and the second backtracking identifier in the backtracking identifier pair is determined as the second loop identifier variable, wherein the first sequence number variable may be a numerical variable with the first quantity as an initial value, and the second sequence number variable may be a numerical variable with the second quantity as an initial value.
[0066] In the second step, the difference between the first sequence number variable and the first loop identifier variable is determined as the first variable difference.
[0067] The third step is to determine the difference between the second sequence number variable and the second loop identifier variable as the second variable difference.
[0068] In the fourth step, in response to determining that the sum of the first variable difference and the second variable difference is greater than 1, the first target traffic volume information of the sum of the first loop identification variable and 1 to the first sequence number variable in the first target traffic volume information sequence is aggregated into an aggregated first target traffic volume information segment, and the second target traffic volume information of the sum of the second loop identification variable and 1 to the second sequence number variable in the second target traffic volume information sequence is aggregated into an aggregated second target traffic volume information segment.
[0069] In the fifth step, the first target traffic volume information segment and the second target traffic volume information segment are combined into target traffic volume comparison information. The combination can be performed by splicing.
[0070] Then, the first sequence number variable can be updated to the above-mentioned first loop identification variable, and the second sequence number variable can be updated to the above-mentioned second loop identification variable. In response to the updated first sequence number variable and the second sequence number variable being greater than zero, the above-mentioned backtracking identification pair array generation step is performed again. As an example, the resulting backtracking identification pair array can be [[0.4, 0.0], [(0.8, 1.0), 0.2], [0.8, 0.0]].
[0071] Step 106: For each target business volume comparison information in the target business volume comparison information group, the first target business volume information and the second target business volume information included in the target business volume comparison information are displayed on the associated display device, so that the displayed first target business volume information and the second target business volume information present an aligned display effect.
[0072] In some embodiments, for each target business volume comparison information in the target business volume comparison information group, the execution entity may display the first target business volume information and the second target business volume information included in the target business volume comparison information on an associated display device, so that the displayed first target business volume information and the second target business volume information present an aligned display effect. In practice, the execution entity may display the first target business volume information included in the target business volume comparison information on the left side of the page area corresponding to the target business volume comparison information, and display the second target business volume information included in the target business volume comparison information on the right side of the page area, so that the displayed first target business volume information and the second target business volume information present an aligned display effect. It is understandable that different target business volume comparison information corresponds to different page areas.
[0073] In some optional implementations of some embodiments, the execution entity may render the first target business volume information and the second target business volume information included in the target business volume comparison information in the display device according to a rendering template corresponding to the target business volume comparison information, so that the rendered first target business volume information and the second target business volume information present the same rendering style. The rendering template may be a style template for rendering, and may include a font color. In practice, the execution entity may render the first target business volume information and the second target business volume information included in the target business volume comparison information in the display device with the font color, so that the rendered first target business volume information and the second target business volume information present the same font color.
[0074] Optionally, after step 102, the execution entity may generate a target traffic volume similarity matrix based on the first quantity and the second quantity. In practice, the execution entity may determine the target traffic volume similarity matrix as a zero matrix having the sum of the first quantity and 1 as the number of columns and the sum of the second quantity and 1 as the number of rows. It is understood that the target traffic volume similarity matrix can be understood as a matrix variable, the initial value of which is a zero matrix.
[0075] Optionally, after step 10414, the execution entity may further update the target business volume similarity corresponding to the traceback identifier pair into the target business volume similarity matrix based on the first sequence number and the second sequence number. In practice, the execution entity may first update the target business volume similarity to a position that is several columns (numbers) from the first column and several rows (numbers) from the second row of the target business volume similarity matrix. The updating method may be replacement.
[0076] In some optional implementations of some embodiments, the execution entity may combine the aggregated first target traffic volume information segment and the aggregated second target traffic volume information segment into target traffic volume comparison information through the following steps:
[0077] In the first step, the target traffic volume similarity corresponding to the first-numbered variable and the second-numbered variable is selected from the target traffic volume similarity matrix as the target similarity. In practice, the execution entity may determine the sum of the first-numbered variable and 1 as the number of matrix columns. The sum of the second-numbered variable and 1 may be determined as the number of matrix rows. Subsequently, the target traffic volume similarity corresponding to the number of matrix columns and the number of matrix rows in the target traffic volume similarity matrix may be determined as the target similarity.
[0078] In the second step, the first target traffic volume information segment, the second target traffic volume information segment, and the target similarity are combined into target traffic volume comparison information. The combination can be done by splicing.
[0079] In some optional implementations of some embodiments, the execution entity may display the first target business volume information and the second target business volume information included in the target business volume comparison information on an associated display device through the following steps: displaying the target similarity included in the target business volume comparison information at a target position corresponding to the displayed first target business volume information and the second target business volume information. The target position may be a position corresponding to the displayed first target business volume information and the second target business volume information. For example, the target position may be to the right of the displayed second target business volume information. It is understandable that the displayed first target business volume information and the second target business volume information and the target similarity may be displayed in the same page area.
[0080] The above content, as an inventive point of an embodiment of the present disclosure, solves the second technical problem mentioned in the background technology, "Only arranging the numerical values of the numerical sequence cannot enable the user to intuitively determine the similarity between the target business volumes in different time periods." The factors that make it impossible for the user to intuitively determine the similarity between the target business volumes in different time periods are often as follows: only arranging the numerical values of the numerical sequence. If the above factors are solved, the effect of enabling the user to intuitively determine the similarity between the target business volumes in different time periods can be achieved. In order to achieve this effect, the present disclosure displays the target similarity included in the target business volume comparison information when displaying the first target business volume information and the second target business volume information in the associated display device. In this way, the user can intuitively determine the target business volume similarity related to the displayed first target business volume information and the second target business volume information.
[0081] Optionally, in response to detecting a user selection operation on the displayed first target traffic volume information or second target traffic volume information, the execution entity may determine the target traffic volume comparison information corresponding to the selection operation in the target traffic volume comparison information group as the target comparison information. The target comparison information includes the first target traffic volume information or the second target traffic volume information corresponding to the selection operation. The execution entity may then highlight the first target traffic volume information and the second target traffic volume information included in the target comparison information. The target comparison information includes at least one first target traffic volume information and at least one second target traffic volume information.
[0082] The above content, as an inventive feature of an embodiment of the present disclosure, addresses the third technical problem mentioned in the background technology: "When the numerical sequences are not arranged in a one-to-one correspondence, users need to spend a long time searching for another target traffic volume that aligns with one target traffic volume, resulting in a waste of user time." Factors that often lead to this waste of user time are as follows: When the numerical sequences are not arranged in a one-to-one correspondence, users need to spend a long time searching for another target traffic volume that aligns with one target traffic volume. If these factors are resolved, the user's time can be saved. To achieve this effect, the present disclosure, in response to detecting a user selection operation on displayed first target traffic volume information or second target traffic volume information, determines the target traffic volume comparison information corresponding to the selection operation in the target traffic volume comparison information group as the target comparison information. The target comparison information includes the first target traffic volume information or the second target traffic volume information corresponding to the selection operation. The execution entity can then highlight the first target traffic volume information and the second target traffic volume information included in the target comparison information. This allows the user to quickly view the highlighted first target traffic volume information and the second target traffic volume information, saving the user's time.
[0083] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the target business volume information alignment method of some embodiments of the present disclosure, the accuracy of the similarity comparison results of the target business volume is improved. Specifically, the reason for the poor accuracy of the similarity comparison results of the target business volume is that: in the point-to-point alignment method, one alignment only involves two point-level objects, and the point-level objects cannot represent the local context, resulting in poor accuracy of the similarity comparison results of the target business volume in different time periods. Based on this, the target business volume information alignment method of some embodiments of the present disclosure, first, determines the number of first target business volume information included in the first target business volume information sequence as the first number. Then, the number of second target business volume information included in the second target business volume information sequence is determined as the second number. Secondly, based on the above-mentioned first number and the above-mentioned second number, a backtracking identification pair matrix is generated. Thus, the backtracking identification pair matrix can be used to store backtracking identification pairs for backtracking sequence alignment. Then, for each first target traffic information item in the first target traffic information sequence, the following steps are performed: For each second target traffic information item in the second target traffic information sequence, the following sub-steps are performed: Step 1: Determine a group of to-be-retrieved identifier pairs corresponding to the first target traffic information item and the second target traffic information item. The first to-be-retrieved identifier in the to-be-retrieved identifier pair in the to-be-retrieved identifier pair group corresponds to the first target traffic information sequence, and the second to-be-retrieved identifier in the to-be-retrieved identifier pair group corresponds to the second target traffic information sequence. Step 2: Based on the first target traffic information sequence and the second target traffic information sequence, generate a target traffic similarity corresponding to each to-be-retrieved identifier pair in the to-be-retrieved identifier pair group to obtain a target traffic similarity group. The target traffic similarity group can thus serve as a basis for determining a to-be-retrieved identifier pair. Step 3: Based on the target traffic similarity group, select a to-be-retrieved identifier pair from the to-be-retrieved identifier pair group that meets a preset retrieval condition as a to-be-retrieved identifier pair. The fourth step is to update the above-mentioned backtracking identification pair to the above-mentioned backtracking identification pair matrix according to the above-mentioned first serial number and the above-mentioned second serial number. In this way, the determined backtracking identification can be added to the backtracking identification pair matrix. Afterwards, a target business volume comparison information group is generated according to the updated backtracking identification pair matrix. Among them, the target business volume comparison information in the above-mentioned target business volume comparison information group includes at least one first target business volume information and at least one second target business volume information corresponding to the above-mentioned at least one first target business volume information, the above-mentioned at least one first target business volume information is continuous, and the above-mentioned at least one second target business volume information is continuous. Thus, the first target business volume information and the corresponding second target business volume information in each target business volume comparison information can be compared in a segment-to-segment alignment manner.Finally, for each target business volume comparison information in the target business volume comparison information group, the first target business volume information and the second target business volume information included in the target business volume comparison information are displayed on the associated display device, so that the displayed first target business volume information and the second target business volume information present an aligned display effect. As a result, the displayed first target business volume information and the second target business volume information present an aligned display effect, and a numerical sequence comparison can be performed in a segment-to-segment alignment manner. Also, because the segment-to-segment alignment method involves at least two point-level objects at a time, the segment-level objects can represent the local context, which improves the accuracy of the target business volume similarity comparison results.
[0084] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a target traffic information alignment device. These device embodiments are similar to Figure 1 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.
[0085] like Figure 2As shown, the target traffic volume information alignment device 200 of some embodiments includes: a first determining unit 201 , a second determining unit 202 , a first generating unit 203 , an executing unit 204 , a second generating unit 205 and a display unit 206 . Wherein, the first determining unit 201 is configured to determine the number of first target traffic volume information included in the first target traffic volume information sequence as a first number; the second determining unit 202 is configured to determine the number of second target traffic volume information included in the second target traffic volume information sequence as a second number; the first generating unit 203 is configured to generate a backtracking identifier pair matrix based on the above-mentioned first number and the above-mentioned second number; the executing unit 204 is configured to perform the following steps for each first target traffic volume information in the above-mentioned first target traffic volume information sequence: for each second target traffic volume information in the above-mentioned second target traffic volume information sequence, perform the following sub-steps: determine a pair of to-be-backtracked identifiers corresponding to the above-mentioned first target traffic volume information and the above-mentioned second target traffic volume information, wherein the first to-be-backtracked identifier in the pair of to-be-backtracked identifiers in the above-mentioned pair of to-be-backtracked identifiers corresponds to the above-mentioned first target traffic volume information sequence, and the second to-be-backtracked identifier in the pair of to-be-backtracked identifiers corresponds to the above-mentioned second target traffic volume information sequence; generate each to-be-backtracked identifier pair in the above-mentioned pair of to-be-backtracked identifiers according to the above-mentioned first target traffic volume information sequence and the above-mentioned second target traffic volume information sequence The target business volume similarity corresponding to the pair of to-be-backtraced identifiers is obtained to obtain a target business volume similarity group; based on the target business volume similarity group, a pair of to-be-backtraced identifiers that meets a preset backtracing condition is selected from the group of to-be-backtraced identifiers as a backtracing identifier pair; based on the first sequence number and the second sequence number, the backtracing identifier pair is updated to the backtracing identifier pair matrix; the second generating unit 205 is configured to generate a target business volume comparison information group based on the updated backtracing identifier pair matrix, wherein the target business volume comparison information in the target business volume comparison information group includes at least one first target business volume information and at least one second target business volume information corresponding to the at least one first target business volume information, the at least one first target business volume information being continuous, and the at least one second target business volume information being continuous; the display unit 206 is configured to display the first target business volume information and the second target business volume information included in each target business volume comparison information in the target business volume comparison information group on an associated display device, so that the displayed first target business volume information and the second target business volume information present an aligned display effect.
[0086] It is understood that the units described in the device 200 are similar to those described in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 200 and the units included therein, and will not be repeated here.
[0087] Reference below Figure 3 , which shows a schematic structural diagram of an electronic device 300 suitable for implementing some embodiments of the present disclosure. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0088] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. Various programs and data required for the operation of the electronic device 300 are also stored in the RAM 303. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0089] Typically, the following devices may be connected to the I / O interface 305: an input device 306 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; and a communication device 309. The communication device 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as needed.
[0090] In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from a network via the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are performed.
[0091] It should be noted that the computer-readable medium described in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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 above. In some embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or device. In some embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0092] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with 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"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0093] The computer-readable medium may be included in the electronic device; or it may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: determines the number of first target traffic information included in the first target traffic information sequence as the first number; determines the number of second target traffic information included in the second target traffic information sequence as the second number; generates a backtracking identifier pair matrix based on the first number and the second number; for each first target traffic information in the first target traffic information sequence, executes the following steps: for each second target traffic information in the second target traffic information sequence, executes the following sub-steps: determines a pair of to-be-backtracked identifiers corresponding to the first target traffic information and the second target traffic information, wherein the first to-be-backtracked identifier in the pair of to-be-backtracked identifiers in the pair of to-be-backtracked identifiers corresponds to the first target traffic information sequence, and the second to-be-backtracked identifier in the pair of to-be-backtracked identifiers corresponds to the second target traffic information sequence; generates the above based on the first target traffic information sequence and the second target traffic information sequence. The target business volume similarity corresponding to each to-be-backtraced identification pair in the to-be-backtraced identification pair group is obtained to obtain a target business volume similarity group; based on the above target business volume similarity group, a to-be-backtraced identification pair that meets a preset backtracing condition is selected from the above to-be-backtraced identification pair group as a backtracing identification pair; based on the above first sequence number and the above second sequence number, the above backtracing identification pair is updated to the above backtracing identification pair matrix; based on the updated backtracing identification pair matrix, a target business volume comparison information group is generated, wherein the target business volume comparison information in the above target business volume comparison information group includes at least one first target business volume information and at least one second target business volume information corresponding to the at least one first target business volume information, the at least one first target business volume information is continuous, and the at least one second target business volume information is continuous; for each target business volume comparison information in the above target business volume comparison information group, the first target business volume information and the second target business volume information included in the above target business volume comparison information are displayed on an associated display device, so that the displayed first target business volume information and the second target business volume information present an aligned display effect.
[0094] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0095] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0096] The units described in some embodiments of the present disclosure may be implemented in software or in hardware. The units described may also be provided in a processor. For example, they may be described as follows: a processor comprising a first determination unit, a second determination unit, a first generation unit, an execution unit, a second generation unit, and a display unit. The names of these units do not, in some cases, constitute limitations on the units themselves. For example, the first determination unit may also be described as a "unit that determines the number of first target traffic information included in the first target traffic information sequence as a first number."
[0097] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0098] The above description is only an illustration of some preferred embodiments of the present disclosure and the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.
Claims
1. A target traffic volume information alignment method, comprising: determining the quantity of first target traffic volume information included in the first target traffic volume information sequence as a first quantity; determining the number of second target traffic volume information included in the second target traffic volume information sequence as a second number; generating a traceback identification pair matrix according to the first quantity and the second quantity; For each first sequence number of first target traffic volume information in the first target traffic volume information sequence, perform the following steps: For each second sequence number of the second target traffic volume information in the second target traffic volume information sequence, perform the following sub-steps: Determine a pair of to-be-backtraced identifiers corresponding to the first target traffic volume information and the second target traffic volume information, wherein a first to-be-backtraced identifier in a pair of to-be-backtraced identifiers in the pair of to-be-backtraced identifiers corresponds to the first target traffic volume information sequence, and a second to-be-backtraced identifier in the pair of to-be-backtraced identifiers corresponds to the second target traffic volume information sequence; generating, based on the first target traffic volume information sequence and the second target traffic volume information sequence, a target traffic volume similarity corresponding to each to-be-backtracked identifier pair in the to-be-backtracked identifier pair group, to obtain a target traffic volume similarity group; According to the target business volume similarity group, selecting a to-be-backtraced identification pair that meets a preset backtracing condition from the to-be-backtraced identification pair group as a backtracing identification pair; updating the traceback identification pair to the traceback identification pair matrix according to the first sequence number and the second sequence number; generating a target business volume comparison information group according to the updated backtracking identifier pair matrix, wherein the target business volume comparison information in the target business volume comparison information group includes at least one first target business volume information and at least one second target business volume information corresponding to the at least one first target business volume information, the at least one first target business volume information being continuous, and the at least one second target business volume information being continuous; For each target business volume comparison information in the target business volume comparison information group, the first target business volume information and the second target business volume information included in the target business volume comparison information are displayed in the associated display device, so that the displayed first target business volume information and the second target business volume information present an aligned display effect.
2. The method according to claim 1, wherein Before determining the number of first target traffic volume information included in the first target traffic volume information sequence as the first number, the method further includes: Acquire a first target traffic volume information sequence and a second target traffic volume information sequence; In response to determining that the first target traffic volume information sequence or the second target traffic volume information sequence is empty, controlling a sound playing device in the communication connection to play a preset empty value prompt tone.
3. The method according to claim 1, wherein The first sequence number is a sequence number of the first target traffic volume information in the first target traffic volume information sequence, starting with 1; the second sequence number is a sequence number of the second target traffic volume information in the second target traffic volume information sequence, starting with 1; as well as The determining of a pair of to-be-traced identifiers corresponding to the first target traffic volume information and the second target traffic volume information includes: Determine the difference between the first sequence number and 1 as a first difference value; determining a difference between the second serial number and 1 as a second difference value; Combining the first serial number and the second difference in sequence to form a to-be-backtracked identification pair; Combining the first difference and the second serial number in sequence to form a to-be-backtracked identification pair; The combined pairs of identifiers to be backtracked are sequentially combined into groups of identifier pairs to be backtracked.
4. The method according to claim 3, wherein: Before sequentially combining the combined to-be-backtracked identification pairs into to-be-backtracked identification pair groups, the method further includes: generating a target first sequence number group according to a quantity threshold within the first target segment; generating a target second sequence number group according to a quantity threshold within the second target segment; Each target first sequence number in the target first sequence number group is sequentially combined with each target second sequence number in the target second sequence number group to form a pair of identifiers to be traced back.
5. The method according to claim 4, wherein Generating the target traffic volume similarity corresponding to each pair of to-be-backtraced identifiers in the group of to-be-backtraced identifier pairs according to the first target traffic volume information sequence and the second target traffic volume information sequence includes: In response to the to-be-backtracked identifier pair being a combination of a target first sequence number in the target first sequence number group and a target second sequence number in the target second sequence number group, performing the following steps: determining the first target traffic volume information corresponding to the target first sequence number in the first target traffic volume information sequence as the target first target traffic volume information; determining the second target traffic volume information corresponding to the target second sequence number in the second target traffic volume information sequence as the target second target traffic volume information; Aggregate the first target traffic volume information from the sum of the target first sequence number and 1 to the first sequence number in the first target traffic volume information sequence into a first target traffic volume information segment; aggregating the second target traffic volume information from the sum of the target second sequence number and 1 to the second sequence number in the second target traffic volume information sequence into a second target traffic volume information segment; Determining the similarity between the first target traffic volume information segment and the second target traffic volume information segment as an aggregated segment similarity; The sum of the similarity between the target first target traffic volume information and the target second target traffic volume information and the aggregation segment similarity is determined as the target traffic volume similarity.
6. The method according to claim 5, wherein: The generating of the target business volume comparison information group according to the updated backtracking identification pair matrix includes: In response to the first sequence number variable and the second sequence number variable being greater than zero, the following backtracking identifier pair array generation step is performed: Determining a first backtracking identifier in a backtracking identifier pair corresponding to the first sequence number variable and the second sequence number variable in the backtracking identifier pair matrix as a first loop identifier variable, and determining a second backtracking identifier in the backtracking identifier pair as a second loop identifier variable, wherein an initial value of the first sequence number variable is the first quantity, and an initial value of the second sequence number variable is the second quantity; determining a difference between the first sequence number variable and the first loop identifier variable as a first variable difference; determining a difference between the second sequence number variable and the second loop identifier variable as a second variable difference; In response to determining that the sum of the first variable difference and the second variable difference is greater than 1, aggregating first target traffic information from the sum of the first cycle identifier variable and 1 to the first sequence variable in the first target traffic information sequence into an aggregated first target traffic information segment, and aggregating second target traffic information from the sum of the second cycle identifier variable and 1 to the second sequence variable in the second target traffic information sequence into an aggregated second target traffic information segment; combining the aggregated first target traffic volume information segment and the aggregated second target traffic volume information segment into target traffic volume comparison information; The first sequence number variable is updated to the first loop identifier variable, and the second sequence number variable is updated to the second loop identifier variable. In response to the updated first sequence number variable and the second sequence number variable being greater than zero, the backtracking identifier pair array generation step is executed again.
7. The method according to claim 1, wherein The displaying, on an associated display device, the first target business volume information and the second target business volume information included in the target business volume comparison information includes: The first target business volume information and the second target business volume information included in the target business volume comparison information are rendered in the display device according to the rendering template corresponding to the target business volume comparison information, so that the rendered first target business volume information and the second target business volume information present the same rendering style.
8. A target traffic volume information alignment device, comprising: a first determining unit configured to determine the number of first target traffic volume information included in the first target traffic volume information sequence as a first number; a second determining unit configured to determine the number of second target traffic volume information included in the second target traffic volume information sequence as a second number; a first generating unit configured to generate a traceback identification pair matrix according to the first number and the second number; The execution unit is configured to, for each first target traffic volume information in the first target traffic volume information sequence, perform the following steps: for each second target traffic volume information in the second target traffic volume information sequence, perform the following sub-steps: determine a pair of to-be-traced identifiers corresponding to the first target traffic volume information and the second target traffic volume information, wherein the first to-be-traced identifier in the pair of to-be-traced identifiers in the pair of to-be-traced identifiers in the pair of to-be-traced identifiers group corresponds to the first target traffic volume information sequence, and the second to-be-traced identifier in the pair of to-be-traced identifiers group corresponds to the second target traffic volume information sequence; generate, based on the first target traffic volume information sequence and the second target traffic volume information sequence, a target traffic volume similarity corresponding to each to-be-traced identifier pair in the pair of to-be-traced identifiers group to obtain a target traffic volume similarity group; select, based on the target traffic volume similarity group, a pair of to-be-traced identifiers that meets a preset backtracking condition from the pair of to-be-traced identifiers group as a backtracking identifier pair; and update the backtracking identifier pair to the backtracking identifier pair matrix based on the first sequence number and the second sequence number; a second generating unit configured to generate a target traffic volume comparison information group according to the updated backtracking identifier pair matrix, wherein the target traffic volume comparison information in the target traffic volume comparison information group includes at least one first target traffic volume information and at least one second target traffic volume information corresponding to the at least one first target traffic volume information, the at least one first target traffic volume information being continuous, and the at least one second target traffic volume information being continuous; The display unit is configured to display the first target business volume information and the second target business volume information included in each target business volume comparison information in the target business volume comparison information group in an associated display device, so that the displayed first target business volume information and the second target business volume information present an aligned display effect.
9. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer-readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Data backtracking method and device and nonvolatile computer readable storage medium
CN113535481A
Word alignment with bridge languages
US8185375B1