CN108668244B - Service processing method, device and storage medium - Google Patents

Service processing method, device and storage medium Download PDF

Info

Publication number
CN108668244B
CN108668244B CN201810883954.XA CN201810883954A CN108668244B CN 108668244 B CN108668244 B CN 108668244B CN 201810883954 A CN201810883954 A CN 201810883954A CN 108668244 B CN108668244 B CN 108668244B
Authority
CN
China
Prior art keywords
group
database
data
user
group network
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201810883954.XA
Other languages
Chinese (zh)
Other versions
CN108668244A (en
Inventor
邓欣
牟海刚
王晓男
周宝亮
秦嘉罗
刘庆超
葛宝龙
邢小燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810883954.XA priority Critical patent/CN108668244B/en
Publication of CN108668244A publication Critical patent/CN108668244A/en
Application granted granted Critical
Publication of CN108668244B publication Critical patent/CN108668244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Abstract

The invention provides a service processing method, a device and a storage medium, wherein the method comprises the steps of obtaining a call record, wherein the call record comprises calling party information, called party information and call duration, obtaining a first group network group identification corresponding to a calling party from a memory database according to the calling party information, obtaining a second group network group identification corresponding to a called party from the memory database according to the called party information, and carrying out charging-free processing according to the call duration and a tariff package corresponding to the group network group if the first group network group identification and the second group network group identification are the same group network group identification. Because the user information of the whole network users and the group network group identifications corresponding to the user information are stored in the memory database, the group network group identifications of different signing province users can be obtained according to the call records, so that the whole network group network users can be mutually dialed for free.

Description

Service processing method, device and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a service processing method, an apparatus, and a storage medium.
Background
Aiming at the large internal communication demands of enterprise users and group users, a group network service provided by an operator uniformly numbers mobile communication equipment in the enterprise/group to form a group network group in the enterprise/group, users in the group network group can use short numbers to call each other, and enjoy the local conversation preference of members in the group network group, thereby realizing more convenient and intelligent mobile voice communication.
In the prior art, data corresponding to users handling group network services are stored by adopting a distributed database according to the signed provinces of the users, so that mutual dialing free between the users in the group of the group network with the provinces can be realized. However, with the cancellation of long-distance telephone calls and roaming charges, the above prior art has been unable to meet the user's requirements.
Disclosure of Invention
The invention provides a service processing method, a service processing device and a storage medium, which are used for realizing free mutual dialing among users in a group of a whole group network.
In a first aspect, the present invention provides a service processing method, where the method includes:
acquiring a call record, wherein the call record comprises calling user information, called user information and call duration;
acquiring a first group network group identification corresponding to a calling subscriber from a memory database according to the calling subscriber information, and acquiring a second group network group identification corresponding to a called subscriber from the memory database according to the called subscriber information, wherein the memory database comprises subscriber information of all-network subscribers and group network group identifications corresponding to the subscriber information;
and if the first group network group identifier and the second group network group identifier are identifiers of the same group network group, performing charging-free processing according to the call duration and the tariff package corresponding to the group network group.
Further, before the obtaining the first group network group identifier corresponding to the calling subscriber from the first database according to the calling subscriber information, the method further includes:
and synchronizing data in an Oracle database to the memory database, wherein the Oracle database comprises user information of users of all signed provinces and group network group identifications corresponding to the user information, and different target signed provinces corresponding to the Oracle database are different.
Further, synchronizing data in the Oracle database to the memory database includes:
and synchronizing the data in the Oracle database to the memory database in an enterprise CtoB mode by a consumer.
Further, before synchronizing the data in the Oracle database to the memory database in the CtoB manner, the method further includes:
acquiring service data of mobile communication service handled by a user, wherein the service data comprises user information of the user, service information of the mobile communication service and group network group identification corresponding to the user;
storing the service data into an Oracle database corresponding to the signed province of the user;
and synchronizing the service data stored in the Oracle database corresponding to the signed province of the user to other Oracle databases, wherein the signed provinces corresponding to different Oracle databases are different.
Further, the storing the service data into an Oracle database corresponding to the signed province of the user includes:
carrying out format conversion on the service data through a Kafka data processing module of the Kafka card to obtain converted service data;
analyzing the converted service data to obtain analyzed service data;
and storing the analyzed service data to an Oracle database corresponding to the signed province of the user.
Further, acquiring abnormal-state business data in the Oracle database, wherein the abnormal-state business data comprises business data which fails in synchronization;
and synchronizing the service data in the abnormal state to the other Oracle databases.
Further, after the obtaining the service data of the mobile communication service transacted by the user, the method further includes: and storing the service data into a backup database.
In a second aspect, the present invention provides a service processing apparatus, including:
the first acquisition module is used for acquiring a call record, wherein the call record comprises calling user information, called user information and call duration;
a second obtaining module, configured to obtain, according to the information of the calling subscriber, a first group network group identifier corresponding to the calling subscriber from a memory database, and obtain, according to the information of the called subscriber, a second group network group identifier corresponding to the called subscriber from the memory database, where the memory database includes subscriber information of all-network subscribers and group network group identifiers corresponding to the subscriber information;
and the charging module is used for performing charging-free processing according to the call duration and the tariff package corresponding to the group network group if the first group network group identifier and the second group network group identifier are identifiers of the same group network group.
In a third aspect, the present invention provides a server, comprising: a processor and a memory;
the memory stores program instructions;
the processor executes the program instructions to perform the method of the first aspect.
In a fourth aspect, the present invention provides a computer storage medium comprising: a program for performing the method of the first aspect when executed by a processor.
The method comprises the steps of obtaining a call record, wherein the call record comprises calling party information, called party information and call duration, obtaining a first group network group identifier corresponding to a calling party from a memory database according to the calling party information, and obtaining a second group network group identifier corresponding to a called party from the memory database according to the called party information, wherein the memory database comprises user information of a whole network user and a group network group identifier corresponding to the user information, and if the first group network group identifier and the second group network group identifier are identifiers of the same group network group, carrying out charging-free processing according to the call duration and a tariff package corresponding to the group network group. The method has at least the following beneficial effects:
because the memory database stores the user information of the whole network users and the group network group identifications corresponding to the user information, the first group network group identification and the second group network group identification corresponding to the calling and called users can be obtained from the memory database, wherein the calling and called users can be users of the same signed province or users of different signed provinces, and when the first group network group identification and the second group network group identification are the identifications of the same group network group, the charging-free processing is carried out according to the call duration and the tariff package corresponding to the group network group, thereby realizing the free mutual dialing between the whole network group network users.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a first embodiment of a service processing method provided by the present invention;
fig. 2 is a schematic flow chart of a second embodiment of a service processing method provided by the present invention;
fig. 3 is a schematic structural diagram of a first embodiment of a service processing apparatus provided in the present invention;
fig. 4 is a schematic structural diagram of a second embodiment of a service processing apparatus provided in the present invention;
fig. 5 is a schematic structural diagram of a server according to a first embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart illustrating a first embodiment of a service processing method provided in the present invention. The embodiment of the invention provides a service processing method, which can be realized in a software and/or hardware mode. Specifically, the service processing method may be executed by a service processing apparatus, and the service processing apparatus may be an independent device or may be integrated in a device such as a server. In this embodiment, an execution subject is taken as a server for example. The server includes, but is not limited to, a single network server, a server group consisting of a plurality of network servers, or a cloud based on cloud computing, which is composed of a large number of computers or network servers. Cloud computing is a kind of distributed computing, and is a super virtual computer composed of a group of loosely coupled computers.
As shown in fig. 1, the method of the present embodiment includes:
s101, obtaining a call record.
The call record may include, but is not limited to, calling user information, called user information, and call duration. The user information corresponding to the calling user is the calling user information, and the user information corresponding to the called user is the called user information. The calling user and the called user are opposite, and the calling user and the called user can be interchanged in different calls.
Specifically, the calling subscriber information may include a mobile phone number of the calling subscriber and a subscription province of the calling subscriber. Further, the calling subscriber information may also include location information and the like when the calling subscriber is talking. The called user information can be the mobile phone number of the called user and the signed province of the called user. Or, the called user information may also include location information when the called user makes a call, and the like.
In practical application, when the call between the calling user and the called user is finished, a corresponding call record is generated, and the server acquires the call record comprising the information of the calling user, the information of the called user and the call duration so as to perform subsequent charging processing or charging-free processing according to the call record.
S102, acquiring a first group network group identification corresponding to a calling user from a memory database according to the information of the calling user, and acquiring a second group network group identification corresponding to a called user from the memory database according to the information of the called user.
The memory database comprises user information of users in the whole network and group network group identifications corresponding to the user information. The contract-signing provinces of the calling user and the called user can be different, or the contract-signing provinces of the calling user and the called user can be the same, and the embodiment of the invention is not limited.
The memory database may be a database of the operator charging side system corresponding to the calling subscriber. The user information stored in the memory database may include a mobile phone number of the user, a sign-up province of the user, and the like, and the user information corresponds to the group network group identifier to which the user belongs. The corresponding relationship between the user information and the group identifier of the group network to which the user belongs may include the following:
1. since one user can correspond to a plurality of group network groups, the user information in the memory database can correspond to a plurality of group network group identifications to which the user belongs.
2. One user can also only correspond to one group network group, and at the moment, the user information in the memory database corresponds to one group network group identifier to which the user belongs.
3. When the user does not handle the group network service, the user does not belong to any group network group, and in the scene, the user information in the memory database does not correspond to any group network group identification.
It should be noted that the group network group identifier may be a group network group ID number, or may be other special identifiers capable of distinguishing different group network groups, which is not limited in the present invention.
In an exemplary embodiment of the present invention, acquiring the identifier of the first group network group of the calling party from the memory database according to the calling party information in the call record may include acquiring the identifier of the first group network group corresponding to the calling party from the memory database corresponding to the charging side according to the mobile phone number of the calling party.
Similarly, obtaining the second group network group identifier corresponding to the called subscriber from the memory database according to the information of the called subscriber may include: and acquiring a second group network group identifier corresponding to the called user from a memory database corresponding to the charging side according to the mobile phone number of the called user.
Because the memory database stores the user information of the whole network user and the corresponding group network group identification, when the calling user and the called user belong to different signed provinces, the first group network group identification corresponding to the calling user and the second group network group identification corresponding to the called user can be obtained. Compared with the prior art that the distributed database is adopted for storage according to the user signed province, the embodiment of the invention breaks through the existing data storage partition and realizes the centralized storage of the user information of the users in the whole network and the group network group identification corresponding to the user information.
S103, if the first group network group identification and the second group network group identification are the same group network group identification, carrying out charging-free processing according to the call duration and the tariff package corresponding to the group network group.
The first group network group identification and the second group network group identification are identifications of the same group network group, which shows that the calling user and the called user belong to the same group network group, and then the charging-free processing is carried out according to the call duration and the tariff package corresponding to the group network group.
In some embodiments, if the first group network group identifier and the second group network group identifier are not the same group network group identifier, indicating that the calling subscriber and the called subscriber do not belong to the same group network group, the charging process is performed according to the call duration and the corresponding tariff package. For example, if the calling subscriber and the called subscriber do not belong to the same group network group, the charging process is performed according to the tariff package handled by the calling subscriber, and then the charges of the call can be deducted from the call charges pre-stored by the calling subscriber, or the charges of all calls in a preset time period can be accumulated, and then the charges are deducted from the call charges pre-stored by the calling subscriber.
In the service processing method in this embodiment, a call record is obtained, where the call record includes calling party information, called party information, and a call duration, a first group network group identifier corresponding to a calling party is obtained from a memory database according to the calling party information, and a second group network group identifier corresponding to a called party is obtained from the memory database according to the called party information, where the memory database includes user information of a whole network user and a group network group identifier corresponding to the user information, and if the first group network group identifier and the second group network group identifier are identifiers of a same group network group, a charging-free process is performed according to the call duration and a tariff package corresponding to the group network group. Because the memory database stores the user information of the whole network users and the group network group identifications corresponding to the user information, the first group network group identification and the second group network group identification corresponding to the calling and called users can be obtained from the memory database, wherein the calling and called users can be users of the same signed province or users of different signed provinces, and when the first group network group identification and the second group network group identification are the identifications of the same group network group, the charging-free processing is carried out according to the call duration and the tariff package corresponding to the group network group, thereby realizing the free mutual dialing between the whole network group network users.
Since the service data corresponding to the mobile communication service handled by the user is stored in the database corresponding to the business side after a certain processing, the data in the database corresponding to the business side needs to be synchronized to the database corresponding to the charging side. Next, the data synchronization between the business side and the charging side of the corresponding service data after the user transacts the mobile communication service will be described in detail.
Fig. 2 is a flowchart illustrating a second embodiment of a service processing method provided in the present invention. As shown in fig. 2, the present embodiment is different from the embodiment shown in fig. 1 in that: the steps in the present embodiment may also be included before step S102. The method of the embodiment may include:
s201, acquiring service data of the mobile communication service transacted by the user.
The service data may include user information of the user, service information of a mobile communication service, and a group network group identifier corresponding to the user.
The mobile communication service may include account opening, account logout, package change, etc., and the service information corresponding to different mobile communication services is different. The user information may include a mobile phone number of the user, a signed province of the user, and the like. If the user transacts the group network service, there will be a corresponding group network group identifier.
When the user successfully transacts the mobile communication service in the entity business hall or the online mall, the server generates service data corresponding to the mobile communication service transacted by the user. For example, if the user transacts a package change service, the service information corresponding to the package change includes package information before the change and package information after the change.
S202, storing the service data into an Oracle database corresponding to the signed province of the user.
Specifically, a full-network user is divided into a plurality of domains according to a preset rule, and each domain corresponds to an Oracle database. For example, according to the number of users in the whole network, the whole country is divided into a plurality of domains by taking the signed province as a unit, each domain corresponds to one or more signed provinces, and the number of users in each domain is basically kept equal. That is, the preset mobile communication service coverage area corresponds to a plurality of Oracle databases, and different Oracle databases are used for storing service data of the mobile communication service handled by the user in the contracted province corresponding to the Oracle databases.
In one possible implementation, the step may include: and converting the format of the service data through a data processing module of a card reader (Kafka) to obtain converted service data, further analyzing the converted service data to obtain analyzed service data, and finally storing the analyzed service data to an Oracle database corresponding to the signed province of the user.
The Kafka data processing module adopts the Kafka technology to convert the format of the service data, can process a large amount of data in real time, and meets the requirement on user service data processing. The Kafka technology is applied to the application, and the service data processing efficiency can be effectively improved.
The situation that conversion fails when format conversion is performed on the service data through the Kafka data processing module, analysis fails when the converted service data is analyzed, or storage fails when the analyzed data is stored in an Oracle database corresponding to a signed province of a user is considered, so that synchronization failure of the service data among the Oracle databases is caused. Therefore, the abnormal service data needs to be processed correspondingly to ensure the integrity and unity of the service data in each database. Illustratively, the processing of the abnormal-state traffic data may be specifically realized by the following means: the method comprises the steps of periodically scanning an Oracle database, obtaining abnormal-state business data in the Oracle database, wherein the abnormal-state business data comprise business data which fail to be synchronized, and further synchronizing the abnormal-state business data to other Oracle databases.
S203, synchronizing the service data stored in the Oracle database corresponding to the signed province of the user to other Oracle databases.
Because the target signed provinces corresponding to different Oracle databases are different, business data added in the Oracle database corresponding to the user signed province is synchronized to other Oracle databases, so that the Oracle database corresponding to each domain stores user information of the users in the whole network and group network group identifications corresponding to the users in the whole network. Therefore, if a certain Oracle database in the business side system fails, the user information of the users in the whole network can still be acquired from any other Oracle database.
S201 to S203 are optional steps, and when no user transacts a new mobile communication service, the service processing method may not include S201 to S203.
And S204, synchronizing the data in the Oracle database to the memory database.
The Oracle database comprises user information of all users signing provinces and group network group identifications corresponding to the user information.
Optionally, the step may specifically be: service data stored in a plurality of Oracle databases corresponding to a Business side are synchronized to a memory database corresponding to a charging side system in a Customer-to-enterprise (CtoB) mode, so that a data basis is provided for charging processing.
Since each Oracle database stores the service data of the network-wide user, in another possible implementation manner, the data stored in any one of the Oracle databases is synchronized to the memory database corresponding to the charging side system, so as to provide a data basis for charging processing.
In the embodiment, the micro service technology is adopted to construct mutually independent modules to execute the analysis processing of the service data and the processing of the service data in an abnormal state, and the micro service technology is applied to the analysis, the data synchronization and the abnormal processing of the service data, so that the service data of the users in the whole network are fused, the cross-domain data synchronization is realized, and data support is provided for realizing free mutual dialing among the users in the group network in the whole network.
It should be noted that the micro service is a new software architecture, and a large application program or service is split into a plurality of micro service modules, so that the computing resources can be effectively utilized, the boundaries between the modules are clear, and the maintenance and the update of developers are facilitated.
Optionally, each domain may further correspond to one backup database in a plurality of domains corresponding to the mobile communication service. Therefore, after acquiring the service data of the mobile communication service transacted by the user, the service processing method in this embodiment may further include: and storing the service data into a backup database. Data stored in the Oracle database is synchronized to a backup database corresponding to the domain where the Oracle database is located for data backup, so that when the Oracle database fails, the data can be acquired from the corresponding backup database for data recovery, and therefore the safety and the integrity of the data are improved.
Fig. 3 is a schematic structural diagram of a first embodiment of a service processing apparatus provided in the present invention, and as shown in fig. 3, the service processing apparatus 30 may include:
the first obtaining module 31 is configured to obtain a call record, where the call record includes information of a calling party, information of a called party, and a call duration.
A second obtaining module 32, configured to obtain, according to the information of the calling subscriber, a first group network group identifier corresponding to the calling subscriber from a memory database, and obtain, according to the information of the called subscriber, a second group network group identifier corresponding to the called subscriber from the memory database, where the memory database includes subscriber information of all network subscribers and their corresponding group network group identifiers.
And the charging module 33 is configured to perform a charging-free process according to the call duration and the tariff package corresponding to the group network group if the first group network group identifier and the second group network group identifier are identifiers of the same group network group.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 4 is a schematic structural diagram of a second embodiment of a service processing apparatus provided in the present invention. As shown in fig. 4, in the apparatus of this embodiment, based on the embodiment shown in fig. 3, the service processing apparatus 40 may further include:
a third obtaining module 34, configured to obtain service data of a mobile communication service handled by a user, where the service data includes user information of the user, service information of the mobile communication service, and a group network group identifier corresponding to the user.
The first storage module 35 is configured to store the service data in an Oracle database corresponding to the signed province of the user.
And the first synchronization module 36 is configured to synchronize the service data stored in the Oracle database corresponding to the signed province of the user to other Oracle databases, where the signed provinces corresponding to different Oracle databases are different.
In some embodiments, the first storage module 35 may specifically include: a data processing unit 351, an analysis unit 352, and a storage unit 353.
The data processing unit 351 is configured to perform format conversion on the service data to obtain converted service data. The data processing unit 351 is a kafka data processing module.
And an analyzing unit 352, configured to analyze the converted service data to obtain analyzed service data.
And the storage unit 353 is configured to store the analyzed service data in an Oracle database corresponding to the signed province of the user.
Further, the apparatus may further include: and a second synchronization module 37, configured to synchronize data in the Oracle database to the memory database.
Optionally, the second synchronization module 37 is specifically configured to synchronize, in a CtoB manner, service data stored in an Oracle database corresponding to the business side to a memory database corresponding to the charging side system, so as to provide a data basis for charging processing. The data stored in any Oracle database in the Oracle databases are synchronized to the memory database corresponding to the charging side system, so that a data basis is provided for charging processing.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
Optionally, the apparatus further includes an exception handling module 38, configured to obtain service data in an abnormal state in the Oracle database, where the service data in the abnormal state includes service data that fails to be synchronized, and further synchronize the service data in the abnormal state to another Oracle database.
Optionally, the apparatus further includes a backup module 39, configured to store the service data in a backup database. Data stored in the Oracle database is synchronized to a backup database corresponding to the domain where the Oracle database is located for data backup, so that when the Oracle database fails, the data can be acquired from the corresponding backup database for data recovery, and therefore the safety and the integrity of the data are improved.
Fig. 5 is a schematic structural diagram of a first embodiment of a server according to the present invention, and as shown in fig. 5, the server 50 includes: memory 51, processor 52.
The memory 51 may be a separate physical unit, and may be connected to the processor 52 via a bus 53. The memory 51 and the processor 52 may also be integrated, implemented by hardware, etc.
The memory 51 is used for storing programs for implementing the above method embodiments, and the processor 52 calls the programs to execute the operations of the above method embodiments.
Alternatively, when part or all of the method of the above embodiment is implemented by software, the server 50 may only include a processor. The memory for storing the program is located outside the server 50 and the processor is connected to the memory by means of a circuit/wire for reading and executing the program stored in the memory.
Processor 52 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.
The processor 52 may further include a hardware chip. The hardware chip may be an Application-Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a Field-Programmable Gate Array (FPGA), General Array Logic (GAL), or any combination thereof.
The Memory 51 may include a Volatile Memory (Volatile Memory), such as a Random-Access Memory (RAM); the Memory may also include a Non-volatile Memory (Non-volatile Memory), such as a Flash Memory (Flash Memory), a Hard Disk Drive (HDD) or a Solid-state Drive (SSD); the memory may also comprise a combination of memories of the kind described above.
The present invention also provides a program product, e.g., a computer storage medium, comprising: program for performing the above method when executed by a processor.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for processing a service, comprising:
acquiring a call record, wherein the call record comprises calling user information, called user information and call duration;
acquiring a first group network group identification corresponding to a calling subscriber from a memory database according to the calling subscriber information, and acquiring a second group network group identification corresponding to a called subscriber from the memory database according to the called subscriber information, wherein the memory database comprises subscriber information of all-network subscribers and group network group identifications corresponding to the subscriber information;
if the first group network group identifier and the second group network group identifier are identifiers of the same group network group, performing charging-free processing according to the call duration and the tariff package corresponding to the group network group;
before obtaining the first group network group identifier corresponding to the calling subscriber from the memory database according to the calling subscriber information, the method further includes: synchronizing data in an Oracle database to the memory database, wherein the Oracle database comprises user information of all users signing provinces and group network group identifications corresponding to the user information, the memory database is a memory database corresponding to a charging side system, and the Oracle database is a Oracle database corresponding to a business side;
wherein, the method further comprises: and synchronizing the data stored in the Oracle database to a backup database corresponding to the domain where the Oracle database is located for data backup, so that when the Oracle database fails, the data is acquired from the backup database corresponding to the domain where the Oracle database is located, and the data is recovered.
2. The method of claim 1, wherein synchronizing data in the Oracle database to the in-memory database comprises:
and synchronizing the data in the Oracle database to the memory database in an enterprise CtoB mode by a consumer.
3. The method of claim 2, wherein before synchronizing the data in the Oracle database to the in-memory database in a CtoB manner, further comprising:
acquiring service data of mobile communication service handled by a user, wherein the service data comprises user information of the user, service information of the mobile communication service and group network group identification corresponding to the user;
storing the service data into an Oracle database corresponding to the signed province of the user;
and synchronizing the service data stored in the Oracle database corresponding to the signed province of the user to other Oracle databases, wherein the signed provinces corresponding to different Oracle databases are different.
4. The method according to claim 3, wherein the storing the service data into an Oracle database corresponding to the signed province of the user comprises:
carrying out format conversion on the service data through a Kafka data processing module of the Kafka card to obtain converted service data;
analyzing the converted service data to obtain analyzed service data;
and storing the analyzed service data to an Oracle database corresponding to the signed province of the user.
5. The method of claim 4, further comprising:
acquiring abnormal-state business data in the Oracle database, wherein the abnormal-state business data comprises business data which fails in synchronization;
and synchronizing the service data in the abnormal state to the other Oracle databases.
6. A traffic processing apparatus, comprising:
the first acquisition module is used for acquiring a call record, wherein the call record comprises calling user information, called user information and call duration;
a second obtaining module, configured to obtain, according to the information of the calling subscriber, a first group network group identifier corresponding to the calling subscriber from a memory database, and obtain, according to the information of the called subscriber, a second group network group identifier corresponding to the called subscriber from the memory database, where the memory database includes subscriber information of all-network subscribers and group network group identifiers corresponding to the subscriber information;
the charging module is used for carrying out charging-free processing according to the call duration and the tariff package corresponding to the group network group when the first group network group identifier and the second group network group identifier are identifiers of the same group network group;
the system comprises a first synchronization module, a second synchronization module and a third synchronization module, wherein the first synchronization module is used for synchronizing data in an Oracle database to the memory database, the Oracle database comprises user information of all users signing provinces and group network group identifications corresponding to the user information, the memory database is corresponding to a charging side system, and the Oracle database is corresponding to a business side;
and the second synchronization module is used for synchronizing the data stored in the Oracle database to the backup database corresponding to the domain where the Oracle database is located to perform data backup, so that when the Oracle database fails, the data is acquired from the backup database corresponding to the domain where the Oracle database is located, and the data is recovered.
7. A server, comprising: a processor and a memory;
the memory stores program instructions;
the processor executes the program instructions to perform the method of any one of claims 1 to 5.
8. A computer storage medium, characterized in that a program is stored which, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 5.
CN201810883954.XA 2018-08-06 2018-08-06 Service processing method, device and storage medium Active CN108668244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810883954.XA CN108668244B (en) 2018-08-06 2018-08-06 Service processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810883954.XA CN108668244B (en) 2018-08-06 2018-08-06 Service processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN108668244A CN108668244A (en) 2018-10-16
CN108668244B true CN108668244B (en) 2021-05-18

Family

ID=63789313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810883954.XA Active CN108668244B (en) 2018-08-06 2018-08-06 Service processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN108668244B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460841B (en) * 2018-10-29 2022-04-15 中国联合网络通信集团有限公司 User account opening method, system and storage medium
CN111885520A (en) * 2020-07-15 2020-11-03 北京思特奇信息技术股份有限公司 Charging method and system for ultra-large telephone bills

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621748B (en) * 2008-06-30 2015-04-22 中兴通讯股份有限公司 Realization method for mobile virtual private network group business of cross-business control point and device
CN101562759B (en) * 2009-05-26 2011-07-20 中兴通讯股份有限公司 Realization method of intelligent service of mobile virtual special network group and device thereof
CN102131171A (en) * 2010-01-20 2011-07-20 华为技术有限公司 Method and device for realizing cross-regional virtual private network service
CN104378747A (en) * 2013-08-15 2015-02-25 中国移动通信集团公司 Method and device for calling opposite-terminal device with short number

Also Published As

Publication number Publication date
CN108668244A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
US9118779B2 (en) System and method for inbound call billing
CN104410700B (en) Issue method, harassing call hold-up interception method and the system of harassing call list
US10090874B2 (en) System and method for providing service license aggregation across multiple physical and virtual SIM cards
US9332132B1 (en) System and method for reclaiming obligated network resources
CN113453213B (en) Authentication data synchronization method and device
US20120185540A1 (en) Method and Arrangement for Supporting Analysis of Social Networks in a Communication Network
EP2863582B1 (en) Scheduling a device batch reconfiguration event in a network
CN103516759B (en) Cloud system method for managing resource, cloud call center are attended a banquet management method and cloud system
US20220239783A1 (en) Charging and collection function in microservices
CN108668244B (en) Service processing method, device and storage medium
CN108471601B (en) Internetwork settlement method, device, equipment and storage medium
US20220329505A1 (en) Distributed packet capture
US9992659B1 (en) Stream-processing of telecommunication event records
CN106982126B (en) Resource sharing charging method and charging device, and memory bank
CN108834148B (en) 5G-oriented NFV-based fraud telephone handling system and method
CN109246282B (en) Call information storage method and device, storage medium and electronic device
CN102625257A (en) Method and system for realizing information push before call in intelligent network mode
US11870929B2 (en) Telecommunication mediation using blockchain based microservices
CN112769888B (en) Credit investigation data acquisition system and automatic routing method thereof
CN111162920B (en) Ticket processing method and device of Internet of things
CN102131128A (en) Processing method for using uniform account in switchboard service
CN114553740B (en) Method, system, readable storage medium and device for cross-network monitoring
US9729180B2 (en) System and method for providing service license aggregation across multiple device SIM cards
US20220311811A1 (en) Personalized action reminders and dynamic injection of information in a cellular network
CN106201842A (en) A kind of general report method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant