WO2015070564A1 - Service guide synchronization method and system - Google Patents

Service guide synchronization method and system Download PDF

Info

Publication number
WO2015070564A1
WO2015070564A1 PCT/CN2014/075638 CN2014075638W WO2015070564A1 WO 2015070564 A1 WO2015070564 A1 WO 2015070564A1 CN 2014075638 W CN2014075638 W CN 2014075638W WO 2015070564 A1 WO2015070564 A1 WO 2015070564A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
synchronization
information
generating
guide
Prior art date
Application number
PCT/CN2014/075638
Other languages
French (fr)
Chinese (zh)
Inventor
梁文彬
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015070564A1 publication Critical patent/WO2015070564A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware

Definitions

  • a mobile TV is a technology for watching audio and video including a television using a mobile phone.
  • the user can obtain program information of the mobile TV through an SG (Service Guide) provided by the mobile TV service platform.
  • the SG provided by the mobile TV service platform is generated based on the service information such as channels, packages, and programs synchronized by the content providing platform.
  • the SG is regenerated after each synchronization of the business information, so that the end user can obtain the latest business guide.
  • the method for synchronizing and generating the service guide is as follows: (1) After receiving the synchronization message, the service synchronization device synchronizes the service information that needs to be synchronized carried in the message to the database according to a predetermined rule, and the service synchronization device will be successful regardless of whether the service is completely synchronized successfully. Notifying all SG generating devices to regenerate the SG by the message distribution device; (2) After receiving the message sent by the service synchronization device, all the SG generating devices start to preempt the database and the magnetic array resources, and firstly grab the resource generating device A. Set the state of the corresponding resource to the locked state, and set the time point at which to start locking the resource, and then start to verify the accuracy of the data in the database through the data detecting device.
  • the resource lock state is released after the SG is completed, and the other SG generating device is notified by the message distribution device to update the SG for the SG generated by itself.
  • the generating device B that has not preempted the resource will continuously detect the resource lock state through the timer device, and will not end the detection if it receives the updated SG message sent by the other generating device.
  • the generating device B performs the operation of the generating device A, and also generates the SG.
  • the generation server may also handle services such as synchronization, terminal requesting SG, and the like.
  • the generating device that has already seized the resource locks the resource for too long, causing the resource such as the database, the disk, and the memory to be blocked, delaying the response of the server to the user, or not responding to the user request, even worse, even
  • the SG is correctly generated, resulting in the SG being incorrectly acquired by the user so that the correct program cannot be viewed, which seriously affects the user experience.
  • an effective solution has not been proposed yet.
  • the present invention provides a method and system for synchronizing service guides to at least solve the problem that the SG obtained by the user is incorrect and the correct program cannot be viewed.
  • a method for synchronizing a service guide including: the service synchronization device synchronizes the service guide information to a database according to a predetermined synchronization rule; and the service synchronization device acquires a service synchronization result obtained by synchronizing the database according to the service guide information.
  • the service synchronization device generates a service guide (SG) generation message according to the service synchronization result; the service synchronization device notifies the SG generation device to all the SG generation devices to generate a service guide.
  • SG service guide
  • the method before the service synchronization device synchronizes the service guide information to the database according to the predetermined synchronization rule, includes: the service synchronization device receives the synchronization message from the content providing platform, where the synchronization message carries the service guide information, and the type of the synchronization message includes : Synchronize XML messages.
  • the method includes: if the synchronization failure service exists in the service synchronization result, the service synchronization device sends the failure service information of the synchronization failure service to the predetermined receiving address.
  • the service synchronization device sends the successful service information of the synchronization success service to the subscription management device to update the service information, and obtains a new version of the service fragmentation information.
  • the method further includes: the SG generation device generating the service guide includes: the SG generation device acquiring the service fragmentation information from the subscription management device, and from the database Obtain the new version of the service guide fragmentation information; assemble the service fragmentation information and the service guide fragmentation information into the SG information of the corresponding city or region, where the SG information includes: a service guide.
  • the SG generating monitoring device controls the plurality of SG generating devices to complete the generating operation.
  • the process of the SG generation monitoring device controlling the plurality of SG generating devices to complete the generating operation comprises: the SG generating monitoring device, when receiving the generated abnormality information sent by the SG generating device, is responsible for generating the service of the city or region where the SG generating device is located. Guide, and update the business guide to other SG generation devices.
  • the service guide information includes: channel information, preview information, program information, and package information.
  • a synchronization system for a service guide including: a service synchronization device, a database, an SG generation device, an SG generation monitoring device, and a subscription management device, wherein the service synchronization device includes: a synchronization module, setting In order to synchronize the service guide information to the database according to the predetermined synchronization rule; the first obtaining module is configured to obtain a service synchronization result obtained by the database being synchronized according to the service guide information; and the generating module is configured to generate a service guide (SG) according to the service synchronization result. a message; a notification module, configured to notify the SG generation device of the SG generation message to generate a service guide.
  • the service synchronization device includes: a synchronization module, setting In order to synchronize the service guide information to the database according to the predetermined synchronization rule; the first obtaining module is configured to obtain a service synchronization result obtained by the database being synchronized according to the service guide information; and the generating module is configured to generate
  • the service synchronization device further includes: a receiving module, configured to receive a synchronization message from the content providing platform, where the synchronization message carries service guide information, and the type of the synchronization message includes: a synchronization XML message.
  • the service synchronization device further includes: a sending module, configured to send the failed service information of the synchronization failure service to the predetermined receiving address in the case that the synchronization failure service exists in the service synchronization result, and the synchronization success service exists in the service synchronization result
  • the successful service information of the synchronous successful service is sent to the order management device to update the service information, and a new version of the service fragmentation information is obtained.
  • the SG generating apparatus includes: a second obtaining module, configured to acquire service fragmentation information from the subscription management apparatus, and obtain a new version of the service guide fragmentation information from the database; and an assembly module configured to segment the service information and The service guide fragment information is assembled into the SG information of the corresponding city or region, where the SG information includes: a service guide.
  • the SG generating monitoring device controls the plurality of SG generating devices to complete the generating operation.
  • the SG generation monitoring device includes: a processing module configured to: when receiving the generated abnormality information sent by the SG generating device, is responsible for generating a service guide of the city or region where the SG generating device is located, and updating the service guide to other SG generation device.
  • the service guide information includes: channel information, preview information, program information, and package information.
  • the method for generating the service guide solves the problem that the SG obtained by the user in the related art is incorrect to be able to watch the correct program, and the service guide information that ensures that all the content providing platforms are synchronized can be synchronized in time, and Greatly shorten the effect of the time when the mobile terminal updates the business guide.
  • FIG. 1 is a flow chart of a synchronization method of a service guide according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a synchronization system of a service guide according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a synchronization system according to a preferred embodiment of the present invention.
  • FIG. 4 is a flowchart of a process of using a service synchronization apparatus according to a preferred embodiment of the present invention
  • FIG. 5 is a schematic diagram of a framework of a service synchronization apparatus according to a preferred embodiment of the present invention
  • FIG. 6 is based on A schematic diagram of a system for efficient synchronization and generation of a mobile TV service guide of a preferred embodiment of the present invention.
  • the invention relates to the field of television and communication, and can be better applied to the field of synchronous generation of service guides based on digital television and mobile TV.
  • the main purpose of the present invention is to overcome the incomplete information obtained by the mobile TV platform from the content providing platform, and the information generated and updated by the mobile TV platform is large and the time is long, so that the terminal needs to complete the service guide for a long time. defect.
  • the embodiment of the invention provides a synchronization method of a service guide. 1 is a flowchart of a method for synchronizing a service guide according to an embodiment of the present invention. As shown in FIG.
  • the method mainly includes the following steps (step S102-step S108): Step S102, the service synchronization device according to a predetermined synchronization rule
  • the business guide information is synchronized to the database.
  • Step S104 The service synchronization device acquires a service synchronization result obtained by the database being synchronized according to the service guide information.
  • Step S106 The service synchronization device generates a service guide SG to generate a message according to the service synchronization result.
  • Step S108 The service synchronization device notifies all SG generating devices of the SG generation message to generate a service guide.
  • the service synchronization device may synchronize the service guide information to the database according to a predetermined rule, obtain the service synchronization result of the database to generate an SG generation message, and notify the SG generation device to generate an operation guide by using the SG generation message.
  • the service synchronization device may receive the synchronization message from the content providing platform, where the synchronization message carries the service guide information, and the type of the synchronization message may include: synchronizing the XML message.
  • the service synchronization device may send the failure service information of the synchronization failure service to the predetermined reception address; if there is a synchronization success service in the service synchronization result, The service synchronization device may send the successful service information of the synchronization successful service to the subscription management device to update the service information to obtain a new version of the service fragmentation information.
  • the SG generating apparatus after performing step S108, the SG generating apparatus generates a service guide, and the process may be implemented in the following manner: The SG generating apparatus acquires the service fragmentation information from the subscription management apparatus, and acquires a new version from the database.
  • Service guide fragmentation information; the service fragmentation information and the service guide fragmentation information are assembled into the SG information of the corresponding city or region, where the SG information may include: a service guide.
  • the SG generation monitoring device controls the plurality of SG generating devices to complete the generating operation.
  • the process in which the SG generation monitoring device controls the plurality of SG generating devices to complete the generating operation may be implemented by: the SG generating monitoring device is responsible for generating the SG generating device when receiving the generated abnormality information sent by the SG generating device.
  • the service guide information may include: channel information, preview information, program information, and package information.
  • the embodiment of the present invention provides a synchronization system for a service guide, which is used to implement the synchronization method of the service guide provided by the foregoing embodiment.
  • 2 is a schematic structural diagram of a synchronization system of a service guide according to an embodiment of the present invention. As shown in FIG. 2, the system mainly includes: a service synchronization device, a database, an SG generation device, an SG generation monitoring device, and a subscription management device.
  • the service synchronization device may include: a synchronization module 10, configured to synchronize the service guide information to the database according to the predetermined synchronization rule; the first obtaining module 20 is configured to obtain a service synchronization result obtained by the database being synchronized according to the service guide information; 30. Set to generate a service guide SG generation message according to the service synchronization result.
  • the notification module 40 is configured to notify the SG generation apparatus to generate an operation guide for the SG generation message.
  • 3 is a schematic structural diagram of a synchronization system of a service guide according to a preferred embodiment of the present invention. As shown in FIG. 3, in the preferred embodiment, the service synchronization apparatus may further include: a receiving module 50 configured to receive from a content providing platform.
  • the synchronization message where the synchronization message carries the service guide information, and the type of the synchronization message may include: synchronizing the XML message.
  • the service synchronization apparatus may further include: a sending module 60, configured to send the failed service information of the synchronization failure service to the predetermined receiving address in the case that the synchronization failure service exists in the service synchronization result, in the service synchronization If there is a synchronous successful service in the result, the successful service information of the synchronous successful service is sent to the order management device to update the service information, and a new version of the service fragmentation information is obtained.
  • the SG generating apparatus includes: a second obtaining module 70, configured to acquire the service fragmentation information from the subscription management apparatus, and obtain a new version of the service guide fragmentation information from the database; the assembly module 80 is configured to The service fragment information and the service guide fragment information are assembled into the SG information of the corresponding city or region, where the SG information includes: a service guide.
  • the SG generation monitoring apparatus may control the plurality of SG generating apparatuses to complete the generating operation.
  • the SG generation monitoring apparatus may include: a processing module 90 configured to: when receiving the generated abnormality information sent by the SG generation apparatus, be responsible for generating a service guide of a city or an area where the SG generation apparatus is located, and updating the service guide to Other SG generation devices.
  • the service guide information may include: channel information, preview information, program information, and package information.
  • the service synchronization device in the system may parse the synchronized xml file or the xml format content sent by the content providing platform according to a predetermined protocol;
  • the service guide information included in the xml content may be channel information, preview information, Various service guide information such as program information and package information, and the service synchronization device identifier, the resource usage type ("synchronization service"), and the current time stamp are written into the resource usage table, and the content provides the service information carried by the platform message.
  • the service temporary table corresponding to the database is imported in batches, and the database is notified to run the corresponding stored procedure to synchronize the related services.
  • the stored procedure obtains the service data from the corresponding service temporary table, inserts or updates the batch into the corresponding business formal table according to certain rules, and updates.
  • the corresponding version modification number is automatically added, and the corresponding service guide information has been updated.
  • the complete success or partial success or complete failure identifier is returned according to the result, and the business temporary table and the formal table data are compared, and the successfully synchronized business information is marked as success,
  • the service information of the synchronization failure is marked as a failure, and the cause of the failure is further detected, and the reason for the failure is written into the corresponding service information line in the temporary table.
  • the service synchronization result is assembled into an XML format message according to the rule when the synchronization message is received, and the message is passed.
  • the message distribution device sends the content delivery platform. Further, if there is a service that fails to synchronize, the failed service information is sent to the set email address. In practical applications, the type and definition of the service synchronization device can be described in an explicit or implicit manner. In an actual application, the content providing platform initiates the synchronization of the service guide information, and the service synchronization device receives the synchronization message sent by the content providing platform forwarded by the message distribution device, and then performs xml parsing according to a predetermined protocol, and parses and completes the service information carried in the message.
  • the predetermined rule is synchronized to the resource usage table, the temporary business table and the formal business table of the database, and the temporary business table and the formal business table are compared, the reason and the identifier of the synchronization failure are recorded, and the return message is constructed and sent to the content providing platform.
  • the method for generating a service generating device needs to be described and defined, and can be implemented in the following manner:
  • the SG generating device is divided into two types: an SG generating monitoring device and an SG generating device, and the SG generating monitoring device is monitored by the SG server.
  • the SG generating device is an SG server proxy process, and the difference between the two categories is differentiated by configuration, the SG generating device is divided into multiple units, and the SG generating device is optimized according to the city or the region, and the SG generating can be reduced. Time, improve the performance of the SG server, SG generation monitoring device is to ensure the normal execution of SG. In practical applications, the types and definitions of service generation devices can also be described in an explicit or implicit manner.
  • the SG generating device mainly implements an agent generated by the SG, and is responsible for generating SG information of a specific area or city, and is responsible for configuring a specific area or city.
  • the SG generation device After the SG generation device is generated, the SG information of the own server is updated, and the other SG generation device is notified to update the SG information generated by the SG generation device.
  • the SG generation device notifies the SG generation monitoring device if an abnormality occurs, and the SG generation monitoring device receives the abnormality message and then generates the SG generation of the city or region in charge of the SG generation device.
  • the SG generation monitoring device mainly implements monitoring management of the SG generation, and the SG generation monitoring device supports receiving the abnormal information sent by the SG generating device, and relaying the SG generation of the city or region in charge of the SG generating device.
  • the SG generation monitoring device After the SG generation monitoring device generates the SG, the SG information of the own server is updated, and the other SG generating device is notified to update the SG information generated by the SG generating device.
  • the SG generation monitoring device supports a timer monitoring mode, and periodically scans whether there is an SG generating device abnormality through a timer, and determines whether it is necessary to replace the SG generating device to relay the SG.
  • the SG generation monitoring device has an active/standby configuration that supports active/standby switchover. When the SG generates a monitoring device host abnormality, the standby device can automatically switch to the host and complete the function of the SG generation monitoring device host.
  • the method and the system for synchronizing the service guides provided by the foregoing embodiments can solve the problem that the SG obtained by the user is incorrect to be able to view the correct program, and can ensure that the service guide information synchronized by all the content providing platforms can be synchronized in time. And the time to greatly shorten the mobile terminal update business guide.
  • the method and system for synchronizing the service guide provided by the foregoing embodiments are described and illustrated in more detail below with reference to FIG. 4 to FIG. 6 and the preferred embodiment.
  • Step 1 After receiving the synchronization message sent by the content providing platform, the service synchronization device synchronizes the service information carried in the message to the database according to a predetermined rule.
  • Step 2 The service synchronization device returns the return message of the synchronization result to the content providing platform by checking the database and obtaining the result of the synchronization operation. Further, if there is a service that fails to synchronize, the failed service information is sent to the set email address. . After the synchronization device is synchronized, the service synchronization device will notify all SG generation devices through the message distribution device to regenerate the SG. Step 3: If there is a service with successful synchronization, the service synchronization device will notify the order management device to update the service information through the message distribution device, and notify all SG generating devices to regenerate the SG.
  • Step 4 After receiving the message sent by the synchronization device, all the SG generating devices first go to the database to query and obtain the new version of the service fragmentation information, and then assemble the service segment according to the latest version of the service guide fragmentation information acquired by the database.
  • the slice information is written into the shared magnetic array for the SG file of the corresponding city, and the service guide information of the SG is updated after the completion of the service guide information, and the synchronization message is sent to the other SG generating device to update the SG information generated by the SG generating device.
  • the content providing platform initiates service guide information synchronization, and the service synchronization device
  • the xml parsing is performed according to a predetermined protocol, and the parsing is completed, and the service information carried in the message is synchronized to the resource usage table, the temporary service table, and the formal business table of the database according to a predetermined rule, and the temporary service is performed.
  • the table is compared with the formal business table, the reason and identifier of the synchronization failure are recorded, and the return message is constructed and sent to the content providing platform.
  • FIG. 4 is a flowchart of a process of using a service synchronization apparatus according to a preferred embodiment of the present invention. As shown in FIG. 4, the process flow mainly includes: Step S402: The content providing platform initiates service guide information synchronization, and the service synchronization device receives content delivery. Synchronization messages from the platform.
  • Step S404 the service synchronization device parses the synchronized xml file or xml format content sent by the content providing platform according to a predetermined protocol; the service guide information included in the xml content may be channel information, preview information, program information, package information, and the like. Business guide information.
  • Step S406 Write the identifier of the service synchronization device, the resource usage type ("synchronization service"), and the current time stamp to the resource usage table.
  • the service synchronization device implements load balancing by the message distribution device.
  • Step S408 Import the service information carried in the content providing platform message into the service temporary table corresponding to the database in batches.
  • the database is notified to run the corresponding stored procedure to synchronize related services.
  • the stored procedure obtains the service data from the corresponding service temporary table, inserts or updates the data into the corresponding service formal table in batches according to certain rules, and updates the corresponding version modification number automatically. Accumulate, the corresponding service guide information has been updated, and after completion, the full success or partial success or complete failure identifier is returned according to the result.
  • Step S412 After receiving the synchronization result identifier returned by the database, the service synchronization device notifies the database to run the corresponding stored procedure to compare the service temporary table and the official table data.
  • step S418 If the comparison is successful, step S418 is performed, and if the comparison fails, step S414 is performed.
  • Step S414 The stored procedure marks the successfully-synchronized service information as successful in the temporary table, and the failed service information is marked as failed, further detects the failure reason, and writes the failure reason into the corresponding service information line in the temporary table.
  • Step S416 If there is a service that fails to synchronize, send the failed service information to the set email address.
  • Step S418 The service synchronization device acquires the service synchronization result in the service temporary table by using the database processing device, and assembles the service synchronization result into a message in an XML format according to the rule when receiving the synchronization message, and sends the message to the content providing platform through the message distribution device.
  • Step S420 deleting the service information of the current synchronization in the service temporary table.
  • Step S422 after the synchronization device synchronization is completed, the service synchronization device will notify all SG generation devices to regenerate the SG through the message distribution device.
  • the main operations are as follows:
  • the service synchronization device notifies the SG generation device to generate and update the latest SG information, and the hand service synchronization device has obtained the synchronized service guide information from the content providing platform, and the service guide information includes various service guides such as channel information, program information, and package. information.
  • the SG generating device is divided into two types: an SG generating monitoring device and an SG generating device.
  • the SG generating monitoring device is an SG server monitoring process, and the SG generating device is an SG server proxy process.
  • the difference between the two categories is configured through a configuration file, SG.
  • the generation device is divided into multiple units, and the optimized design of multiple SG generation devices according to the city or region can reduce the SG generation time and improve the performance of the SG server, and the SG generation monitoring device ensures the normal execution of the SG generation.
  • the specific functions of the SG generating apparatus and the SG generating monitoring apparatus are described below in conjunction with the framework of the service synchronization apparatus shown in FIG. 5.
  • FIG. 5 The specific functions of the SG generating apparatus and the SG generating monitoring apparatus are described below in conjunction with the framework of the service synchronization apparatus shown in FIG. 5.
  • the SG generation device mainly implements the agent generated by the SG, and mainly includes the following functions: (1)
  • the SG generating device N is responsible for generating SG information for a specific area or city, and is responsible for configuring a specific area or city.
  • the SG information of the own server is updated, and the other SG generating device is notified to update the SG information generated by the SG generating device.
  • the SG generating device N notifies the SG to generate a monitoring device if an abnormality occurs, and the SG generating monitoring device receives the abnormality message and then generates the SG generation of the city or region in charge of the SG generating device.
  • the SG generation monitoring device mainly implements the monitoring management of the SG generation, and mainly includes the following functions:
  • the SG generating device N transmitted by the SG generating device Upon receiving the abnormality information, the SG generating device N transmitted by the SG generating device generates a SG for the city or region in charge of the SG generating device. (2) Send SG monitor generation After the SG is completed, the SG information of the server is updated, and the other SG generating device is notified to update the SG information generated by the SG generating device.
  • the SG generation monitoring device supports the timer monitoring mode, and periodically checks whether there is an SG generating device abnormality through the timer, and determines whether it is necessary to replace the SG generating device to generate the SG.
  • FIG. 6 is a schematic diagram of a system for efficiently synchronizing and generating a mobile phone television service guide according to a preferred embodiment of the present invention.
  • the foregoing step 1 specifically includes the following steps: Step S61: Synchronize an XML message, and the content providing platform initiates service guide information.
  • Step S6101 Synchronize XML message: The message distribution device receives the synchronization message sent by the content providing platform and forwards it to the service synchronization device.
  • Step S6102 Synchronize the service information in the XML message to the database: the service synchronization device parses the synchronized xml file or xml format content sent by the content providing platform according to a predetermined protocol; the service guide information included in the xml content may be channel information. , various information such as preview information, program information, package information, etc.
  • Step S62 Acquire a synchronization result.
  • the service synchronization device After receiving the synchronization result identifier returned by the database, the service synchronization device notifies the database to run the corresponding stored procedure to compare the service temporary table and the formal table data, and the storage process is in the temporary table.
  • the service information of the synchronization success is marked as successful, the service information of the synchronization failure is marked as failure, the cause of the failure is further detected, and the reason for the failure is written into the corresponding service information line in the temporary table.
  • Step S6201 assembling the synchronization result into an XML message: the service synchronization device acquires the service synchronization result in the service temporary table by using the database processing device, and assembles the service synchronization result into the XML format message according to the rule when receiving the synchronization message.
  • Step S6202 Synchronize the result, send the message to the content providing platform through the message distributing device; Step S6203, synchronize the result, and further, if there is a service that fails to synchronize, send the failed service information to the set email address.
  • step 3 specifically includes the following steps: Step S63: Update the service, and if the order management device receives the request for updating the service sent by the message distribution device, the order management device updates the service information.
  • Step S6301 Obtain updated service information: The order management device queries the database for the updated latest service information.
  • Step 4 above specifically includes the following steps: Step S64: Generate SG: After the synchronization device is synchronized, the service synchronization device notifies all SG generation devices to regenerate the SG through the message distribution device.
  • Step S6401 obtaining a new version of the service fragmentation information: after receiving the SG generation message sent by the synchronization device, all the SG generation devices first go to the database to query and obtain a new version of the service fragmentation information;
  • Step S6402 the assembly service fragmentation information is written into the shared magnetic array for the corresponding city SG file: all the SG generation devices first go to the database to query and obtain the new version of the service fragmentation information, and then according to the latest version of the service guide obtained by the database.
  • the information of the assembled service fragment is written into the shared magnetic array for the SG file of the corresponding city, and the service guide information of the SG is updated after the completion of the service guide information.
  • step S6403 the SG generating device sends a synchronization message to the other SG generating device to update.
  • Step S6404 If the SG generating apparatus receives the synchronization request of the other SG generating apparatus, the SG generating device reads the SG information generated by the counterpart SG generating apparatus, and updates the local SG information to the local SG to form the latest SG information;
  • Step S6406 If the SG generating device receives the synchronization request of the other SG generation monitoring device, the reading SG generation monitoring device is completed.
  • the SG information is updated to the local, so that the local SG constitutes the latest SG information.
  • the SG generating apparatus notifies the order management apparatus that there is an update service, and if the service update apparatus receives the service update message, the service update apparatus goes to the database to update the latest service, and the SG generation monitoring has completed the latest version of the SG update at this time. ready.
  • Step S6408 The SG generating apparatus receives the SG request message sent by the message distributing apparatus, and the SG generating apparatus also supports the distribution of the SG, and supports the latest SG request sent by the message distributing apparatus.
  • Step S6409 The SG generating device returns the latest SG update content in the local area in response to the SG request message sent by the message distributing device.
  • software is also provided for performing the technical solutions described in the above embodiments and preferred embodiments.
  • a storage medium is provided, the software being stored, including but not limited to: an optical disk, a floppy disk, a hard disk, a rewritable memory, and the like.
  • the method and system for efficiently synchronizing and generating service guides provided by the embodiments of the present invention process the service guide information, which can overcome the content provided by the mobile TV platform
  • the platform synchronization obtains the current service guide information is incomplete, and the service guide information that ensures that all the content providing platforms are synchronized can be synchronized in time, the information is not lost, and the performance of the synchronization device is greatly improved.
  • the mobile TV platform SG generates The application of the method and device can also solve the problem well.
  • the new business guide has a large amount of information and a long time, which greatly shortens the time for the mobile terminal to update the business guide, which improves the user experience.
  • the technical solution provided by the present invention can prevent the mobile TV platform from obtaining the current service guide information from the content providing platform synchronously, and ensuring that all the content providing platform synchronization service guide information can be synchronized in time and information is not lost. Shorten the time for the mobile terminal to update the business guide.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed are a service guide (SG) synchronization method and system, the method comprising: a service synchronization device synchronizes SG information to a database according to a predetermined synchronization rule; the service synchronization device acquires a service synchronization result obtained via synchronization of the database according to the SG information; the service synchronization device generates an SG generation message based on the service synchronization result; and the service synchronization device notifies all SG generation devices of the SG generation message to generate an SG. The present invention ensures that all SG information to be synchronized by a content providing platform is timely synchronized, and greatly shortens the update of the SG by a mobile phone terminal.

Description

业务指南的同步方法及系统  Business guide synchronization method and system
技术领域 本发明涉及通信领域, 具体而言, 涉及一种业务指南的同步方法及系统。 背景技术 手机电视是利用手机观看包括电视等音视频的技术, 用户可以通过手机电视业务 平台提供的 SG (Service Guide, 业务指南) 获得手机电视的节目信息。 手机电视业务平台提供的 SG是根据内容提供平台同步过来的频道、 套餐、 节目 等业务信息生成的。每次同步业务信息后就要重新生成 SG, 以便终端用户获取最新的 业务指南。 目前同步并生成业务指南的方法是: (1 ) 业务同步装置接收到同步消息后把消息 中携带的需要同步的业务信息按预定规则同步到数据库,无论业务是否完全同步成功, 业务同步装置都将通过消息分发装置通知所有 SG生成装置重新生成 SG; (2)所有的 SG生成装置在接收到业务同步装置发来的消息后, 开始抢占数据库和磁阵资源, 最先 抢到资源的生成装置 A设置对应资源的状态为锁定状态, 并设置开始锁定资源的时间 点, 然后开始通过数据检测装置检验数据库中的数据准确性, 通过验证后开始取数据 库数据到内存按预定规范生成 SG文件,并写入共享磁阵,在生成完成 SG后会解除资 源锁定状态, 并通过消息分发装置通知其他 SG生成装置更新 SG为自己生成的 SG。 在生成装置 A生成 SG期间, 没有抢占到资源的生成装置 B会通过定时器装置不停地 去检测资源锁状态, 如果接收到其他生成装置发来的更新 SG消息, 才会结束检测并 且不会去生成 SG, 只会把内存中的 SG更新为消息中携带的 SG信息; 如果在接收到 更新 SG消息前检测到资源锁被解除, 或者资源锁加锁的时间间隔超过设定的时长, 该生成装置 B会进行生成装置 A—样的操作, 也会进行 SG的生成。 随着开通手机电视业务的城市数量的增加, 生成所有城市业务指南的数据量越来 越大, 生成的时间越来越长, 目前全国已经将近 400个城市开通手机电视业务, 如此 多城市的业务指南更新都是串行同步并生成的, 不支持并发同步和生成, 导致从 ESG 同步到实际下发给终端生效业务指南更新的时间较长, 用户体验不佳。 另外, 串行同 步的方式也会造成一部分从 ESG发送过来的业务指南信息没有及时同步,造成数据丢 失。 而且在生成 SG过程中, 生成服务器可能还要处理同步、 终端请求 SG等业务。 按照现有的处理方法, 由于已经抢占到资源的生成装置锁定资源时间过长, 造成 数据库、 磁盘、 内存等资源阻塞, 延迟服务器响应用户的时间, 或不响应用户请求, 更严重时甚至导致无法正确生成完成 SG, 导致此后用户获取的 SG不正确以致无法收 看正确的节目, 严重影响用户体验。 针对相关技术中用户获取的 SG不正确导致无法收看正确节目的问题, 目前尚未 提出有效的解决方案。 发明内容 本发明提供了一种业务指南的同步方法及系统, 以至少解决用户获取的 SG不正 确导致无法收看正确节目的问题。 根据本发明的一个方面, 提供了一种业务指南的同步方法, 包括: 业务同步装置 按照预定同步规则将业务指南信息同步至数据库; 业务同步装置获取数据库根据业务 指南信息进行同步得到的业务同步结果; 业务同步装置根据业务同步结果生成业务指 南 (SG) 生成消息; 业务同步装置将 SG生成消息通知给所有的 SG生成装置以生成 业务指南。 优选地, 在业务同步装置按照预定同步规则将业务指南信息同步至数据库之前, 包括: 业务同步装置接收来自内容提供平台的同步消息, 其中, 同步消息中携带有业 务指南信息, 同步消息的类型包括: 同步 XML消息。 优选地, 在业务同步装置获取数据库根据业务指南信息进行同步得到的业务同步 结果之后, 包括: 如果业务同步结果中存在同步失败业务, 业务同步装置将同步失败 业务的失败业务信息发送至预定接收地址; 如果业务同步结果中存在同步成功业务, 业务同步装置将同步成功业务的成功业务信息发送给订购管理装置以进行业务信息的 更新, 得到新版本的业务分片信息。 优选地,在业务同步装置将 SG生成消息通知给所有的 SG生成装置之后,还包括: SG生成装置生成业务指南的过程包括: SG生成装置从订购管理装置获取业务分片信 息, 并从数据库中获取新版本的业务指南分片信息; 将业务分片信息和业务指南分片 信息组装为相应城市或区域的 SG信息, 其中, SG信息包括: 业务指南。 优选地, 在 SG生成装置生成业务指南的过程, SG生成监控装置控制多个 SG生 成装置完成生成操作。 优选地, SG生成监控装置控制多个 SG生成装置完成生成操作的过程包括: SG 生成监控装置在接收到 SG生成装置发送的生成异常信息的情况下,负责生成 SG生成 装置所在城市或区域的业务指南, 并将业务指南更新至其他的 SG生成装置。 优选地, 业务指南信息包括: 频道信息、 预览信息、 节目信息以及套餐信息。 根据本发明的另一方面, 提供了一种业务指南的同步系统, 包括: 业务同步装置、 数据库、 SG生成装置、 SG生成监控装置以及订购管理装置, 其中, 业务同步装置包 括: 同步模块, 设置为按照预定同步规则将业务指南信息同步至数据库; 第一获取模 块, 设置为获取数据库根据业务指南信息进行同步得到的业务同步结果; 生成模块, 设置为根据业务同步结果生成业务指南 (SG) 生成消息; 通知模块, 设置为将 SG生 成消息通知给所有的 SG生成装置以生成业务指南。 优选地, 业务同步装置还包括: 接收模块, 设置为接收来自内容提供平台的同步 消息, 其中, 同步消息中携带有业务指南信息, 同步消息的类型包括: 同步 XML消 息。 优选地, 业务同步装置还包括: 发送模块, 设置为在业务同步结果中存在同步失 败业务的情况下, 将同步失败业务的失败业务信息发送至预定接收地址, 在业务同步 结果中存在同步成功业务的情况下, 将同步成功业务的成功业务信息发送给订购管理 装置以进行业务信息的更新, 得到新版本的业务分片信息。 优选地, SG生成装置包括: 第二获取模块, 设置为从订购管理装置获取业务分片 信息, 并从数据库中获取新版本的业务指南分片信息; 组装模块, 设置为将业务分片 信息和业务指南分片信息组装为相应城市或区域的 SG信息, 其中, SG信息包括: 业 务指南。 优选地, 在 SG生成装置生成业务指南的过程, SG生成监控装置控制多个 SG生 成装置完成生成操作。 优选地, SG生成监控装置包括: 处理模块, 设置为在接收到 SG生成装置发送的 生成异常信息的情况下, 负责生成 SG生成装置所在城市或区域的业务指南, 并将业 务指南更新至其他的 SG生成装置。 优选地, 业务指南信息包括: 频道信息、 预览信息、 节目信息以及套餐信息。 通过本发明,采用由业务同步装置按照预定规则将业务指南信息同步至数据库后, 获取数据库的业务同步结果以生成 SG生成消息, 再将 SG生成消息通知给所有的 SG 生成装置以生成业务指南的方式, 解决了相关技术中用户获取的 SG不正确以致无法 收看正确的节目的问题, 达到了保证所有的内容提供平台同步的要业务指南信息能够 及时地完成同步, 以及极大缩短手机终端更新业务指南的时间的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中- 图 1是根据本发明实施例的业务指南的同步方法流程图; 图 2是根据本发明实施例的业务指南的同步系统的结构示意图; 图 3是根据本发明优选实施例的业务指南的同步系统的结构示意图; 图 4 是根据本发明优选实施例的使用业务同步装置的处理流程图; 图 5是根据本发明优选实施例的业务同步装置的框架示意图; 以及 图 6 是根据本发明优选实施例的手机电视业务指南高效同步与生成的系统示意 图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 本发明涉及电视和通信领域, 可以更好地适用于基于数字电视和手机电视的业务 指南同步生成领域。 本发明提出的主要目的在于克服手机电视平台从内容提供平台同 步获得当前业务指南信息不完整和手机电视平台生成并更新业务指南的信息量大、 时 间长以导致终端更新业务指南需要完成时间长等缺陷。 本发明实施例提供了一种业务指南的同步方法。 图 1是根据本发明实施例的业务 指南的同步方法流程图,如图 1所示,该方法主要包括以下步骤(步骤 S 102-步骤 S 108 ): 步骤 S102, 业务同步装置按照预定同步规则将业务指南信息同步至数据库。 步骤 S104,业务同步装置获取数据库根据业务指南信息进行同步得到的业务同步 结果。 步骤 S106, 业务同步装置根据业务同步结果生成业务指南 SG生成消息。 步骤 S108 , 业务同步装置将 SG生成消息通知给所有的 SG生成装置以生成业务 指南。 通过上述各个步骤, 业务同步装置可以按照预定规则将业务指南信息同步至数据 库,获取数据库的业务同步结果以生成 SG生成消息,再将 SG生成消息通知给所有的 SG生成装置以生成业务指南,通过这种方式, 可以保证所有的内容提供平台同步的要 业务指南信息能够及时地完成同步, 以及极大缩短手机终端更新业务指南的时间的效 果。 在本实施例中,在执行步骤 S102之前,业务同步装置可以接收来自内容提供平台 的同步消息, 其中, 同步消息中携带有业务指南信息, 同步消息的类型可以包括: 同 步 XML消息。 在本实施例中, 在执行步骤 S104之后, 如果业务同步结果中存在同步失败业务, 业务同步装置可以将同步失败业务的失败业务信息发送至预定接收地址; 如果业务同 步结果中存在同步成功业务, 业务同步装置可以将同步成功业务的成功业务信息发送 给订购管理装置以进行业务信息的更新, 得到新版本的业务分片信息。 在本实施例中, 在执行步骤 S108之后, 由 SG生成装置生成业务指南, 该过程可 以通过以下的方式实现: SG生成装置从订购管理装置获取业务分片信息,并从数据库 中获取新版本的业务指南分片信息; 将业务分片信息和业务指南分片信息组装为相应 城市或区域的 SG信息, 其中, SG信息可以包括: 业务指南。 在本实施例中, 在 SG生成装置生成业务指南的过程中, SG生成监控装置控制多 个 SG生成装置完成生成操作。 具体地, SG生成监控装置控制多个 SG生成装置完成 生成操作的过程可以通过以下方式来实施: SG生成监控装置在接收到 SG生成装置发 送的生成异常信息的情况下, 负责生成 SG生成装置所在城市或区域的业务指南, 并 将业务指南更新至其他的 SG生成装置。 在本实施例中, 业务指南信息可以包括: 频道信息、 预览信息、 节目信息以及套 餐信息。 本发明实施例提供了一种业务指南的同步系统, 该系统用以实现上述实施例提供 的业务指南的同步方法。 图 2是根据本发明实施例的业务指南的同步系统的结构示意 图, 如图 2所示, 该系统主要包括: 业务同步装置、 数据库、 SG生成装置、 SG生成 监控装置以及订购管理装置。 其中, 业务同步装置可以包括: 同步模块 10, 设置为按 照预定同步规则将业务指南信息同步至数据库; 第一获取模块 20, 设置为获取数据库 根据业务指南信息进行同步得到的业务同步结果; 生成模块 30, 设置为根据业务同步 结果生成业务指南 SG生成消息; 通知模块 40, 设置为将 SG生成消息通知给所有的 SG生成装置以生成业务指南。 图 3是根据本发明优选实施例的业务指南的同步系统的结构示意图,如图 3所示, 在该优选实施例中, 业务同步装置还可以包括: 接收模块 50, 设置为接收来自内容提 供平台的同步消息, 其中, 同步消息中携带有业务指南信息, 同步消息的类型可以包 括: 同步 XML消息。 在该优选实施例中, 业务同步装置还可以包括: 发送模块 60, 设置为在业务同步 结果中存在同步失败业务的情况下, 将同步失败业务的失败业务信息发送至预定接收 地址, 在业务同步结果中存在同步成功业务的情况下, 将同步成功业务的成功业务信 息发送给订购管理装置以进行业务信息的更新, 得到新版本的业务分片信息。 在该优选实施例中, SG生成装置包括: 第二获取模块 70, 设置为从订购管理装 置获取业务分片信息, 并从数据库中获取新版本的业务指南分片信息; 组装模块 80, 设置为将业务分片信息和业务指南分片信息组装为相应城市或区域的 SG信息, 其中, SG信息包括: 业务指南。 在该优选实施例中, 在 SG生成装置生成业务指南的过程中, SG生成监控装置可 以控制多个 SG生成装置完成生成操作。 具体地, SG生成监控装置可以包括: 处理模 块 90, 设置为在接收到 SG生成装置发送的生成异常信息的情况下, 负责生成 SG生 成装置所在城市或区域的业务指南, 并将业务指南更新至其他的 SG生成装置。 在图 2所示的实施例以及图 3所示的优选实施例中, 业务指南信息可以包括: 频 道信息、 预览信息、 节目信息以及套餐信息。 为了对图 2或图 3所示的业务指南的同步系统有更进一步的了解, 下面结合实际 应用中该系统中的各个组成部分 (业务同步装置、 数据库、 SG生成装置、 SG生成监 控装置以及订购管理装置) 所具备的功能进行进一步的描述: 在实际应用中, 该系统中的业务同步装置可以按照预定协议对内容提供平台发来 的同步过来的 xml文件或 xml格式内容进行解析; xml内容包括的业务指南信息可以 是频道信息、 预览信息、 节目信息、 套餐信息等各种业务指南信息, 将业务同步装置 的标识、 资源使用类型 ("同步业务") 及当前时间戳写入到资源使用表中, 并将内容 提供平台消息携带的业务信息批量导入数据库对应的业务临时表, 通知数据库运行相 应存储过程同步相关业务, 存储过程将从对应的业务临时表中获取业务数据, 按照一 定的规则批量插入或更新到对应业务正式表中, 并更新相应的版本修改号自动累加, 标识对应的业务指南信息已经进行更新, 完成后根据结果返回完全成功或部分成功或 完全失败标识, 对比业务临时表和正式表数据, 把同步成功的业务信息标记为成功, 同步失败的业务信息标记为失败, 进一步检测失败原因, 并把失败原因写入临时表中 对应业务信息行; 将业务同步结果按接收同步消息时的规则组装为 XML格式的消息, 将该消息通过消息分发装置发送给内容提供平台, 进一步地,如果有同步失败的业务, 将失败的业务信息发送给设定的电子邮箱。 在实际应用中,业务同步装置的类型以及定义可以以显式或隐性的方式进行描述。 在实际应用中, 内容提供平台发起业务指南信息同步, 业务同步装置接收到消息 分发装置转发的内容提供平台发来的同步消息后按照预定协议进行 xml解析, 解析完 成把消息中携带的业务信息按预定规则同步到数据库的资源使用表、 临时业务表和正 式业务表, 并对临时业务表和正式业务表进行比较, 记录同步失败的原因和标识, 并 构建返回消息, 发送给内容提供平台。 同时, 对于同步失败的情况, 需通知到电子邮 箱, 最后再通知 SG生成装置去生成最新的 SG。 在实际应用中, 需要对业务生成装置的生成方法进行描述和定义, 可以通过以下 方式来实现: 将 SG生成装置划分为 SG生成监控装置和 SG生成装置两类, SG生成 监控装置为 SG服务器监控进程, SG生成装置为 SG服务器代理进程, 两种类别的区 别通过配置来区分, SG生成装置分成多台来进行, 多台 SG生成装置按照城市或者区 域进行生成的优化设计, 可以减少 SG生成的时间, 提升 SG服务器的性能, SG生成 监控装置则是保证 SG生成的正常进行。 在实际应用中, 业务生成装置的类型以及定义同样可以以显式或隐性的方式进行 描述。 SG生成装置主要实现 SG生成的代理, 负责特定区域或者城市的 SG信息的生 成, 负责特定区域或者城市可以配置。 SG 生成装置生成完成之后, 更新本服务器的 SG信息, 并通知其他 SG生成装置来更新本 SG生成装置生成的 SG信息。 SG生成装 置如果出现异常, 则通知 SG生成监控装置, SG生成监控装置接受到异常消息之后接 力生成 SG生成装置负责的城市或者区域的 SG生成。 在实际应用中, SG生成监控装置主要实现 SG生成的监控管理, SG生成监控装 置支持接收 SG生成装置发送的异常信息,接力生成 SG生成装置负责的城市或者区域 的 SG生成。 SG生成监控装置生成 SG完成后, 更新本服务器的 SG信息, 并通知其 他 SG生成装置来更新本 SG生成装置生成的 SG信息。 SG生成监控装置支持定时器 监控方式, 通过定时器来定时扫描是否有 SG生成装置异常, 并决定是否需要顶替 SG 生成装置来接力生成 SG。 SG生成监控装置有主备配置, 支持主备倒换, 当 SG生成 监控装置主机出现异常情况的时候, 备机能自动切换成主机并正常完成 SG生成监控 装置主机的功能。 采用上述实施例提供的业务指南的同步方法及系统, 能够解决用户获取的 SG不 正确以致无法收看正确的节目的问题, 可以保证所有的内容提供平台同步的要业务指 南信息能够及时地完成同步, 以及极大缩短手机终端更新业务指南的时间。 下面结合图 4至图 6以及优选实施例对上述实施例提供的业务指南的同步方法及 系统进行更加详细的描述和说明。 首先, 对本优选实施例的实施过程进行简要说明: 步骤一、 业务同步装置通过消息分发装置接收到内容提供平台发来的同步消息后 把消息中携带的业务信息按预定规则同步到数据库。 步骤二、 业务同步装置通过检查数据库并获取同步操作的结果, 构造同步结果的 返回消息返回给内容提供平台, 进一步地, 如果有同步失败的业务, 将失败的业务信 息发送给设定的电子邮箱。 同步装置同步完成之后, 业务同步装置将通过消息分发装 置通知所有 SG生成装置去重新生成 SG。 步骤三、 如果有同步成功的业务, 业务同步装置将通过消息分发装置通知订购管 理装置更新业务信息, 同时通知所有 SG生成装置去重新生成 SG。 步骤四、 所有的 SG生成装置在接收到同步装置发来的消息后, 首先去数据库查 询并获取新版本的业务分片信息、 接着根据数据库获取的最新版本的业务指南分片信 息, 组装业务分片信息为对应城市的 SG文件写入共享磁阵, 生成完成业务指南信息 之后更新本 SG的业务指南信息, 再发送同步消息给其他的 SG生成装置来更新本 SG 生成装置生成的 SG信息, 也同时发送同步消息给其他的 SG生成监控装置来更新本 SG生成装置生成的 SG信息, 并做好接收其他 SG生成装置生成完成之后发送的同步 请求, 如果收到请求, 则读取对方 SG生成装置生成完成的 SG信息, 并更新到本地, 通知更新业务到订购管理装置, 这就已经做好了 SG信息的准备, 随时接受消息分发 装置发送过来的 SG请求消息, 返回最新的 SG更新内容。 以下将重点结合图 4至图 6对本优选实施例的实施过程进行详细描述: 对于手机电视平台侧的业务同步装置而言, 其主要实现以下过程: 内容提供平台发起业务指南信息同步, 业务同步装置接收到内容提供平台发来的 同步消息后按照预定协议进行 xml解析, 解析完成把消息中携带的业务信息按预定规 则同步到数据库的资源使用表、 临时业务表和正式业务表, 并对临时业务表和正式业 务表进行比较, 记录同步失败的原因和标识, 并构建返回消息, 发送给内容提供平台, 同时, 对于同步失败的情况, 需通知到电子邮箱, 最后再通知 SG生成装置去生成最 新的 SG。 图 4 是根据本发明优选实施例的使用业务同步装置的处理流程图, 如图 4所示, 该处理流程主要包括: 步骤 S402, 内容提供平台发起业务指南信息同步, 业务同步装置接收到内容提供 平台发来的同步消息。 步骤 S404, 业务同步装置按照预定协议对内容提供平台发来的同步过来的 xml 文件或 xml格式内容进行解析; xml内容包括的业务指南信息可以是频道信息、 预览 信息、 节目信息、 套餐信息等各种业务指南信息。 业务同步装置解析完成后将解析出来的各类业务信息同步到数据库, 具体包括: 步骤 S406, 将业务同步装置的标识、 资源使用类型 ("同步业务") 及当前时间戳 写入到资源使用表中, 多个内容提供平台触发业务同步的时候, 业务同步装置由消息 分发装置实现负载均衡。 步骤 S408,将内容提供平台消息携带的业务信息批量导入数据库对应的业务临时 表。 步骤 S410, 通知数据库运行相应存储过程同步相关业务, 存储过程将从对应的业 务临时表中获取业务数据, 按照一定的规则批量插入或更新到对应业务正式表中, 并 更新相应的版本修改号自动累加, 标识对应的业务指南信息已经进行更新, 完成后根 据结果返回完全成功或部分成功或完全失败标识。 步骤 S412, 业务同步装置接收到数据库返回的同步结果标识后, 通知数据库运行 相应存储过程对比业务临时表和正式表数据, 若比对成功, 执行步骤 S418 , 若比对失 败, 则执行步骤 S414。 步骤 S414, 存储过程在临时表中把同步成功的业务信息标记为成功, 同步失败的 业务信息标记为失败, 进一步检测失败原因, 并把失败原因写入临时表中对应业务信 息行。 步骤 S416, 如果有同步失败的业务, 将失败的业务信息发送给设定的电子邮箱。 步骤 S418 , 业务同步装置通过数据库处理装置获取业务临时表中的业务同步结 果, 将业务同步结果按接收同步消息时的规则组装为 XML格式的消息, 将该消息通 过消息分发装置发送给内容提供平台。 步骤 S420, 把业务临时表中本次同步的业务信息删除。 步骤 S422, 同步装置同步完成之后, 业务同步装置将通过消息分发装置通知所有 SG生成装置去重新生成 SG。 对于手机电视平台侧的 SG生成装置和 SG生成监控装置而言,其主要执行以下操 作: TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a method and system for synchronizing service guides. BACKGROUND OF THE INVENTION A mobile TV is a technology for watching audio and video including a television using a mobile phone. The user can obtain program information of the mobile TV through an SG (Service Guide) provided by the mobile TV service platform. The SG provided by the mobile TV service platform is generated based on the service information such as channels, packages, and programs synchronized by the content providing platform. The SG is regenerated after each synchronization of the business information, so that the end user can obtain the latest business guide. The method for synchronizing and generating the service guide is as follows: (1) After receiving the synchronization message, the service synchronization device synchronizes the service information that needs to be synchronized carried in the message to the database according to a predetermined rule, and the service synchronization device will be successful regardless of whether the service is completely synchronized successfully. Notifying all SG generating devices to regenerate the SG by the message distribution device; (2) After receiving the message sent by the service synchronization device, all the SG generating devices start to preempt the database and the magnetic array resources, and firstly grab the resource generating device A. Set the state of the corresponding resource to the locked state, and set the time point at which to start locking the resource, and then start to verify the accuracy of the data in the database through the data detecting device. After the verification, start to take the database data to the memory to generate the SG file according to the predetermined specification, and write After the shared magnetic array is entered, the resource lock state is released after the SG is completed, and the other SG generating device is notified by the message distribution device to update the SG for the SG generated by itself. During the generation of the SG by the generating device A, the generating device B that has not preempted the resource will continuously detect the resource lock state through the timer device, and will not end the detection if it receives the updated SG message sent by the other generating device. To generate the SG, only the SG in the memory is updated to the SG information carried in the message; if it is detected that the resource lock is released before the update SG message is received, or the time interval between the resource lock and the lock exceeds the set duration, The generating device B performs the operation of the generating device A, and also generates the SG. With the increase in the number of cities that have opened mobile TV services, the amount of data for generating all city business guides is getting larger and larger, and the generation time is getting longer and longer. At present, nearly 400 cities in the country have opened mobile TV services, so many cities have business. The guide updates are serially synchronized and generated. Concurrent synchronization and generation are not supported. As a result, the time from the ESG synchronization to the actual delivery of the service guide update to the terminal is longer and the user experience is poor. In addition, the serial synchronization method will also cause some of the service guide information sent from the ESG to be not synchronized in time, resulting in data loss. Moreover, in the process of generating the SG, the generation server may also handle services such as synchronization, terminal requesting SG, and the like. According to the existing processing method, because the generating device that has already seized the resource locks the resource for too long, causing the resource such as the database, the disk, and the memory to be blocked, delaying the response of the server to the user, or not responding to the user request, even worse, even The SG is correctly generated, resulting in the SG being incorrectly acquired by the user so that the correct program cannot be viewed, which seriously affects the user experience. In view of the problem that the SG obtained by the user in the related art is incorrect and the correct program cannot be viewed, an effective solution has not been proposed yet. SUMMARY OF THE INVENTION The present invention provides a method and system for synchronizing service guides to at least solve the problem that the SG obtained by the user is incorrect and the correct program cannot be viewed. According to an aspect of the present invention, a method for synchronizing a service guide is provided, including: the service synchronization device synchronizes the service guide information to a database according to a predetermined synchronization rule; and the service synchronization device acquires a service synchronization result obtained by synchronizing the database according to the service guide information. The service synchronization device generates a service guide (SG) generation message according to the service synchronization result; the service synchronization device notifies the SG generation device to all the SG generation devices to generate a service guide. Preferably, before the service synchronization device synchronizes the service guide information to the database according to the predetermined synchronization rule, the method includes: the service synchronization device receives the synchronization message from the content providing platform, where the synchronization message carries the service guide information, and the type of the synchronization message includes : Synchronize XML messages. Preferably, after the service synchronization device obtains the service synchronization result obtained by synchronizing the database according to the service guide information, the method includes: if the synchronization failure service exists in the service synchronization result, the service synchronization device sends the failure service information of the synchronization failure service to the predetermined receiving address. If the synchronization success service exists in the service synchronization result, the service synchronization device sends the successful service information of the synchronization success service to the subscription management device to update the service information, and obtains a new version of the service fragmentation information. Preferably, after the service synchronization device notifies the SG generation device to all the SG generation devices, the method further includes: the SG generation device generating the service guide includes: the SG generation device acquiring the service fragmentation information from the subscription management device, and from the database Obtain the new version of the service guide fragmentation information; assemble the service fragmentation information and the service guide fragmentation information into the SG information of the corresponding city or region, where the SG information includes: a service guide. Preferably, in the process of generating the service guide by the SG generating device, the SG generating monitoring device controls the plurality of SG generating devices to complete the generating operation. Preferably, the process of the SG generation monitoring device controlling the plurality of SG generating devices to complete the generating operation comprises: the SG generating monitoring device, when receiving the generated abnormality information sent by the SG generating device, is responsible for generating the service of the city or region where the SG generating device is located. Guide, and update the business guide to other SG generation devices. Preferably, the service guide information includes: channel information, preview information, program information, and package information. According to another aspect of the present invention, a synchronization system for a service guide is provided, including: a service synchronization device, a database, an SG generation device, an SG generation monitoring device, and a subscription management device, wherein the service synchronization device includes: a synchronization module, setting In order to synchronize the service guide information to the database according to the predetermined synchronization rule; the first obtaining module is configured to obtain a service synchronization result obtained by the database being synchronized according to the service guide information; and the generating module is configured to generate a service guide (SG) according to the service synchronization result. a message; a notification module, configured to notify the SG generation device of the SG generation message to generate a service guide. Preferably, the service synchronization device further includes: a receiving module, configured to receive a synchronization message from the content providing platform, where the synchronization message carries service guide information, and the type of the synchronization message includes: a synchronization XML message. Preferably, the service synchronization device further includes: a sending module, configured to send the failed service information of the synchronization failure service to the predetermined receiving address in the case that the synchronization failure service exists in the service synchronization result, and the synchronization success service exists in the service synchronization result In the case, the successful service information of the synchronous successful service is sent to the order management device to update the service information, and a new version of the service fragmentation information is obtained. Preferably, the SG generating apparatus includes: a second obtaining module, configured to acquire service fragmentation information from the subscription management apparatus, and obtain a new version of the service guide fragmentation information from the database; and an assembly module configured to segment the service information and The service guide fragment information is assembled into the SG information of the corresponding city or region, where the SG information includes: a service guide. Preferably, in the process of generating the service guide by the SG generating device, the SG generating monitoring device controls the plurality of SG generating devices to complete the generating operation. Preferably, the SG generation monitoring device includes: a processing module configured to: when receiving the generated abnormality information sent by the SG generating device, is responsible for generating a service guide of the city or region where the SG generating device is located, and updating the service guide to other SG generation device. Preferably, the service guide information includes: channel information, preview information, program information, and package information. According to the present invention, after the service synchronization information is synchronized to the database according to a predetermined rule by the service synchronization device, the service synchronization result of the database is acquired to generate an SG generation message, and the SG generation message is notified to all the SGs. The method for generating the service guide solves the problem that the SG obtained by the user in the related art is incorrect to be able to watch the correct program, and the service guide information that ensures that all the content providing platforms are synchronized can be synchronized in time, and Greatly shorten the effect of the time when the mobile terminal updates the business guide. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a flow chart of a synchronization method of a service guide according to an embodiment of the present invention; FIG. 2 is a schematic structural diagram of a synchronization system of a service guide according to an embodiment of the present invention; FIG. 3 is a schematic diagram of a synchronization system according to a preferred embodiment of the present invention. FIG. 4 is a flowchart of a process of using a service synchronization apparatus according to a preferred embodiment of the present invention; FIG. 5 is a schematic diagram of a framework of a service synchronization apparatus according to a preferred embodiment of the present invention; and FIG. 6 is based on A schematic diagram of a system for efficient synchronization and generation of a mobile TV service guide of a preferred embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention relates to the field of television and communication, and can be better applied to the field of synchronous generation of service guides based on digital television and mobile TV. The main purpose of the present invention is to overcome the incomplete information obtained by the mobile TV platform from the content providing platform, and the information generated and updated by the mobile TV platform is large and the time is long, so that the terminal needs to complete the service guide for a long time. defect. The embodiment of the invention provides a synchronization method of a service guide. 1 is a flowchart of a method for synchronizing a service guide according to an embodiment of the present invention. As shown in FIG. 1, the method mainly includes the following steps (step S102-step S108): Step S102, the service synchronization device according to a predetermined synchronization rule The business guide information is synchronized to the database. Step S104: The service synchronization device acquires a service synchronization result obtained by the database being synchronized according to the service guide information. Step S106: The service synchronization device generates a service guide SG to generate a message according to the service synchronization result. Step S108: The service synchronization device notifies all SG generating devices of the SG generation message to generate a service guide. Through the foregoing steps, the service synchronization device may synchronize the service guide information to the database according to a predetermined rule, obtain the service synchronization result of the database to generate an SG generation message, and notify the SG generation device to generate an operation guide by using the SG generation message. In this way, all the content providing platforms can be synchronized, the business guide information can be synchronized in time, and the time for the mobile terminal to update the service guide is greatly shortened. In this embodiment, before the step S102 is performed, the service synchronization device may receive the synchronization message from the content providing platform, where the synchronization message carries the service guide information, and the type of the synchronization message may include: synchronizing the XML message. In this embodiment, after performing step S104, if there is a synchronization failure service in the service synchronization result, the service synchronization device may send the failure service information of the synchronization failure service to the predetermined reception address; if there is a synchronization success service in the service synchronization result, The service synchronization device may send the successful service information of the synchronization successful service to the subscription management device to update the service information to obtain a new version of the service fragmentation information. In this embodiment, after performing step S108, the SG generating apparatus generates a service guide, and the process may be implemented in the following manner: The SG generating apparatus acquires the service fragmentation information from the subscription management apparatus, and acquires a new version from the database. Service guide fragmentation information; the service fragmentation information and the service guide fragmentation information are assembled into the SG information of the corresponding city or region, where the SG information may include: a service guide. In the present embodiment, in the process in which the SG generating device generates the service guide, the SG generation monitoring device controls the plurality of SG generating devices to complete the generating operation. Specifically, the process in which the SG generation monitoring device controls the plurality of SG generating devices to complete the generating operation may be implemented by: the SG generating monitoring device is responsible for generating the SG generating device when receiving the generated abnormality information sent by the SG generating device. A city or regional business guide, and update the business guide to other SG generation devices. In this embodiment, the service guide information may include: channel information, preview information, program information, and package information. The embodiment of the present invention provides a synchronization system for a service guide, which is used to implement the synchronization method of the service guide provided by the foregoing embodiment. 2 is a schematic structural diagram of a synchronization system of a service guide according to an embodiment of the present invention. As shown in FIG. 2, the system mainly includes: a service synchronization device, a database, an SG generation device, an SG generation monitoring device, and a subscription management device. The service synchronization device may include: a synchronization module 10, configured to synchronize the service guide information to the database according to the predetermined synchronization rule; the first obtaining module 20 is configured to obtain a service synchronization result obtained by the database being synchronized according to the service guide information; 30. Set to generate a service guide SG generation message according to the service synchronization result. The notification module 40 is configured to notify the SG generation apparatus to generate an operation guide for the SG generation message. 3 is a schematic structural diagram of a synchronization system of a service guide according to a preferred embodiment of the present invention. As shown in FIG. 3, in the preferred embodiment, the service synchronization apparatus may further include: a receiving module 50 configured to receive from a content providing platform. The synchronization message, where the synchronization message carries the service guide information, and the type of the synchronization message may include: synchronizing the XML message. In the preferred embodiment, the service synchronization apparatus may further include: a sending module 60, configured to send the failed service information of the synchronization failure service to the predetermined receiving address in the case that the synchronization failure service exists in the service synchronization result, in the service synchronization If there is a synchronous successful service in the result, the successful service information of the synchronous successful service is sent to the order management device to update the service information, and a new version of the service fragmentation information is obtained. In the preferred embodiment, the SG generating apparatus includes: a second obtaining module 70, configured to acquire the service fragmentation information from the subscription management apparatus, and obtain a new version of the service guide fragmentation information from the database; the assembly module 80 is configured to The service fragment information and the service guide fragment information are assembled into the SG information of the corresponding city or region, where the SG information includes: a service guide. In the preferred embodiment, in the process of generating the service guide by the SG generating apparatus, the SG generation monitoring apparatus may control the plurality of SG generating apparatuses to complete the generating operation. Specifically, the SG generation monitoring apparatus may include: a processing module 90 configured to: when receiving the generated abnormality information sent by the SG generation apparatus, be responsible for generating a service guide of a city or an area where the SG generation apparatus is located, and updating the service guide to Other SG generation devices. In the embodiment shown in FIG. 2 and the preferred embodiment shown in FIG. 3, the service guide information may include: channel information, preview information, program information, and package information. In order to further understand the synchronization system of the service guide shown in FIG. 2 or FIG. 3, the following combines the components in the system (service synchronization device, database, SG generation device, SG generation monitoring device, and order) in the actual application. Management device) The functions are further described: In an actual application, the service synchronization device in the system may parse the synchronized xml file or the xml format content sent by the content providing platform according to a predetermined protocol; the service guide information included in the xml content may be channel information, preview information, Various service guide information such as program information and package information, and the service synchronization device identifier, the resource usage type ("synchronization service"), and the current time stamp are written into the resource usage table, and the content provides the service information carried by the platform message. The service temporary table corresponding to the database is imported in batches, and the database is notified to run the corresponding stored procedure to synchronize the related services. The stored procedure obtains the service data from the corresponding service temporary table, inserts or updates the batch into the corresponding business formal table according to certain rules, and updates. The corresponding version modification number is automatically added, and the corresponding service guide information has been updated. After the completion, the complete success or partial success or complete failure identifier is returned according to the result, and the business temporary table and the formal table data are compared, and the successfully synchronized business information is marked as success, The service information of the synchronization failure is marked as a failure, and the cause of the failure is further detected, and the reason for the failure is written into the corresponding service information line in the temporary table. The service synchronization result is assembled into an XML format message according to the rule when the synchronization message is received, and the message is passed. The message distribution device sends the content delivery platform. Further, if there is a service that fails to synchronize, the failed service information is sent to the set email address. In practical applications, the type and definition of the service synchronization device can be described in an explicit or implicit manner. In an actual application, the content providing platform initiates the synchronization of the service guide information, and the service synchronization device receives the synchronization message sent by the content providing platform forwarded by the message distribution device, and then performs xml parsing according to a predetermined protocol, and parses and completes the service information carried in the message. The predetermined rule is synchronized to the resource usage table, the temporary business table and the formal business table of the database, and the temporary business table and the formal business table are compared, the reason and the identifier of the synchronization failure are recorded, and the return message is constructed and sent to the content providing platform. At the same time, in the case of synchronization failure, it is necessary to notify the e-mail, and finally notify the SG generating device to generate the latest SG. In an actual application, the method for generating a service generating device needs to be described and defined, and can be implemented in the following manner: The SG generating device is divided into two types: an SG generating monitoring device and an SG generating device, and the SG generating monitoring device is monitored by the SG server. Process, the SG generating device is an SG server proxy process, and the difference between the two categories is differentiated by configuration, the SG generating device is divided into multiple units, and the SG generating device is optimized according to the city or the region, and the SG generating can be reduced. Time, improve the performance of the SG server, SG generation monitoring device is to ensure the normal execution of SG. In practical applications, the types and definitions of service generation devices can also be described in an explicit or implicit manner. The SG generating device mainly implements an agent generated by the SG, and is responsible for generating SG information of a specific area or city, and is responsible for configuring a specific area or city. After the SG generation device is generated, the SG information of the own server is updated, and the other SG generation device is notified to update the SG information generated by the SG generation device. The SG generation device notifies the SG generation monitoring device if an abnormality occurs, and the SG generation monitoring device receives the abnormality message and then generates the SG generation of the city or region in charge of the SG generation device. In an actual application, the SG generation monitoring device mainly implements monitoring management of the SG generation, and the SG generation monitoring device supports receiving the abnormal information sent by the SG generating device, and relaying the SG generation of the city or region in charge of the SG generating device. After the SG generation monitoring device generates the SG, the SG information of the own server is updated, and the other SG generating device is notified to update the SG information generated by the SG generating device. The SG generation monitoring device supports a timer monitoring mode, and periodically scans whether there is an SG generating device abnormality through a timer, and determines whether it is necessary to replace the SG generating device to relay the SG. The SG generation monitoring device has an active/standby configuration that supports active/standby switchover. When the SG generates a monitoring device host abnormality, the standby device can automatically switch to the host and complete the function of the SG generation monitoring device host. The method and the system for synchronizing the service guides provided by the foregoing embodiments can solve the problem that the SG obtained by the user is incorrect to be able to view the correct program, and can ensure that the service guide information synchronized by all the content providing platforms can be synchronized in time. And the time to greatly shorten the mobile terminal update business guide. The method and system for synchronizing the service guide provided by the foregoing embodiments are described and illustrated in more detail below with reference to FIG. 4 to FIG. 6 and the preferred embodiment. First, the implementation process of the preferred embodiment is briefly described. Step 1: After receiving the synchronization message sent by the content providing platform, the service synchronization device synchronizes the service information carried in the message to the database according to a predetermined rule. Step 2: The service synchronization device returns the return message of the synchronization result to the content providing platform by checking the database and obtaining the result of the synchronization operation. Further, if there is a service that fails to synchronize, the failed service information is sent to the set email address. . After the synchronization device is synchronized, the service synchronization device will notify all SG generation devices through the message distribution device to regenerate the SG. Step 3: If there is a service with successful synchronization, the service synchronization device will notify the order management device to update the service information through the message distribution device, and notify all SG generating devices to regenerate the SG. Step 4: After receiving the message sent by the synchronization device, all the SG generating devices first go to the database to query and obtain the new version of the service fragmentation information, and then assemble the service segment according to the latest version of the service guide fragmentation information acquired by the database. The slice information is written into the shared magnetic array for the SG file of the corresponding city, and the service guide information of the SG is updated after the completion of the service guide information, and the synchronization message is sent to the other SG generating device to update the SG information generated by the SG generating device. Simultaneously sending a synchronization message to other SG generation monitoring devices to update the SG information generated by the SG generation device, and receiving a synchronization request sent after the completion of the generation of other SG generation devices, and if the request is received, reading the counterpart SG generation device Generate completed SG information and update to local, The notification update service to the order management device, which is ready for the SG information, and accepts the SG request message sent by the message distribution device at any time to return the latest SG update content. The implementation process of the preferred embodiment will be described in detail below with reference to FIG. 4 to FIG. 6. For the service synchronization device on the mobile TV platform side, the main process is implemented as follows: The content providing platform initiates service guide information synchronization, and the service synchronization device After receiving the synchronization message sent by the content providing platform, the xml parsing is performed according to a predetermined protocol, and the parsing is completed, and the service information carried in the message is synchronized to the resource usage table, the temporary service table, and the formal business table of the database according to a predetermined rule, and the temporary service is performed. The table is compared with the formal business table, the reason and identifier of the synchronization failure are recorded, and the return message is constructed and sent to the content providing platform. At the same time, for the case of the synchronization failure, the email is notified, and finally the SG generating device is notified to generate the latest. SG. FIG. 4 is a flowchart of a process of using a service synchronization apparatus according to a preferred embodiment of the present invention. As shown in FIG. 4, the process flow mainly includes: Step S402: The content providing platform initiates service guide information synchronization, and the service synchronization device receives content delivery. Synchronization messages from the platform. Step S404, the service synchronization device parses the synchronized xml file or xml format content sent by the content providing platform according to a predetermined protocol; the service guide information included in the xml content may be channel information, preview information, program information, package information, and the like. Business guide information. After the service synchronization device is parsed, the parsed various service information is synchronized to the database, and the method includes the following steps: Step S406: Write the identifier of the service synchronization device, the resource usage type ("synchronization service"), and the current time stamp to the resource usage table. In the case that multiple content providing platforms trigger service synchronization, the service synchronization device implements load balancing by the message distribution device. Step S408: Import the service information carried in the content providing platform message into the service temporary table corresponding to the database in batches. In step S410, the database is notified to run the corresponding stored procedure to synchronize related services. The stored procedure obtains the service data from the corresponding service temporary table, inserts or updates the data into the corresponding service formal table in batches according to certain rules, and updates the corresponding version modification number automatically. Accumulate, the corresponding service guide information has been updated, and after completion, the full success or partial success or complete failure identifier is returned according to the result. Step S412: After receiving the synchronization result identifier returned by the database, the service synchronization device notifies the database to run the corresponding stored procedure to compare the service temporary table and the official table data. If the comparison is successful, step S418 is performed, and if the comparison fails, step S414 is performed. Step S414: The stored procedure marks the successfully-synchronized service information as successful in the temporary table, and the failed service information is marked as failed, further detects the failure reason, and writes the failure reason into the corresponding service information line in the temporary table. Step S416: If there is a service that fails to synchronize, send the failed service information to the set email address. Step S418: The service synchronization device acquires the service synchronization result in the service temporary table by using the database processing device, and assembles the service synchronization result into a message in an XML format according to the rule when receiving the synchronization message, and sends the message to the content providing platform through the message distribution device. . Step S420, deleting the service information of the current synchronization in the service temporary table. Step S422, after the synchronization device synchronization is completed, the service synchronization device will notify all SG generation devices to regenerate the SG through the message distribution device. For the SG generating device and the SG generating monitoring device on the mobile TV platform side, the main operations are as follows:
1、 业务同步装置通知 SG生成装置去生成并更新最新的 SG信息, 手业务同步装 置已经从内容提供平台获得同步的业务指南信息, 业务指南信息包括频道信息、 节目 信息、 套餐等各类业务指南信息。 1. The service synchronization device notifies the SG generation device to generate and update the latest SG information, and the hand service synchronization device has obtained the synchronized service guide information from the content providing platform, and the service guide information includes various service guides such as channel information, program information, and package. information.
2、将 SG生成装置划分为 SG生成监控装置和 SG生成装置两类, SG生成监控装 置为 SG服务器监控进程, SG生成装置为 SG服务器代理进程, 两种类别的区别通过 配置文件来配置, SG生成装置分成多台来进行, 多台 SG生成装置按照城市或者区域 进行生成的优化设计, 可以减少 SG生成的时间, 提升 SG服务器的性能, SG生成监 控装置则是保证 SG生成的正常进行。 以下结合图 5所示的业务同步装置的框架对 SG生成装置和 SG生成监控装置的具 体功能进行如下说明: 图 5是根据本发明优选实施例的业务同步装置的框架示意图,如图 5所示, SG生 成装置主要实现 SG生成的代理, 主要包括如下几点功能: ( 1 ) SG 生成装置 N负责特定区域或者城市的 SG信息的生成, 负责特定区域或 者城市可以配置。 2. The SG generating device is divided into two types: an SG generating monitoring device and an SG generating device. The SG generating monitoring device is an SG server monitoring process, and the SG generating device is an SG server proxy process. The difference between the two categories is configured through a configuration file, SG. The generation device is divided into multiple units, and the optimized design of multiple SG generation devices according to the city or region can reduce the SG generation time and improve the performance of the SG server, and the SG generation monitoring device ensures the normal execution of the SG generation. The specific functions of the SG generating apparatus and the SG generating monitoring apparatus are described below in conjunction with the framework of the service synchronization apparatus shown in FIG. 5. FIG. 5 is a schematic diagram of a framework of a service synchronization apparatus according to a preferred embodiment of the present invention, as shown in FIG. The SG generation device mainly implements the agent generated by the SG, and mainly includes the following functions: (1) The SG generating device N is responsible for generating SG information for a specific area or city, and is responsible for configuring a specific area or city.
( 2) SG生成装置 N生成完成之后, 更新本服务器的 SG信息, 并通知其他 SG 生成装置来更新本 SG生成装置生成的 SG信息。 ( 3 ) SG生成装置 N如果出现异常, 则通知 SG生成监控装置, SG生成监控装置 接受到异常消息之后接力生成 SG生成装置负责的城市或者区域的 SG生成。 (2) After the SG generating device N is completed, the SG information of the own server is updated, and the other SG generating device is notified to update the SG information generated by the SG generating device. (3) The SG generating device N notifies the SG to generate a monitoring device if an abnormality occurs, and the SG generating monitoring device receives the abnormality message and then generates the SG generation of the city or region in charge of the SG generating device.
SG生成监控装置主要实现 SG生成的监控管理, 主要包括如下几点功能: The SG generation monitoring device mainly implements the monitoring management of the SG generation, and mainly includes the following functions:
( 1 ) 接收 SG生成装置发送的 SG生成装置 N如果出现异常信息, 接力生成 SG 生成装置负责的城市或者区域的 SG生成。 ( 2) 发送 SG监控生成 SG完成后, 更新本服务器的 SG信息, 并通知其他 SG 生成装置来更新本 SG生成装置生成的 SG信息。 (1) Upon receiving the abnormality information, the SG generating device N transmitted by the SG generating device generates a SG for the city or region in charge of the SG generating device. (2) Send SG monitor generation After the SG is completed, the SG information of the server is updated, and the other SG generating device is notified to update the SG information generated by the SG generating device.
( 3 ) SG 生成监控装置支持定时器监控方式, 通过定时器来定时扫描是否有 SG 生成装置异常, 并决定是否需要顶替 SG生成装置来接力生成 SG。 (3) The SG generation monitoring device supports the timer monitoring mode, and periodically checks whether there is an SG generating device abnormality through the timer, and determines whether it is necessary to replace the SG generating device to generate the SG.
( 4 ) SG生成监控装置有主备配置, 支持主备倒换, 当 SG生成监控装置主机出 现异常情况的时候, 备机能自动切换成主机并正常完成 SG生成监控装置主机的功能。 下面结合图 6对本优选实施例的中前述四个步骤 (步骤一至步骤四) 进行更加详 细的描述。 图 6 是根据本发明优选实施例的手机电视业务指南高效同步与生成的系统示意 图, 如图 6所示, 上述步骤一具体包括以下步骤: 步骤 S61, 同步 XML消息, 内容提供平台发起业务指南信息同步, 消息分发装置 接收到内容提供平台发来的同步消息。 包括以下子步骤: 步骤 S6101 , 同步 XML消息: 消息分发装置接收到内容提供平台发来的同步消息 转发给业务同步装置。 步骤 S6102,解析 XML消息中的业务信息同步到数据库:业务同步装置按照预定 协议对内容提供平台发来的同步过来的 xml文件或 xml格式内容进行解析; xml内容 包括的业务指南信息可以是频道信息、 预览信息、 节目信息、 套餐信息等各种业务指 南信息。 上述步骤二具体包括以下步骤: 步骤 S62, 获取同步结果, 业务同步装置接收到数据库返回的同步结果标识后, 通知数据库运行相应存储过程对比业务临时表和正式表数据, 存储过程在临时表中把 同步成功的业务信息标记为成功, 同步失败的业务信息标记为失败, 进一步检测失败 原因, 并把失败原因写入临时表中对应业务信息行。 包括以下子步骤: 步骤 S6201 ,将同步结果组装为 XML消息:业务同步装置通过数据库处理装置获 取业务临时表中的业务同步结果, 将业务同步结果按接收同步消息时的规则组装为 XML格式的消息; 步骤 S6202, 同步结果, 将该消息通过消息分发装置发送给内容提供平台; 步骤 S6203 , 同步结果, 进一步地, 如果有同步失败的业务, 将失败的业务信息 发送给设定的电子邮箱。 上述步骤三具体包括以下步骤: 步骤 S63, 更新业务, 订购管理装置如果接收到消息分发装置发送过来的更新业 务的请求, 则订购管理装置更新业务信息。 包括以下子步骤: 步骤 S6301 , 获取更新过的业务信息: 订购管理装置向数据库查询更新过的最新 的业务信息。 上述步骤四具体包括以下步骤: 步骤 S64, 生成 SG : 同步装置同步完成之后, 业务同步装置将通过消息分发装置 通知所有 SG生成装置去重新生成 SG。 包括以下子步骤: 步骤 S6401 ,获取新版本的业务分片信息:所有的 SG生成装置在接收到同步装置 发来的 SG生成消息后, 首先去数据库查询并获取新版本的业务分片信息; 步骤 S6402, 组装业务分片信息为对应城市的 SG文件写入共享磁阵: 所有的 SG 生成装置首先去数据库查询并获取新版本的业务分片信息、 接着根据数据库获取的最 新版本的业务指南分片信息, 组装业务分片信息为对应城市的 SG文件写入共享磁阵, 生成完成业务指南信息之后更新本 SG的业务指南信息; 步骤 S6403 , SG生成装置发送同步消息给其他的 SG生成装置来更新本 SG生成 装置生成的 SG信息; 步骤 S6404 , SG生成装置如果收到其他 SG生成装置的同步请求,则读取对方 SG 生成装置生成完成的 SG信息, 并更新到本地, 使本地的 SG构成最新的 SG信息; 步骤 S6405 , SG生成装置发送同步消息给其他的 SG生成监控装置来更新本 SG 生成装置生成的 SG信息; 步骤 S6406 , SG生成装置如果收到其他 SG生成监控装置的同步请求, 则读取对 方 SG生成监控装置生成完成的 SG信息, 并更新到本地, 使本地的 SG构成最新的 SG信息。 步骤 S6407 , SG生成装置通知订购管理装置有更新业务, 业务更新装置如果收到 这个有业务更新消息,则会去数据库更新最新的业务, SG生成监控此时已经做好了最 新版本的 SG更新的准备。 步骤 S6408 , SG生成装置接受消息分发装置发送过来的 SG请求消息, SG生成 装置同时也支持 SG的分发, 支持消息分发装置发送过来的获取最新的 SG请求。 步骤 S6409 , SG生成装置响应消息分发装置发送过来的 SG请求消息, 返回本地 最新的 SG更新内容。 通过上述优选实施例, 可以克服手机电视平台从内容提供平台同步获得当前业务 指南信息不完整、保证所有的内容提供平台同步的业务指南信息能够及时的完成同步, 信息不会丢失, 同步装置的性能也得到极大的提升。 需要说明的是, 上述各个模块是可以通过硬件来实现的。 例如: 一种处理器, 包 括上述各个模块, 或者, 上述各个模块分别位于一个处理器中。 在另外一个实施例中, 还提供了一种软件, 该软件用于执行上述实施例及优选实 施方式中描述的技术方案。 在另外一个实施例中, 还提供了一种存储介质, 该存储介质中存储有上述软件, 该存储介质包括但不限于: 光盘、 软盘、 硬盘、 可擦写存储器等。 从以上的描述中, 可以看出, 本发明实现了如下技术效果: 通过本发明实施例提 供的高效同步与生成业务指南的方法及系统进行业务指南信息的处理, 可以克服手机 电视平台从内容提供平台同步获得当前业务指南信息不完整、 保证所有的内容提供平 台同步的业务指南信息能够及时的完成同步, 信息不会丢失, 同步装置的性能也得到 极大的提升, 另外, 手机电视平台 SG生成方法及装置的应用, 也可以很好的解决更 新业务指南的信息量大, 时间长等问题,极大的缩短了手机终端更新业务指南的时间, 很好的提升了用户体验。 工业实用性 本发明提供的技术方案, 可以避免手机电视平台从内容提供平台同步获得当前业 务指南信息不完整, 保证所有的内容提供平台同步的业务指南信息能够及时的完成同 步、 信息不会丢失, 缩短手机终端更新业务指南的时间。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 (4) The SG generation monitoring device has an active/standby configuration and supports active/standby switchover. When the SG generates a monitoring device host abnormality, the standby device can automatically switch to the host and complete the function of the SG generation monitoring device host. The foregoing four steps (Step 1 to Step 4) of the preferred embodiment will be described in more detail below with reference to FIG. FIG. 6 is a schematic diagram of a system for efficiently synchronizing and generating a mobile phone television service guide according to a preferred embodiment of the present invention. As shown in FIG. 6, the foregoing step 1 specifically includes the following steps: Step S61: Synchronize an XML message, and the content providing platform initiates service guide information. Synchronization, the message distribution device receives the synchronization message sent by the content providing platform. The following sub-steps are included: Step S6101: Synchronize XML message: The message distribution device receives the synchronization message sent by the content providing platform and forwards it to the service synchronization device. Step S6102: Synchronize the service information in the XML message to the database: the service synchronization device parses the synchronized xml file or xml format content sent by the content providing platform according to a predetermined protocol; the service guide information included in the xml content may be channel information. , various information such as preview information, program information, package information, etc. The foregoing step 2 specifically includes the following steps: Step S62: Acquire a synchronization result. After receiving the synchronization result identifier returned by the database, the service synchronization device notifies the database to run the corresponding stored procedure to compare the service temporary table and the formal table data, and the storage process is in the temporary table. The service information of the synchronization success is marked as successful, the service information of the synchronization failure is marked as failure, the cause of the failure is further detected, and the reason for the failure is written into the corresponding service information line in the temporary table. The following sub-steps are included: Step S6201: assembling the synchronization result into an XML message: the service synchronization device acquires the service synchronization result in the service temporary table by using the database processing device, and assembles the service synchronization result into the XML format message according to the rule when receiving the synchronization message. Step S6202: Synchronize the result, send the message to the content providing platform through the message distributing device; Step S6203, synchronize the result, and further, if there is a service that fails to synchronize, send the failed service information to the set email address. The foregoing step 3 specifically includes the following steps: Step S63: Update the service, and if the order management device receives the request for updating the service sent by the message distribution device, the order management device updates the service information. The following sub-steps are included: Step S6301: Obtain updated service information: The order management device queries the database for the updated latest service information. Step 4 above specifically includes the following steps: Step S64: Generate SG: After the synchronization device is synchronized, the service synchronization device notifies all SG generation devices to regenerate the SG through the message distribution device. The following sub-steps are included: Step S6401, obtaining a new version of the service fragmentation information: after receiving the SG generation message sent by the synchronization device, all the SG generation devices first go to the database to query and obtain a new version of the service fragmentation information; S6402, the assembly service fragmentation information is written into the shared magnetic array for the corresponding city SG file: all the SG generation devices first go to the database to query and obtain the new version of the service fragmentation information, and then according to the latest version of the service guide obtained by the database. The information of the assembled service fragment is written into the shared magnetic array for the SG file of the corresponding city, and the service guide information of the SG is updated after the completion of the service guide information. In step S6403, the SG generating device sends a synchronization message to the other SG generating device to update. The SG information generated by the SG generating device; Step S6404: If the SG generating apparatus receives the synchronization request of the other SG generating apparatus, the SG generating device reads the SG information generated by the counterpart SG generating apparatus, and updates the local SG information to the local SG to form the latest SG information; Step S6405, SG generation The device sends a synchronization message to the other SG generation monitoring device to update the SG information generated by the SG generating device. Step S6406: If the SG generating device receives the synchronization request of the other SG generation monitoring device, the reading SG generation monitoring device is completed. The SG information is updated to the local, so that the local SG constitutes the latest SG information. Step S6407, the SG generating apparatus notifies the order management apparatus that there is an update service, and if the service update apparatus receives the service update message, the service update apparatus goes to the database to update the latest service, and the SG generation monitoring has completed the latest version of the SG update at this time. ready. Step S6408: The SG generating apparatus receives the SG request message sent by the message distributing apparatus, and the SG generating apparatus also supports the distribution of the SG, and supports the latest SG request sent by the message distributing apparatus. Step S6409: The SG generating device returns the latest SG update content in the local area in response to the SG request message sent by the message distributing device. Through the above preferred embodiments, it is possible to overcome the fact that the mobile TV platform obtains the current service guide information from the content providing platform and the current service guide information is incomplete, and the service guide information that ensures that all the content providing platforms are synchronized can be synchronized in time, the information is not lost, and the performance of the synchronization device is synchronized. It has also been greatly improved. It should be noted that each of the above modules can be implemented by hardware. For example: a processor, including the above modules, or each of the above modules is located in one processor. In another embodiment, software is also provided for performing the technical solutions described in the above embodiments and preferred embodiments. In another embodiment, a storage medium is provided, the software being stored, including but not limited to: an optical disk, a floppy disk, a hard disk, a rewritable memory, and the like. From the above description, it can be seen that the present invention achieves the following technical effects: The method and system for efficiently synchronizing and generating service guides provided by the embodiments of the present invention process the service guide information, which can overcome the content provided by the mobile TV platform The platform synchronization obtains the current service guide information is incomplete, and the service guide information that ensures that all the content providing platforms are synchronized can be synchronized in time, the information is not lost, and the performance of the synchronization device is greatly improved. In addition, the mobile TV platform SG generates The application of the method and device can also solve the problem well. The new business guide has a large amount of information and a long time, which greatly shortens the time for the mobile terminal to update the business guide, which improves the user experience. INDUSTRIAL APPLICABILITY The technical solution provided by the present invention can prevent the mobile TV platform from obtaining the current service guide information from the content providing platform synchronously, and ensuring that all the content providing platform synchronization service guide information can be synchronized in time and information is not lost. Shorten the time for the mobile terminal to update the business guide. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种业务指南的同步方法, 包括: 1. A method of synchronizing business guides, including:
业务同步装置按照预定同步规则将业务指南信息同步至数据库; 所述业务同步装置获取所述数据库根据所述业务指南信息进行同步得到的 业务同步结果;  The service synchronization device synchronizes the service guide information to the database according to the predetermined synchronization rule; the service synchronization device acquires the service synchronization result obtained by the database according to the service guide information synchronization;
所述业务同步装置根据所述业务同步结果生成业务指南 SG生成消息; 所述业务同步装置将所述 SG生成消息通知给所有的 SG生成装置以生成 业务指南。  The service synchronization device generates a service guide SG generation message according to the service synchronization result; the service synchronization device notifies the SG generation device to all the SG generation devices to generate a service guide.
2. 根据权利要求 1所述的方法, 其中, 在业务同步装置按照预定同步规则将业务 指南信息同步至数据库之前, 包括: 2. The method according to claim 1, wherein before the service synchronization device synchronizes the service guide information to the database according to the predetermined synchronization rule, the method includes:
所述业务同步装置接收来自内容提供平台的同步消息, 其中, 所述同步消 息中携带有所述业务指南信息, 所述同步消息的类型包括: 同步 XML消息。  The service synchronization device receives the synchronization message from the content providing platform, where the synchronization message carries the service guide information, and the type of the synchronization message includes: a synchronization XML message.
3. 根据权利要求 1所述的方法, 其特征在于, 在所述业务同步装置获取所述数据 库根据所述业务指南信息进行同步得到的业务同步结果之后, 包括: The method according to claim 1, wherein after the service synchronization device obtains the service synchronization result obtained by synchronizing the data database according to the service guide information, the method includes:
如果所述业务同步结果中存在同步失败业务, 所述业务同步装置将所述同 步失败业务的失败业务信息发送至预定接收地址;  If the synchronization failure service exists in the service synchronization result, the service synchronization device sends the failure service information of the synchronization failure service to a predetermined receiving address;
如果所述业务同步结果中存在同步成功业务, 所述业务同步装置将所述同 步成功业务的成功业务信息发送给订购管理装置以进行业务信息的更新, 得到 新版本的业务分片信息。  If the synchronization success service exists in the service synchronization result, the service synchronization device sends the successful service information of the synchronization success service to the subscription management device to update the service information to obtain a new version of the service fragmentation information.
4. 根据权利要求 3所述的方法, 其中, 在所述业务同步装置将所述 SG生成消息 通知给所有的 SG生成装置之后, 还包括: 所述 SG生成装置生成所述业务指南的过程包括: The method according to claim 3, after the service synchronization device notifies the SG generation device to all the SG generation devices, the method further includes: the process of the SG generation device generating the service guide includes: :
所述 SG生成装置从所述订购管理装置获取所述业务分片信息, 并从所述 数据库中获取新版本的业务指南分片信息;  The SG generating apparatus acquires the service fragmentation information from the subscription management apparatus, and acquires a new version of the service guide fragmentation information from the database;
将所述业务分片信息和所述业务指南分片信息组装为相应城市或区域的 SG信息, 其中, 所述 SG信息包括: 所述业务指南。 The service fragmentation information and the service guide fragmentation information are assembled into SG information of a corresponding city or region, where the SG information includes: the service guide.
5. 根据权利要求 4所述的方法, 其中, 在所述 SG生成装置生成所述业务指南的 过程, SG生成监控装置控制多个所述 SG生成装置完成生成操作。 The method according to claim 4, wherein, in the process of generating the service guide by the SG generating means, the SG generating monitoring means controls the plurality of the SG generating means to complete the generating operation.
6. 根据权利要求 5所述的方法, 其中, SG生成监控装置控制多个所述 SG生成装 置完成生成操作的过程包括: The method according to claim 5, wherein the process of the SG generation monitoring device controlling the plurality of the SG generating devices to complete the generating operation comprises:
所述 SG生成监控装置在接收到所述 SG生成装置发送的生成异常信息的 情况下, 负责生成所述 SG生成装置所在城市或区域的所述业务指南, 并将所 述业务指南更新至其他的所述 SG生成装置。  The SG generation monitoring device is responsible for generating the service guide of the city or region where the SG generation device is located, and updating the service guide to other ones when receiving the abnormality information generated by the SG generation device. The SG generating device.
7. 根据权利要求 1至 6中任一项所述的方法, 其中, 所述业务指南信息包括: 频道信息、 预览信息、 节目信息以及套餐信息。 The method according to any one of claims 1 to 6, wherein the service guide information comprises: channel information, preview information, program information, and package information.
8. 一种业务指南的同步系统, 包括: 业务同步装置、 数据库、 SG 生成装置、 SG 生成监控装置以及订购管理装置, 其中, 所述业务同步装置包括: A synchronization system for a service guide, comprising: a service synchronization device, a database, an SG generation device, an SG generation monitoring device, and a subscription management device, wherein the service synchronization device includes:
同步模块, 设置为按照预定同步规则将业务指南信息同步至数据库; 第一获取模块, 设置为获取所述数据库根据所述业务指南信息进行同步得 到的业务同步结果;  a synchronization module, configured to synchronize the service guide information to the database according to the predetermined synchronization rule; the first obtaining module is configured to obtain a service synchronization result obtained by the database according to the service guide information being synchronized;
生成模块, 设置为根据所述业务同步结果生成业务指南 SG生成消息; 通知模块, 设置为将所述 SG生成消息通知给所有的 SG生成装置以生成 业务指南。  And a generating module, configured to generate a service guide SG generating message according to the service synchronization result; and the notifying module is configured to notify the SG generating device to generate the service guide by using the SG generating message.
9. 根据权利要求 8所述的系统, 其中, 所述业务同步装置还包括: 接收模块, 设置为接收来自内容提供平台的同步消息, 其中, 所述同步消 息中携带有所述业务指南信息, 所述同步消息的类型包括: 同步 XML消息。 The system according to claim 8, wherein the service synchronization device further includes: a receiving module, configured to receive a synchronization message from the content providing platform, where the synchronization message carries the service guide information, The types of synchronization messages include: Synchronization XML messages.
10. 根据权利要求 8所述的系统, 其中, 所述业务同步装置还包括: 发送模块, 设置为在所述业务同步结果中存在同步失败业务的情况下, 将 所述同步失败业务的失败业务信息发送至预定接收地址, 在所述业务同步结果 中存在同步成功业务的情况下, 将所述同步成功业务的成功业务信息发送给订 购管理装置以进行业务信息的更新, 得到新版本的业务分片信息。 The system according to claim 8, wherein the service synchronization device further comprises: a sending module, configured to: if the synchronization failure service exists in the service synchronization result, failing the synchronization failure service The information is sent to the predetermined receiving address, and in the case that the synchronization success service exists in the service synchronization result, the successful service information of the synchronization successful service is sent to the order management device to update the service information, and a new version of the service segment is obtained. Piece information.
11. 根据权利要求 10所述的系统, 其中, 所述 SG生成装置包括: 第二获取模块, 设置为从所述订购管理装置获取所述业务分片信息, 并从 所述数据库中获取新版本的业务指南分片信息; 组装模块, 设置为将所述业务分片信息和所述业务指南分片信息组装为相 应城市或区域的 SG信息, 其中, 所述 SG信息包括: 所述业务指南。 11. The system according to claim 10, wherein the SG generating means comprises: a second obtaining module, configured to acquire the service fragmentation information from the subscription management apparatus, and obtain a new version from the database Business guide segmentation information; The assembly module is configured to assemble the service fragmentation information and the service guide fragmentation information into SG information of a corresponding city or region, where the SG information includes: the service guide.
12. 根据权利要求 11所述的系统, 其中, 在所述 SG生成装置生成所述业务指南的 过程, SG生成监控装置控制多个所述 SG生成装置完成生成操作。 The system according to claim 11, wherein, in a process in which the SG generating means generates the service guide, the SG generating monitoring means controls a plurality of the SG generating means to complete a generating operation.
13. 根据权利要求 12所述的系统, 其中, 所述 SG生成监控装置包括: 处理模块, 设置为在接收到所述 SG生成装置发送的生成异常信息的情况 下, 负责生成所述 SG生成装置所在城市或区域的所述业务指南, 并将所述业 务指南更新至其他的所述 SG生成装置。 The system according to claim 12, wherein the SG generation monitoring device comprises: a processing module configured to generate the SG generating device when receiving the generated abnormality information sent by the SG generating device The service guide of the city or region in which it is located, and the service guide is updated to other said SG generating devices.
14. 根据权利要求 8至 13中任一项所述的系统, 其中, 所述业务指南信息包括: 频道信息、 预览信息、 节目信息以及套餐信息。 The system according to any one of claims 8 to 13, wherein the service guide information comprises: channel information, preview information, program information, and package information.
PCT/CN2014/075638 2013-11-18 2014-04-17 Service guide synchronization method and system WO2015070564A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310580989.3 2013-11-18
CN201310580989.3A CN103686300B (en) 2013-11-18 2013-11-18 The synchronous method and system of business guide

Publications (1)

Publication Number Publication Date
WO2015070564A1 true WO2015070564A1 (en) 2015-05-21

Family

ID=50322370

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075638 WO2015070564A1 (en) 2013-11-18 2014-04-17 Service guide synchronization method and system

Country Status (2)

Country Link
CN (1) CN103686300B (en)
WO (1) WO2015070564A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686300B (en) * 2013-11-18 2017-07-18 中兴通讯股份有限公司 The synchronous method and system of business guide
CN106557364A (en) * 2015-09-24 2017-04-05 阿里巴巴集团控股有限公司 A kind of method of data synchronization and system
CN106878365B (en) * 2016-06-08 2020-01-31 阿里巴巴集团控股有限公司 data synchronization method and device
CN108021580A (en) * 2016-11-04 2018-05-11 广东亿迅科技有限公司 A kind of data synchronization updating method and its system
CN109561126B (en) * 2017-09-27 2022-01-28 北京国双科技有限公司 Data synchronization method and device, storage medium and processor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997174A (en) * 2006-12-14 2007-07-11 中兴通讯股份有限公司 A method for the update and transfer of the mobile multi-media broadcast electronic service guidance
CN101018356A (en) * 2007-01-11 2007-08-15 中兴通讯股份有限公司 Multiplexing transmission interface method of electronic service guide
CN101083580A (en) * 2006-05-30 2007-12-05 华为技术有限公司 Method for obtaining electronic business guide update of mobile terminal and server and terminal
CN101447844A (en) * 2008-12-26 2009-06-03 中兴通讯股份有限公司 Synchronization method of electronic service guide, system and communication network
CN103686300A (en) * 2013-11-18 2014-03-26 中兴通讯股份有限公司 Service guide synchronization method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100274617A1 (en) * 2009-04-22 2010-10-28 Nokia Corporation Method and apparatus for rewarding user activity in linked services

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083580A (en) * 2006-05-30 2007-12-05 华为技术有限公司 Method for obtaining electronic business guide update of mobile terminal and server and terminal
CN1997174A (en) * 2006-12-14 2007-07-11 中兴通讯股份有限公司 A method for the update and transfer of the mobile multi-media broadcast electronic service guidance
CN101018356A (en) * 2007-01-11 2007-08-15 中兴通讯股份有限公司 Multiplexing transmission interface method of electronic service guide
CN101447844A (en) * 2008-12-26 2009-06-03 中兴通讯股份有限公司 Synchronization method of electronic service guide, system and communication network
CN103686300A (en) * 2013-11-18 2014-03-26 中兴通讯股份有限公司 Service guide synchronization method and system

Also Published As

Publication number Publication date
CN103686300A (en) 2014-03-26
CN103686300B (en) 2017-07-18

Similar Documents

Publication Publication Date Title
US10833919B2 (en) Node device operation method, work status switching apparatus, node device, and medium
US11258822B2 (en) Network function service discovery method and device
WO2015070564A1 (en) Service guide synchronization method and system
US8774413B2 (en) Method and apparatus for processing entitlement control message packets
EP2819376A1 (en) Data synchronization method and device
US11741075B2 (en) Methods and system of tracking transactions for distributed ledger
CN101593119B (en) Method and device for firmware over-the-air of exclusive flash memory combined equipment
WO2009100632A1 (en) Method, terminal, apparatus and system for device management
WO2022142153A1 (en) Electricity meter upgrading method and system, smart meter, and storage medium
US11740886B2 (en) Algorithm update method and apparatus
JP6290451B2 (en) Software upgrade method and apparatus, and device
US20200067774A1 (en) Secure mechanism to manage network device configuration and audit with a blockchain
US12032952B2 (en) Service upgrade method, apparatus, and system
CN106850724B (en) Data pushing method and device
CN113496004A (en) Message sending method and device
CN110958150A (en) Management method and device for dynamic service configuration
JP5895496B2 (en) Wireless communication apparatus, data distribution apparatus, data update method, and data distribution method
CN113396600B (en) Information verification method, device, equipment and storage medium
CN111787093A (en) Application management method, application management device, related equipment and medium
US20130039322A1 (en) Method and device for controlling channel transmission
WO2016086356A1 (en) Authentication method within wireless communication network, related apparatus and system
CN106713464B (en) service management method and device of enterprise service bus
WO2021254112A1 (en) Methods for reporting usage, and network function and storage medium
CN113286300B (en) Block chain-based network fragment authentication method, system, network element and storage medium
CN110659299B (en) Data updating method and device and front-end development client

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: 14861699

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14861699

Country of ref document: EP

Kind code of ref document: A1