CN101026736A - Method and system for J2ME business authentication for IPTV system - Google Patents

Method and system for J2ME business authentication for IPTV system Download PDF

Info

Publication number
CN101026736A
CN101026736A CNA2007100873614A CN200710087361A CN101026736A CN 101026736 A CN101026736 A CN 101026736A CN A2007100873614 A CNA2007100873614 A CN A2007100873614A CN 200710087361 A CN200710087361 A CN 200710087361A CN 101026736 A CN101026736 A CN 101026736A
Authority
CN
China
Prior art keywords
j2me
authentication
business
message
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2007100873614A
Other languages
Chinese (zh)
Other versions
CN100562097C (en
Inventor
邱正浩
朱志伟
金怡爱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2007100873614A priority Critical patent/CN100562097C/en
Publication of CN101026736A publication Critical patent/CN101026736A/en
Application granted granted Critical
Publication of CN100562097C publication Critical patent/CN100562097C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The method includes steps: step S102, when user runs J2ME service in set-top box, J2ME platform in set-top box reads attributive information of J2ME service, and assembles the attributive information to request for authorization information (RAI), which is sent to authorization server; step S104, after receiving RAI from J2ME platform, authorization server splits RAI, and assembles it to information of database, and carries out querying operation in database based on information of database; step S106, based on queried result, the authorization server returns corresponding message, and the J2ME platform decides whether to run J2ME service or not based on the message. The invention controls unauthorized service from running so as to guarantee security and stability of operation of set-top box service.

Description

In the IPTV system, the J2ME business is carried out the method and system of authentication
Technical field
The present invention relates to the communications field, relate more specifically to a kind of method and system that in the IPTV system, the J2ME business is carried out authentication.
Background technology
In the IPTV system, set-top box (STB) is an important equipment, is deployed in the subscriber household.Java Virtual Machine on the set-top box is the platform of the various J2ME business of operation, in actual use, set-top box is a controlled equipment, different with common computer, the fail safe and the stability test of the strictness of the necessary process of the J2ME business set-top box producer that moves thereon, can not cause adverse influence, and, can use through after authorizing to original system.
Simultaneously, a lot of J2ME service providers (SP) is arranged.These service providers provide numerous J2ME business, thus must control the J2ME business that all kinds of SP provide, for not moving, to avoid occurring the phenomenon that set-top box becomes an open platform through the business of authorizing.
Summary of the invention
The objective of the invention is to, a kind of method and system that the J2ME business is carried out authentication in the IPTV system is provided.
Method of in the IPTV system J2ME business being carried out authentication according to the present invention may further comprise the steps: step S102, when the user moves J2ME in the set-top box when professional, J2ME platform in the set-top box reads the characteristic information of J2ME business, and characteristic information is assembled into authentication request information, send to authentication server; Step S104, authentication server receive after the authentication request information from the J2ME platform, split authentication request information, are assembled into database information, and inquire about in database according to database information; And step S106, authentication server returns corresponding message according to the result of inquiry, and whether decision moves the J2ME business to the J2ME platform according to message.
Wherein, in step S106, further comprising the steps of: as, then to send the authentication success message to the J2ME platform if authentication server inquires the record that is complementary with database information in database; And after the J2ME platform receives the authentication success message, operation J2ME business.
Wherein, in step S106, further comprising the steps of: as, then to send failed authentication message to the J2ME platform if authentication server does not inquire the record that is complementary with database information in database; And after the J2ME platform receives failed authentication message, do not move the J2ME business.
In the IPTV system J2ME business to be carried out the method for authentication further comprising the steps of according to of the present invention: the J2ME platform receives after the authentication success message, preserves authorization messages in set-top box.
Wherein, send at the J2ME platform before the authentication request message of J2ME business, further comprising the steps of: the authorization message that whether has the J2ME business on the inspection machine top box; And if have authorization message, then directly move the J2ME business.
Wherein, authorization messages has ageing, after surpassing predetermined timeliness, deletes from set-top box.Characteristic information comprises the hardware and software information and the identification code of J2ME business.Store in the database through the identification code of the J2ME business of authorizing and operation hardware and software version information through the J2ME business of authorizing.Authentication request information, database information, authentication success message and failed authentication message are all passed through encryption.
The system that in the IPTV system J2ME business is carried out authentication according to the present invention comprises: authentication module, be arranged in set-top box, be used for when the user moves the J2ME business of set-top box, read the characteristic information of J2ME business, and characteristic information is assembled into authentication request information, send to authentication server; Authentication server, be used to receive authentication request information from the J2ME platform, and split the authentication request information receive, be assembled into database information, and in database, inquire about according to database information, and, return corresponding message to authentication module, to determine whether to move the J2ME business according to the result who inquires about; And database, be used to store through the identification code of the J2ME business of authorizing and operation hardware and software version information through the J2ME business of authorizing.
Wherein, when authentication server inquires the record that is complementary with database information in database, send the authentication success message to authentication module; And after authentication module receives the authentication success message, operation J2ME business.When authentication server does not inquire the record that is complementary with database information in database, send failed authentication message to authentication module; And after authentication module receives failed authentication message, do not move the J2ME business.
The system that in the IPTV system J2ME business is carried out authentication according to the present invention also comprises: enquiry module, be arranged in set-top box, be used for whether existing on the inspection machine top box authorization message of J2ME business,, then directly move the J2ME business if wherein there is authorization message.
The system that in the IPTV system J2ME business is carried out authentication according to the present invention also comprises: memory module, be used for after authentication module receives the authentication success message, and preserve authorization messages.
Wherein, authorization messages has ageing, after surpassing predetermined timeliness, deletes from set-top box.Authentication request information, database information, authentication success message and failed authentication message are all passed through encryption.
By the present invention, obtained better controlled for the operation of unauthorized business, guaranteed the fail safe and the stability of set-top box service operation.The present invention has adopted the J2ME virtual machine platform directly to send a message to the authentication server authentication, and does not require that the J2ME business sends a message to the authentication server authentication, need not change for the J2ME business, thereby has reduced J2ME service provider's development difficulty.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart that the J2ME business is carried out the method for authentication in the IPTV system according to the embodiment of the invention;
Fig. 2 is the schematic flow sheet that the J2ME business is carried out the method for authentication in the IPTV system according to further embodiment of this invention; And
Fig. 3 is the block diagram that the J2ME business is carried out the system of authentication in the IPTV system according to the embodiment of the invention.
Embodiment
Below with reference to accompanying drawing, describe the specific embodiment of the present invention in detail.
With reference to figure 1, the method for the J2ME business being carried out authentication in the IPTV system according to the embodiment of the invention is described.As shown in Figure 1, this method may further comprise the steps: step S102, and when the user moves J2ME in the set-top box when professional, the J2ME platform in the set-top box reads the characteristic information of J2ME business, and characteristic information is assembled into authentication request information, send to authentication server; Step S104, authentication server receive after the authentication request information from the J2ME platform, split authentication request information, are assembled into database information, and inquire about in database according to database information; And step S106, authentication server returns corresponding message according to the result of inquiry, and whether decision moves the J2ME business to the J2ME platform according to message.
Wherein, in step S106, further comprising the steps of: as, then to send the authentication success message to the J2ME platform if authentication server inquires the record that is complementary with database information in database; And after the J2ME platform receives the authentication success message, operation J2ME business.
Wherein, in step S106, further comprising the steps of: as, then to send failed authentication message to the J2ME platform if authentication server does not inquire the record that is complementary with database information in database; And after the J2ME platform receives failed authentication message, do not move the J2ME business.
In the IPTV system J2ME business to be carried out the method for authentication further comprising the steps of according to of the present invention: the J2ME platform receives after the authentication success message, preserves authorization messages in set-top box.
Wherein, send at the J2ME platform before the authentication request message of J2ME business, further comprising the steps of: the authorization message that whether has the J2ME business on the inspection machine top box; And if have authorization message, then directly move the J2ME business.
Wherein, authorization messages has ageing, after surpassing predetermined timeliness, deletes from set-top box.Characteristic information comprises the hardware and software information and the identification code of J2ME business.Store in the database through the identification code of the J2ME business of authorizing and operation hardware and software version information through the J2ME business of authorizing.Authentication request information, database information, authentication success message and failed authentication message are all passed through encryption.
With reference to figure 2, the method for the J2ME business being carried out authentication in the IPTV system according to further embodiment of this invention is described.As shown in Figure 2, this method may further comprise the steps:
S202, certain J2ME business of operation on the J2ME service provider application set-top box in the IPTV system was not if should business have the destruction of fail safe and stability through detailed test proof to existing system, then to unique ID number of overall situation of this traffic assignments; Set up the service authentication server then, open fixing authentication port.Set up database, in database each distribution of storage, through overall unique ID number of the business of mandate, can move the software and hardware version information of this professional set-top box and the information of some other necessity.The J2ME virtual machine reads certain professional characteristic information (comprising the software and hardware information of operation business and professional ID number), be assembled into this professional information of unique identification according to certain form then, send to specific authentication server, wait for authentication success or the unsuccessful message of authentication that authentication server returns simultaneously.
S204 after the authentication request information that the J2ME virtual machine sends on the authentication server receiving set up box, splits this information and is assembled into database information and inquire about in database.If successful inquiring in the database is then represented the authentication success, authentication server sends the authentication success message to set-top box J2ME platform, next forwards S206 to.If inquiry failure in the database represents that then authentication is unsuccessful, authentication server sends failed authentication message to set-top box J2ME platform, next forwards S208 to.
S206, authentication server sends the authentication success message to set-top box J2ME virtual machine, the professional normal operation that starts of J2ME.
S208, authentication server sends failed authentication message to set-top box J2ME virtual machine, and the J2ME business can't start operation.
Wherein, in the process of transfer of data, all data must be passed through encryption.
Wherein, take place for fear of the authentication server situation that over-burden, adopt following Reduction of Students' Study Load mechanism: the J2ME virtual machine on the set-top box is before the authentication request of certain J2ME business of transmission, check at first whether this machine has this professional authorization message (encrypting storage), if have, then directly move this business, need not go authentication server to obtain checking again and authorize.If no, then carry out authentication, and after obtaining successfully mandate, deposit a authorization message in this locality according to above-mentioned process.The authorization message that deposit set-top box this locality has certain ageing (losing efficacy after being generally shutdown), if surpassed timeliness, need go authentication server to carry out authentication again when then operation is professional.
The present invention is by expanding JAVA virtual machine module, starting certain J2ME when professional, realizes service authentication by implicitly calling this module, and and concrete J2ME independent of service, so need not revise the business that J2ME content supplier provides.
With reference to figure 3, the system that the J2ME business is carried out authentication in the IPTV system according to the embodiment of the invention is described.As shown in Figure 3, the system that should be in the IPTV system J2ME business be carried out authentication comprises: authentication module 302, be arranged in set-top box, be used for when the user moves the J2ME business of set-top box, read the characteristic information of J2ME business, and characteristic information is assembled into authentication request information, send to authentication server; Authentication server 304, be used to receive authentication request information from the J2ME platform, and split the authentication request information receive, be assembled into database information, and in database, inquire about according to database information, and, return corresponding message to authentication module, to determine whether to move the J2ME business according to the result who inquires about; And database 306, be used to store through the identification code of the J2ME business of authorizing and operation hardware and software version information through the J2ME business of authorizing.
Wherein, when authentication server inquires the record that is complementary with database information in database, send the authentication success message to authentication module; And after authentication module receives the authentication success message, operation J2ME business.When authentication server does not inquire the record that is complementary with database information in database, send failed authentication message to authentication module; And after authentication module receives failed authentication message, do not move the J2ME business.
The system that in the IPTV system J2ME business is carried out authentication according to the present invention also comprises: enquiry module 308, be arranged in set-top box, be used for whether existing on the inspection machine top box authorization message of J2ME business,, then directly move the J2ME business if wherein there is authorization message.
The system that in the IPTV system J2ME business is carried out authentication according to the present invention also comprises: memory module 310, be used for after authentication module receives the authentication success message, and preserve authorization messages.
Wherein, authorization messages has ageing, after surpassing predetermined timeliness, deletes from set-top box.Authentication request information, database information, authentication success message and failed authentication message are all passed through encryption.
By the present invention, obtained better controlled for the operation of unauthorized business, guaranteed the fail safe and the stability of set-top box service operation.The present invention has adopted the J2ME virtual machine platform directly to send a message to the authentication server authentication, and does not require that the J2ME business sends a message to the authentication server authentication, need not change for the J2ME business, thereby has reduced J2ME service provider's development difficulty.
Ability will readily understand additional advantages and modifications of the present invention in the technical staff.Therefore, the present invention is not limited to the specific detail and the exemplary embodiments that illustrate and describe herein in the aspect widely.Therefore, can under the condition that does not break away from by claim and the spirit or scope of the present invention that equivalent limited thereof, make various modifications.

Claims (16)

1. a method of the J2ME business being carried out authentication in the IPTV system is characterized in that, may further comprise the steps:
Step S102, when the user moves J2ME in the set-top box when professional, the J2ME platform in the described set-top box reads the characteristic information of described J2ME business, and described characteristic information is assembled into authentication request information, sends to authentication server;
Step S104, described authentication server receive after the described authentication request information from described J2ME platform, split described authentication request information, are assembled into database information, and inquire about in database according to described database information; And
Step S106, described authentication server returns corresponding message according to the result of inquiry, and whether described J2ME platform moves described J2ME business according to described message decision.
2. method according to claim 1 is characterized in that, and is in step S106, further comprising the steps of:
If described authentication server inquires the record that is complementary with described database information in described database, then send the authentication success message to described J2ME platform; And
After described J2ME platform receives described authentication success message, move described J2ME business.
3. method according to claim 1 is characterized in that, and is in step S106, further comprising the steps of:
If described authentication server does not inquire the record that is complementary with described database information in described database, then send failed authentication message to described J2ME platform; And
After described J2ME platform receives described failed authentication message, do not move described J2ME business.
4. method according to claim 2 is characterized in that, also comprises: described J2ME platform receives after the described authentication success message, preserves authorization messages in described set-top box.
5. method according to claim 4 is characterized in that, and is before described J2ME platform sends the authentication request message of described J2ME business, further comprising the steps of: as to check the authorization message that whether has described J2ME business on the described set-top box; And
If there is described authorization message, then directly move described J2ME business.
6. method according to claim 4 is characterized in that described authorization messages has ageing, after surpassing predetermined timeliness, deletes from described set-top box.
7. according to each described method in the claim 1 to 6, it is characterized in that described characteristic information comprises the hardware and software information and the identification code of described J2ME business.
8. according to each described method in the claim 1 to 6, it is characterized in that the hardware and software version information that stores the identification code that passes through the J2ME business of authorizing in the described database and move the J2ME business of described process mandate.
9. according to each described method in the claim 1 to 6, it is characterized in that described authentication request information, described database information, described authentication success message and described failed authentication message are all passed through encryption.
10. a system that the J2ME business is carried out authentication in the IPTV system is characterized in that, comprising:
Authentication module is arranged in set-top box, is used for reading the characteristic information of described J2ME business when the user moves the J2ME business of set-top box, and described characteristic information is assembled into authentication request information, sends to authentication server;
Described authentication server, be used to receive described authentication request information from described J2ME platform, and split the described authentication request information receive, be assembled into database information, and in database, inquire about according to described database information, and, return corresponding message to described authentication module, to determine whether to move described J2ME business according to the result who inquires about; And
Described database is used to the hardware and software version information of storing the identification code that passes through the J2ME business of authorizing and moving the J2ME business of described process mandate.
11. system according to claim 10 is characterized in that, when described authentication server inquires the record that is complementary with described database information in described database, sends the authentication success message to described authentication module; And
After described authentication module receives described authentication success message, move described J2ME business.
12. system according to claim 10 is characterized in that, when described authentication server does not inquire the record that is complementary with described database information in described database, sends failed authentication message to described authentication module; And
After described authentication module receives described failed authentication message, do not move described J2ME business.
13. system according to claim 10 is characterized in that, also comprises:
Enquiry module is arranged in described set-top box, is used to check the authorization message that whether has described J2ME business on the described set-top box, if wherein there is described authorization message, then directly moves described J2ME business.
14. system according to claim 10 is characterized in that, also comprises:
Memory module is used for after described authentication module receives described authentication success message, preserves authorization messages.
15. system according to claim 14 is characterized in that, described authorization messages has ageing, after surpassing predetermined timeliness, deletes from described set-top box.
16., it is characterized in that described authentication request information, described database information, described authentication success message and described failed authentication message are all passed through encryption according to each described system in the claim 10 to 15.
CNB2007100873614A 2007-03-14 2007-03-14 In the IPTV system, the J2ME business is carried out the method and system of authentication Expired - Fee Related CN100562097C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100873614A CN100562097C (en) 2007-03-14 2007-03-14 In the IPTV system, the J2ME business is carried out the method and system of authentication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100873614A CN100562097C (en) 2007-03-14 2007-03-14 In the IPTV system, the J2ME business is carried out the method and system of authentication

Publications (2)

Publication Number Publication Date
CN101026736A true CN101026736A (en) 2007-08-29
CN100562097C CN100562097C (en) 2009-11-18

Family

ID=38744577

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100873614A Expired - Fee Related CN100562097C (en) 2007-03-14 2007-03-14 In the IPTV system, the J2ME business is carried out the method and system of authentication

Country Status (1)

Country Link
CN (1) CN100562097C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938632A (en) * 2010-08-31 2011-01-05 中山大学 Basic service system based on interactive service of IP set top box
WO2011069433A1 (en) * 2009-12-07 2011-06-16 华为技术有限公司 Method, device and system for controlling service authority in internet protocol teleivison system
CN103067911A (en) * 2012-12-17 2013-04-24 中国联合网络通信集团有限公司 Method and equipment used for controlling hardware module
CN106791011A (en) * 2016-11-29 2017-05-31 维沃移动通信有限公司 The method and mobile terminal of a kind of control recording authority
CN109408250A (en) * 2018-09-27 2019-03-01 天津字节跳动科技有限公司 Call application programming interface API approach, device, electronic equipment
CN109522726A (en) * 2018-10-16 2019-03-26 平安万家医疗投资管理有限责任公司 Method for authenticating, server and the computer readable storage medium of small routine

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011069433A1 (en) * 2009-12-07 2011-06-16 华为技术有限公司 Method, device and system for controlling service authority in internet protocol teleivison system
CN101938632A (en) * 2010-08-31 2011-01-05 中山大学 Basic service system based on interactive service of IP set top box
CN103067911A (en) * 2012-12-17 2013-04-24 中国联合网络通信集团有限公司 Method and equipment used for controlling hardware module
CN103067911B (en) * 2012-12-17 2016-03-23 中国联合网络通信集团有限公司 The method and apparatus that control hardware module uses
CN106791011A (en) * 2016-11-29 2017-05-31 维沃移动通信有限公司 The method and mobile terminal of a kind of control recording authority
CN109408250A (en) * 2018-09-27 2019-03-01 天津字节跳动科技有限公司 Call application programming interface API approach, device, electronic equipment
CN109522726A (en) * 2018-10-16 2019-03-26 平安万家医疗投资管理有限责任公司 Method for authenticating, server and the computer readable storage medium of small routine
CN109522726B (en) * 2018-10-16 2024-06-25 康键信息技术(深圳)有限公司 Authentication method for applet, server and computer readable storage medium

Also Published As

Publication number Publication date
CN100562097C (en) 2009-11-18

Similar Documents

Publication Publication Date Title
CN108173850B (en) Identity authentication system and identity authentication method based on block chain intelligent contract
CN100562097C (en) In the IPTV system, the J2ME business is carried out the method and system of authentication
US9571474B2 (en) Method for providing a service based on tag information, and corresponding tag and tag reading device
US20110138185A1 (en) Method and apparatus for updating data
CN101360110B (en) Set-top box application security detecting method, apparatus and system
CN101305555B (en) Multimedia middleware apparatus using metadata, method for controlling multimedia middleware
CN100472445C (en) Configuring load application method and system of communication apparatus
CN110381103B (en) Method, device and system for downloading operator configuration file
CN106105154B (en) The method, apparatus and system of data upload
AU2019223875A1 (en) Methods, application server, block chain node and media for logistics tracking and source tracing
CN102377570B (en) Method and device for generating dynamic passwords
CN111447245A (en) Authentication method, authentication device, electronic equipment and server
CN110880146A (en) Block chain chaining method, device, electronic equipment and storage medium
CN102970308B (en) A kind of user authen method and server
CN103780580A (en) Method, server and system for providing capability access strategy
CN103561006A (en) Application authentication method and device and application authentication server based on Android
CN103178969B (en) A kind of service authentication method and system
CN104219198A (en) Tamper-proofing method of WebApp
CN102801713A (en) Website logging-in method and system as well as accessing management platform
CN108040090A (en) A kind of system combination method of more Web
CN102480354A (en) Unified authentication service system and method for unified authentication
CN111339524A (en) Multi-tenant permission control method and device
CN101930361A (en) Method and system for providing online data storage service
CN113129008B (en) Data processing method, device, computer readable medium and electronic equipment
CN105357015A (en) Internet of things (IOT) security authentication method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091118

Termination date: 20160314