WO2013159610A1 - 一种在线升级处理方法、相关装置和系统 - Google Patents

一种在线升级处理方法、相关装置和系统 Download PDF

Info

Publication number
WO2013159610A1
WO2013159610A1 PCT/CN2013/072782 CN2013072782W WO2013159610A1 WO 2013159610 A1 WO2013159610 A1 WO 2013159610A1 CN 2013072782 W CN2013072782 W CN 2013072782W WO 2013159610 A1 WO2013159610 A1 WO 2013159610A1
Authority
WO
WIPO (PCT)
Prior art keywords
environment
charging
online upgrade
access platform
unified access
Prior art date
Application number
PCT/CN2013/072782
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 华为技术有限公司
Priority to EP13780976.0A priority Critical patent/EP2835935B1/en
Publication of WO2013159610A1 publication Critical patent/WO2013159610A1/zh
Priority to US14/524,480 priority patent/US9674371B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/64On-line charging system [OCS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • H04L12/1467Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network involving prepayment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M17/00Prepayment of wireline communication systems, wireless communication systems or telephone systems
    • H04M17/02Coin-freed or check-freed systems, e.g. mobile- or card-operated phones, public telephones or booths

Definitions

  • the present invention relates to the field of communications, and in particular, to an online upgrade processing method, related apparatus, and system. Background technique
  • the OCS/CBS system consists of a unified access platform, a billing engine, and a data center.
  • the data centers include physical data centers, memory data centers, and data cache centers.
  • the Service Control Point (SCP) interacts with the unified access platform of the OCS/CBS system through a DCC (Dimeter Credit-Control) message interface.
  • DCC Diameter Credit-Control
  • the OCS/CBS system uses the release technology to process the service when upgrading (such as application upgrade, data center upgrade, etc.).
  • the release technology refers to the failure of a functional module before the function module.
  • the function module is processed according to the release requirements.
  • the OCS/CBS system uses the release technology for service processing during the upgrade: Before the OCS/CBS system is upgraded, the SCP receives the online meter. When the fee is requested, the SCP sends a DCC message to the unified access platform of the OCS/CBS system.
  • the charging engine performs charging processing according to the DCC message received by the unified access platform, and the unified access platform and the charging engine can access the data center.
  • the SCP When the OCS/CBS system is upgraded, when the SCP receives the online charging request, the SCP goes to the OCS/CBS system. An access platform sends a DCC message. Since the OCS/CBS system is in the process of being upgraded, the unified access platform and the accounting engine of the OCS/CBS system are stopped, the service processing is interrupted, and the unified access platform cannot receive the DCC message sent by the SCP.
  • the SCP receives the timeout message returned by the OCS/CBS system, if the current service is a voice call, the SCP performs the release process, and records the call information after the call ends.
  • the OCS/CBS system resumes normal operation, OCS The /CBS system collects call information recorded by the SCP from the SCP, and performs charging processing according to the call information in an offline charging manner.
  • the above solution can ensure that the OCS/CBS system upgrade is not perceived by the user, since in the above solution, the SCP releases all the calls, which enables the calling user to have the current balance insufficient to pay for the call service. The call is made. It can be seen that there is a risk of arrears for the above-mentioned schemes for operators, especially the technical loopholes of malicious arrears.
  • the system When the user balance is 0.1 yuan, when the international long distance is insufficient, the system will refuse the user to make an international long distance during normal online charging, but in this scheme, when the OCS/CBS system is upgraded, the SCP will release the international long distance. .
  • the pre-network elements of the OCS/CBS system such as SCP, Gateway GPRS Support Node (GGSN), etc.
  • GGSN Gateway GPRS Support Node
  • the embodiment of the present invention provides an online upgrade processing method, a related device, and a system, which are used to solve the problem that the service needs to be released when the online upgrade is performed.
  • the embodiment of the present invention provides the following technical solutions:
  • An online upgrade processing method includes:
  • the charging environment of the charging system is simulated, and a credit control environment having a charging function is generated;
  • the above-mentioned credit control environment is used instead of the above-mentioned billing environment acceptance service.
  • An online upgrade processing apparatus includes:
  • a receiving unit configured to receive online upgrade indication information, where the online upgrade indication information is used Instructing the billing system to enter the online upgrade preparation phase;
  • a cloning unit configured to simulate a charging environment of the foregoing charging system, and generate a credit control environment having a charging function
  • the converting unit is configured to replace the charging environment acceptance service by using the above-mentioned credit control environment when the charging system enters the online upgrading phase.
  • a billing system comprising:
  • the online upgrade processing device is configured to: receive an online upgrade indication information, where the online upgrade indication information is used to indicate that the charging system enters an online upgrade preparation phase; and when the online upgrade indication information is received, simulate the charging environment of the charging system , generating a credit control environment with a charging function; when the charging system enters the online upgrading phase, the above-mentioned credit control environment is replaced by the charging environment acceptance service.
  • the information control environment with the charging environment function is generated through the simulated charging environment, and the online control system is used to replace the charging environment acceptance service in the online upgrade process.
  • the solution solves the problem that the service needs to be released during the online upgrade, and avoids the risk of arrears due to the release of the service.
  • the technical solution in the embodiment of the present invention does not need to involve the charging system.
  • the transformation of the architecture does not involve the transformation of external network elements, and has the characteristics of low transformation cost.
  • Figure 1 is a schematic diagram of an existing 0CS/CBS system architecture
  • FIG. 2 is a schematic diagram of a service processing scheme of an existing 0CS/CBS system during software upgrade
  • FIG. 3 is a schematic flowchart of an embodiment of an online upgrade processing method provided by the present invention
  • FIG. 5 is a schematic flowchart of still another embodiment of an online upgrade processing method according to the present invention
  • FIG. 6 is a schematic flowchart of still another embodiment of an online upgrade processing method according to the present invention
  • FIG. 8 is a schematic structural diagram of another embodiment of an online upgrade processing apparatus according to the present invention
  • FIG. 8 is a schematic structural diagram of another embodiment of an online upgrade processing apparatus according to the present invention
  • FIG. 9 is a schematic structural diagram of still another embodiment of an online upgrade processing apparatus according to the present invention.
  • the embodiment of the invention provides an online upgrade processing method, related device and system.
  • the billing system or other system sends the online upgrade instruction information to the online upgrade processing device, where
  • the online upgrade indication information is used to indicate that the charging system is currently in the online upgrade preparation phase, so that the online upgrade processing device, when receiving the online upgrade indication information, learns that the charging system enters the online upgrade preparation phase.
  • the online upgrading processing device simulates a charging environment of the charging system, and generates The credit control environment of the billing function.
  • the charging environment of the charging system includes information and resources used in the charging process, such as a charging user account, a unified access platform, a charging engine, a data center, a configuration file, Environment variables, etc., because the credit control environment is generated by simulating the above charging environment, the information control environment also includes the information and resources used in the billing process, which makes the simulated signal control environment have a charging function.
  • the specific process of generating the credit control environment with the charging function may be: creating a credit control user account with the same rights as the charging user account, and correlating the accounting user account.
  • the file is copied to the created credit control user account, and related files such as application software packages, configuration files, environment variables, and so on.
  • modify the configuration items that may be in conflict for example, modify the BASEKEY value of the shared memory.
  • the external port is not modified to ensure that the predecessor network element such as the SCP can use the original external port and charging system of the charging system. Communication is carried out.
  • the unified access platform process and the billing engine process are the same as those in the billing environment, and the data center of the billing environment is shared by the trust control environment.
  • the unified access platform and the accounting engine in the charging environment are in normal operation, and the processes in the information control environment are not started.
  • the process of generating the signal control environment involves the transformation of the data access engine, and the transformation of the data access engine can be implemented through the transposition rule table and the logic transformation, which can be implemented by using snapshot mirroring, signal control increment and letter control instead, wherein Snapshot mirroring refers to: Based on the original table snapshot in the data center, the table structure, index, data, and so on are completely consistent with the original table. When charging processing is performed in the bearer environment, if the billing process is required, When accessing the original table, the process of accessing the original table is automatically transposed to access the mirror table of the original table. Different transpose rules can be used for different tables in the data center.
  • the credit control increment refers to: designing the same credit control increment table as the original table structure and index.
  • the change data is saved in the above-mentioned letter control increment table in an incremental manner.
  • the original table and the letter control increment table are respectively read, and the data in the original table and the letter control increment table are The change data in the process is aggregated and processed, and the changed original table data is obtained.
  • the letter control substitution refers to: designing the same letter control substitution table as the original table structure and index.
  • the MAC address substitution table is preferentially accessed. If the data in the MAC substitution table is not accessed, the original table is accessed. For example, suppose the data center of the billing environment contains three original tables named table-a, table-b, and table-c.
  • Table 1 The transformation implementation of the data access engine is shown in Table 1:
  • the signal control environment is based on the table-a table of the table statement snapshot table out a_ Snap Shot, the table field also includes xl int, x2 char (32), also contains two records:
  • the transposition rule of the snapshot mirror is applicable to the scenario where the original table in the data center is incompatible upgrade.
  • the letter control environment creates a table table_b_increment based on the table-b table construction statement.
  • the table field also includes xl int, x2 char(32), and the initial table is empty.
  • the transposition rule of the credit control increment applies to the dynamic information table such as the balance.
  • Transpose rules for letter control substitution :
  • the fields of the table-c table include xl int, x2 char(32) , which contain two records:
  • the letter control environment creates a table table_c_replace based on the table-c table construction statement.
  • the table field also includes xl int, x2 char(32), and the initial table is empty.
  • the transposition rule of the letter control alternative applies to the information table such as the user status.
  • the credit control system in which the credit control environment is located is both related and isolated from the charging system in which the billing environment is located.
  • Correlation refers to: The signal control environment is generated for the analog billing environment.
  • the application software package in the trust control environment is identical to the billing environment; the data center of the billing environment is still shared.
  • Isolation means The independent letter control environment ensures that it is isolated from the application of the billing environment, and there is no coexistence conflict between key resources; through the transformation of the data access engine, the data center principle of the credit control environment to the billing system Only virtual operations (that is, insert, update, delete, etc. are masked, only read operations).
  • the original table is snapshotted into the MAC mirror, which is implemented by the billing engine. Transpose from accessing the original table to access the letter mirror table; for the update operation of a small amount of key dynamic data (such as balance) of the billing system, the number of changes will be changed According to the transposition, the incremental data or the temporary data is stored in the credit increment table.
  • the data is read, the data is read from the original table and the credit increment table for aggregation and processing.
  • the above-mentioned credit control environment is used to replace the above-mentioned billing environment acceptance service
  • the online upgrade processing device uses the above-mentioned information control environment to replace the charging environment acceptance service, which may be: stopping the unified access platform process and the charging engine process of the charging environment, and simultaneously starting the unified access platform of the information control environment.
  • the process and the accounting engine process start from the charging engine process to the start of the signal control environment process, and the charging system enters the real-time signal control phase from the online charging phase, and the credit control environment replaces the charging environment to accept the service.
  • the online upgrade processing device restores the charging environment acceptance service, specifically: stopping the unified access platform process and the charging engine process of the information control environment, and restarting the charging environment. Unified access to the platform process and billing engine process. Further, if the billing bill file is generated in the real-time credit control phase, the billing environment performs offline billing on the billing bill file generated in the real-time credit control phase. Further, the billing system can also restore the billing. After the environment accepts the business, clean up the information and control environment (such as deleting application software packages, temporary tables, and credit control user accounts in the signal control environment). If the billing system clears the credit control environment after restoring the charging environment acceptance service, When the fee system is upgraded next time, it needs to re-simulate the billing environment and generate a signal control environment.
  • the technical solution provided by the embodiment of the present invention is applicable to the charging field that is not limited to the OCS, the CBS, and any real-time credit control (such as the public resource billing of the power grid), and is not limited herein.
  • the online upgrade processing method in the embodiment of the present invention includes:
  • Steps 401 and 402 wherein steps 401 and 402 are the same as steps in the embodiment shown in FIG.
  • the descriptions in 301 and 302 are similar and will not be described here.
  • the online upgrade processing device stops the charging engine process and the unified access platform process in the charging environment, that is, the charging engine process and the unified access platform in the charging environment. The process stops working. At this time, the above charging environment cannot accept the service.
  • the online upgrade processing device starts and activates the above-mentioned credit control environment, wherein the activation refers to switching the above-mentioned credit control environment from an IDLE state to an ACTIVE state, so that the above-mentioned credit control environment is in an accepting service state, and at this time, the charging system is online.
  • the billing phase is switched to the real-time credit control phase.
  • the billing system will be updated accordingly, and accordingly, the version of the billing environment will be updated. Therefore, in order to ensure that the above-mentioned signaling environment is consistent with the version of the current charging environment, before the step 401 of the embodiment of the present invention, if the above-mentioned signaling environment is detected, it is detected whether the version of the signaling environment is consistent with the current charging environment. If they are consistent, the program can be saved. Step 401 is skipped to perform the steps after step 401. If they are inconsistent, step 401 needs to be executed to re-simulate the updated billing environment, generate a new signal control environment, and replace the original one. Letter control environment.
  • the charging engine process of the charging environment may be restarted, the process of the information control environment is stopped, and the online charging phase is restored, that is, the charging environment acceptance service is resumed, and further If the billing bill file is generated in the real-time signal control phase, the generated billing file is offlinely charged before the clearing of the credit control environment. Further, the billing system can also be restored in the charging environment. After the service, clear the information control environment (such as deleting the software package, temporary table, user, etc. of the signal control environment). If the charging system clears the information control environment after restoring the charging environment acceptance service, the charging system will be upgraded next time. , need to re-simulate the billing environment, generate a letter control environment.
  • the technical solution provided by the embodiment of the present invention is applicable to the charging field that is not limited to the OCS, the CBS, and any real-time credit control (such as the public resource billing of the power grid), and is not limited herein.
  • Steps 501 and 502 wherein steps 501 and 502 are similar to the descriptions in steps 301 and 302 in the embodiment shown in FIG. 3, and details are not described herein again.
  • the online upgrade processing device starts the above-mentioned credit control environment but does not activate the above-mentioned credit control environment, that is, the online upgrade processing device starts the above-mentioned credit control environment.
  • the application process such as the unified access platform process and the charging engine process, keeps the unified access platform process of the above-mentioned credit control environment in the IDLE state, so that the above-mentioned signaling environment is temporarily in an unacceptable service state.
  • the foregoing manner of starting the foregoing signaling environment but not activating the foregoing signaling environment may be: firstly, starting and activating a charging engine process of the above-mentioned signaling environment, because the above-mentioned signaling environment is unified
  • the inbound platform process is not started, so no request is triggered to the billing engine process.
  • the process is temporarily idle, and then the unified access platform process in the signaling environment is started but the unified access platform process is not activated.
  • the process of the unified access platform refers to keeping the process of the unified access platform in the IDLE state. Since the process of the unified access platform of the information control environment remains in the IDLE state, it is in a state in which it cannot accept the service.
  • the unified access platform process may be started but the process of the unified access platform is not activated, and the charging engine process is started, or the charging engine process and the unified access platform process are started at the same time, but the unified access platform process is not activated, and is not limited herein. .
  • the online upgrade processing device deactivates the unified access platform process in the charging environment, that is, the unified access platform process of the charging environment is switched from the ACTIVE state to the IDLE state, so that the charging environment is unified.
  • the access platform process changes from an admissible business state to an unacceptable business state.
  • the online upgrade processing device activates the above-mentioned credit control environment, that is, the unified access platform process of the above-mentioned credit control environment is switched from the IDLE state to the ACTIVE state, so that the above-mentioned credit control environment is changed from the unacceptable service state to the admissible state. Business status.
  • the billing system performs external service processing. At all, the time interval between step 505 and step 504 will be as short as possible.
  • the charging system process is coherent, so the switching change of the real-time credit control phase and the online charging phase of the system is not perceived to the external network element.
  • the real-time credit control phase refers to a phase in which a service is accepted by the credit control system
  • the online charging phase refers to a phase in which a service is accepted by the charging system.
  • the billing system will be updated accordingly, and accordingly, the version of the billing environment will be updated. Therefore, in order to ensure that the above-mentioned signaling environment is consistent with the version of the current charging environment, before the step 501 of the embodiment of the present invention, if the above-mentioned signaling environment is detected, it is detected whether the version of the signaling environment is consistent with the current charging environment. If they are consistent, the program can be saved. Step 501 is skipped to perform the steps after step 501. If they are inconsistent, step 501 needs to be executed to re-simulate the updated charging environment, generate a new signaling environment, and replace the original one. Letter control environment.
  • the charging engine process of the charging environment may be restarted, the process of the information control environment is stopped, and the online charging phase is restored, that is, the charging environment acceptance service is resumed, and further If the billing bill file is generated in the real-time signal control phase, the generated billing file is offlinely charged before the clearing of the credit control environment. Further, the billing system can also be restored in the charging environment. After the service, clear the information control environment (such as deleting the software package, temporary table, user, etc. of the signal control environment). If the charging system clears the information control environment after restoring the charging environment acceptance service, the charging system will be upgraded next time. , need to re-simulate the billing environment, generate a letter control environment.
  • the technical solution provided by the embodiment of the present invention is applicable to the charging field that is not limited to the OCS, the CBS, and any real-time credit control (such as the public resource billing of the power grid), and is not limited herein.
  • the information control environment with the charging environment function is generated through the simulated charging environment, and the online control system is used to replace the charging environment acceptance service in the online upgrade process.
  • the solution solves the problem that the service needs to be released during the online upgrade, and avoids the risk of arrears due to the release of the service.
  • the technical solution in the embodiment of the present invention does not need to involve the charging system.
  • the transformation of the architecture does not involve the transformation of external network elements, and has the characteristics of low transformation cost.
  • the signaling environment is started but not activated, and after the unified access platform process and the charging engine process in the charging environment are deactivated, the signaling environment is activated.
  • Letter control environment alternative billing environment acceptance Service because the unified access platform process and the accounting engine process in the billing environment are activated before the activation of the signaling environment, the unified access platform process and the billing engine process in the billing environment can be avoided.
  • the control environment is not started, it needs to wait for the service interruption caused by the startup of the signal control environment, and realize the seamless switching between the information control environment and the billing environment.
  • the online upgrade processing methods include:
  • the billing system or other system sends the online upgrade instruction information to the online upgrade processing device, where
  • the online upgrade indication information is used to indicate that the charging system is currently in the online upgrade preparation phase, so that the online upgrade processing device, when receiving the online upgrade indication information, learns that the charging system enters an online upgrade preparation phase.
  • step 602. Check whether the version of the currently existing information control environment is consistent with the version of the charging environment.
  • the online upgrade processing device detects whether the version of the current control environment and the version of the charging environment are consistent. If yes, go to step 603. If they are inconsistent, the process proceeds to step 602.
  • steps 603 to 607 reference may be made to the descriptions in steps 502 to 506 in the embodiment shown in FIG. 5, and details are not described herein again.
  • the online upgrade processing device starts the charging engine process of the charging environment, and prepares to restore the charging system to the online charging phase.
  • the unified access platform process that starts but does not activate the foregoing charging environment
  • the online upgrade processing device starts but does not activate the unified access platform process of the charging environment, that is, the online upgrade processing device starts the unified access platform process of the charging environment, and unifies the above-mentioned signaling environment.
  • the access platform process remains in the IDLE state, so that the unified access platform process in the above charging environment is in an unacceptable service state.
  • the online upgrade processing device deactivates the unified access platform process of the above-mentioned signaling environment, that is, the unified access platform process of the above-mentioned signaling environment is switched from the ACTIVE state to the IDLE state, so that the above-mentioned signaling environment is unified.
  • Access platform process changes from admissible business status In order to be unable to accept business status.
  • the online upgrade processing device activates the unified access platform process in the charging environment, that is, the unified access platform process in the charging environment is switched from the IDLE state to the ACTIVE state, and the charging environment is changed from the unacceptable service state to the available Accept business status.
  • the entire upgrade process is not perceived by the external network element and the user, and the time interval between step 611 and step 610 is as short as possible.
  • steps 601 through 612 of the embodiment of the present invention are re-executed.
  • the online control processing device clears the information control environment (such as deleting the software package, temporary table, user, etc. of the information control environment). If the charging bill file is generated in the real-time signal control phase, the generated billing file is offlinely charged before the information processing environment is cleared.
  • the technical solution provided by the embodiment of the present invention is applicable to the charging field that is not limited to the OCS, the CBS, and any real-time credit control (such as the public resource billing of the power grid), and is not limited herein.
  • the information control environment with the charging environment function is generated through the simulated charging environment, and the online control system is used to replace the charging environment acceptance service in the online upgrade process.
  • the solution solves the problem that the service needs to be released during the online upgrade, and avoids the risk of arrears due to the release of the service.
  • the technical solution in the embodiment of the present invention does not need to involve the charging system.
  • the transformation of the architecture does not involve the transformation of external network elements, and has the characteristics of low transformation cost.
  • the signal control environment if a signal control environment is found to exist before the generation of the information control environment, and the version of the communication control environment is consistent with the version of the charging environment, the signal control environment is reused and the information control environment is no longer generated. Because it does not need to generate a signal control environment, it can effectively save system resources.
  • the online upgrade processing method in the foregoing embodiment is described in a specific application scenario.
  • MVN01 there are three tenants MVN01, MVN02, and MVN03 under one operator.
  • the three tenants share a billing system (the same billing host, and the application software and data tables are not isolated).
  • MVN01 has new requirements, including an upgrade to the application package, and an incompatible change to the tariff table.
  • RatioMeasurelD / rate metrics, such as points, PCT, etc.
  • rate metrics such as points, PCT, etc.
  • the upgrade preparation phase simulates the billing environment of the billing system, and generates a credit control environment with billing function.
  • the specific process is to create a credit control user account with the same rights as the billing user account, and the relevant billing user account is related.
  • Files (such as application software packages, configuration files, environment variables, etc.) are copied to the created user account.
  • modify the configuration items that may be in conflict If the BASEKEY value of the shared memory is modified), the external port is not modified to ensure that its predecessor, such as the SCP, can communicate with the billing system using the original external port of the billing system.
  • the unified access platform process and billing engine process are the same as the billing environment, and the data center of the billing environment is shared by the credit control environment.
  • the unified access platform process and the accounting engine process in the accounting environment are in normal operation, and the processes in the information control environment are not started.
  • the accounting engine process of the signaling environment is started (because the corresponding unified access platform process is not started, no request is triggered to the accounting engine process, the accounting engine process is temporarily running), and then started.
  • the unified access platform process of the signal control environment is not activated.
  • the unified access platform process in the charging environment is deactivated, and the unified access platform process in the charging environment is switched from the ACTIVE state to the IDLE state (that is, the service is changed from the receiving service to the unacceptable service).
  • the unified access platform process of the control environment is activated, so that the unified access platform process of the information control environment is switched from the IDLE state to the ACTIVE state (that is, from the unacceptable service to the accepting service), that is, the activation of the unified access platform process is realized.
  • the inactive switchover, and then the unified access platform process and the billing engine process in the billing environment are stopped, so that seamless switching can be achieved without any interruption.
  • the update of the original table by the signal control environment is a virtual operation.
  • the information control environment detects the operation of accessing the Table-trade original table, it is automatically transposed to access Table tariff.
  • the billing result of the signal control environment normally outputs the bill file (due to the directory modification, it will not be mixed with the bill file of the normal billing environment). Since the operation of the data control environment on the data center is a virtual operation and the balance is not actually modified, the output CDR file is not a billing result, and essentially the call ticket file is placed.
  • the billing environment process is stopped and the signal control environment process starts, the system enters the real-time signal control phase from the online billing phase (the system processing is coherent because the external port does not change, so the system is not aware of the online network for the external network element. Switching phase and real-time signal control phase switching changes).
  • the billing environment can be upgraded, and the software package can be upgraded and updated (including the incompatible upgrade of the Table-tax table).
  • the accounting engine process of the accounting environment is started. (Because the corresponding unified access platform process is not started, no request is triggered to the accounting engine process, and the accounting engine process of the charging environment is temporarily running.) Then, the unified access platform process that starts but does not activate the billing environment.
  • the unified access platform process of the information control environment is deactivated, and the unified access platform process of the information control environment is changed from the ACTIVE state to the IDLE state (that is, the service is changed from the acceptance service to the unacceptable service), and
  • the unified access platform process of the fee-based environment is activated, and the unified access platform process in the charging environment is changed from the IDLE state to the ACTIVE state (that is, the service is changed from the unacceptable service to the acceptance service), that is, the activation of the unified access platform process is realized.
  • the inactive switchover, and then the unified access platform process and the billing engine process in the signal control environment are stopped, so that seamless switching can be achieved without any interruption.
  • the online upgrade processing apparatus 700 includes:
  • the receiving unit 701 is configured to receive online upgrade indication information, where the online upgrade indication information is used to indicate that the charging system enters an online upgrade preparation phase.
  • the cloning unit 702 is configured to simulate a charging environment of the foregoing charging system, and generate a credit control environment having a charging function.
  • the converting unit 703 is configured to replace the charging environment acceptance service by the above-mentioned credit control environment when the charging system enters the online upgrading phase.
  • the cloning unit 702 includes: a snapshot module, a letter control increment module, and a letter control replacement module. At least one of the blocks, wherein the snapshot module is configured to: according to the original table in the charging environment, snapshot a mirror table consistent with the original table, so as to automatically access the processing of the original table in the signaling environment Transpose to access the above mirror table.
  • the above-mentioned letter control increment module is used for designing the same letter control increment table as the original table structure and index, so that the above-mentioned credit control environment changes the data of the original table in the charging process, and incrementally The change data is saved in the above-mentioned letter control increment table.
  • the above-mentioned signal control replacement module is used for designing a letter control substitution table identical to the original table structure and index, so that the above-mentioned credit control environment changes the data of the original table in the charging process, and saves the change data in an alternative manner.
  • the above-mentioned letter control substitution table In the above-mentioned letter control substitution table.
  • the converting unit 703 may include:
  • the startup unit 7031 is configured to start but not activate the above-mentioned credit control environment, so that the above-mentioned credit control environment is in an unacceptable service state;
  • the deactivation unit 7032 is configured to deactivate the unified access platform process in the foregoing charging environment, so that the charging environment is in an unacceptable service state;
  • the activation unit 7033 is configured to activate the foregoing signaling environment, so that the above-mentioned signaling environment is in an admissible service state;
  • the process stop unit 7034 is configured to stop the unified access platform process and the charging engine process of the foregoing charging environment.
  • the converting unit 703 is further configured to restore the charging environment receiving service after the online upgrade is completed, and the converting unit 703 may include: The unit is configured to enable the unified access platform process in the charging environment after the online upgrade is completed, so that the unified access platform process in the charging environment is in an unacceptable service state; the deactivation unit is used to be online. After the upgrade is complete, the unified access platform process of the above-mentioned credit control environment is activated to make the above-mentioned information control environment in an unacceptable service state; and the activation unit is configured to activate the unified access platform process of the charging environment after the online upgrade is completed.
  • the billing environment is in an admissible service state; the process stop unit is configured to stop the unified access platform process and the billing 1 engine process of the above-mentioned credit control environment.
  • the connection relationship between the startup unit, the deactivation unit, the activation unit, and the process stop unit in the application scenario may refer to the startup unit 7031, the deactivation unit 7032, the activation unit 7033, and the process stop unit 7034 in the embodiment shown in FIG.
  • the connection relationship, or the function implemented by the above-mentioned startup unit in the application scenario may also be an extension based on the startup unit 7031 in the embodiment shown in FIG. 8.
  • the line upgrade processing apparatus may further include a cleaning unit, and the cleaning unit is configured to clear the above-mentioned credit control environment.
  • the cleaning unit 704 in the online upgrade processing device 900 shown in FIG. 9 may further include: a detecting unit 705, configured to be present before the cloning unit 702 is executed, and currently exists In the above-mentioned signal control environment, it is detected whether the above-mentioned information control environment is consistent with the version of the charging environment. Further, the cloning unit 702 triggers when the detection result of the detection unit is negative.
  • the online upgrade processing device 700, the online upgrade processing device 800, and the online upgrade processing device 900 in the embodiment of the present invention may be used as the online upgrade processing device in the foregoing method embodiment, and may be used to implement the foregoing method embodiments.
  • the functions of the various functional modules may be specifically implemented according to the method in the foregoing method embodiment.
  • the line upgrade processing device when the online upgrade is prepared, the line upgrade processing device generates a credit control environment with a billing environment function by simulating the billing environment, and uses the credit control environment instead of billing during the online upgrade process.
  • the environmental acceptance service solves the dilemma of the need to release the service when the online upgrade is performed, and avoids the risk of arrears due to the release of the service.
  • the technical solution in the embodiment of the present invention does not need to be
  • the transformation involving the architecture of the billing system does not involve the transformation of the external network element, and has the characteristics of low transformation cost.
  • the online upgrade processing device is configured to: receive an online upgrade indication information, where the online upgrade indication information is used to indicate that the charging system enters an online upgrade preparation phase; and when the online upgrade indication information is received, simulate the charging environment of the charging system , generating a credit control environment with a charging function; when the charging system enters the online upgrading phase, the above-mentioned credit control environment is replaced by the charging environment acceptance service.
  • the online upgrade processing apparatus in the embodiment of the present invention may be used as the online upgrade processing apparatus in the embodiment shown in FIG. 7 , FIG. 8 and FIG. 9 , and may be used to implement all technical solutions in the foregoing apparatus embodiments.
  • the specific implementation process refer to the related description in the foregoing embodiment. I will not repeat them here.
  • the line upgrade processing device when the online upgrade is prepared, the line upgrade processing device generates a credit control environment with a billing environment function by simulating the billing environment, and uses the credit control environment instead of billing during the online upgrade process.
  • the environmental acceptance service solves the dilemma of the need to release the service when the online upgrade is performed, and avoids the risk of arrears due to the release of the service.
  • the technical solution in the embodiment of the present invention does not need to be
  • the transformation involving the architecture of the billing system does not involve the transformation of the external network element, and has the characteristics of low transformation cost.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the components displayed as units may or may not be physical units, i.e., may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. , including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of the various embodiments of the present invention Part or part of the steps.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM, a random access memory), a magnetic disk or an optical disk, and the like. The medium of the code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明实施例公开了一种在线升级处理方法、相关装置和系统,其中,一种在线升级处理方法包括:接收在线升级指示信息,所述在线升级指示信息用于指示计费系统进入在线升级准备阶段;当接收到所述在线升级指示信息时,模拟所述计费系统的计费环境,生成具有计费功能的信控环境;当所述计费系统进入在线升级阶段时,使用所述信控环境替代所述计费环境受理业务。本发明提供的技术方案能够有效解决在线升级时需要放通业务的困境。

Description

一种在线升级处理方法、 相关装置和系统 本申请要求于 2012年 4月 28 日提交中国专利局、 申请号为
201210132738. 4 , 发明名称为 "一种在线升级处理方法、 相关装置和系统,, 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信领域, 尤其涉及一种在线升级处理方法、 相关装置和 系统。 背景技术
目前, 在融合计费系统( CBS , Convergence Billing System )和在线计费 系统(OCS, Online Charge System ) 中, 业务需求旺盛, 软件升级频繁。 如图 1所示, OCS/CBS系统由统一接入平台、 计费引擎与数据中心组成, 其 中数据中心包括如: 物理数据中心、 内存数据中心和数据緩存中心等。 业 务控制节点 (SCP, Service Control Point)通过信用控制 (DCC, Diameter Credit-Control ) 消息接口与 OCS/CBS系统的统一接入平台进行交互。
运营商对升级中断的业务时间非常敏感, 也都提出了明确的指标。 但业 务中断时间, 受升级变更项、 操作人员技能与环境准备度等各种客观因素 综合决定, 当前中断数小时比较普遍, 理想状况下也要几十分钟。
目前 OCS/CBS系统在升级(如应用程序升级、 数据中心升级等)时多釆 用放通技术对业务进行处理, 放通技术指的是在一个功能模块失效的情况 下, 该功能模块的前置功能模块按照放通要求做相应处理, 如图 2所示为 OCS/CBS系统在升级时釆用放通技术进行业务处理的示意图: 在 OCS/CBS 系统进行升级之前, 当 SCP接收到在线计费请求时, SCP向 OCS/CBS系统的 统一接入平台发送 DCC消息, 计费引擎根据统一接入平台接收到的 DCC消 息进行计费处理,统一接入平台和计费引擎均可访问数据中心,在 OCS/CBS 系统进行升级时, 当 SCP接收到在线计费请求时, SCP向 OCS/CBS系统的统 一接入平台发送 DCC消息, 由于 OCS/CBS系统处于升级过程中, OCS/CBS 系统的统一接入平台和计费引擎停止运行, 业务处理中断, 统一接入平台 无法接收 SCP发送的 DCC消息, 当 SCP收到 OCS/CBS系统返回的超时消息, 若当前业务是语音呼叫, 则 SCP进行放通处理, 并在呼叫结束后记录呼叫信 息, 在升级结束后, OCS/CBS系统恢复正常运作, OCS/CBS系统从 SCP上 釆集 SCP记录的呼叫信息, 根据该呼叫信息按离线计费的方式作计费处理。 虽然上述方案可以保证 OCS/CBS系统升级对用户不感知,但由于在上 述方案中, SCP对所有呼叫都进行放通, 这使得当呼叫用户当前余额不足 以支付此次呼叫业务时, 其也能进行呼叫, 可见, 对运营商而言上述方案 存在欠费风险, 尤其存在恶意欠费的技术漏洞。 比如: 当用户余额为 0.1 元, 不足拨打国际长途时, 正常在线计费时系统会拒绝该用户拨打国际长 途, 但在该方案中, 当 OCS/CBS系统升级时, SCP就会放通国际长途。 另 一方面, 上述方案要求 OCS/CBS系统的前置网元(如 SCP、 网关 GPS支 持节点 (GGSN, Gateway GPRS Support Node )等)具备放通能力, 如果 要全部网元均支持放通能力, 改造和升级成本很高, 不是每个运营商和设 备厂商均能承受的。 发明内容
本发明实施例提供了一种在线升级处理方法、 相关装置和系统, 用于解 决在线升级时需要放通业务的困境。
为解决上述技术问题, 本发明实施例提供以下技术方案:
一种在线升级处理方法, 包括:
接收在线升级指示信息, 上述在线升级指示信息用于指示计费系统进 入在线升级准备阶段;
当接收到上述在线升级指示信息时, 模拟上述计费系统的计费环境, 生成具有计费功能的信控环境;
当上述计费系统进入在线升级阶段时, 使用上述信控环境替代上述计 费环境受理业务。
一种在线升级处理装置, 包括:
接收单元, 用于接收在线升级指示信息, 上述在线升级指示信息用于 指示计费系统进入在线升级准备阶段;
克隆单元, 用于模拟上述计费系统的计费环境, 生成具有计费功能的 信控环境;
转换单元, 用于当上述计费系统进入在线升级阶段时, 使用上述信控 环境替代上述计费环境受理业务。
一种计费系统, 包括:
在线升级处理装置, 用于: 接收在线升级指示信息, 上述在线升级指 示信息用于指示计费系统进入在线升级准备阶段; 当接收到上述在线升级 指示信息时, 模拟上述计费系统的计费环境, 生成具有计费功能的信控环 境; 当上述计费系统进入在线升级阶段时, 使上述信控环境替代上述计费 环境受理业务。
由上可见, 本发明实施例中在准备进行在线升级时, 通过模拟计费环 境, 生成具有计费环境功能的信控环境, 当在线升级过程中, 使用信控环 境替代计费环境受理业务, 一方面, 该方案解决了在线升级时需要放通业 务的困境, 避免了因放通业务而带来的欠费风险, 另一方面, 由于本发明 实施例中的技术方案不需要涉及计费系统架构的改造, 也不涉及外部网元 的改造, 具有改造成本低的特点。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为现有的 0CS/CBS系统架构示意图;
图 2为现有 0CS/CBS系统在软件升级时的一种业务处理方案示意图; 图 3为本发明提供的一种在线升级处理方法一个实施例流程示意图; 图 4为本发明提供的一种在线升级处理方法另一个实施例流程示意图; 图 5为本发明提供的一种在线升级处理方法再一个实施例流程示意图; 图 6为本发明提供的一种在线升级处理方法再一个实施例流程示意图; 图 Ί为本发明提供的一种在线升级处理装置一个实施例结构示意图; 图 8为本发明提供的一种在线升级处理装置另一个实施例结构示意图; 图 9为本发明提供的一种在线升级处理装置再一个实施例结构示意图。 具体实施方式
本发明实施例提供了一种在线升级处理方法、 相关装置和系统。
为使得本发明的发明目的、 特征、 优点能够更加的明显和易懂, 下面 将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而非全 部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
下面对本发明实施例中的一种在线升级处理方法进行描述, 请参阅图
3 , 本发明实施例中的在线升级处理方法包括:
301、 接收在线升级指示信息;
当计费系统进入在线升级的准备阶段(如计费系统接收到在线升级指 令或在下载软件升级包) 时, 由计费系统或其它系统向在线升级处理装置 发送在线升级指示信息, 其中, 上述在线升级指示信息用于指示上述计费 系统当前进入在线升级准备阶段, 以使在线升级处理装置在接收到该在线 升级指示信息时, 获知上述计费系统进入在线升级准备阶段。
302、 模拟上述计费系统的计费环境, 生成具有计费功能的信控环境; 当上述计费系统进入在线升级的准备阶段时, 在线升级处理装置模拟 计费系统的计费环境, 生成具有计费功能的信控环境。 在本发明实施例中, 计费系统的计费环境包含计费处理过程中所需要用到的信息和资源, 例如 计费用户账号、 统一接入平台、 计费引擎、 数据中心、 配置文件、 环境变 量等, 由于信控环境是模拟上述计费环境生成的, 因此信控环境同样包含 计费处理过程中所要用到的信息和资源, 这使得模拟得到的信控环境具有 计费功能。 其中, 上述模拟计费系统的计费环境, 生成具有计费功能的信 控环境的具体过程可以是: 创建与上述计费用户账号权限相同的信控用户 账号, 将计费用户账号下的相关文件拷贝到所创建的信控用户账号下, 相 关文件如应用软件包、 配置文件、 环境变量等。 为了避免生成的信控环境 与原有计费环境存在冲突, 对可能存在冲突的配置项进行修改, 例如对共 享内存的 BASEKEY值进行修改。 在本发明实施例中 , 对外端口不进行修 改, 以保证其前置网元如 SCP能够使用计费系统原来的对外端口与计费系 统进行通讯。 在信控环境中部署与计费环境相同的统一接入平台进程与计 费引擎进程, 信控环境共享计费环境的数据中心。 在上述在线升级的准备 阶段, 计费环境的统一接入平台与计费引擎属于正常运行, 信控环境中的 各个进程均未启动。
上述生成信控环境的过程涉及数据访问引擎的改造, 数据访问引擎的 改造可以通过转置规则表及逻辑改造实现, 具体可以通过快照镜像、 信控 增量和信控替代三种方式实现, 其中, 快照镜像是指: 基于数据中心中的 原表快照出表结构、 索引、 数据等与上述原表完全一致的镜像表, 当在信 控环境中进行计费处理时, 若计费处理过程中需要访问上述原表, 则将访 问上述原表的处理自动转置为访问该原表的镜像表。 针对数据中心中的不 同表可以釆用不同的转置规则。 信控增量是指: 设计与原表结构、 索引相 同的信控增量表, 当在信控环境中进行计费处理时, 若计费处理过程中需 要对上述原表的数据进行变更, 则以增量方式将变更数据保存在上述信控 增量表中, 在需要读取原表数据时, 分别读取原表和信控增量表, 通过对 原表中的数据与信控增量表中的变更数据进行聚合、 加工, 得到变更后的 原表数据。 信控替代是指: 设计与原表结构、 索引相同的信控替代表, 当 在信控环境中进行计费处理时, 若计费处理过程中需要对上述原表的数据 进行变更, 则以替代方式将变更数据保存在信控替代表中, 在需要读取原 表数据时, 优先访问信控替代表, 如访问不到信控替代表中的数据, 则访 问原表。举例说明,假设计费环境的数据中心中包含表名为 table— a、 table— b 和 table— c三张原表, 数据访问引擎的改造实现方式如表 1所示:
表 1
Figure imgf000006_0001
其中, 对于快照镜像的转置规则:
假设 table— a表的字段包括 xl int, x2 char(32), 包含两条记录:
111 ABC 123 XYZ
则信控环境基于 table— a表的建表语句快照出表 table— a— Snap Shot,表字 段也包括 xl int, x2 char(32), 同样也包含两条记录:
111 ABC
123 XYZ
在信控环境中当解析到 select XX from table— a时自动转置为 select XX from table— a— SnapShot, 当解析到 insert into table— a时自动转置为 insert into table— a— SnapShot,当解析 )J update/delete table— a时自动转置为 update/delete table— a— Snap Shot。
快照镜像的转置规则适用于数据中心的原表发生不兼容升级的场景。 对于信控增量的转置规则:
假设 table— b表的字段包括 xl int, x2 char(32), 包含两条记录:
111 ABC
123 XYZ
信控环境基于 table— b表的建表语句创建出表 table— b— increment, 表字 段也包括 xl int, x2 char(32), 初始表为空。
在信控环境中当解析到 update table— b set xl= xl+50 where x2= 'ABC 时, 转置为:
If select count(*)>0 from table— b— increment where x2= 'ABC
Then update table— b— increment set xl= xl+50 where x2= 'ABC
else
insert into table— b—increment(xl , x2) vaule (50, 'ABC );
以上语句的含义即: 当信控环境解析到对原表 table— b的增量命令时, 检查 table— b— increment表中是否有符合条件 (即 x2=,ABC, )的记录, 如果 有则直接在 table— b— increment 表进行增量更新, 否则 , 则在 table— b— increment表中插入一条新记录。
当解析到 select xl from table— b where x2=, ABC,时, 转置为:
Select a.xl+b.xl from table— b a, table— b— increment b where a.x2=b.x2 and a.x2='ABC ;
以上语句的含义即: 当信控环境解析到查询 table— b记录的数据时, 分 别从 table— b、 table— b— increment中按条件(即 x2='ABC' )查询并对查询 的结果进行聚合。
当解析到 insert into table— b (xl , x2) vaule (50 , 'ABC )时,转置为 insert into table— b— incremented, x2) vaule (50 , 'ABC );
以上语句的含义即: 当信控环境解析到在 table— b 插入数据时, 在 table— a— increment中插入数据。
信控增量的转置规则适用于余额等动态信息表。 对于信控替代的转置规则:
假设 table— c表的字段包括 xl int, x2 char(32) , 包含两条记录:
111 ABC
123 XYZ
信控环境基于 table— c表的建表语句创建出表 table— c— replace , 表字段 也包括 xl int, x2 char(32), 初始表为空。
在信控环境中当解析到 select XX from table— c时先转置为 select XX from table— c— replace , 如记录为空, 再按 select XX from table— c解析处理。
当解析到 insert into table— c时转置为 insert into table— c— replace。
当解析到 update table— c时转置为 update table— c— replace。
当解析到 delete table— c时将 table— c的对应记录插入到 table— c— replace 中, 修改特殊取值标识为空 (如 NULL )。
信控替代的转置规则适用于用户状态等信息表。
在本发明实施例中, 信控环境所处的信控系统与计费环境所处的计费 系统既相关又隔离。
相关指的是: 信控环境为模拟计费环境生成, 信控环境中的应用软件 包与计费环境完全相同; 计费环境的数据中心仍是共享的。
隔离指的是: 独立的信控环境保证其与计费环境的应用是隔离的, 不 存在关键资源的并存冲突; 通过对数据访问引擎的改造, 使得信控环境对 计费系统的数据中心原则上只进行虚操作(即 insert, update, delete等修改 操作均屏蔽, 只有 read操作), 对于升级涉及表结构的不兼容变化, 则将原 表快照到信控镜像表中, 由计费引擎实现从访问原表转置为访问信控镜像 表; 对计费系统的少量关键动态数据(如余额) 的更新操作, 则将变更数 据转置为增量数据或临时数据保存在信控增量表中, 读取数据时, 则从原 表与信控增量表中读取数据进行聚合、 加工。
303、 当计费系统进入在线升级阶段时, 使用上述信控环境替代上述计 费环境受理业务;
其中, 在线升级处理装置使用上述信控环境替代上述计费环境受理业 务具体可以是: 将计费环境的统一接入平台进程和计费引擎进程停掉, 同 时启动信控环境的统一接入平台进程和计费引擎进程, 从计费引擎进程停 掉到信控环境进程启动开始, 计费系统由在线计费阶段进入实时信控阶段, 信控环境替代计费环境受理业务。
进一步, 当计费系统在线升级结束后, 在线升级处理装置恢复上述计 费环境受理业务, 具体为: 将信控环境的统一接入平台进程和计费引擎进 程停掉, 重新启动计费环境的统一接入平台进程和计费引擎进程。 进一步, 若在实时信控阶段生成了计费话单文件, 则上述计费环境对实时信控阶段 生成的计费话单文件进行离线计费, 进一步, 计费系统还可以在恢复上述 计费环境受理业务之后, 清理信控环境(如删除信控环境中的应用软件包、 临时表和信控用户账号等 ), 若计费系统在恢复上述计费环境受理业务之后 清除信控环境, 则计费系统在下一次升级时, 需要重新模拟计费环境, 生 成信控环境。
本发明实施例提供的技术方案适用于不局限于 OCS、 CBS以及任何允 许实时信控的计费领域(如电网等公共资源计费), 此处不作限定。
由上可见, 本发明实施例中在准备进行在线升级时, 通过模拟计费环 境, 生成具有计费环境功能的信控环境, 当在线升级过程中, 使用信控环 境替代计费环境受理业务, 一方面, 该方案解决了在线升级时需要放通业 务的困境, 避免了因放通业务而带来的欠费风险, 另一方面, 由于本发明 实施例中的技术方案不需要涉及计费系统架构的改造, 也不涉及外部网元 的改造, 具有改造成本低的特点。 为便于更好地理解本发明技术方案, 下面对本发明实施例中的一种在 线升级处理方法进行详细描述, 如图 4 所示, 本发明实施例中的在线升级 处理方法包括:
步骤 401和 402 , 其中, 步骤 401和 402与图 3所示实施例中的步骤 301和 302中的描述类似, 此处不再赘述。
403、 当计费系统进入在线升级阶段时, 停止上述计费环境的计费引擎 进程和统一接入平台进程;
当计费系统进入在线升级阶段时, 在线升级处理装置将上述计费环境 的计费引擎进程和统一接入平台进程停掉, 即, 使上述计费环境的计费引 擎进程和统一接入平台进程停止运作, 此时, 上述计费环境无法受理业务。
404、 启动并激活上述信控环境;
在线升级处理装置启动并激活上述信控环境, 其中, 上述激活是指将 上述信控环境从 IDLE状态切换为 ACTIVE状态, 从而使上述信控环境处 于受理业务状态, 此时, 计费系统从在线计费阶段转为实时信控阶段。
随着业务发展, 计费系统也会随之更新, 相应的, 计费环境的版本也 会更新。 因此, 为保证上述信控环境与当前计费环境的版本一致, 在本发 明实施例步骤 401 之前, 若检测到存在上述信控环境, 则检测该信控环境 与当前计费环境的版本是否一致, 若一致, 则可以节约程序, 跳过步骤 401 来执行步骤 401之后的步骤, 若不一致, 则需要执行步骤 401 , 重新模拟更 新后的计费环境, 生成新的信控环境并替换原有的信控环境。 当然, 本发 明实施例中也可以在在线升级结束之后, 重新启动上述计费环境的计费引 擎进程, 停止信控环境进程, 恢复到在线计费阶段, 即恢复上述计费环境 受理业务, 进一步, 若在实时信控阶段生成了计费话单文件, 则在清除信 控环境之前先对生成的计费话单文件进行离线计费, 进一步, 计费系统还 可以在恢复上述计费环境受理业务之后, 清除信控环境(如删除信控环境 的软件包、 临时表、 用户等), 若计费系统在恢复上述计费环境受理业务之 后清除信控环境, 则计费系统在下一次升级时, 需要重新模拟计费环境, 生成信控环境。
本发明实施例提供的技术方案适用于不局限于 OCS、 CBS以及任何允 许实时信控的计费领域(如电网等公共资源计费), 此处不作限定。
由上可见, 本发明实施例中在准备进行在线升级时, 通过模拟计费环 境, 生成具有计费环境功能的信控环境, 当在线升级过程中, 使用信控环 境替代计费环境受理业务, 一方面, 该方案解决了在线升级时需要放通业 务的困境, 避免了因放通业务而带来的欠费风险, 另一方面, 由于本发明 实施例中的技术方案不需要涉及计费系统架构的改造, 也不涉及外部网元 的改造, 具有改造成本低的特点。 由于进程启动和停止需要占用时间, 为了减小进程启动和停止对业务 中断的影响, 下面对本发明实施例提供的另一种在线升级处理方法进行描 述, 请参阅图 5, 本发明实施例中的在线升级处理方法包括:
步骤 501和 502, 其中, 步骤 501和 502与图 3所示实施例中的步骤 301和 302中的描述类似, 此处不再赘述。
503、 当计费系统进入在线升级阶段时, 启动但不激活上述信控环境; 在线升级处理装置启动上述信控环境但不激活上述信控环境, 即, 在 线升级处理装置启动上述信控环境的应用进程, 例如统一接入平台进程和 计费引擎进程, 同时使上述信控环境的统一接入平台进程保持在 IDLE状 态, 以使上述信控环境暂时处于无法受理业务状态。
在一种应用场景中, 上述启动上述信控环境但不激活上述信控环境的 方式例如可以是: 先启动并激活上述信控环境的计费引擎进程, 由于此时 上述信控环境的统一接入平台进程未启动, 因此不会有请求触发给该计费 引擎进程, 该进程暂时空跑, 然后启动信控环境的统一接入平台进程但不 激活统一接入平台进程, 其中, 上述不激活统一接入平台进程是指使统一 接入平台进程保持在 IDLE状态,由于信控环境的统一接入平台进程保持在 IDLE状态, 因此其处于不能受理业务状态。 当然, 也可以先启动但不激活 统一接入平台进程, 再启动计费引擎进程, 或者, 同时启动计费引擎进程 和统一接入平台进程, 但不激活统一接入平台进程, 此处不作限定。
504、 去激活上述计费环境的统一接入平台进程;
在步骤 503之后, 在线升级处理装置去激活上述计费环境的统一接入 平台进程, 即, 将上述计费环境的统一接入平台进程从 ACTIVE状态切换 到 IDLE状态,使上述计费环境的统一接入平台进程从可受理业务状态变更 为无法受理业务状态。
505、 激活上述信控环境;
在步骤 503之后, 在线升级处理装置激活上述信控环境, 即, 使上述 信控环境的统一接入平台进程从 IDLE状态切换到 ACTIVE状态, 从而上 述信控环境从无法受理业务状态变更为可受理业务状态。
在本发明实施例中, 为了实现无缝切换, 使计费系统对外的业务处理 完全不中断, 步骤 505与步骤 504之间的时间间隔将尽可能的短。
506、 停止上述计费环境的统一接入平台进程和计费引擎进程; 此时便可进行软件包的升级更新。
在本发明实施例中, 由于对外端口不变化, 计费系统处理是连贯的, 因此对外部网元而言不感知系统实时信控阶段与在线计费阶段的切换变 化。 其中, 上述实时信控阶段是指通过信控系统受理业务的阶段, 上述在 线计费阶段是指通过计费系统受理业务的阶段。
随着业务发展, 计费系统也会随之更新, 相应的, 计费环境的版本也 会更新。 因此, 为保证上述信控环境与当前计费环境的版本一致, 在本发 明实施例步骤 501 之前, 若检测到存在上述信控环境, 则检测该信控环境 与当前计费环境的版本是否一致, 若一致, 则可以节约程序, 跳过步骤 501 来执行步骤 501之后的步骤, 若不一致, 则需要执行步骤 501 , 重新模拟更 新后的计费环境, 生成新的信控环境并替换原有的信控环境。 当然, 本发 明实施例中也可以在在线升级结束之后, 重新启动上述计费环境的计费引 擎进程, 停止信控环境进程, 恢复到在线计费阶段, 即恢复上述计费环境 受理业务, 进一步, 若在实时信控阶段生成了计费话单文件, 则在清除信 控环境之前先对生成的计费话单文件进行离线计费, 进一步, 计费系统还 可以在恢复上述计费环境受理业务之后, 清除信控环境(如删除信控环境 的软件包、 临时表、 用户等), 若计费系统在恢复上述计费环境受理业务之 后清除信控环境, 则计费系统在下一次升级时, 需要重新模拟计费环境, 生成信控环境。
本发明实施例提供的技术方案适用于不局限于 OCS、 CBS以及任何允 许实时信控的计费领域(如电网等公共资源计费), 此处不作限定。
由上可见, 本发明实施例中在准备进行在线升级时, 通过模拟计费环 境, 生成具有计费环境功能的信控环境, 当在线升级过程中, 使用信控环 境替代计费环境受理业务, 一方面, 该方案解决了在线升级时需要放通业 务的困境, 避免了因放通业务而带来的欠费风险, 另一方面, 由于本发明 实施例中的技术方案不需要涉及计费系统架构的改造, 也不涉及外部网元 的改造, 具有改造成本低的特点。 另外, 本发明实施例中釆用先启动后激 活的方式, 先启动但不激活信控环境, 在计费环境的统一接入平台进程和 计费引擎进程去激活之后, 激活信控环境, 使信控环境替代计费环境受理 业务, 由于在计费环境的统一接入平台进程和计费引擎进程去激活之前信 控环境已经启动, 因此可避免在计费环境的统一接入平台进程和计费引擎 进程已经停止, 但信控环境未启动时, 需要等待信控环境的启动而导致的 业务中断, 实现了信控环境与计费环境的无缝切换。
为便于更好理解本发明技术方案, 下面对本发明实施例提供的在线升 级处理方法进一步进行描述, 本发明实施例中在升级完成后恢复到在线计 费阶段, 请参阅图 6, 本发明实施例中的在线升级处理方法包括:
601、 接收在线升级指示信息;
当计费系统进入在线升级的准备阶段(如计费系统接收到在线升级指 令或在下载软件升级包时) 时, 由计费系统或其它系统向在线升级处理装 置发送在线升级指示信息, 其中, 上述在线升级指示信息用于指示上述计 费系统当前进入在线升级准备阶段, 以使在线升级处理装置在接收到该在 线升级指示信息时, 获知上述计费系统进入在线升级准备阶段。
602、 检测当前存在的信控环境与计费环境的版本是否一致; 在线升级处理装置检测计费系统当前存在的信控环境与计费环境的版 本是否一致, 如果一致, 则进入步骤 603 , 如果不一致, 则进入步骤 602。
步骤 603~607可以参照图 5所示实施例中的步骤 502~506中的描述, 此处不再赘述。
608、 启动上述计费环境的计费引擎进程;
在上述升级结束时, 在线升级处理装置启动上述计费环境的计费引擎 进程 , 准备将计费系统恢复到在线计费阶段。
609、 启动但不激活上述计费环境的统一接入平台进程;
在步骤 608之后, 在线升级处理装置启动但不激活上述计费环境的统 一接入平台进程, 即, 在线升级处理装置启动上述计费环境的统一接入平 台进程, 并使上述信控环境的统一接入平台进程保持在 IDLE状态,使上述 计费环境的统一接入平台进程处于无法受理业务状态。
610、 去激活上述信控环境的统一接入平台进程;
在步骤 609之后, 在线升级处理装置去激活上述信控环境的统一接入 平台进程, 即, 将上述信控环境的统一接入平台进程从 ACTIVE状态切换 到 IDLE状态,使上述信控环境的统一接入平台进程从可受理业务状态变更 为无法受理业务状态。
611、 激活上述计费环境的统一接入平台进程;
在线升级处理装置激活上述计费环境的统一接入平台进程, 即, 使上 述计费环境的统一接入平台进程从 IDLE状态切换到 ACTIVE状态, 使上 述计费环境从无法受理业务状态变更为可受理业务状态。 在本发明实施例 中, 为了实现无缝切换, 整个升级过程对外部网元和用户不感知, 步骤 611 与步骤 610之间的时间间隔将尽可能的短。
612、 停止上述信控环境的统一接入平台进程和计费引擎进程; 在线升级处理装置停止上述信控环境的统一接入平台进程和计费引擎 进程, 从而结束此次升级的在线计费处理流程, 在下一次升级时, 重新执 行本发明实施例步骤 601至 612。
进一步, 在线升级处理装置在停止上述信控环境的统一接入平台进程 和计费引擎进程之后, 清除信控环境(如删除信控环境的软件包、 临时表、 用户等)。 若在实时信控阶段生成了计费话单文件, 则在清除信控环境之前 先对生成的计费话单文件进行离线计费。
本发明实施例提供的技术方案适用于不局限于 OCS、 CBS以及任何允 许实时信控的计费领域(如电网等公共资源计费), 此处不作限定。
由上可见, 本发明实施例中在准备进行在线升级时, 通过模拟计费环 境, 生成具有计费环境功能的信控环境, 当在线升级过程中, 使用信控环 境替代计费环境受理业务, 一方面, 该方案解决了在线升级时需要放通业 务的困境, 避免了因放通业务而带来的欠费风险, 另一方面, 由于本发明 实施例中的技术方案不需要涉及计费系统架构的改造, 也不涉及外部网元 的改造, 具有改造成本低的特点。 另外, 本发明实施例中在生成信控环境 之前若发现已存在有信控环境, 且该信控环境与计费环境的版本一致时, 则复用该信控环境而不再生成信控环境, 由于无需生成信控环境, 因此能 够有效节约系统资源。
下面以一具体应用场景对上述实施例中的在线升级处理方法进行描 述。 假设某运营商下存在三个租户 MVN01、 MVN02、 MVN03 , 三个租 户共享一套计费系统(同一台计费主机, 应用软件和数据表也没有隔离)。
MVN01 有新需求, 涉及对应用软件包进行升级, 以及资费表 Table— tariff 有不兼容的变化。 Table— tariff原表结构如下 Tariffid int, //资费 ID
Ratio int, //费率
RatioMeasurelD, //费率度量, 如分、 厘等。 对 MVN01而言, int型保存费率的范围太小,需要将该字段扩展为 long 型。
升级准备阶段: 模拟计费系统的计费环境, 生成具有计费功能的信控 环境, 其具体过程为创建与上述计费用户账号权限相同的信控用户账号, 将计费用户账号下的相关文件 (如应用软件包、 配置文件、 环境变量等) 拷贝到所创建的信控用户账号下, 为了避免生成的信控环境与原有计费环 境存在冲突, 对可能存在冲突的配置项进行修改 (如对共享内存的 BASEKEY值进行修改 ) , 对外端口不进行修改, 以保证其前置网元如 SCP 能够使用计费系统原来的对外端口与计费系统进行通讯。 在信控环境中部 署与计费环境相同的统一接入平台进程与计费引擎进程, 信控环境共享计 费环境的数据中心。 在上述在线升级的准备阶段, 计费环境的统一接入平 台进程与计费引擎进程属于正常运行, 信控环境中的各个进程均未启动。 配置 Table— tariff 表的转置规则为快照镜像, 在克隆时基于该表快照出 Table— tariff— Snapshot (也可在信控环境处理首个业务时快照)。 其表结构、 索引和数据等与 Table— tariff表相同。
升级过程阶段: 先启动信控环境的计费引擎进程(由于对应的统一接 入平台进程未启动, 不会有请求触发给该计费引擎进程, 计费引擎进程暂 时空跑), 然后启动但不激活信控环境的统一接入平台进程。 完成上述启动 后, 将计费环境的统一接入平台进程去激活, 使计费环境的统一接入平台 进程从 ACTIVE状态切换为 IDLE状态 (即从受理业务变更为无法受理业 务), 同时将信控环境的统一接入平台进程激活, 使信控环境的统一接入平 台进程从 IDLE状态切换为 ACTIVE状态 (即从无法受理业务变更为受理 业务), 即实现由统一接入平台进程实现激活与未激活的切换, 然后再停掉 计费环境的统一接入平台进程与计费引擎进程, 这样就可以做到无缝切换, 对外完全不中断。 此时, 信控环境对原表的更新均为虚操作, 当信控环境 检测到访问 Table— tariff 原表的操作时, 自动转置为访问 Table tariff Snapshot表, 信控环境的计费结果正常输出话单文件(由于目录修改, 不 会与正常计费环境的话单文件混在一起)。 由于信控环境对数据中心的操作 属于虚操作, 并没有实际修改余额, 因此输出的话单文件并不是计费结果, 本质上是放通话单文件。 从计费环境进程停掉、 信控环境进程启动开始, 系统由在线计费阶段进入实时信控阶段(由于对外端口不变化, 系统处理 是连贯的, 因此对外部网元而言不感知系统在线计费阶段与实时信控阶段 的切换变化)。 这时可对计费环境进行升级, 进行软件包的升级更新(包括 Table— tariff表的不兼容升级)。
升级结束阶段: 先启动计费环境的计费引擎进程(由于对应的统一接 入平台进程未启动, 不会有请求触发给该计费引擎进程, 计费环境的计费 引擎进程暂时空跑), 然后启动但不激活计费环境的统一接入平台进程。 完 成上述启动后, 将信控环境的统一接入平台进程去激活, 使信控环境的统 一接入平台进程从 ACTIVE状态变更为 IDLE状态 (即从受理业务变更为 无法受理业务), 同时将计费环境的统一接入平台进程激活, 使计费环境的 统一接入平台进程从 IDLE状态变更为 ACTIVE状态 (即从无法受理业务 变更为受理业务), 即实现由统一接入平台进程实现激活与未激活的切换, 然后再停掉信控环境的统一接入平台进程与计费引擎进程, 这样就可以做 到无缝切换, 对外完全不中断。 若实时信控阶段生成计费话单文件, 则对 实时信控阶段生成的计费话单文件 (由于是虚操作, 本质上是放通文件) 进行离线计费, 并清理信控系统(删除软件包、 临时表、 用户等。 最后清 理信控用户环境及 Table— tariff— Snapshot表。 下面对本发明实施例中的一种在线升级处理装置进行描述, 请参阅图 7, 本发明实施例中的在线升级处理装置 700包括:
接收单元 701 , 用于接收在线升级指示信息, 其中, 上述在线升级指示 信息用于指示计费系统进入在线升级准备阶段。
克隆单元 702, 用于模拟上述计费系统的计费环境, 生成具有计费功能 的信控环境。
转换单元 703 , 用于当上述计费系统进入在线升级阶段时,使上述信控 环境替代上述计费环境受理业务。
进一步, 克隆单元 702 包括: 快照模块、 信控增量模块和信控替代模 块中的至少一个, 其中, 上述快照模块: 用于基于上述计费环境中的原表, 快照出与上述原表一致的镜像表, 以便在上述信控环境中将访问上述原表 的处理自动转置为访问上述镜像表。 上述信控增量模块: 用于设计与原表 结构、 索引相同的信控增量表, 以便上述信控环境在计费处理过程中对上 述原表的数据进行变更时, 以增量方式将变更数据保存在上述信控增量表 中。 上述信控替代模块: 用于设计与原表结构、 索引相同的信控替代表, 以便上述信控环境在计费处理过程中对上述原表的数据进行变更时, 以替 代方式将变更数据保存在上述信控替代表中。
具体的, 在图 7所示实施例的基础上, 如图 8所示的在线升级处理装 置 800 , 转换单元 703可以包括:
启动单元 7031 , 用于启动但不激活上述信控环境, 使上述信控环境处 于无法受理业务状态;
去激活单元 7032 , 用于去激活上述计费环境的统一接入平台进程, 使 上述计费环境处于无法受理业务状态;
激活单元 7033 , 用于激活上述信控环境, 使上述信控环境处于可受理 业务状态;
进程停止单元 7034 , 用于停止上述计费环境的统一接入平台进程和计 费引擎进程。
进一步, 在一种应用场景中, 在图 7或图 8所示实施例的基础上, 转 换单元 703还用于当在线升级结束后, 恢复上述计费环境受理业务, 转换 单元 703 可以包括: 启动单元, 用于当在线升级结束后, 启动但不激活上 述计费环境的统一接入平台进程, 使上述计费环境的统一接入平台进程处 于无法受理业务状态; 去激活单元, 用于当在线升级结束后, 去激活上述 信控环境的统一接入平台进程, 使上述信控环境处于无法受理业务状态; 激活单元, 用于当在线升级结束后, 激活上述计费环境的统一接入平台进 程, 使上述计费环境处于可受理业务状态; 进程停止单元, 用于停止上述 信控环境的统一接入平台进程和计费 1擎进程。 本应用场景中的启动单元、 去激活单元、 激活单元和进程停止单元间的连接关系可以参照图 8所示实 施例中的启动单元 7031、 去激活单元 7032、 激活单元 7033和进程停止单 元 7034间的连接关系, 或者, 本应用场景中的上述启动单元所实现的功能 也可以是在图 8所示实施例中的启动单元 7031的基础上的扩展, 同理, 本 应用场景中的上述去激活单元、 激活单元和进程停止单元所实现的功能也 可以分别是在去激活单元 7032、 激活单元 7033、 和进程停止单元 7034基 础上的扩展, 此处不作限定。
进一步, 在图 7所示实施例中的在线升级处理装置 700的基础上, 在 线升级处理装置还可以包括清理单元, 清理单元用于清除上述信控环境。 如图 9所示的在线升级处理装置 900中的清理单元 704 , 进一步, 如图 9所 示, 在线升级处理装置 900还可包括: 检测单元 705 , 用于在克隆单元 702 执行之前, 且当前存在上述信控环境时, 检测上述信控环境与上述计费环 境的版本是否一致, 进一步, 克隆单元 702在上述检测单元的检测结果为 否时才触发。
需要说明的是, 本发明实施例中的在线升级处理装置 700、在线升级处 理装置 800和在线升级处理装置 900可以如上述方法实施例中的在线升级 处理装置, 可以用于实现上述方法实施例中的全部技术方案, 其各个功能 模块的功能可以根据上述方法实施例中的方法具体实现, 其具体实现过程 可参照上述实施例中的相关描述, 此处不再赘述。
由上可见, 本发明实施例中在准备进行在线升级时, 线升级处理装置 通过模拟计费环境, 生成具有计费环境功能的信控环境, 当在线升级过程 中, 使用信控环境替代计费环境受理业务, 一方面, 该方案解决了在线升 级时需要放通业务的困境, 避免了因放通业务而带来的欠费风险, 另一方 面, 由于本发明实施例中的技术方案不需要涉及计费系统架构的改造, 也 不涉及外部网元的改造, 具有改造成本低的特点。 下面对本发明实施例中的一种计费系统进行描述, 包括:
在线升级处理装置, 用于: 接收在线升级指示信息, 上述在线升级指 示信息用于指示计费系统进入在线升级准备阶段; 当接收到上述在线升级 指示信息时, 模拟上述计费系统的计费环境, 生成具有计费功能的信控环 境; 当上述计费系统进入在线升级阶段时, 使上述信控环境替代上述计费 环境受理业务。
需要说明的是, 本发明实施例中的在线升级处理装置可以如上述图 7、 图 8及图 9所示实施例中的在线升级处理装置, 可以用于实现上述装置实 施例中的全部技术方案, 其具体实现过程可参照上述实施例中的相关描述, 此处不再赘述。
由上可见, 本发明实施例中在准备进行在线升级时, 线升级处理装置 通过模拟计费环境, 生成具有计费环境功能的信控环境, 当在线升级过程 中, 使用信控环境替代计费环境受理业务, 一方面, 该方案解决了在线升 级时需要放通业务的困境, 避免了因放通业务而带来的欠费风险, 另一方 面, 由于本发明实施例中的技术方案不需要涉及计费系统架构的改造, 也 不涉及外部网元的改造, 具有改造成本低的特点。
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述 描述的装置和单元的具体工作过程, 可以参考前述方法实施例中的对应过 程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的装置和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性 的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以 有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之 间的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接 耦合或通信连接, 可以是电性, 机械或其它的形式。 作为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地 方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的 部分或者全部单元来实现本实施例方案的目的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以釆用硬件的形式实现, 也可以釆用软 件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销 售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方 案的全部或部分可以以软件产品的形式体现出来, 该计算机软件产品存储 在一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人 计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全 部或部分步骤。而前述的存储介质包括: U盘、移动硬盘、只读存储器( ROM, Read-Only Memory ). 随机存取存 4诸器 ( RAM, Random Access Memory )、 磁碟或者光盘等各种可以存储程序代码的介质。
以上对本发明所提供的一种在线升级处理方法、 相关装置和系统进行 了详细介绍, 对于本领域的一般技术人员, 依据本发明实施例的思想, 在 具体实施方式及应用范围上均会有改变之处, 综上, 本说明书内容不应理 解为对本发明的限制。
+

Claims

权利要求
1、 一种在线升级处理方法, 其特征在于, 包括:
接收在线升级指示信息, 所述在线升级指示信息用于指示计费系统进 入在线升级准备阶段;
当接收到所述在线升级指示信息时, 模拟所述计费系统的计费环境, 生成具有计费功能的信控环境;
当所述计费系统进入在线升级阶段时, 使用所述信控环境替代所述计 费环境受理业务。
2、 根据权利要求 1所述的方法, 其特征在于,
所述模拟计费环境 , 生成具有计费功能的信控环境的步骤包括: 基于所述计费环境中的原表, 快照出与所述原表一致的镜像表, 以便 在所述信控环境中将访问所述原表的处理自动转置为访问所述镜像表。
3、 根据权利要求 1所述的方法, 其特征在于,
所述模拟计费环境 , 生成具有计费功能的信控环境的步骤包括: 设计与原表结构、 索引相同的信控增量表, 以便所述信控环境在计费 处理过程中对所述原表的数据进行变更时, 以增量方式将变更数据保存在 所述信控增量表中。
4、 根据权利要求 1所述的方法, 其特征在于,
所述模拟计费环境 , 生成具有计费功能的信控环境的步骤包括: 设计与原表结构、 索引相同的信控替代表, 以便所述信控环境在计费 处理过程中对所述原表的数据进行变更时, 以替代方式将变更数据保存在 所述信控替代表中。
5、 根据权利要求 1至 4任一项所述的方法, 其特征在于,
所述模拟计费环境之前包括:
若当前存在所述信控环境, 则检测所述信控环境与所述计费环境的版 本是否一致;
若一致, 则直接执行所述使所述信控环境替代所述计费环境受理业务 的步骤;
若不一致, 则执行所述模拟计费环境, 生成具有计费功能的信控环境 的步骤以及其之后的步骤。
6、 根据权利要求 1至 4任一项所述的方法, 其特征在于, 所述使所述信控环境替代所述计费环境受理业务包括:
启动但不激活所述信控环境, 使所述信控环境处于无法受理业务状态; 当所述信控环境启动之后, 去激活所述计费环境的统一接入平台进程, 使所述计费环境处于无法受理业务状态;
当所述计费环境的统一接入平台进程去激活之后, 激活所述信控环境, 使所述信控环境处于可受理业务状态;
当所述信控环境激活之后, 停止所述计费环境的统一接入平台进程和 计费引擎进程。
7、 根据权利要求 6所述的方法, 其特征在于,
所述启动但不激活所述信控环境包括:
启动并激活所述信控环境的计费引擎进程;
在所述计费引擎进程启动之后, 启动但不激活所述信控环境的统一接 入平台进程;
所述激活所述信控环境具体为:
激活所述信控环境的统一接入平台进程。
8、 根据权利要求 1至 4任一项所述的方法, 其特征在于,
所述使所述信控环境替代所述计费环境受理业务之后包括:
当所述在线升级结束时, 恢复所述计费环境受理业务。
9、 根据权利要求 8所述的方法, 其特征在于, 所述恢复所述计费环境 受理业务, 包括:
启动所述计费环境的计费引擎进程;
在所述计费弓 I擎进程启动之后, 启动但不激活所述计费环境的统一接 入平台进程, 使所述计费环境的统一接入平台进程处于无法受理业务状态; 在所述计费环境的统一接入平台进程启动之后, 去激活所述信控环境 的统一接入平台进程, 使所述信控环境处于无法受理业务状态;
在所述信控环境的统一接入平台进程去激活之后, 激活所述计费环境 的统一接入平台进程, 使所述计费环境处于可受理业务状态;
在所述计费环境的统一接入平台进程激活之后, 停止所述信控环境的 统一接入平台进程和计费引擎进程。
10、 根据权利要求 9所述的方法, 其特征在于, 所述停止所述信控环境的统一接入平台进程和计费引擎进程之后包 括:
清除所述信控环境。
11、 一种在线升级处理装置, 其特征在于, 包括:
接收单元, 用于接收在线升级指示信息, 所述在线升级指示信息用于 指示计费系统进入在线升级准备阶段;
克隆单元, 用于模拟所述计费系统的计费环境, 生成具有计费功能的 信控环境;
转换单元, 用于当所述计费系统进入在线升级阶段时, 使用所述信控 环境替代所述计费环境受理业务。
12、 根据权利要求 11所述的装置, 其特征在于,
所述克隆单元包括:
快照模块, 用于基于所述计费环境中的原表, 快照出与所述原表一致 的镜像表, 以便在所述信控环境中将访问所述原表的处理自动转置为访问 所述镜像表。
13、 根据权利要求 11所述的装置, 其特征在于,
所述克隆单元包括:
信控增量模块, 用于设计与原表结构、 索引相同的信控增量表, 以便 所述信控环境在计费处理过程中对所述原表的数据进行变更时, 以增量方 式将变更数据保存在所述信控增量表中。
14、 根据权利要求 11所述的装置, 其特征在于,
所述克隆单元包括:
信控替代模块, 用于设计与原表结构、 索引相同的信控替代表, 以便 所述信控环境在计费处理过程中对所述原表的数据进行变更时, 以替代方 式将变更数据保存在所述信控替代表中。
15、 根据权利要求 11至 14任一项所述的装置, 其特征在于, 所述在线升级处理装置还包括:
检测单元, 用于在所述克隆单元执行之前, 且当前存在所述信控环境 时, 检测所述信控环境与所述计费环境的版本是否一致;
所述克隆单元在所述检测单元的检测结果为否时才触发。
16、 根据权利要求 11至 14任一项所述的装置, 其特征在于, 所述转换单元包括:
启动单元, 用于启动但不激活所述信控环境, 使所述信控环境处于无 法受理业务状态;
去激活单元, 用于去激活所述计费环境的统一接入平台进程, 使所述 计费环境处于无法受理业务状态;
激活单元, 用于激活所述信控环境, 使所述信控环境处于可受理业务 状态;
进程停止单元, 用于停止所述计费环境的统一接入平台进程和计费引 擎进程。
17、 根据权利要求 11至 14任一项所述的装置, 其特征在于, 所示转换单元还用于当所述在线升级结束时, 恢复所述计费环境受理 业务。
18、 根据权利要求 17所述的装置, 其特征在于, 所述转换单元包括: 启动单元, 用于当所述在线升级结束后, 启动所述计费环境的计费引 擎进程, 启动但不激活所述计费环境的统一接入平台进程, 使所述计费环 境的统一接入平台进程处于无法受理业务状态;
去激活单元, 用于当所述在线升级结束后, 去激活所述信控环境的统 一接入平台进程, 使所述信控环境处于无法受理业务状态;
激活单元, 用于当所述在线升级结束后, 激活所述计费环境的统一接 入平台进程, 使所述计费环境处于可受理业务状态;
进程停止单元, 用于当所述在线升级结束后, 停止所述信控环境的统 一接入平台进程和计费引擎进程。
19、 根据权利要求 18所述的装置, 其特征在于,
所述在线升级处理装置还包括:
清理单元, 用于清除所述信控环境。
20、 一种计费系统, 其特征在于, 包括:
在线升级处理装置, 用于: 接收在线升级指示信息, 所述在线升级指 示信息用于指示计费系统进入在线升级准备阶段; 当接收到所述在线升级 指示信息时, 模拟所述计费系统的计费环境, 生成具有计费功能的信控环 境; 当所述计费系统进入在线升级阶段时, 使所述信控环境替代所述计费 环境受理业务。
PCT/CN2013/072782 2012-04-28 2013-03-18 一种在线升级处理方法、相关装置和系统 WO2013159610A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP13780976.0A EP2835935B1 (en) 2012-04-28 2013-03-18 Method for processing online upgrade, and apparatus thereof
US14/524,480 US9674371B2 (en) 2012-04-28 2014-10-27 Online upgrade processing method, associated apparatus and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210132738.4A CN102710433B (zh) 2012-04-28 2012-04-28 一种在线升级处理方法、相关装置和系统
CN201210132738.4 2012-04-28

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/524,480 Continuation US9674371B2 (en) 2012-04-28 2014-10-27 Online upgrade processing method, associated apparatus and system

Publications (1)

Publication Number Publication Date
WO2013159610A1 true WO2013159610A1 (zh) 2013-10-31

Family

ID=46903004

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/072782 WO2013159610A1 (zh) 2012-04-28 2013-03-18 一种在线升级处理方法、相关装置和系统

Country Status (4)

Country Link
US (1) US9674371B2 (zh)
EP (1) EP2835935B1 (zh)
CN (1) CN102710433B (zh)
WO (1) WO2013159610A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710433B (zh) 2012-04-28 2015-11-25 华为技术有限公司 一种在线升级处理方法、相关装置和系统
CN108632047B (zh) 2017-03-21 2020-10-09 华为技术有限公司 一种资费数据的确定方法及装置
CN108415715A (zh) * 2018-02-12 2018-08-17 四川爱创科技有限公司 适用于自动售货机的基于场景分析的软件升级方法
CN111901677B (zh) * 2020-07-24 2022-08-02 海信视像科技股份有限公司 一种统一控制进程启动的方法及显示设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826988A (zh) * 2009-03-04 2010-09-08 华为技术有限公司 业务动态升级方法、设备及系统
CN101996083A (zh) * 2009-08-21 2011-03-30 中兴通讯股份有限公司 一种镜像升级的方法和装置
CN102307113A (zh) * 2007-12-28 2012-01-04 华为技术有限公司 一种系统升级方法、系统及装置
CN102710433A (zh) * 2012-04-28 2012-10-03 华为技术有限公司 一种在线升级处理方法、相关装置和系统

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004105354A2 (en) * 2003-05-23 2004-12-02 Xius India Ltd. System for a wireless intelligent services engine
CN100395983C (zh) 2006-02-27 2008-06-18 华为技术有限公司 计费系统和计费方法
CN100471134C (zh) * 2006-10-20 2009-03-18 华为技术有限公司 电信设备升级的方法、设备及升级引擎单元
US20080244552A1 (en) * 2007-03-27 2008-10-02 Telefonaktiebolaget Lm Ericsson (Publ) Upgrading services associated with high availability systems
EP2297987A1 (en) * 2008-05-30 2011-03-23 Alcatel-Lucent USA Inc. Online charging architecture in lte/epc communication networks
CN101616028B (zh) 2009-06-25 2012-02-29 中兴通讯股份有限公司 一种通信程序业务不中断升级方法及系统
CN101662390B (zh) 2009-09-24 2012-10-10 中兴通讯股份有限公司 升级保护方法及装置
CN101894052B (zh) 2010-03-04 2012-12-12 华为数字技术(成都)有限公司 一种升级方法、系统和控制器

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307113A (zh) * 2007-12-28 2012-01-04 华为技术有限公司 一种系统升级方法、系统及装置
CN101826988A (zh) * 2009-03-04 2010-09-08 华为技术有限公司 业务动态升级方法、设备及系统
CN101996083A (zh) * 2009-08-21 2011-03-30 中兴通讯股份有限公司 一种镜像升级的方法和装置
CN102710433A (zh) * 2012-04-28 2012-10-03 华为技术有限公司 一种在线升级处理方法、相关装置和系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2835935A4 *

Also Published As

Publication number Publication date
EP2835935A4 (en) 2015-02-11
US9674371B2 (en) 2017-06-06
EP2835935A1 (en) 2015-02-11
CN102710433A (zh) 2012-10-03
EP2835935B1 (en) 2019-05-22
US20150043388A1 (en) 2015-02-12
CN102710433B (zh) 2015-11-25

Similar Documents

Publication Publication Date Title
WO2017162089A1 (zh) 网络服务的业务配置方法和装置
WO2013159610A1 (zh) 一种在线升级处理方法、相关装置和系统
WO2012171349A1 (zh) 一种分布式自增计数的实现方法、装置及系统
EP4071609A1 (en) Node management method, device and apparatus, storage medium, and system
WO2012126228A2 (zh) 一种支持多业务融合的综合增值业务系统及方法
WO2021129754A1 (zh) 一种报文处理的方法、设备及存储介质
CN101159911B (zh) 增值业务的实现方法以及业务控制点
CN108900441B (zh) 网络切换方法、第一电子设备及可读存储介质
CN110880981B (zh) Gx会话异常的处理方法及装置
JP2013003816A (ja) 仮想化ホームゲ−トウェイシステム
WO2010017733A1 (zh) 用户信息的割接方法及装置
WO2005041476A1 (fr) Procede pour fournir un service de reseau prive virtuel
WO2011143851A1 (zh) 数据库服务器操作控制系统、方法及设备
CN111262963A (zh) 一种实现虚拟机mac地址与ip地址绑定的方法及系统
EP2071763A1 (en) Method, system and agent server for charging data services
EP4258706A1 (en) Lan group fee calculation method and related device
WO2020259116A1 (zh) 一种计费系统、方法、存储介质及电子装置
CN108668244A (zh) 业务处理方法、装置及存储介质
CN104579701A (zh) 实时计费方法、装置及系统
CN110891054B (zh) 一种sip账号资源管理方法
WO2018018459A1 (zh) 一种策略处理的方法和设备
CN103475681A (zh) 一种实现智能业务的系统及方法
KR20040027527A (ko) 선불 및 한도 가입자를 위한 무선 데이터 서비스 제어방법 및 시스템
WO2012171348A1 (zh) 用户转账的控制方法和业务控制点
CN102143466B (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: 13780976

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2013780976

Country of ref document: EP