TWI465952B - Macro file execution platform applied for smart phone - Google Patents

Macro file execution platform applied for smart phone Download PDF

Info

Publication number
TWI465952B
TWI465952B TW100115828A TW100115828A TWI465952B TW I465952 B TWI465952 B TW I465952B TW 100115828 A TW100115828 A TW 100115828A TW 100115828 A TW100115828 A TW 100115828A TW I465952 B TWI465952 B TW I465952B
Authority
TW
Taiwan
Prior art keywords
smart phone
macro instruction
information
resource identifier
module
Prior art date
Application number
TW100115828A
Other languages
Chinese (zh)
Other versions
TW201245991A (en
Inventor
Ingyi Chen
Original Assignee
Univ Nat Taipei Technology
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 Univ Nat Taipei Technology filed Critical Univ Nat Taipei Technology
Priority to TW100115828A priority Critical patent/TWI465952B/en
Publication of TW201245991A publication Critical patent/TW201245991A/en
Application granted granted Critical
Publication of TWI465952B publication Critical patent/TWI465952B/en

Links

Description

Smart phone application macro instruction execution platform

The present invention relates to an instruction execution platform, and more particularly to a smart phone application macro instruction execution platform.

A smart phone is a device that integrates voice, data, and the Internet. At present, the operating system on the smart phone, such as Apple's iOS or Google's Android operating system, can allow users to install third-party software, so by integrating the diverse services and device functions on the Internet, the information service The mobile app that is directly available to smartphones has become a hot development trend.

Mobile applications are available in a wide range of applications, such as business, travel, personal management, project management and more. Among them, when the mobile application on the current smart phone is developed, the developer usually needs to use the integrated development environment (such as Apple's Xcode) of different system platforms to write the code to combine the application provided by the platform. The Application Programming Interface, which in turn generates the user interface, the information management function, the combination of information and device functions, and the logic of the operation, such as the travel guide system of the tourism industry or the viewing system of the room industry.

However, the current mobile application system has the following problems during development:

1. The development of the mobile application system is difficult: the programming language supported by the platform must be written during development, and the application platform can be integrated through the application programming interface provided by the platform. This is for anyone who does not write programming language. Said, is a very high threshold, can not easily develop the system.

Second, the developed features are not easy to reuse: each development needs to customize the function according to the smart phone platform or network service used. Among them, due to the different smart phone platforms used, the code is not the same, resulting in the function of the combined API in the code is not easy to reuse, there is no unified interface format, so that the next development is easy to repeat use.

Third, the application model of the same application domain can not be reused: In the current technology, mobile applications of different content in the same application field, even if the visual style is similar, still need to be re-developed. There is no good way to reuse application templates.

Therefore, one aspect of the present invention is to provide a smart phone application macro instruction execution platform for executing on a smart phone. The smart phone application macro instruction execution platform downloads the macro instruction information file, and the information and instructions in the macro instruction information file are converted into display interfaces and corresponding events through the execution platform, and integrate functions and networks on the smart phone. Road service to provide information or services. The smart phone application macro instruction execution platform comprises a macro instruction downloading module, a command conversion module, a storage library, a command storage module, an information display module, an event processing module, and a service integration module. Group and a service call module. The macro instruction download module establishes a connection with a storage server through an external network, and downloads a macro instruction information file from the storage server. The instruction conversion module converts the macro instruction information file into one operable object in a specific programming language. The instruction storage module stores the operable objects in the repository. The information display module displays the information of the operable object on a display screen of one of the display elements according to a preset screen template. The event processing module generates a corresponding uniform resource identifier according to the interaction of the user with the display screen of the display component. The Service Integration Module leverages an application design interface to integrate the services provided by smartphones and the Internet. The service call module provides a corresponding service according to the uniform resource identifier, and the call service integration module.

The application of the present invention has the following advantages. In this way, according to the user's interaction with the display screen of the display component, the corresponding service can be provided from a plurality of services integrated into the smart phone application macro instruction execution platform. Thus, macro instruction information files of the same format can be reused in various different scenarios.

The spirit and scope of the present invention will be apparent from the following description of the preferred embodiments of the invention. The spirit and scope of the invention are not departed.

Please refer to FIG. 1 , which is a functional block diagram of a smart phone application macro instruction execution platform according to an embodiment of the invention. The smart phone application macro instruction execution platform downloads the macro instruction information file, and the information and instructions in the macro instruction information file are converted into display interfaces and corresponding events through the execution platform, and integrate functions and networks on the smart phone. Road service to provide information or services.

The smart phone application macro instruction execution platform 110 executes on a smart phone 100. The smart phone application macro instruction execution platform 110 includes a macro instruction downloading module 111, a command conversion module 112, a storage 113, an instruction storage module 114, an information display module 115, and an event processing module. The group 116, a service integration module 117 and a service call module 118. The repository 113 is used to store information. The implementation of repository 113 can be implemented using SQLite. SQLite is an associative database management system, but unlike the common database client/server architecture paradigm, there is a separate program running on the server, and the client then interacts with the independent program on the server. News. Instead, the library's program is directly integrated into the client's program as part of it. So the main communication protocol is the direct application programming interface (API) call within the programming language. This has a positive effect on total consumption, delay time and overall simplicity. The entire repository 113 (definition, table, index, and material itself) is stored on a smart phone 100 in a single file. Its simple design is done by locking the entire data file when writing to the database. Therefore, such a feature is well suited for use on a smart phone 100 that is less efficient than a typical personal computer.

The macro command download module 111 establishes a connection with a storage server 300 via an external network 200. The macro instruction download module 111 downloads a macro instruction information file from the storage server 300. The macro instruction information file may include at least one macro instruction structure conforming to the eXtensible Markup Language (xml). The macro instruction structure may include an information format, a news name, a news content or other information related content. The information format can be text, hyperlink (such as http://xxx or other types of hyperlinks), files (in which it is necessary to clearly mark which file, such as avi, mp4, pdf, after the service integration module Correspondence 117, group or other format. The information name is the meaning of the representative, such as phone number, address, and so on. The information content is in line with the information format. For example, the information to be expressed is the name of the contact person, the information format is the text, and the information name is the name of the contact person, and the information content is the string of the name XXX. In another embodiment of the present invention, if the information to be expressed is an email, the information format is text, the information name is an email, and the information content is a string of an email account (such as abc@example.com ).

The instruction conversion module 112 converts the macro instruction information file into one of a specific programming language operable object. For example, the instruction conversion module 112 can parse the information in the tag in the macro instruction information file through a parser, and then convert the information into a specific program language operable object. Among them, there are attributes of format, name, and content in the operable object. For example, email messages are converted into actionable objects for an email. The format attribute of the operable object belonging to the email is text, the name attribute is email, and the content attribute is a string of an email account (such as abc@example.com ). In another embodiment of the present invention, if the information format is group information, the command conversion module 112 converts the information formatted into groups into information of a tree structure.

The instruction storage module 114 stores the operable objects in the repository 113. The instruction storage module 114 extracts information in an object operable by a specific programming language and stores it in the repository 113. The information stored in the repository 113 is also stored in accordance with the information format, the information name, and the information content field. For example, the format attribute in the object of the email is stored in the information format field in the repository 113, and the name attribute is stored in the information name field in the repository 113, and the information content is stored in the information content field in the repository 113.

The information display module 115 displays the information of the operable object on one display screen displayed by one of the display elements of the smart phone 100 according to a preset screen template. Wherein, if the smart phone application macro instruction execution platform 110 is running on iOS, Interface Builder can be used to construct a preset picture template. In addition, the preset screen template is only a frame, and the content that is actually executed is dynamically configured through the writing of the macro instruction, and the information display module 115 is responsible for the image being prepared and then transmitted through the smart phone 100. The display component is displayed.

The event processing module 116 generates a corresponding Uniform Resource Identifier (URI) according to the interaction of the user with the display screen of the display element. The uniform resource identifier includes an internet resource name identification string for identifying one of the required internet resource names. In addition, the event receiver 116a of the event processing module 116 may first receive an interaction signal generated by the user's interaction with the display screen of the display component of the smart phone 100 as a basis for generating a corresponding uniform resource identifier. The interactive signal may be generated according to any event such as the user selecting the text or the icon, inputting the text, and the like. The event processing module 116 can then combine the interaction signals generated by different interaction events into a string of uniform resource identifiers. The uniform resource identifier grammar may be composed of a uniform resource identifier protocol name (for example, "http", "ftp", "mailto" or "file"), a colon, and a content corresponding to the protocol. A specific protocol defines the syntax and semantics of the protocol content, and all protocols must follow certain common rules for uniform resource identifier grammar. For example, the information needed to send an email is an email account, so the Uniform Resource Identifier would be mailto:abc@example.com.

The service integration module 117 utilizes an application programming interface (API) to integrate the services provided by the smart phone 100 and the Internet. Among them, the integrated service may be a program with a picture, such as a video playing, or a program that runs without a picture in the background, such as music playing. In addition, the various services integrated need to be paired with a unique uniform resource identifier for the service call module 118 to place a call.

The service call module 118 provides a corresponding service to the call service integration module 117 based on the uniform resource identifier. The service call module 118 can include a unified resource identifier registration library 118a, a uniform resource identifier resolver 118b, and a uniform resource identifier verifier 118c. The uniform resource identifier parser 118c resolves the protocol name and content contained therein from the uniform resource identifier. For example, if the transmitted uniform resource identifier includes mailto:abc@example.com, the protocol name parsed by the unified resource identifier parser 118c is mailto, and the content is abc@example.com. Next, the uniform resource identifier parser 118c may pass the parsed protocol name and content to the uniform resource identifier verifier 118b. Thus, the uniform resource identifier verifier 118b can verify the correctness of the uniform resource identifier. Then, when the uniform resource identifier is verified to be correct, the service call module 118 can correctly call the service integration module 117 to provide a corresponding service according to the uniform resource identifier.

Further, the uniform resource identifier registration library 118a stores format related information of the uniform resource identifier. For example, the developed service integration module 117 needs to be registered in the uniform resource identifier registration library 118a. The uniform resource identifier registration library 118a may store the protocol name, the content corresponding to the protocol, the format requirement of the corresponding content, and the service corresponding to the service integration module 117 corresponding to the call. The various services integrated by the service integration module 117 have corresponding unified resource identifiers. For example, in the uniform resource identifier corresponding to the service for sending the email, the protocol name may be set to mailto, and the content corresponding to the protocol may be a string of the email account; the format requirement of the corresponding content may use a regular expression. (regular expression) is expressed as \b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[AZ]{2,4}\b; correspondingly provided The service is "send email". Then, when receiving the protocol name and content of the above format, the uniform resource identifier verifier 118b searches the uniform resource identifier registration library 118a for the existence of the transmitted protocol name, such as mailto. If the protocol name of mailto does exist in the uniform resource identifier registration library 118a, the uniform resource identifier verifier 118b will again verify the correctness of the corresponding content format. For example, the uniform resource identifier verifier 118b will verify whether abc@example.com conforms to the format of the corresponding content "regular expression \b[A-Z0-9._%-]+@[A-Z0-9.- ]+\.[AZ]{2,4}\b". If the verification passes, the unified resource identifier verifier 118b passes the protocol name and content to the service call module 118, and the call service integration module 117 provides the service. In this way, the user can be integrated into the plurality of services of the smart phone 100 according to the user's interaction with the display screen of the display component, and the corresponding service can be provided. Thus, the same macro instruction information file can be reused in various different scenarios.

In an embodiment of the present invention, the user can use the smart phone carrying the smart phone application macro instruction execution platform 110 to apply for the travel itinerary. Therefore, the macro instruction downloading module 111 can download the macro instruction information file with the travel information from the storage server 300 through the external network 200. The content of the macro instruction information file can be a one-day travel itinerary in the northeast corner, and the information in the macro instruction information file may include a macro instruction structure composed of a tourist name and a tourist attraction. All the attractions in the macro command information file have name, address, phone number, longitude, latitude, start time (arranged in the itinerary), end time (arranged in the itinerary), note group (including one The above notes), file group (including more than one file), link group (including more than one link), picture group (including more than one image file), video group (including more than one) Video file).

The instruction conversion module 112 parses the information in the macro instruction information file through the parser, and converts the information into a specific programming language object. For example, if the smart phone 100 is an iPhone, then the macro command information file is converted into an Object of Objective C. In the case of this embodiment, an operational item relating to travel is produced. Among them, the name attribute can be set to a day trip in the northeast corner. The operational object of the tour may include a plan object, and the plan object may have an array of scenic spots. The array of attractions is converted from the attractions described in the macro instruction information file. Among them, the name, address, telephone number, longitude, latitude, start time (arranged in the itinerary), end time (arranged in the itinerary), note group (including more than one note), a file group (including more than one file), a link group (including more than one link), a picture group (including more than one picture file), a video group (including more than one video file), Convert to objects that conform to Objective C to create an array of attractions.

The instruction storage module 114 stores the information in the macro instruction information file in the repository 113. In this embodiment, since the repository 113 is implemented using SQLite, the instruction storage module 114 can query the INSERT of the repository 113. Therefore, each data item will correspond to a data sheet in the database, so there will be a tourist information sheet, a trip information sheet, a scenic information sheet, and the like. Each data sheet corresponds to a specific operable object of the macro instruction information file, such as an operable object, a project object, an array of scenic spots, and the like.

The information display module 115 displays the information of the travel-related operable object on one display screen displayed by one of the display elements of the smart phone 100 according to a preset screen template. In the present embodiment, there are already well-configured templates for the travel itinerary. Referring to Fig. 2, it is an embodiment of a display screen 120 on the smartphone 100. The information display module 115 can display the information of the travel-related operable objects, such as the schedule points corresponding to the current time and the information thereof, on the display screen 120 of the smart phone 100. Therefore, the display screen 120 can display the corresponding schedules in which the schedule time 401 is the current time 402. In this way, the user does not need to select the current scheduling point, and does not need to find the information related to the current scheduling point, so that the user can use it during the scheduling. In addition, information related to the schedule points, such as text files, sound files, image files, video files or other types of information related to the schedule points, may be provided according to the user's choice.

In addition, the smart phone application macro instruction execution platform 110 may generate a corresponding uniform resource identifier according to the user's choice to provide information or services related to the attraction in the schedule, such as attraction navigation, calling or related text files. , sound files, image files, video files or other types of information. Thus, the information options displayed on display 120 may include the option to enable video option 406, open file option 407, or enable other information. Therefore, when the user selects a multimedia file of an attraction by interacting with the display screen 120, the smart phone 100 can play the multimedia file of the corresponding attraction. For example, when the user selects to enable the video and audio option 406 to enable the multimedia file of the attraction of the video file format, the event processing module 116 can generate a uniform resource identifier corresponding to the opening of the audio and video, so that the smart phone 100 can play the scenic spot. The related video file or picture file (multimedia file); when the user selects the open file option 407, the event processing module 116 can generate a uniform resource identifier corresponding to the open file, so that the smart phone 100 plays (displays) the attraction related Text file (multimedia file). In this way, the smart phone application macro instruction execution platform 110 can provide information related to the user's attraction (such as a text file, a sound file, a picture file or a video file) according to the macro instruction information file to assist the scheduling.

In addition, when the user selects to enable the communication option 404 by interacting with the display screen 120, the event processing module 116 can generate a uniform resource identifier corresponding to the open communication, and cause the service call module 118 to call the service integration module 117. , providing communication related services. Therefore, the service integration module 117 can provide communication services according to contact information in the uniform resource identifier, such as a phone number, an email account, an internet protocol address, or other types of contact information. The communication services provided can be used to make calls, send text messages, send e-mails or video calls, and so on. Therefore, users do not need to enter their own contact information to directly contact the person concerned with the scheduling point.

When the user selects to enable the navigation option 403 through the interaction with the display screen 120, the event processing module 116 can generate a uniform resource identifier corresponding to the navigation, thereby causing the service call module 118 to call the service integration module 117. Provide navigation services. In this way, the user can know the path plan of the current location to the schedule point.

When the user selects the open hyperlink option 405 by the interaction with the display screen 120, the event processing module 116 can generate a uniform resource identifier corresponding to the hyperlink, and the service call module 118 calls the service integration module 117. , providing services for browsing hyperlinks. Therefore, the user can instantly view the webpage on the hyperlink address associated with the schedule point.

It will be apparent from the above-described embodiments of the present invention that the application of the present invention has the following advantages. In this way, according to the interaction of the user with the display screen of the display component, the corresponding service can be provided from a plurality of services integrated into the smart phone application macro instruction execution platform 110. Thus, macro instruction information files of the same format can be reused in various different scenarios.

Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and the present invention can be modified and modified without departing from the spirit and scope of the present invention. The scope is subject to the definition of the scope of the patent application attached.

100. . . Smart phone

110. . . Smart phone application macro instruction execution platform

111. . . Macro instruction download module

112. . . Command conversion module

113. . . Repository

114. . . Command storage module

115. . . Information display module

116. . . Event processing module

116a. . . Event receiver

117. . . Service integration module

118. . . Service call module

118a. . . Uniform Resource Identifier Registration Library

118b. . . Uniform resource identifier parser

118c. . . Uniform Resource Identifier Verifier

120. . . Display

200. . . External network

300. . . Storage server

401. . . Scheduling moment

402. . . Current time

403. . . Turn on navigation options

404. . . Turn on communication options

405. . . Turn on hyperlinks

406. . . Turn on video and audio options

407. . . Open file option

The above and other objects, features, advantages and embodiments of the present invention will become more apparent and understood.

FIG. 1 is a functional block diagram of a smart phone application macro instruction execution platform according to an embodiment of the invention.

FIG. 2 is an embodiment of a display screen 120 on the smart phone 100.

100. . . Smart phone

110. . . Smart phone application macro instruction execution platform

111. . . Macro instruction download module

112. . . Command conversion module

113. . . Repository

114. . . Command storage module

115. . . Information display module

116. . . Event processing module

116a. . . Event receiver

117. . . Service integration module

118. . . Service call module

118a. . . Uniform Resource Identifier Registration Library

118b. . . Uniform resource identifier parser

118c. . . Uniform Resource Identifier Verifier

200. . . External network

300. . . Storage server

Claims (6)

  1. A smart phone application macro instruction execution platform is executed on a smart phone, wherein the smart phone application macro instruction execution platform comprises: a macro instruction download module, through an external network, and a storage server Establishing a link, and downloading a macro instruction information file from the storage server; an instruction conversion module, converting the macro instruction information file into one of a specific programming language operable object; a repository; an instruction storage module a group, the operable object is stored in the storage; an information display module, according to a preset screen template, displaying the information of the operable object on a display screen of a display component; an event processing module Corresponding to the user interaction with the display screen of the display component, generating a corresponding unified resource identifier, where the uniform resource identifier includes an internet resource name identification string for identifying one of the required internet addresses Resource name; a service integration module that integrates the smart phone and the services provided by the Internet using an application design interface; And call a service module, according to the uniform resource identifier, call the service integration module corresponding to the service provided.
  2. The smart phone application macro instruction execution platform according to claim 1, wherein the macro instruction information file includes at least one macro instruction structure.
  3. The smart phone application macro instruction execution platform of claim 2, wherein the macro instruction structure comprises an information format, a news name and a news content.
  4. The smart phone application macro instruction execution platform according to claim 3, wherein the information format is at least one of a text, a hyperlink, a file, or a group.
  5. The smart phone application macro instruction execution platform of claim 1, wherein the event processing module comprises: an event receiver, which receives an interaction signal generated by the user interaction with the display screen of the display component.
  6. The smart phone application macro instruction execution platform according to claim 1, wherein the service call module comprises: a unified resource identifier registration library, storing format related information of the uniform resource identifier; and a unified resource identifier resolution And parsing the protocol name and content contained therein from the uniform resource identifier; and a uniform resource identifier verifier to verify the correctness of the uniform resource identifier.
TW100115828A 2011-05-05 2011-05-05 Macro file execution platform applied for smart phone TWI465952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100115828A TWI465952B (en) 2011-05-05 2011-05-05 Macro file execution platform applied for smart phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100115828A TWI465952B (en) 2011-05-05 2011-05-05 Macro file execution platform applied for smart phone

Publications (2)

Publication Number Publication Date
TW201245991A TW201245991A (en) 2012-11-16
TWI465952B true TWI465952B (en) 2014-12-21

Family

ID=48094448

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100115828A TWI465952B (en) 2011-05-05 2011-05-05 Macro file execution platform applied for smart phone

Country Status (1)

Country Link
TW (1) TWI465952B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI502482B (en) 2014-07-29 2015-10-01 Insyde Software Corp Handheld electronic device with the function of starting electronic device and its method, computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200949677A (en) * 2008-05-24 2009-12-01 Via Tech Inc Microprocessor having secure non-volatile storage access
TW201011538A (en) * 2008-09-15 2010-03-16 Microsoft Corp Managing cache data and metadata
US20100088598A1 (en) * 2008-10-02 2010-04-08 Samsung Electronics Co., Ltd. Function execution method and mobile terminal operating with the same
US20100100591A1 (en) * 2008-10-21 2010-04-22 Flexilis, Inc. System and method for a mobile cross-platform software system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200949677A (en) * 2008-05-24 2009-12-01 Via Tech Inc Microprocessor having secure non-volatile storage access
TW201011538A (en) * 2008-09-15 2010-03-16 Microsoft Corp Managing cache data and metadata
US20100088598A1 (en) * 2008-10-02 2010-04-08 Samsung Electronics Co., Ltd. Function execution method and mobile terminal operating with the same
US20100100591A1 (en) * 2008-10-21 2010-04-22 Flexilis, Inc. System and method for a mobile cross-platform software system

Also Published As

Publication number Publication date
TW201245991A (en) 2012-11-16

Similar Documents

Publication Publication Date Title
US6996800B2 (en) MVC (model-view-controller) based multi-modal authoring tool and development environment
Yuan Enterprise J2ME: developing mobile Java applications
CN100462917C (en) Data container for user interface content data
B'far Mobile computing principles: designing and developing mobile applications with UML and XML
JP5205965B2 (en) Computer system, server processing apparatus, terminal apparatus and method
US7774713B2 (en) Dynamic user experience with semantic rich objects
US7487440B2 (en) Reusable voiceXML dialog components, subdialogs and beans
US7904421B2 (en) Transparent virtual machine for mobile applications
CN100568241C (en) Consolidated content management method and system
US20030060896A9 (en) Software, devices and methods facilitating execution of server-side applications at mobile devices
US20140089786A1 (en) Automated Processor For Web Content To Mobile-Optimized Content Transformation
CN100454242C (en) Dynamically generating a voice navigable menu for synthesized data
US20050102625A1 (en) Audio tag retrieval system and method
CN100397340C (en) Application abstraction aimed at dialogue
EP2369480A2 (en) Mashup infrastructure with learning mechanism
US20100281475A1 (en) System and method for mobile smartphone application development and delivery
EP1787470A1 (en) Method and system for providing interactive services in digital television
JP2010528372A (en) Personality-based devices
JP6505117B2 (en) Interaction of digital personal digital assistant by replication and rich multimedia at response
Meier Professional Android 4 application development
CN102939604B (en) The method and apparatus of Internet resources for context index
CA2962636A1 (en) Voice and connection platform
JP2007242013A (en) Method, system and program for invoking content management directive (invoking content management directive)
CN100424637C (en) System and method for building wireless applications
US9530415B2 (en) System and method of providing speech processing in user interface

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees