WO2020044090A1 - 确定变更事件发布成功的方法及其装置 - Google Patents

确定变更事件发布成功的方法及其装置 Download PDF

Info

Publication number
WO2020044090A1
WO2020044090A1 PCT/IB2018/057151 IB2018057151W WO2020044090A1 WO 2020044090 A1 WO2020044090 A1 WO 2020044090A1 IB 2018057151 W IB2018057151 W IB 2018057151W WO 2020044090 A1 WO2020044090 A1 WO 2020044090A1
Authority
WO
WIPO (PCT)
Prior art keywords
online data
change event
data indicator
change
release
Prior art date
Application number
PCT/IB2018/057151
Other languages
English (en)
French (fr)
Inventor
何妮
Original Assignee
优视科技新加坡有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 优视科技新加坡有限公司 filed Critical 优视科技新加坡有限公司
Publication of WO2020044090A1 publication Critical patent/WO2020044090A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/77Software metrics

Definitions

  • This application relates to the field of data processing, and in particular to the field of Internet technology, and in particular, to a method and an apparatus for determining that a change event is successfully issued.
  • the existing monitoring methods mainly include two types, one is to manually check the checklist library to determine whether each index is normal; the other is to manually set each check item and the corresponding release threshold, and then according to the set release threshold Calculations are performed to determine if the publication was successful.
  • the first method requires manual inspection, which results in high labor costs.
  • the publishing threshold set in the second method is static, and it is difficult to set a dynamic threshold.
  • the value of online data indicators may change dynamically during use, such as network speed, etc. Dynamic online data indicators cannot be accurately monitored through static release thresholds, which leads to false negatives, false positives, etc., and the results of the publication that is about to fail. The wrong judgment is that the release is successful, which leads to user loss.
  • the purpose of this application is to propose a method and a device for determining that a change event is successfully issued, which is used to solve the problem that the prior art cannot effectively determine whether a change event is successfully issued.
  • the present application provides a method for determining that a change event is successfully issued, including:
  • an embodiment of the present application provides a device for determining that a change event is successfully issued, including:
  • an information determining unit configured to determine change information of an online data indicator corresponding to the change event according to the release information of the change event
  • the release determining unit is configured to determine that the change event is successfully issued if it is determined that the change information of the online data indicator meets a preset reference standard of the online data indicator.
  • an embodiment of the present application provides a device / terminal / server, including:
  • a storage medium configured to store one or more programs
  • an embodiment of the present application provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, implements a method as described in any of the foregoing embodiments.
  • the change information of the online data index corresponding to the change event is determined according to the release information of the change event; if the online data index is determined If the change information meets the preset reference criteria for online data indicators, it is determined that the change event is successfully issued, so that whether the change event is successfully published can be effectively determined based on the change information of the online data indicators, thereby reducing labor costs, There is no need to set a dynamic threshold for dynamically changing online data indicators, which reduces the difficulty; and it can reduce the occurrence of false negatives and false positives, thereby reducing the potential user loss.
  • FIG. 1 is a flowchart of a method for determining that a change event is successfully issued in Embodiment 1 of the present application;
  • FIG. 2 is a flowchart of a method for determining that a change event is successfully issued in Embodiment 2 of the present application;
  • FIG. 3 is a flowchart of a method for determining that a change event is successfully issued in Embodiment 3 of the present application;
  • FIG. 4 is a schematic structural diagram of a device for determining that a change event is successfully issued in Embodiment 4 of the present application;
  • FIG. 5 is a schematic structural diagram of a device for determining that a change event is successfully issued in Embodiment 5 of the present application;
  • FIG. 6 is a schematic structural diagram of a device / terminal / server in Embodiment 6 of the present application.
  • FIG. 7 is a hardware structure of a device / terminal / server in a seventh embodiment of the present application. detailed description
  • FIG. 1 is a schematic flowchart of a method for determining that a change event is successfully issued according to the first embodiment of the present application; as shown in FIG. 1, it may include the following steps:
  • the change event may include: a change event performed during project operation, a change event performed when a new version of software is released, a change performed when a configuration file is changed An event, a change event performed when a new data module is added to a database, a change event performed when a new script is added to a web page, and the like are not limited in this embodiment.
  • the release information of the change event is related information when the change event is published, for example, the name of the change event, summary information of the change event, and the release time of the change event; if it is a change event for software or a system,
  • the release information of the change event may also include the ID value of the software or system corresponding to the change event.
  • an online data index that needs to be monitored may be set in advance, and then according to the release information of the change event, change information of the online data index after execution of the change event may be determined.
  • the online data indicators that need to be monitored may be determined according to requirements, and the online data indicators that need to be monitored for different change events may be the same or different.
  • the online data indicators may include software startup time, software response time, and network speed when the software is used; if the change event is a change event performed during a system update , The online data indicator can be the interface call time of the system and so on.
  • the preset reference standard of the online data index is determined according to the change rule of the online data index. For example, the user performs manual setting or determines by collecting change information of an online data indicator that has successfully issued a change event, which is not limited in this embodiment.
  • the method for determining the successful release of a change event determines the change information of the online data index corresponding to the change event according to the release information of the change event; if the change information of the online data index is determined Reference targets that meet preset online data indicators If the change event is published successfully, it can be determined whether the change event is successfully published based on the change information of the online data index, which reduces the labor cost, and does not need to set a dynamic threshold for the dynamically changing online data index. It is difficult; and the situation of false negatives and false positives can be reduced, thereby reducing the potential loss of users.
  • FIG. 2 is a schematic flowchart of a method for determining a successful release of a change event in Embodiment 2 of the present application; as shown in FIG. 2, it may include the following steps:
  • S21 Determine the change event that needs to be monitored, and obtain the release information of the change event.
  • items that need to be monitored can be set by setting a webhook, and each item corresponds to an address of the webhook.
  • the release information of the change event can be determined by calling the webhook address of the project where the target is located.
  • the monitoring part and the target targeted by the change event can be independent from each other. The two are connected through the webhook address, which makes the solution provided by the embodiment of the present application simpler and less affected. Restrictions on the type of target, interface, function, etc., so that through the solution provided in this embodiment, any change event for B-end (business side) or C-end (user side) can be automatically determined to determine whether the change event can be released Success and wider application.
  • the release information of the change event may also be determined by monitoring, which is not limited in this embodiment.
  • the release information may include an item number corresponding to a change event, and the like. After determining the project number corresponding to the change event, you can determine what specific online data indicators need to be monitored.
  • the release information may also include the release time of the change event, so that the time required to collect online data indicators can be determined according to the release time, and further, the Change information.
  • the change information of the online data indicator may specifically include: Compared with the execution of the change event, the growth rate of the online data indicator after the change event is performed.
  • the growth rate in this embodiment may be not only positive but also negative, which is not limited in this embodiment.
  • the online data indicator changes periodically in units of days
  • the value of the online data indicator after the execution of the change event can be calculated, and the chain data grows from the previous cycle of the online data indicator. rate.
  • multiple time nodes may be determined according to the release time of the change event, and change information of online data indicators corresponding to the multiple time nodes may be correspondingly
  • the preset reference standards for online data indicators determined in the following steps also include preset reference standards for online data indicators corresponding to multiple time nodes, so as to determine whether a change event is issued according to multiple time nodes. Success, which in turn increases the accuracy of publishing successful results. For example, you can determine that every minute is a time node within 10 minutes after the release time, or determine that every 10 minutes after the release time is a time node.
  • S23 Determine change event samples corresponding to the change events and change information of online data indicators corresponding to the change event samples.
  • S24 Determine a preset online data index reference standard according to the change event sample and change information of the corresponding online data index.
  • step S23 multiple change events that have been successfully changed can be determined as change event samples, and change information of online data indicators corresponding to each change event sample is determined, and a specific method for determining change information is determined. Reference may be made to the above steps, which will not be repeated in this embodiment.
  • the preset reference criterion of the online data indicator determined in step S24 in this embodiment includes: a preset threshold range of a growth rate of the online data indicator.
  • a method for determining a preset threshold range of the growth rate of the online data indicator is as follows:
  • step S23 determine a plurality of change event samples, and a plurality of growth rates of online data indicators corresponding to the plurality of change event samples; in step S24, determine a maximum of the plurality of growth rates. Value and minimum value to determine the growth rate of the online data indicator Preset threshold range.
  • the determined threshold of the online data index can be made more accurate, thereby making the determined The successful release of the change event is more accurate, and the growth rate can be applied to a variety of online data indicators.
  • the release time of sample one is May 30, and the growth rate of sample one includes [5%, 3%, 2%], which are the corresponding growth of the first time node, the second time node, and the third time node, respectively.
  • the release time of sample two is May 31, and the growth rate of sample two includes [2%, 1%, 14%], which are also the corresponding growth of the first time node, the second time node, and the third time node. rate.
  • the threshold range of the growth rate corresponding to the processing time can be determined [(2%, 5%), (1%, 3%), (2%, 14%)], Among them, (2%, 5%) is the threshold range of growth rate corresponding to the first time node, (1%, 3%) is the threshold range of growth rate corresponding to time node 2, and (2%, 14%) is time The threshold range of the growth rate corresponding to node three.
  • the number of samples can be arbitrarily set, for example, twenty.
  • the maximum value and minimum value of multiple samples can be directly taken as the threshold range.
  • step S25 is specifically: if it is determined that the growth rate of the online data index is within the preset threshold range, determining the change The event is published successfully; on the contrary, if it is determined that the growth rate of the online data indicator is outside the preset threshold range, it is determined that the change event publication fails.
  • the release result may be displayed, and the displayed content may include monitored online data indicators, change information of the online data indicators after the change event is performed, and online data indicators. Reference standards, etc.
  • the timing relationship between the foregoing steps S21, S22, and S25 is determined, and the timing relationship between the steps S23 and S24 is determined, but the embodiment of the present application does not limit step S21 and step
  • the timing relationship between S23 may be determined as long as the corresponding reference standard of the online data index can be determined before step S25 is performed, which is not limited in this embodiment.
  • Steps S23 and S24 may be performed multiple times, or only after one execution, to determine whether multiple change events have been successfully issued based on the determined online data index information; and, if it is determined whether a certain change event is successfully issued, it needs to be increased.
  • deleting the online data indicator optionally, in this embodiment, before step S23, the method further includes: adding or deleting the online data indicator to update the reference standard of the online data indicator according to the adding or deleting operation.
  • the reference standard of the corresponding online data indicator may be directly ignored; if a certain online data indicator is added, After the addition, it is necessary to determine the reference standard of the online data indicator through steps S23 and S24, and the update event sample can be reused when determined, without adding a new update event sample.
  • multiple methods for determining change information of the online data index may be set in advance. After adding the online data index, a method for determining change information corresponding to the increased online data index is determined, and the determined method is adopted. Process and update the event sample data to determine the reference standard for the increased online data index.
  • the preset reference standard of the online data indicator may be updated according to whether the change event determined in step S25 can be successfully released.
  • the user can verify the accuracy of the success or failure of the determined change event release based on the displayed release result, so that the preset can be updated according to whether the change event can be successfully released.
  • the change event can be regarded as the change event. Samples, thereby increasing the threshold range of the increase rate; on the contrary, if it is determined through the above method that the change event is published successfully, but after the verification determines that the change event has failed to be published, the change event is used as a change event sample to reduce the increase rate threshold range.
  • the method may further include: updating the reference standard of the online data indicator according to a preset update period.
  • whether the update event is successfully issued may be determined according to the reference standard of the online data index before or after the update, which is not limited in this embodiment.
  • the update period may be set manually or automatically according to an online data index.
  • the preset update period may be n times the change period of the online data index. Where n is a positive integer.
  • the reference standard of the online data index can be updated dynamically, which can further ensure that the reference standard of the online data index is more accurate, thereby ensuring the reliability of determining the success of the publication of the change event.
  • the preset reference standard for the online data index may also be adjusted manually.
  • the reference standard of the online data indicator when displaying the release result of the change event, the reference standard of the online data indicator will also be displayed. If the technician finds that the reference standard of the online data indicator needs to be adjusted, it can be manually adjusted directly.
  • some online data indicators may be affected by scenarios, and in specific use, a preset line corresponding to the release scenario may be determined according to the release scenario of the change event.
  • Reference standards for data indicators when determining whether the change event is successfully published, first determine a release scenario corresponding to the change event, and determine a corresponding preset online data indicator reference standard according to the release scenario, so as to determine whether the change event is successfully published according to the reference standard.
  • the online data indicator is the response time of the server, that is, the server includes multiple threads, and each thread can respond to an event that needs to be responded, and then the usage scenarios can be divided into two types.
  • the first is the response peak period.
  • the server needs to respond. If there are more events, the response time is longer for a certain event that needs to be responded, and the response time of the server is longer. For events that need to be responded to, there is no need to wait or less time to wait, and the server response time is short.
  • the response time values are significantly different, and the response time change information is also significantly different. Therefore, when determining the reference standards for online data indicators, two reference scenarios can be determined for each of the two use scenarios. standard.
  • the publishing scenario may also be other, such as special holidays, etc., which is not limited in this embodiment.
  • multiple reference standards for online data indicators may be set, each of which corresponds to a small interval in the change cycle.
  • first determine a position in the cycle according to the release time and then determine an online data indicator reference standard corresponding to the position, so as to determine whether the change event is successfully released according to the reference standard.
  • a time dimension publishing standard can be set for an online data indicator, thereby improving the accuracy of determining the success of publishing a change event.
  • the solution provided by this embodiment can implement a dynamic change of the reference standard of the online data index, and also can dynamically change the monitored online data index, thereby improving the flexibility of determining the success of the release of the change event.
  • FIG. 3 is a schematic flowchart of a method for determining a successful release of a change event in the third embodiment of the present application; as shown in FIG. 3, this embodiment takes a new software release as an example, which may include the following steps:
  • a monitoring item is set in advance according to the software that needs to be monitored, and an online data index that needs to be monitored is set under the monitoring item, and a webhook address corresponding to the monitoring item is configured.
  • the online data indicators that need to be supervised can be set in advance, or can be set after the change event is posted, it can be set manually, or other methods such as reading a list from a database, etc. It is determined that this embodiment does not limit this.
  • different monitoring items can also be set, and each monitoring item can supervise a change event of a target. For example, when the monitored target is software, the change event of the software target may be the release of a new version of the software.
  • One or more online data indicators that need to be monitored can be set under each monitoring project, which is not limited in this embodiment.
  • an ID of the software may be input, and when a new version of the software is released, the release information of the change event includes the ID value of the software, so that the corresponding change event can be identified by the software ID value.
  • S32 Determine a change event corresponding to the historical version of the software, use it as a change event sample, and determine change information of the online data index corresponding to the change event sample.
  • one online data index corresponds to at least one online data index reference standard.
  • multiple reference standards can be set for an online data indicator.
  • the release message includes the software corresponding
  • S35 Determine the release information of the change event to determine the change information of the online data index corresponding to the change event according to the release information.
  • step S31 a plurality of offline data indicators that need to be monitored under the supervision project are set, and the offline data indicators that need to be monitored can be determined after the supervision project is determined. After that, the change information of these offline data indicators after the execution of the change event can be determined according to the release information, that is, the change information of the offline data indicator corresponding to the change event.
  • S36 Determine whether the change information of the online data indicator meets a preset reference standard of the online data indicator.
  • FIG. 4 is a schematic structural diagram of a device for determining that a change event is successfully issued in Embodiment 4 of the present application; as shown in FIG. 4, it may include the following units:
  • An information determining unit 401 is configured to determine change information of an online data indicator corresponding to the change event according to the release information of the change event;
  • the release determination unit 402 is configured to determine that the change event is successfully issued if it is determined that the change information of the online data indicator meets a preset reference standard of the online data indicator.
  • FIG. 5 is a schematic structural diagram of a device for determining that a change event is successfully issued in Embodiment 5 of the present application.
  • a preset reference standard for online data indicators is determined by the following units:
  • a sample determination unit 403 is configured to determine a change event sample corresponding to the change event and change information of an online data indicator corresponding to the change event sample;
  • the standard determining unit 404 is configured to determine a preset online data index reference standard according to the change event sample and change information of the corresponding online data index.
  • this embodiment further includes: an update unit configured to update the preset reference standard of the online data indicator according to whether the change event can be successfully released.
  • the manual adjustment unit is configured to manually adjust the preset reference standard for online data indicators.
  • the change information of the online data indicator includes: compared to before the execution of the change event, a growth rate of the online data indicator after the change event is performed.
  • the preset reference standard for the online data indicator includes: a preset threshold range of a growth rate of the online data indicator.
  • the sample determination unit 403 is further configured to determine multiple change event samples and multiple growth rates of online data indicators corresponding to the multiple change event samples; the standard determination unit 404 It is further configured to determine a maximum value and a minimum value of the plurality of growth rates to determine a preset threshold range of the growth rate of the online data indicator.
  • the release determining unit 402 is further configured to determine that the change event is successfully issued if it is determined that the growth rate of the online data indicators is within the preset threshold range. .
  • a preset reference standard of an online data indicator corresponding to the release scenario is determined.
  • the release information of the change event includes a release time
  • the information determining unit 401 is further configured to determine the change event corresponding to the change event according to the release time of the change event.
  • Information about changes in online data indicators are provided.
  • the information determining unit 401 is further configured to determine multiple time nodes according to the release time, and determine changes in the online data indicators corresponding to the multiple time nodes.
  • the preset reference standards for online data indicators include preset reference standards for online data indicators corresponding to multiple time nodes.
  • FIG. 6 is a schematic structural diagram of a device / terminal / server in Embodiment 6 of the present application; the device / terminal / server may include:
  • processors 601 one or more processors 601;
  • the computer-readable medium 602 may be configured to store one or more programs
  • the hardware structure of the device / terminal / server may include: a processor 701, a communication interface 702, and a computer readable Medium 703 and communication bus 704;
  • the processor 701, the communication interface 702, and the computer-readable medium 703 complete communication with each other through a communication bus 704;
  • the communication interface 702 may be an interface of a communication module, such as an interface of a GSM module;
  • the processor 701 may be specifically configured to determine change information of an online data indicator corresponding to the change event according to the release information of the change event; if it is determined that the change information of the online data indicator meets a preset The reference standard of the online data indicator determines that the change event is successfully issued.
  • the processor 701 may be a general-purpose processor, including a central processing unit (CPU), a network processor (Network Processor, NP), etc .; it may also be a digital signal processor (DSP), dedicated integration Circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASICs dedicated integration Circuits
  • FPGAs off-the-shelf programmable gate arrays
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • embodiments of the present disclosure include a computer program product including a computer program borne on a computer-readable medium, the computer program containing program code configured to perform the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network through a communication section, and / or installed from a removable medium.
  • CPU central processing unit
  • the computer-readable medium described in this application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the foregoing.
  • the computer-readable medium may be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access storage media (RAM), read-only storage media (ROM), erasable Type programmable read-only storage medium (EPROM or flash memory), optical fiber, portable compact disk read-only storage medium (CD-ROM), optical storage medium piece, magnetic storage medium piece, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal that is included in baseband or propagated as part of a carrier wave, and which carries computer-readable program code. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program configured to be used by or in combination with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • the computer program code configured to perform the operations of the present application may be written in one or more programming languages or combinations thereof, the programming languages including an object-oriented programming language such as Java, Smalltalk, C ++ It also includes conventional procedural programming languages such as "C" or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on a remote computer, or entirely on a remote computer or server.
  • the remote computer can be connected to a user's computer through any kind of network: including a local area network (LAN) or wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider through the Internet) Connection).
  • LAN local area network
  • WAN wide area network
  • Internet Internet service provider
  • each block in the flowchart or block diagram may represent a module, a program segment, or a portion of a code, which module, program segment, or portion of the code contains one or more logic functions configured to implement a specified logic function.
  • Executable instructions In the above specific embodiments, there is a specific sequence relationship, but these sequence relationships are only exemplary. In specific implementation, these steps may be fewer, more or the execution order may be adjusted. That is, in some alternative implementations, the functions marked in the boxes may occur in a different order than those marked in the drawings.
  • each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts may be implemented in a dedicated hardware-based system that performs the specified function or operation. Or, it can be implemented by a combination of dedicated hardware and computer instructions.
  • the units described in the embodiments of the present application may be implemented in a software manner, or may be implemented in a hardware manner.
  • the described unit may also be set in a processor, for example, it may be described as:
  • a processor includes an information determination unit and a release determination unit. Wherein the names of these units do not constitute a limitation on the unit itself in some cases, for example, the information determination unit may also be described as "determining the online data index corresponding to the change event according to the release information of the change event Change information ".
  • the present application also provides a computer-readable medium, on which A computer program is stored, which when executed by a processor implements the method as described in any of the above embodiments.
  • the present application also provides a computer-readable medium, which may be included in the device described in the foregoing embodiments; or may exist separately without being assembled into the device.
  • the computer-readable medium carries one or more programs, and when the one or more programs are executed by the device, the device is caused to: determine, according to release information of a change event, a change in an online data indicator corresponding to the change event Information; if it is determined that the change information of the online data indicator meets a preset reference standard of the online data indicator, then it is determined that the change event is successfully issued.
  • the first or “the second” may modify various components regardless of order and / or importance, but these expressions do not limit the corresponding components.
  • the above expression is only configured for the purpose of distinguishing the element from other elements.
  • the first user equipment and the second user equipment represent different user equipments, although both are user equipments.
  • a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element.
  • an element eg, a first element
  • another element eg, a second element
  • another element eg, a second element
  • another element for example, a second element
  • the one element is directly connected to the other element or the one element is via another element (Eg, a third element) is indirectly connected to the other element.
  • an element for example, the first element
  • no element for example, the third element

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种确定变更事件发布成功的方法及其装置。该方法的一具体实施方式包括:根据变更事件的发布信息,确定所述变更事件对应的线上数据指标的变化信息;若确定所述线上数据指标的变化信息符合预设的线上数据指标的参考标准,则确定所述变更事件发布成功。该具体实施方式有效地实现了依据线上数据指标的变化信息有效地确定变更事件是否发布成功,减小了人工成本,无需针对动态变化的线上数据指标设置动态阈值,降低了难度;且可以减小出现的漏报、误报等情况,从而减少可能导致的用户损失。

Description

确定变更事件发布成功的方法及其装置
本申请要求在 2018 年 8 月 28 日提交中国专利局、 申请号为 201810987453. 6、 发明名称为“确定变更事件发布成功的方法及其装置” 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
[001]本申请涉及数据处理领域, 具体涉及互联网技术领域, 尤其涉 及一种确定变更事件发布成功的方法及其装置。
背景技术
[002]现有的终端中使用的软件或系统大多支持更新、功能扩展、配 置变更等, 这些大多是通过执行变更事件来实现的。 具体地, 例如在更 新软件或系统时, 可以发布一个更新包, 通过安装更新包可以将原有的 插件替换为新的插件、 更改软件或系统的配置文件等, 从而实现软件或 系统的更新, 这些替换插件或更改配置文件的事件即变更事件。
[003]在变更事件执行完成后, 若变更事件存在异常, 则会对部分线 上数据指标产生影响, 例如更新软件的中的插件异常时, 可能会对软件 的响应速度产生影响, 或者对软件的网速产生影响, 进而导致线上数据 指标存在异常。 通过监督线上数据指标的异常情况, 可以确定变更事件 是否存在异常, 进而确定变更事件是否发布成功。
[004]现有的监督方法主要包括两种, 一种是通过人工检查 checklist库, 确定各个指标是否正常; 另一种是人工设置各项检查项以 及对应的发布阈值, 然后根据设置的发布阈值进行计算来确定是否发布 成功。
[005]但是现有的监督方法中, 第一种方法需要依靠人工进行检查, 导致人工成本高, 第二种方法中设置的发布阈值是静态的, 且设置动态 阈值的难度较大, 但实际使用过程中线上数据指标的值可能是动态变化 的, 例如网速等, 通过静态的发布阈值无法准确地监督动态变化的线上 数据指标, 进而出现漏报、 误报等, 即将失败的发布结果错误判断为发 布成功, 进而导致用户损失。
[006]有鉴于此,现有技术亟需解决的技术问题是如何提供一种可以 更加有效地确定变更事件发布成功的方法。
发明内容
[007]本申请的目的在于提出一种确定变更事件发布成功的方法及 其装置, 用于解决现有技术中无法有效地确定变更事件是否发布成功的 问题。
[008]第一方面, 本申请提供了一种确定变更事件发布成功的方法, 包括:
[009]根据变更事件的发布信息,确定所述变更事件对应的线上数据 指标的变化信息;
[0010]若确定所述线上数据指标的变化信息符合预设的线上数据指 标的参考标准, 则确定所述变更事件发布成功。
[001 1 ]第二方面, 本申请实施例提供了一种确定变更事件发布成功 的装置, 包括:
[0012]信息确定单元, 配置为根据变更事件的发布信息, 确定所述 变更事件对应的线上数据指标的变化信息;
[0013]发布确定单元, 配置为若确定所述线上数据指标的变化信息 符合预设的线上数据指标的参考标准, 则确定所述变更事件发布成功。
[0014]第三方面, 本申请实施例提供了一种设备 /终端 /服务器, 包 括:
[0015]一个或多个处理器;
[0016]存储介质, 配置为存储一个或多个程序,
[0017]当所述一个或多个程序被所述一个或多个处理器执行, 使得 所述一个或多个处理器实现如上述任一实施例中所述的方法。
[0018]第四方面, 本申请实施例提供了一种计算机可读介质, 其上 存储有计算机程序, 该程序被处理器执行时实现如上述任一实施例中所 述的方法。
[0019]本申请提供的确定变更事件发布成功的方法及其装置中, 通 过根据变更事件的发布信息, 确定所述变更事件对应的线上数据指标的 变化信息; 若确定所述线上数据指标的变化信息符合预设的线上数据指 标的参考标准, 则确定所述变更事件发布成功, 从而可以依据线上数据 指标的变化信息有效地确定变更事件是否发布成功, 减小了人工成本, 无需针对动态变化的线上数据指标设置动态阈值, 降低了难度; 且可以 减小出现的漏报、 误报等情况, 从而减少可能导致的用户损失。
附图说明
[0020]通过阅读参照以下附图所作的对非限制性实施例所作的详细 描述, 本申请的其它特征、 目的和优点将会变得更明显:
[0021 ] 图 1为本申请实施例一中确定变更事件发布成功的方法流程 不意图;
[0022] 图 2为本申请实施例二中确定变更事件发布成功的方法流程 不意图;
[0023] 图 3为本申请实施例三中确定变更事件发布成功的方法流程 不意图;
[0024] 图 4为本申请实施例四中确定变更事件发布成功的装置的结 构示意图;
[0025] 图 5为本申请实施例五中确定变更事件发布成功的装置的结 构示意图;
[0026] 图 6为本申请实施例六中设备 /终端 /服务器的结构示意图;
[0027] 图 7为本申请实施例七中设备 /终端 /服务器的硬件结构。 具体实施方式
[0028]下面结合附图和实施例对本申请作进一步的详细说明。 可以 理解的是, 此处所描述的具体实施例仅仅配置为解释相关发明, 而非对 该发明的限定。 另外还需要说明的是, 为了便于描述, 附图中仅示出了 与有关发明相关的部分。
[0029]需要说明的是, 在不冲突的情况下, 本申请中的实施例及实 施例中的特征可以相互组合。 下面将参考附图并结合实施例来详细说明 本申请。
[0030] 图 1为本申请实施例一中一种确定变更事件发布成功的方法 流程示意图; 如图 1所示, 其可以包括如下步骤:
[0031] S 11、根据变更事件的发布信息,确定所述变更事件对应的线 上数据指标的变化信息。
[0032]本实施例中, 变更事件可以包括: 在项目运营时执行的变更 事件、 发布软件新版本时执行的变更事件、 变更配置文件时执行的变更 事件、 为数据库增加新的数据模块时执行的变更事件、 为网页增加一个 新的脚本时执行的变更事件等, 本实施例对此不进行限定。
[0033]本实施例中, 变更事件的发布信息为变更事件发布时的相关 信息, 例如, 变更事件的名称、 变更事件的摘要信息、 变更事件的发布 时间; 若是针对软件或系统的变更事件, 变更事件的发布信息还可以包 括变更事件对应的软件或系统的 ID值等。
[0034]本实施例中, 可以预先设置需要监督的线上数据指标, 然后 根据变更事件的发布信息, 可以确定变更事件执行后, 线上数据指标的 变化信息。
[0035]需要监督的线上数据指标可以根据需求确定, 不同的变更事 件需要监督的线上数据指标可以相同也可以不同。 例如, 若变更事件是 软件更新时执行的变更事件, 则线上数据指标可以包括软件的启动时间、 软件的响应时间、 软件使用时的网络速度等; 若变更事件是系统更新时 执行的变更事件, 则线上数据指标可以为该系统的接口调用时间等。
[0036]当变更事件执行时, 若变更事件执行过程中, 被变更的内容 存在错误, 会使得线上数据指标存在异常。 然而, 由于线上数据指标的 值不仅受变更事件执行后被变更的内容的影响, 还受其他事件的影响, 例如网速的变化还受到终端所在的网络的影响等, 因此, 仅仅设置静态 阈值不能准确地确定线上数据指标是否正常。 但是线上数据指标的变化 是存在规律的, 则可以依据线上数据指标数据的变化规律, 确定变更事 件执行后线上数据指标数据的变化信息, 进而通过下述步骤 S12确定变 更事件是否发布成功。
[0037] S12、若确定所述线上数据指标的变化信息符合预设的线上数 据指标的参考标准, 则确定所述变更事件发布成功。
[0038]本实施例中, 由于线上数据指标数据的变化存在规律, 因此 本实施例中, 预设的线上数据指标的参考标准根据线上数据指标的变化 规律确定。 例如, 用户进行人工设定, 或者通过采集已经发布成功的变 更事件的线上数据指标的变化信息确定, 本实施例对此不进行限定。
[0039]本申请实施例提供的确定变更事件发布成功的方法, 根据变 更事件的发布信息, 确定所述变更事件对应的线上数据指标的变化信息; 若确定所述线上数据指标的变化信息符合预设的线上数据指标的参考标 准, 则确定所述变更事件发布成功, 从而可以依据线上数据指标的变化 信息有效地确定变更事件是否发布成功, 减小了人工成本, 无需针对动 态变化的线上数据指标设置动态阈值, 降低了难度; 且可以减小出现的 漏报、 误报等情况, 从而减少可能导致的用户损失。
[0040] 图 2为本申请实施例二中一种确定变更事件发布成功的方法 流程示意图; 如图 2所示, 其可以包括如下步骤:
[0041] S21、确定需要监督的变更事件,并获得变更事件的发布信息。
[0042]本实施例中, 可以通过设置 webhook的方式设置需要监督的 项目, 每个项目对应一个 webhook 的地址。 当针对某一目标的变更事件 发布之后, 则可以通过调用该目标所在项目的 webhook地址, 确定变更 事件的发布信息。 通过设置 webhook地址的方式确定变更事件的发布信 息, 可以使得监听部分与变更事件针对的目标相互独立, 两者之间通过 webhook地址连接, 使得本申请实施例提供的方案实现时更加简单, 不受 目标的类型、 接口、 函数等的限制, 从而通过本实施例提供的方案, 可 以对任何面向 B端 (商家端) 或者 C端 (用户端) 的变更事件自动进行 判断, 确定变更事件是否可以发布成功, 应用范围更加广泛。
[0043]当然, 本实施例的另一实现方式中, 还可以通过监听方式来 确定变更事件的发布信息, 本实施例对此不进行限定。
[0044] S22、根据变更事件的发布信息,确定所述变更事件对应的线 上数据指标的变化信息。
[0045]本实施例中, 若包括多个不同的监督项目, 则发布信息可以 包括变更事件对应的项目编号等。 确定变更事件对应的项目编号后, 即 可确定需要监督的线上数据指标到具体包括哪些。
[0046]发布信息还可以包括变更事件的发布时间, 从而可以根据发 布时间确定需要采集线上数据指标的时间, 进而根据所述变更事件的发 布时间确定所述变更事件对应的线上数据指标的变化信息。
[0047]本实施例中, 线上数据指标的变化信息具体可以包括: 与所 述变更事件执行前相比, 所述变更事件执行之后所述线上数据指标的增 长率。 其中, 本实施例中的增长率不仅可以为正也可以为负, 本实施例 对此不进行限定。
[0048]另外, 不同的线上数据指标, 其增长率的确定方法也不同。 [0049]例如, 线上数据指标随时间递增, 则确定其增长率时, 可以 采集变更事件之后的预设时长对应的线上数据指标的值, 并计算变更事 件执行之后线上数据指标的值与变更事件执行前相比增加的百分比。
[0050]再例如, 线上数据指标以天为单位成周期性变化, 则确定其 增长率时, 可以计算变更事件执行后线上数据指标的值, 与线上数据指 标上一周期的环比增长率。
[0051]本实施例中, 为了使确定的发布成功的结果更加准确, 可以 根据变更事件的发布时间, 确定多个时间节点, 并确定多个时间节点对 应的线上数据指标的变化信息, 对应的, 在下述步骤中确定的所述预设 的线上数据指标的参考标准同样包括多个时间节点对应的预设的线上数 据指标的参考标准, 从而根据多个时间节点确定变更事件是否发布成功, 进而增加发布成功结果的准确性。 例如, 可以确定发布时间之后的 10分 钟内每分钟均为一时间节点, 或者确定发布时间之后的 1小时内每 10分 钟为一个时间节点。
[0052] S23、确定所述变更事件对应的变更事件样本以及所述变更事 件样本对应的线上数据指标的变化信息。
[0053] S24、根据所述变更事件样本及其对应的线上数据指标的变化 信息, 确定预设的线上数据指标参考标准。
[0054]本实施例中, 在步骤 S23中可以确定多个已经变更成功的变 更事件作为变更事件样本, 并确定每个变更事件样本对应的线上数据指 标的变化信息, 具体确定变化信息的方法可以参考上述步骤, 本实施例 在此不再赘述。
[0055]具体地, 若所述线上数据指标的变化信息包括与所述变更事 件执行前相比, 所述变更事件执行之后所述线上数据指标的增长率。 则 本实施例中步骤 S24确定的预设的线上数据指标的参考标准包括: 线上 数据指标的增长率的预设阈值范围。
[0056]具体地, 所述线上数据指标的增长率的预设阈值范围的确定 方法如下:
[0057]在步骤 S23中, 确定多个变更事件样本, 以及所述多个变更 事件样本对应的线上数据指标的多个增长率; 在步骤 S24 中, 确定所述 多个增长率中的最大值与最小值, 以确定所述线上数据指标的增长率的 预设阈值范围。
[0058]通过确定线上数据指标的增长率, 并将增长率的预设阈值范 围作为预设的线上数据指标参考标准, 可以使确定的线上数据指标的阈 值更加准确, 进而使得确定的变更事件成功发布的准确性更高, 同时, 增长率可以适用于多种线上数据指标。
[0059] 下面以线上数据指标为处理时长为例, 对确定增长率的具体 实现方案进行举例说明。
[0060]表一
Figure imgf000009_0001
[0061]参见上述表一, 以线上数据指标为处理时长为例, 示出了两 个变更事件样本, 分别为样本一以及样本二。
[0062]样本一的发布时间为 5 月 30 日, 样本一的增长率包括 [5%, 3%, 2%], 分别为第一时间节点、 第二时间节点、 第三时间节点对应 的增长率; 样本二的发布时间为 5 月 31 日, 样本二的增长率包括 [2%, 1%, 14%], 同样分别为第一时间节点、 第二时间节点、 第三时间节点 对应的增长率。
[0063] 则, 根据上述样本一以及样本二, 可以确定处理时长对应的 增长率的阈值范围 [(2%, 5%),(1%, 3%),(2%, 14%)], 其中, (2%,5%)为第一 时间节点对应的增长率的阈值范围,(1%, 3%)为时间节点二对应的增长率 的阈值范围,(2%, 14%)为时间节点三对应的增长率的阈值范围。
[0064] 当然, 上述表一中仅示出了两个样本, 在具体实施过程中, 样本的数量可以随意设置, 例如二十个等。 在根据多个样本确定线上数 据指标的阈值范围时, 可以直接取多个样本的最大值以及最小值作为阈 值范围。
[0065] S25、若确定所述线上数据指标的变化信息符合预设的线上数 据指标的参考标准, 则确定所述变更事件发布成功。
[0066]具体地, 若上述步骤中确定的线上数据指标的变化信息为增 长率, 确定的线上数据指标的参考标准为增长率的阈值范围, 则步骤 S25 具体为: 若确定所述线上数据指标的增长率处于所述预设阈值范围内, 则确定所述变更事件发布成功; 相反, 若确定所述线上数据指标的增长 率处于所述预设阈值范围外, 则确定所述变更事件发布失败。
[0067]在确定变更事件发布成功或发布失败后, 可以将发布结果进 行展示, 展示的内容可以包括监督的各个线上数据指标、 变更事件执行 后线上数据指标的变化信息、 线上数据指标的参考标准等。
[0068]本申请实施例中, 上述步骤 S21、 S22、 S25之间的时序关系 是确定的, 步骤 S23、 S24之间的时序关系是确定的, 但是本申请实施例 并不限定步骤 S21 以及步骤 S23之间的时序关系, 只要能够在步骤 S25 执行之前确定出对应的线上数据指标的参考标准即可, 本实施例对此不 进行限定。
[0069]步骤 S23、 S24可以执行多次, 也仅执行一次后依据已经确定 的线上数据指标信息确定多个变更事件是否发布成功; 并且, 若在确定 某一变更事件是否发布成功时需要增加或删除线上数据指标, 则可选地, 本实施例中, 在步骤 S23之前还包括: 增加或删除所述线上数据指标, 以根据增加或删除操作更新线上数据指标的参考标准。
[0070]具体地, 若删除某一线上数据指标, 则在确定变更事件是否 发布成功时, 直接将其对应的线上数据指标的参考标准不做考虑即可; 若增加某一线上数据指标, 则增加后需要通过步骤 S23、 S24确定该线上 数据指标的参考标准, 确定时更新事件样本可以重复使用, 无需增加新 的更新事件样本。
[0071]进一步地, 可以预先设置多种确定线上数据指标的变化信息 的方法, 在增加线上数据指标后, 确定增加的线上数据指标对应的确定 变化信息的方法, 并通过确定的方法处理更新事件样本数据, 进而确定 增加的线上数据指标的参考标准。
[0072]可选地, 本实施例中, 还可以根据步骤 S25中确定的变更事 件是否能够发布成功, 更新所述预设的线上数据指标的参考标准。
[0073]具体地, 在确定变更事件发布成功或失败后, 用户可以根据 展示的发布结果, 验证确定的变更事件发布成功或失败的准确性, 从而 可以根据变更事件是否能够发布成功, 更新预设的线上数据指标的参考 标准。
[0074]例如, 若线上数据指标的参考标准为增加率的阈值范围, 且 通过上述方法确定变更事件发布失败, 但是经验证后确定该变更事件发 布成功, 则可以将该变更事件作为变更事件样本, 从而扩大增加率的阈 值范围; 相反, 若通过上述方法确定变更事件发布成功, 但是经验证后 确定该变更事件发布失败, 则将该变更事件作为变更事件样本, 以减小 增加率的阈值范围。
[0075]可选地, 本实施例中, 在步骤 S24之后, 还可以包括: 根据 预设的更新周期更新所述线上数据指标的参考标准。 步骤 S25 中, 可以 根据更新前或者更新后的线上数据指标的参考标准确定更新事件是否发 布成功, 本实施例对此不进行限定。
[0076]具体地, 更新周期可以人工设置, 也可以根据线上数据指标 自动设置, 例如线上数据指标呈周期性变化, 则预设的更新周期可以为 线上数据指标变化周期的 n倍, 其中 n为正整数。
[0077]通过设置更新周期, 可以实现线上数据指标的参考标准周期 性动态更新, 进而可以保证线上数据指标的参考标准更加准确, 从而保 证了确定变更事件发布成功的可靠性。
[0078]可选地, 本实施例中, 还可以人工调整所述预设的线上数据 指标的参考标准。
[0079]具体地, 在展示变更事件的发布结果时, 同样会展示线上数 据指标的参考标准, 若技术人员发现线上数据指标的参考标准需要调整, 则可以直接进行人工调整。
[0080]可选地, 本实施例中, 部分线上数据指标会受场景的影响, 则在具体使用时可以根据所述变更事件的发布场景, 确定与所述发布场 景对应的预设的线上数据指标的参考标准。 对应的, 在确定变更事件是 否发布成功时, 先确定变更事件对应的发布场景, 根据发布场景确定对 应的预设的线上数据指标的参考标准, 以根据该参考标准确定变更事件 是否发布成功。
[0081 ]例如, 线上数据指标为服务器的响应时间, 即服务器中包括 多个线程, 每个线程可以响应一个需要响应的事件, 则使用场景可以分 为两种。 第一种为响应高峰期, 在这个使用场景中需要服务器响应的事 件较多, 则针对某一需要响应的事件, 需要等待的时间较长, 服务器响 应时间较长; 第二种为响应低谷期, 在这个使用场景中需要服务器响应 的事件较少, 则针对某一需要响应的事件, 无需等待或需要等待的时间 较少, 服务器响应时间较短。 则在上述两种场景中, 响应时间的值差别 较大, 响应时间的变化信息差别也较大, 因此, 在确定线上数据指标的 参考标准时, 可以针对两个使用场景, 分别确定两个参考标准。 在确定 变更事件是否发布成功时, 可以先确定变更事件的发布场景属于上述两 种的哪一种, 然后确定发布场景对应的预设的线上数据指标的参考标准, 以根据该参考标准确定变更事件是否发布成功。
[0082]当然, 发布场景也可以是其他, 例如特殊节假日等, 本实施 例对此不进行限定。
[0083]类似的, 当线上数据指标随时间增加成周期性变化时, 可以 设置多个线上数据指标的参考标准, 每个参考标准分别对应变化周期中 的一个小区间。 对应的, 在确定变更事件是否发布成功时, 可以先根据 发布时间确定所处周期中的位置, 然后确定该位置对应的线上数据指标 参考标准, 以根据该参考标准确定变更事件是否发布成功, 这样可以针 对一个线上数据指标设置时间维度的发布标准, 进而提高确定变更事件 发布成功的准确率。
[0084]本实施例提供的方案, 可以实现线上数据指标的参考标准动 态的改变, 也可以实现监督的线上数据指标动态地改变, 进而可以提高 确定变更事件发布成功的灵活性。
[0085] 图 3为本申请实施例三中一种确定变更事件发布成功的方法 流程示意图; 本实施例以发布软件新版本为例进行说明, 如图 3所示, 其可以包括如下步骤:
[0086] S31、预先根据需要监督的软件设置监督项目, 并在该监督项 目下设置需要监督的线上数据指标、 配置该监督项目对应的 webhook地 址。
[0087]本实施例中, 需要监督的线上数据指标可以预先设置, 也可 以在变更事件发布之后再进行设置, 可以通过人工进行设置, 也可以通 过其他方式例如从数据库中读取列表等方式确定, 本实施例对此不进行 限定。 [0088]另外, 还可以设置不同的监督项目, 每个监督项目可以监督 一个目标的变更事件, 例如被监督的目标是软件时, 则软件目标的变更 事件可以是发布软件新版本。 每一个监督项目下可以设置一个或多个需 要监督的线上数据指标, 本实施例对此不进行限定。
[0089]具体地, 在设置监督项目时, 可以输入软件的 ID, 发布软件 新版本时, 变更事件的发布信息中包括该软件的 ID值, 从而可以通过软 件 ID值识别对应的变更事件。
[0090]本实施例中, 设置的线上数据指标可以有多个, 分别为指标 1、 指标 2 指标 n。
[0091] S32、确定软件的历史版本对应的变更事件,将其作为变更事 件样本, 并确定变更事件样本对应的线上数据指标的变化信息。
[0092] S33、 根据变更事件样本及其对应的线上数据指标的变化信 息, 确定线上数据指标指教的参考标准。
[0093]本实施例中, 一个线上数据指标至少对应一个线上数据指标 的参考标准。 当然, 针对不同的场景或指标, 可以为一个线上数据指标 设置多个参考标准。
[0094] S34、 当软件发布新版本后, 生成对应的新版本发布消息, 并 调用 webhook地址, 以根据新版本发布消息确定软件发布新版本对应的 变更事件的发布信息。
[0095]具体地, 软件发布新版本时, 发布消息中包括该软件对应的
ID值, 从而可以根据 ID值确定对应的监督项目。
[0096] S35、确定变更事件的发布信息, 以根据发布信息确定变更事 件对应的线上数据指标的变化信息。
[0097]步骤 S31中设置了监督项目下的多个需要监督的线下数据指 标, 则确定了监督项目后即可确定需要监督的线下数据指标。 之后, 即 可根据发布信息, 确定变更事件执行之后, 这些线下数据指标的变化信 息, 即变更事件对应的线下数据指标的变化信息。
[0098] S36、判断所述线上数据指标的变化信息是否符合预设的线上 数据指标的参考标准。
[0099] S37、 若符合, 则确定所述变更事件发布成功, 即确定软件新 版本发布成功。 [00100] S38、 若不符合, 则确定所述变更事件发布失败, 即确定软 件新版本发布失败。
[00101] S39、 向用户展示结果。
[00102] 图 4 为本申请实施例四中确定变更事件发布成功的装置的 结构示意图; 如图 4所示, 其可以包括如下单元:
[00103]信息确定单元 401, 配置为根据变更事件的发布信息, 确定 所述变更事件对应的线上数据指标的变化信息;
[00104]发布确定单元 402 , 配置为若确定所述线上数据指标的变化 信息符合预设的线上数据指标的参考标准, 则确定所述变更事件发布成 功。
[00105] 图 5 为本申请实施例五中确定变更事件发布成功的装置的 结构示意图。 可选地, 如图 5所示, 预设的线上数据指标的参考标准通 过下述单元确定:
[00106]样本确定单元 403 , 配置为确定所述变更事件对应的变更事 件样本以及所述变更事件样本对应的线上数据指标的变化信息;
[00107]标准确定单元 404, 配置为根据所述变更事件样本及其对应 的线上数据指标的变化信息, 确定预设的线上数据指标参考标准。
[00108]可选地, 本实施例中, 还包括: 更新单元, 配置为根据变更 事件是否能够发布成功, 更新所述预设的线上数据指标的参考标准。
[00109]可选地, 本实施例中, 人工调整单元, 配置为人工调整所述 预设的线上数据指标的参考标准。
[00110]可选地, 本实施例中, 所述线上数据指标的变化信息包括: 与所述变更事件执行前相比, 所述变更事件执行之后所述线上数据指标 的增长率。
[00111]可选地,本实施例中,预设的线上数据指标的参考标准包括: 所述线上数据指标的增长率的预设阈值范围。
[00112]可选地, 本实施例中,样本确定单元 403进一步配置为确定 多个变更事件样本, 以及所述多个变更事件样本对应的线上数据指标的 多个增长率; 标准确定单元 404进一步配置为确定所述多个增长率中的 最大值与最小值, 以确定所述线上数据指标的增长率的预设阈值范围。
[00113]可选地, 本实施例中, 若确定所述线上数据指标的变化信息 符合预设的线上数据指标的参考标准, 则所述发布确定单元 402进一步 配置为若确定所述线上数据指标的增长率处于所述预设阈值范围内, 则 确定所述变更事件发布成功。
[00114]可选地, 本实施例中, 根据所述变更事件的发布场景, 确定 与所述发布场景对应的预设的线上数据指标的参考标准。
[00115]可选地, 本实施例中, 所述变更事件的发布信息中包括发布 时间, 则所述信息确定单元 401进一步配置为根据所述变更事件的发布 时间, 确定所述变更事件对应的线上数据指标的变化信息。
[00116]可选地, 本实施例中, 所述信息确定单元 401进一步配置为 根据所述发布时间确定多个时间节点, 并确定所述多个时间节点对应的 所述线上数据指标的变化信息;
[00117]对应的,所述预设的线上数据指标的参考标准包括多个时间 节点对应的预设的线上数据指标的参考标准。
[00118] 图 6为本申请实施例六中设备 /终端 /服务器的结构示意图; 该设备 /终端 /服务器可以包括:
[00119]一个或多个处理器 601 ;
[00120]计算机可读介质 602, 可以配置为存储一个或多个程序,
[00121 ] 当所述一个或多个程序被所述一个或多个处理器执行,使得 所述一个或多个处理器实现如上述任一实施例中所述的确定变更事件发 布成功的方法。
[00122] 图 7为本申请实施例七中设备 /终端 /服务器的硬件结构;如 图 7所示, 该设备 /终端 /服务器的硬件结构可以包括: 处理器 701, 通信 接口 702, 计算机可读介质 703和通信总线 704;
[00123]其中处理器 701、 通信接口 702、 计算机可读介质 703通过 通信总线 704完成相互间的通信;
[00124]可选的, 通信接口 702可以为通信模块的接口, 如 GSM模块 的接口;
[00125]其中, 处理器 701具体可以配置为:根据变更事件的发布信 息, 确定所述变更事件对应的线上数据指标的变化信息; 若确定所述线 上数据指标的变化信息符合预设的线上数据指标的参考标准, 则确定所 述变更事件发布成功。 [00126]处理器 701 可以是通用处理器, 包括中央处理器 (Central Processing Unit , 简称 CPU)、 网络处理器 (Network Processor , 简称 NP)等; 还可以是数字信号处理器 (DSP)、 专用集成电路 (ASIC)、 现成可 编程门阵列 (FPGA)或者其它可编程逻辑器件、 分立门或者晶体管逻辑器 件、 分立硬件组件。 可以实现或者执行本申请实施例中的公开的各方法、 步骤及逻辑框图。 通用处理器可以是微处理器或者该处理器也可以是任 何常规的处理器等。
[00127]特别地,根据本公开的实施例, 上文参考流程图描述的过程 可以被实现为计算机软件程序。 例如, 本公开的实施例包括一种计算机 程序产品, 其包括承载在计算机可读介质上的计算机程序, 该计算机程 序包含配置为执行流程图所示的方法的程序代码。 在这样的实施例中, 该计算机程序可以通过通信部分从网络上被下载和安装, 和 /或从可拆卸 介质被安装。 在该计算机程序被中央处理单元 (CPU) 执行时, 执行本申 请的方法中限定的上述功能。 需要说明的是, 本申请所述的计算机可读 介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两 者的任意组合。 计算机可读介质例如可以但不限于是电、 磁、 光、 电磁、 红外线、 或半导体的系统、 装置或器件, 或者任意以上的组合。 计算机 可读存储介质的更具体的例子可以包括但不限于: 具有一个或多个导线 的电连接、 便携式计算机磁盘、 硬盘、 随机访问存储介质 (RAM) 、 只读 存储介质 ( ROM) 、 可擦式可编程只读存储介质 ( EPR0M或闪存) 、 光纤、 便携式紧凑磁盘只读存储介质 ( CD-ROM ) 、 光存储介质件、 磁存储介质 件、 或者上述的任意合适的组合。 在本申请中, 计算机可读存储介质可 以是任何包含或存储程序的有形介质, 该程序可以被指令执行系统、 装 置或者器件使用或者与其结合使用。 而在本申请中, 计算机可读的信号 介质可以包括在基带中或者作为载波一部分传播的数据信号, 其中承载 了计算机可读的程序代码。 这种传播的数据信号可以采用多种形式, 包 括但不限于电磁信号、 光信号或上述的任意合适的组合。 计算机可读的 信号介质还可以是计算机可读存储介质以外的任何计算机可读介质, 该 计算机可读介质可以发送、 传播或者传输配置为由指令执行系统、 装置 或者器件使用或者与其结合使用的程序。 计算机可读介质上包含的程序 代码可以用任何适当的介质传输, 包括但不限于: 无线、 电线、 光缆、 RF等等, 或者上述的任意合适的组合。
[00128]可以以一种或多种程序设计语言或其组合来编写配置为执 行本申请的操作的计算机程序代码, 所述程序设计语言包括面向对象的 程序设计语言一诸如 Java、 Smal ltalk、 C++, 还包括常规的过程式程序 设计语言一诸如” C”语言或类似的程序设计语言。 程序代码可以完全地 在用户计算机上执行、 部分地在用户计算机上执行、 作为一个独立的软 件包执行、 部分在用户计算机上部分在远程计算机上执行、 或者完全在 远程计算机或服务器上执行。 在涉及远程计算机的情形中, 远程计算机 可以通过任意种类的网络: 包括局域网(LAN)或广域网(WAN)—连接到用 户计算机, 或者, 可以连接到外部计算机 (例如利用因特网服务提供商 来通过因特网连接) 。
[00129] 附图中的流程图和框图,图示了按照本申请各种实施例的系 统、 方法和计算机程序产品的可能实现的体系架构、 功能和操作。 在这 点上, 流程图或框图中的每个方框可以代表一个模块、 程序段、 或代码 的一部分, 该模块、 程序段、 或代码的一部分包含一个或多个配置为实 现规定的逻辑功能的可执行指令。 上述具体实施例中有特定先后关系, 但这些先后关系只是示例性的, 在具体实现的时候, 这些步骤可能会更 少、 更多或执行顺序有调整。 即在有些作为替换的实现中, 方框中所标 注的功能也可以以不同于附图中所标注的顺序发生。 例如, 两个接连地 表示的方框实际上可以基本并行地执行, 它们有时也可以按相反的顺序 执行, 这依所涉及的功能而定。 也要注意的是, 框图和 /或流程图中的每 个方框、 以及框图和 /或流程图中的方框的组合, 可以用执行规定的功能 或操作的专用的基于硬件的系统来实现, 或者可以用专用硬件与计算机 指令的组合来实现。
[00130]描述于本申请实施例中所涉及到的单元可以通过软件的方 式实现, 也可以通过硬件的方式来实现。 所描述的单元也可以设置在处 理器中, 例如, 可以描述为: 一种处理器包括信息确定单元、 发布确定 单元。 其中, 这些单元的名称在某种情况下并不构成对该单元本身的限 定, 例如, 信息确定单元还可以被描述为“根据变更事件的发布信息, 确定所述变更事件对应的线上数据指标的变化信息” 。
[00131]作为另一方面, 本申请还提供了一种计算机可读介质, 其上 存储有计算机程序, 该程序被处理器执行时实现如上述任一实施例中所 描述的方法。
[00132]作为另一方面, 本申请还提供了一种计算机可读介质, 该计 算机可读介质可以是上述实施例中描述的装置中所包含的; 也可以是单 独存在, 而未装配入该装置中。 上述计算机可读介质承载有一个或者多 个程序, 当上述一个或者多个程序被该装置执行时, 使得该装置: 根据 变更事件的发布信息, 确定所述变更事件对应的线上数据指标的变化信 息; 若确定所述线上数据指标的变化信息符合预设的线上数据指标的参 考标准, 则确定所述变更事件发布成功。
[00133]在本公开的各种实施方式中所使用的表述“第一”、 “第二”、
“所述第一”或“所述第二”可修饰各种部件而与顺序和 /或重要性无关, 但是这些表述不限制相应部件。 以上表述仅配置为将元件与其它元件区 分开的目的。 例如, 第一用户设备和第二用户设备表示不同的用户设备, 虽然两者均是用户设备。 例如, 在不背离本公开的范围的前提下, 第一 元件可称作第二元件, 类似地, 第二元件可称作第一元件。
[00134] 当一个元件(例如, 第一元件)称为与另一元件(例如, 第二 元件)“(可操作地或可通信地)联接”或“(可操作地或可通信地)联接至” 另一元件(例如, 第二元件)或“连接至”另一元件(例如, 第二元件)时, 应理解为该一个元件直接连接至该另一元件或者该一个元件经由又一个 元件(例如, 第三元件)间接连接至该另一个元件。 相反, 可理解, 当元 件(例如, 第一元件)称为“直接连接”或“直接联接”至另一元件(第二 元件)时, 则没有元件(例如, 第三元件)插入在这两者之间。
[00135] 以上描述仅为本申请的较佳实施例以及对所运用技术原理 的说明。 本领域技术人员应当理解, 本申请中所涉及的发明范围, 并不 限于上述技术特征的特定组合而成的技术方案, 同时也应涵盖在不脱离 上述发明构思的情况下, 由上述技术特征或其等同特征进行任意组合而 形成的其它技术方案。 例如上述特征与本申请中公开的 (但不限于) 具 有类似功能的技术特征进行互相替换而形成的技术方案。

Claims

权 利 要 求 书
1.一种确定变更事件发布成功的方法, 其特征在于, 包括: 根据变更事件的发布信息, 确定所述变更事件对应的线上数据指标 的变化信息;
若确定所述线上数据指标的变化信息符合预设的线上数据指标的参 考标准, 则确定所述变更事件发布成功。
2.根据权利要求 1所述的方法, 其特征在于, 预设的线上数据指标 的参考标准通过下述方法确定:
确定所述变更事件对应的变更事件样本以及所述变更事件样本对应 的线上数据指标的变化信息;
根据所述变更事件样本及其对应的线上数据指标的变化信息, 确定 预设的线上数据指标参考标准。
3.根据权利要求 1所述的方法, 其特征在于, 还包括: 根据变更事 件是否能够发布成功, 更新所述预设的线上数据指标的参考标准。
4.根据权利要求 1所述的方法, 其特征在于, 还包括: 人工调整所 述预设的线上数据指标的参考标准。
5.根据权利要求 1所述的方法, 其特征在于, 所述线上数据指标的 变化信息包括: 与所述变更事件执行前相比, 所述变更事件执行之后所 述线上数据指标的增长率。
6.根据权利要求 5所述的方法, 其特征在于, 预设的线上数据指标 的参考标准包括: 所述线上数据指标的增长率的预设阈值范围。
7.根据权利要求 6所述的方法, 其特征在于, 所述线上数据指标的 增长率的预设阈值范围的确定方法如下:
确定多个变更事件样本, 以及所述多个变更事件样本对应的线上数 据指标的多个增长率;
确定所述多个增长率中的最大值与最小值, 以确定所述线上数据指 标的增长率的预设阈值范围。
8.根据权利要求 6所述的方法, 其特征在于, 若确定所述线上数据 指标的变化信息符合预设的线上数据指标的参考标准, 则确定所述变更 事件发布成功包括:
若确定所述线上数据指标的增长率处于所述预设阈值范围内, 则确 定所述变更事件发布成功。
9.根据权利要求 1-8任一项所述的方法, 其特征在于, 根据所述变 更事件的发布场景, 确定与所述发布场景对应的预设的线上数据指标的 参考标准。
10. 根据权利要求 1-8任一项所述的方法, 其特征在于, 所述变更 事件的发布信息中包括发布时间, 则所述根据变更事件的发布信息, 确 定所述变更事件对应的线上数据指标的变化信息包括:
根据所述变更事件的发布时间, 确定所述变更事件对应的线上数据 指标的变化信息。
11. 根据权利要求 10所述的方法, 其特征在于, 根据所述发布时 间, 确定所述变更事件对应的线上数据指标的变化信息包括: 根据所述 发布时间确定多个时间节点, 并确定所述多个时间节点对应的所述线上 数据指标的变化信息;
对应的, 所述预设的线上数据指标的参考标准包括多个时间节点对 应的预设的线上数据指标的参考标准。
12. —种确定变更事件发布成功的装置, 其特征在于, 包括: 信息确定单元, 配置为根据变更事件的发布信息, 确定所述变更事 件对应的线上数据指标的变化信息;
发布确定单元, 配置为若确定所述线上数据指标的变化信息符合预 设的线上数据指标的参考标准, 则确定所述变更事件发布成功。
13. 根据权利要求 12所述的装置, 其特征在于, 预设的线上数据 指标的参考标准通过下述单元确定:
样本确定单元, 配置为确定所述变更事件对应的变更事件样本以及 所述变更事件样本对应的线上数据指标的变化信息;
标准确定单元, 配置为根据所述变更事件样本及其对应的线上数据 指标的变化信息, 确定预设的线上数据指标参考标准。
14. 根据权利要求 12所述的装置, 其特征在于, 还包括: 更新单 元, 配置为根据变更事件是否能够发布成功, 更新所述预设的线上数据 指标的参考标准。
15. 根据权利要求 12所述的装置, 其特征在于, 还包括: 人工调 整单元, 配置为人工调整所述预设的线上数据指标的参考标准。
16. 根据权利要求 12所述的装置, 其特征在于, 所述线上数据指 标的变化信息包括: 与所述变更事件执行前相比, 所述变更事件执行之 后所述线上数据指标的增长率。
17. 根据权利要求 16所述的装置, 其特征在于, 预设的线上数据 指标的参考标准包括: 所述线上数据指标的增长率的预设阈值范围。
18. 根据权利要求 17所述的装置, 其特征在于,
样本确定单元进一步配置为确定多个变更事件样本, 以及所述多个 变更事件样本对应的线上数据指标的多个增长率;
标准确定单元进一步配置为确定所述多个增长率中的最大值与最小 值, 以确定所述线上数据指标的增长率的预设阈值范围。
19. 根据权利要求 17所述的装置, 其特征在于, 若确定所述线上 数据指标的变化信息符合预设的线上数据指标的参考标准, 则所述发布 确定单元进一步配置为若确定所述线上数据指标的增长率处于所述预设 阈值范围内, 则确定所述变更事件发布成功。
20. 根据权利要求 12所述的装置, 其特征在于, 根据所述变更事 件的发布场景, 确定与所述发布场景对应的预设的线上数据指标的参考 标准。
21. 根据权利要求 12所述的装置, 其特征在于, 所述变更事件的 发布信息中包括发布时间, 则所述信息确定单元进一步配置为根据所述 变更事件的发布时间, 确定所述变更事件对应的线上数据指标的变化信 息。
22. 根据权利要求 21所述的装置, 其特征在于, 所述信息确定单 元进一步配置为根据所述发布时间确定多个时间节点, 并确定所述多个 时间节点对应的所述线上数据指标的变化信息;
对应的, 所述预设的线上数据指标的参考标准包括多个时间节点对 应的预设的线上数据指标的参考标准。
23. —种设备 /终端 /服务器, 包括:
一个或多个处理器;
存储介质, 配置为存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行, 使得所述一 个或多个处理器实现如权利要求 1-11中任一所述的方法。
24. 一种计算机可读介质, 其上存储有计算机程序, 其特征在于, 该程序被处理器执行时实现如权利要求 1-11中任一所述的方法。
PCT/IB2018/057151 2018-08-28 2018-09-18 确定变更事件发布成功的方法及其装置 WO2020044090A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810987453.6A CN109241482A (zh) 2018-08-28 2018-08-28 确定变更事件发布成功的方法及其装置
CN201810987453.6 2018-08-28

Publications (1)

Publication Number Publication Date
WO2020044090A1 true WO2020044090A1 (zh) 2020-03-05

Family

ID=65068617

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IB2018/057151 WO2020044090A1 (zh) 2018-08-28 2018-09-18 确定变更事件发布成功的方法及其装置

Country Status (2)

Country Link
CN (1) CN109241482A (zh)
WO (1) WO2020044090A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552487B (zh) * 2019-02-11 2022-07-05 福建省天奕网络科技有限公司 H5跨引擎客户端本地数据代理方法、存储介质
CN110059013B (zh) * 2019-04-24 2023-06-23 北京百度网讯科技有限公司 软件升级后正常运行的确定方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120254850A1 (en) * 2011-03-31 2012-10-04 International Business Machines Corporation System for inspecting information processing unit to which software update is applied
CN105490829A (zh) * 2014-10-13 2016-04-13 华为技术有限公司 控制报文传输的方法、装置和网络功能虚拟化系统
CN106547693A (zh) * 2016-10-31 2017-03-29 北京珠穆朗玛移动通信有限公司 系统测试方法及移动终端
US20180121322A1 (en) * 2016-10-31 2018-05-03 Facebook, Inc. Methods and Systems for Testing Versions of Applications
CN108268272A (zh) * 2017-02-17 2018-07-10 平安科技(深圳)有限公司 基于wsus的补丁更新方法和装置
CN108376118A (zh) * 2018-02-09 2018-08-07 腾讯科技(深圳)有限公司 服务发布系统、方法、设备及存储介质

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299810B (zh) * 2011-09-29 2014-07-09 北京新媒传信科技有限公司 群组变更事件的通知方法和系统
CN103647698A (zh) * 2013-11-28 2014-03-19 宇龙计算机通信科技(深圳)有限公司 关注事件变更的提醒方法和装置
CN106855804B (zh) * 2016-11-03 2020-05-19 广州视源电子科技股份有限公司 代码变更管控方法及装置
CN106844210B (zh) * 2017-01-20 2019-08-23 网易(杭州)网络有限公司 事件变更信息的获取方法及装置
CN107729232A (zh) * 2017-09-27 2018-02-23 深圳市赛亿科技开发有限公司 一种基于js的脚本调试方法及装置
CN107846305B (zh) * 2017-09-28 2020-12-01 贵州白山云科技股份有限公司 一种变更任务管理方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120254850A1 (en) * 2011-03-31 2012-10-04 International Business Machines Corporation System for inspecting information processing unit to which software update is applied
CN105490829A (zh) * 2014-10-13 2016-04-13 华为技术有限公司 控制报文传输的方法、装置和网络功能虚拟化系统
CN106547693A (zh) * 2016-10-31 2017-03-29 北京珠穆朗玛移动通信有限公司 系统测试方法及移动终端
US20180121322A1 (en) * 2016-10-31 2018-05-03 Facebook, Inc. Methods and Systems for Testing Versions of Applications
CN108268272A (zh) * 2017-02-17 2018-07-10 平安科技(深圳)有限公司 基于wsus的补丁更新方法和装置
CN108376118A (zh) * 2018-02-09 2018-08-07 腾讯科技(深圳)有限公司 服务发布系统、方法、设备及存储介质

Also Published As

Publication number Publication date
CN109241482A (zh) 2019-01-18

Similar Documents

Publication Publication Date Title
US10972282B2 (en) Distributed logging of application events in a blockchain
US10996854B2 (en) Deletion of blocks in a blockchain
US10860406B2 (en) Information processing device and monitoring method
US8856313B2 (en) Systems and methods for using provenance information for data retention in stream-processing
KR101871383B1 (ko) 계층적 데이터 구조의 노드 상에서 재귀적 이벤트 리스너를 사용하기 위한 방법 및 시스템
US10079750B2 (en) Limiting data output from windowing operations
CN110532322B (zh) 运维交互方法、系统、计算机可读存储介质及设备
JP2014102661A (ja) 適用判定プログラム、障害検出装置および適用判定方法
US10608915B2 (en) Providing dynamic latency in an integration flow
CN113032412A (zh) 数据同步方法、装置、电子设备和计算机可读介质
WO2020044090A1 (zh) 确定变更事件发布成功的方法及其装置
US10659289B2 (en) System and method for event processing order guarantee
CN110727563A (zh) 预设客户的云服务报警方法及装置
US10248508B1 (en) Distributed data validation service
CN112148762A (zh) 一种实时数据流的统计方法和装置
CN113064906B (zh) 一种Binlog日志数据适配迁移方法和系统
US11082484B2 (en) Load balancing system
CN113254313A (zh) 一种监控指标异常检测方法、装置、电子设备及存储介质
CN113765730A (zh) 数据链路网络的监测方法、装置
CN111291127A (zh) 一种数据同步方法、装置、服务器及存储介质
US9674282B2 (en) Synchronizing SLM statuses of a plurality of appliances in a cluster
CN114860782B (zh) 数据查询方法、装置、设备及介质
CN110221869B (zh) 用于配置数据中心运行环境的方法及装置
CN115277362A (zh) 故障诊断方法、装置、电子设备和计算机可读介质
CN112559087A (zh) 信息生成方法、装置、电子设备和计算机可读介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18932038

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18932038

Country of ref document: EP

Kind code of ref document: A1