[go: up one dir, main page]

CN110874711A - Service providing method, service processing method, device, electronic equipment and medium - Google Patents

Service providing method, service processing method, device, electronic equipment and medium Download PDF

Info

Publication number
CN110874711A
CN110874711A CN201811014366.9A CN201811014366A CN110874711A CN 110874711 A CN110874711 A CN 110874711A CN 201811014366 A CN201811014366 A CN 201811014366A CN 110874711 A CN110874711 A CN 110874711A
Authority
CN
China
Prior art keywords
service
field
event
fields
events
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.)
Pending
Application number
CN201811014366.9A
Other languages
Chinese (zh)
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.)
Banma Zhixing Network Hongkong Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811014366.9A priority Critical patent/CN110874711A/en
Priority to TW108123624A priority patent/TW202025018A/en
Priority to PCT/CN2019/101911 priority patent/WO2020042991A1/en
Publication of CN110874711A publication Critical patent/CN110874711A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a method, a device, electronic equipment and a medium for providing services and processing the services, so as to improve the flexibility of service setting. The method comprises the following steps: providing a plurality of fields of an event, wherein the fields are used for describing the event, and the field contents of the fields are determined according to data of a service providing object; determining at least two events required by a service, and acquiring a plurality of fields corresponding to the at least two events; and combining a plurality of fields corresponding to the at least two events to generate corresponding services. And combining the plurality of fields corresponding to the at least two events to generate corresponding services, flexibly generating the services based on the events, and having higher reusability of the events.

Description

Service providing method, service processing method, device, electronic equipment and medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for providing a service, a method and an apparatus for processing a service, an electronic device, and a machine-readable medium.
Background
In order to bring convenience to users, portable terminal devices such as mobile phones and the like often have reminding functions, including schedule reminding and reminding based on position, time and the like. For example, the user can be reminded to start watching the movie after purchasing a movie ticket, and can be reminded of nearby food after arriving at a certain shopping square.
Some of the reminding functions are set by the user, such as schedule reminding, and some are provided by the application program, such as reminding after purchasing movie tickets. However, these service services such as reminders are executed based on a single event, and need to be encoded according to data provided by the event to form a corresponding service, and the setting of the service is relatively fixed, which is poor in flexibility.
Disclosure of Invention
The embodiment of the application provides a method for providing a service, so as to improve the flexibility of service setting.
Correspondingly, the embodiment of the application also provides a device for providing the service, a service processing method and device, electronic equipment and a machine readable medium, so as to ensure the realization and the application of the method.
In order to solve the above problem, an embodiment of the present application discloses a method for providing a service, including: providing a plurality of fields of an event, wherein the fields are used for describing the event, and the field contents of the fields are determined according to data of a service providing object; determining at least two events required by a service, and acquiring a plurality of fields corresponding to the at least two events; and combining a plurality of fields corresponding to the at least two events to generate corresponding services.
The embodiment of the application also discloses a service processing method, which comprises the following steps: determining service content corresponding to a service according to first field content of the service corresponding to at least two events; the first field content comprises field contents of a plurality of fields corresponding to the event, and the first field content is determined according to data of a service providing object; and providing the service for the user according to the service content.
The embodiment of the present application further discloses a device for providing services, including: the system comprises an event providing module, a service providing module and a service providing module, wherein the event providing module is used for providing a plurality of fields of an event, the fields are used for describing the event, and the field content of the fields is determined according to data of a service providing object; the system comprises an event determining module, a service processing module and a service processing module, wherein the event determining module is used for determining at least two events required by a service and acquiring a plurality of fields corresponding to the at least two events; and the service generation module is used for combining the plurality of fields corresponding to the at least two events by the service to generate the corresponding service.
The embodiment of the present application further discloses a service processing apparatus, including: the service determining module is used for determining the service content corresponding to the service according to the first field content of at least two events corresponding to the service; the first field content comprises field contents of a plurality of fields corresponding to the event, and the first field content is determined according to data of a service providing object; and the service execution module is used for providing the service for the user according to the service content.
The embodiment of the application also discloses an electronic device, which comprises: a processor; and a memory having executable code stored thereon, which when executed, causes the processor to perform a method of providing a service as described in one or more of the embodiments of the present application.
One or more machine-readable media having stored thereon executable code that, when executed, causes a processor to perform a method of providing a service as described in one or more of the embodiments of the present application are also disclosed.
The embodiment of the present application further discloses an electronic device, which includes: a processor; and a memory having executable code stored thereon, which when executed, causes the processor to perform a business process method as described in one or more of the embodiments of the present application.
One or more machine-readable media having executable code stored thereon, which when executed, causes a processor to perform a business processing method as described in one or more of the embodiments of the present application, are also disclosed.
Compared with the prior art, the embodiment of the application has the following advantages:
in the embodiment of the application, a platform can provide a plurality of fields of events, wherein the fields are used for describing the events, the field contents of the fields are determined according to data of service providing objects, so that various events can be determined based on the data provided by the service providing objects, then at least two events required by a service can be determined, a plurality of fields corresponding to the at least two events are obtained, the fields corresponding to the at least two events are combined to generate corresponding services, the services are generated based on the events flexibly, and the reusability of the events is high.
Drawings
FIG. 1 is a schematic diagram of a business processing system in an embodiment of the application;
FIG. 2 is a schematic diagram of an example of a service construction according to an embodiment of the present application;
FIG. 3 is a flow chart of steps of an embodiment of a method of providing services of the present application;
FIG. 4 is a schematic diagram of a hierarchical architecture of a service platform in an embodiment of the present application;
FIG. 5 is a flow chart of steps of an embodiment of a business process method of the present application;
FIG. 6 is a diagram illustrating an example of a business process according to an embodiment of the present application;
FIG. 7 is a flow chart illustrating steps of another embodiment of a method for providing services according to the present application;
FIG. 8 is a flow chart of steps in another embodiment of a method of business processing of the present application;
FIG. 9 is a block diagram of an embodiment of a device for providing services according to the present application;
FIG. 10 is a block diagram of another embodiment of a service provider according to the present application;
FIG. 11 is a block diagram of a service processing apparatus according to an embodiment of the present application;
FIG. 12 is a block diagram of another embodiment of a service processing device according to the present application;
fig. 13 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application;
fig. 14 is a schematic hardware structure diagram of an electronic device according to another embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, a schematic diagram of a service processing system in an embodiment of the present application is shown.
The service processing system comprises: the service platform 10, the service providing object 20, and the user equipment 30, where the service platform is used to create and manage services, and the service platform may correspond to a plurality of service providing objects, and obtain data provided by the service providing object, where the provided data may be determined according to the service providing object, for example, if the service providing object is an e-commerce platform, shopping data of the e-commerce platform may be provided, and if the service providing object is a weather platform, various weather data may be provided. Wherein the service providing object can provide data of one or more services, such as data of weather service, data of reminding service, data of positioning service, data of message pushing, data of mail service, etc. The user equipment includes various devices used by the user, such as mobile devices like mobile phones and tablet computers, electronic devices like wearable devices and personal computers.
After the service platform is connected with the service providing object, a uniform interface can be provided for the service providing object, so that the service providing object can be called based on the corresponding interface, and data provided by the service providing object can be acquired. The service platform can also generate a corresponding Event based on data provided by the service providing object, wherein the Event (Event) represents a scene element and can independently describe a fact, such as a road congestion Event, a weather disaster Event and the like. Each event may correspond to a plurality of fields for describing the event, each field being determinable by a different field content, such that a unique event may be described by the field content of the respective field. In this embodiment, each field included in one event may be provided with data by one or more service providing objects, which is not limited in this embodiment. When the event construction service is called, the service providing object corresponding to the data corresponding to the event is not concerned.
For example, weather disaster events include: a type field (type), a level field (level), a region field (city), and a time field (time). The data is acquired by the service providing object's device and a weather disaster event is obtained based on the platform-based processing. A weather disaster event as an example is: type is typhoon; level: yellow; city: shanghai; time: 2017-10-09, it describes that 2017-10-09 sends out a typhoon yellow early warning in the Shanghai.
When the field information (unassigned) of each field of the event is not determined, the event can be regarded as a data class, and after each field of the event is assigned, the event can be regarded as an instantiated object of the data class. Before the field contents of the fields are not received in the above example, the weather disaster event is a weather disaster event class, and after the field contents of the fields are received, a unique weather disaster event object is obtained, which describes that the typhoon yellow early warning event is sent out in the Shanghai city of 2017-10-09.
In one example, the service can be created based on an event provided by the platform, and in other examples, the platform can also provide a calling interface corresponding to the event to an operating system of the terminal device, so that the service can be provided to the user based on the event called by the operating system.
Referring to fig. 2, a schematic diagram of an example of service construction according to an embodiment of the present application is shown.
Referring to fig. 3, a flow chart of steps of an embodiment of a method of providing a service of the present application is shown.
Step 302, providing a plurality of fields of an event, wherein the fields are used for describing the event, and the field contents of the fields are determined according to the data of the service providing object.
The service platform can encapsulate a complete multi-language (such as java, JavaScript, python, and the like) expression framework, thereby connecting service providing objects written by various languages, and providing an event composed of data of the service providing objects, wherein the event is described by a plurality of fields of the event, thereby simplifying the call of the service providing objects.
The service platform is accessed to the service providing object and can provide a uniformly called interface, so that one or more corresponding fields can be determined according to the interface corresponding to the service providing object; and generating a corresponding event according to the plurality of fields. Data of a service providing object is obtained through the interface, one or more types of corresponding output data are determined based on the interface, then an event can be determined by combining the data of each type, and one or more fields corresponding to the event are determined to describe the event.
Therefore, the platform can provide various events, such as weather forecast events, weather early warning events and other weather events, positioning events such as road congestion, navigation and travel, corresponding travel reminding events and other events, and purchasing, logistics, payment and other events related to the e-commerce platform. The field contents of one or more fields contained by each event are provided by the service providing object.
Step 304, determining at least two events required by the service, and acquiring a plurality of fields corresponding to the at least two events.
For the service to be created, at least two events can be determined from the events provided by the platform, the required event is determined according to the service to be created, for example, for the travel reminding of viewing, the viewing event can be combined with the weather event and the positioning event to create a corresponding service. And acquiring a plurality of fields corresponding to the events aiming at the selected at least two events. Event X1 and event X3 are selected for traffic Y1, and event X2, event X3 and event Xn are selected for traffic Y2 as in fig. 2.
In the embodiment of the application, the service platform further provides visual creation of the service, and the platform is provided with a service configuration interface. Abstracting each event into a visual node, selecting the visual node of the required event through a visual service configuration interface, and combining the visual nodes of the events to generate corresponding services. Then the at least two events required for selecting a service include: displaying a visualization node of an event in a business configuration interface, wherein the visualization node is associated with a corresponding event; and determining at least two visualization nodes and events corresponding to the two visualization nodes according to the selection indication.
The visual service configuration interface can correspond to a visual node configured with events such as controls and icons, the visual node is associated with the corresponding event, and the service configuration interface can further comprise other controls such as a service name input box and a rule setting box. Therefore, the selected visual node of the event can be received based on the service configuration interface, then other information such as the name of the corresponding service is set, in some examples, other information such as a custom rule can be configured in the service configuration interface, and the custom rule can be used for performing combination mode of fields corresponding to the event, setting behavior information and the like. If the default reminding is 1 hour in advance, the reminding is 2 hours in advance according to the self-defined rule setting, and the like.
Therefore, the selected visual nodes can be connected with the events in series through dragging in the service configuration interface, the insertion of a custom rule between any two events is supported, the events can be conveniently connected on a service platform, and the method for constructing the service is flexible and has rich functions.
Step 306, combining the plurality of fields corresponding to the at least two events to generate a corresponding service.
For at least two events, the combination of fields in each event can be performed according to a certain rule, so that the content of the state, the behavior and the like of the service can be described through the fields of a plurality of events. If multiple events meet the conditions, corresponding output processing such as reminding and pushing is provided, each service can also have a service identifier, and therefore one service can be uniquely determined.
Wherein the combining the plurality of fields corresponding to the at least two events to determine the service includes: combining a plurality of fields corresponding to the at least two events to obtain a field set and behavior information of the service, wherein the field set comprises a plurality of fields, the field set is used for describing the state of the service, and the behavior information is used for describing the behavior of the service.
The selected events may be combined with a plurality of fields, for example, the fields of two or more events are combined, so that the fields belonging to different events form a field set of the service, thereby describing the state of the service. The method also can configure a service identifier for the service, so that a service is uniquely marked through the service identifier, and the behavior information of the service is configured according to the field combined with the collected field, wherein the behavior information can describe the behavior of the service, such as execution judgment of the service behavior, the execution mode of the behavior and the like, the behavior information comprises output modes, such as reminding, pushing and the like, the reminding mode can comprise short messages, mails and the like, the pushing mode comprises system messages and the like, and therefore the user can be informed of the corresponding service data in various modes. The push party corresponding to the reminding mode, the pushing mode and the like can be determined according to the fields in the field set, for example, the field set comprises the field contents of the mobile phone number, the mailbox address, the user identification and the like of the user, and the notification can be correspondingly carried out through the short message mode, the mail mode, the system message mode and the like. The behavior information further includes: and the output condition can be determined according to the fields in the field set, and comprises the steps of setting a time condition according to the time field, setting a positioning condition according to the position field and the like. The service may be described using a set of fields, behavior information, and a service identification.
In the embodiment of the application, the service is a general service, when the service is not assigned, for example, the field content in the field set is not configured, and the content of the output condition and the output mode is not determined by the behavior information, the service can be regarded as a data class, and after the service is assigned, the service can be regarded as an instantiated object of the data class. Therefore, based on the field content of each field in the event, the field content of each field in the field set of the service, the content of the output condition, the output mode and the like can be determined, and then the service can determine to execute the actions of notification, reminding and the like on the user. For example, the film watching reminding service is a service capable of providing film watching weather reminding when the service is not assigned, after the service is assigned, the film watching weather reminding at the specified time and the specified place can be provided for the specified user, and if the time that the user A watches the film at 12 points is determined and the event that the weather forecast is rainy on the local day is determined, the service can send a short message reminding to the user A at 11 points to remind the user A to watch the film in a movie theater B, and the weather forecast is rainy today, so that the user can be reminded to carry rain gear and the like.
In an optional embodiment, the combining the multiple fields corresponding to the at least two events to obtain the field set and the output information of the service includes: combining a plurality of fields of the at least two events, and removing repeated fields to obtain a field set of the service; and determining the output condition and the output mode according to the fields in the field set. Multiple fields of selected events may be combined, with one duplicate field removed for fields in both events, one for each field in the field set. And one or more fields are obtained from the field set, and behavior information such as output modes, output conditions and the like is set according to the fields. For example, if the field includes a time field, the output time condition may be set according to the time field, and if the field includes a user information field, the output party corresponding to the output mode may be determined according to the user information.
For example, a meteorological disaster event includes the following fields: a type field (type), a level field (level), a region field (city), and a time field (time); the viewing event includes the following fields: user field (userId), film field (film), cinema field (cinema), address field (address), territorial area (city) and time field (time). Combining the two events, the field set of the film watching reminding service includes: a user field (userId), a user information field (user), a movie field (film), a theater field (cinema), an address field (address), a type field (type), a level field (level), a region field (city), and a time field (time); and the output time condition may be set according to the time field, for example, to be one hour ahead. According to the user field, user information can be obtained or the user information field and the like are included, so that the mobile phone number, the mailbox address and the like of the user can be obtained, and the output mode is correspondingly determined.
When the field is repeated, the fed-back accurate field content may be used as the field content of the corresponding field of the field set, or one main event is selected from the events, and when the field is repeated, the field content returned by the main event is used as the field content of the corresponding field of the field set, and the like.
In another alternative embodiment, the at least two events include a first event and a second event; the determining the output condition and the output mode according to the fields in the field set comprises: determining a corresponding first output condition and a first output mode according to the field of the first event; and determining a corresponding second output condition and a second output mode according to the first output mode and the field of the second event. In the setting mode of field matching, the second event can be executed according to the first event, if the first event is executed completely, the service can control and execute the second event, the second event is the same as the field content of the repeated field in the first event, if the first event outputs information according to the corresponding output mode, the successful and failed output results can be obtained, and the execution of the second event is triggered according to the output results.
For example, a viewing event includes the following fields: a user field (userId), a film field (film), a cinema field (cinema), an address field (address), a territorial area (city) and a time field (time); the viewing service event includes the following fields: user field (userId), service content (seven), cinema field (cinema), address field (address), territory area (city). Matching a plurality of fields of two events, wherein the obtained field set comprises the following fields: user field (userId), cinema field (cinema), address field (address), territorial area (city). The set of fields for the viewing alert and reservation service includes: user field (userId), cinema field (cinema), address field (address), territorial field (city), and film field (film), time field (time), service content (server). If the viewing event is used as a first event and the viewing service event is used as a second event, the output time condition is set according to the time field of the first event, for example, the output time condition is set to be one hour ahead. And if the reminding information is successfully output, the field of the second event can be configured for ordering according to the field of the first event.
In other examples, the second event may not be set according to the first event, but triggered according to the output result corresponding to the first event. After the film watching event reminds the film watching to start, the film watching service event is triggered to order popcorn and the like.
In the embodiment of the application, an execution engine can be provided in a service platform, the execution engine can provide a running environment for a service, a serverless architecture (function calculation) is adopted at the bottom layer of the service platform, a multi-language regular expression framework is provided, each execution module is supported to be used as an independent unit to be deployed, managed, operated and maintained, capacity is supported to be allocated according to the modules, and reliability and expansibility are improved. For example, each event is used as a unit, each service is used as a unit, and the management and maintenance of the events and the services are performed in various division modes.
According to the embodiment of the application, after the configuration of the service is completed, script data corresponding to the service can be configured to generate the execution data of the service. The method comprises the steps of configuring script data corresponding to a service, generating a rule script of the service so as to obtain execution data such as execution flow of the service, hosting the execution data to function computation, and reminding service scene operation through execution engine support.
In one example, the hierarchical architecture of the business platform is shown in FIG. 4. The method comprises the following steps: a base services layer 410, a gateway layer 420, an engine layer 430, and a design layer 440. The basic service layer 410 connects the service providing objects, and provides basic data required by the service. The gateway layer 420 is provided with an API (Application Programming Interface) gateway, and the API gateway can provide an Interface of each service providing object, so that the service providing object can be called through the Interface to obtain corresponding data. In the embodiment of the application, the visualized service configuration interface can be connected with the API gateway to acquire data. The API gateway can provide standardized calls for each service providing object, and the coupling degree is reduced. The engine layer 430 is configured to support execution of a service, and the engine layer may include an execution engine, a function calculation module, a rule expression framework, and the like, where the rule expression framework may store rules and script data corresponding to the rules, so that time providing information and the corresponding script data may be generated into corresponding execution data through a rule expression, and then the execution data is hosted on the function calculation module, and operation of the service may be implemented through the scenario execution engine. The design layer 440 includes a service connection module that can be connected to the user equipment to provide data services for the user equipment. The engine layer can also comprise an event engine, the data of the service providing object is obtained through the API interface, and the corresponding event can be generated through the event engine, so that the service can be created based on the event when the service is created. The multiple field contents of the multiple fields of an event may come from one or more service providing objects.
In one example, a plurality of events corresponding to a service may be selected through a service configuration interface associated with the event, a plurality of fields of the event are obtained, description information such as a field set and behavior information of the service is obtained through a rule expression framework combination, script data is generated, execution data configured by the script data corresponding to the service is managed on a function calculation module, a scene execution engine is used to execute the execution data on the function calculation module to realize operation of the service, data of an object is provided through the service, and after an event object corresponding to the event is obtained, a corresponding service may be set according to the event object, so that a service object instantiated by the service is obtained, for example, according to a first field content of a plurality of fields corresponding to the event, a second field content of a corresponding field in the field set of the service and an execution condition, a corresponding to the execution condition of the service behavior are determined, Service contents such as execution mode, etc. to provide service for the user and inform the user of corresponding events, etc.
After various services are constructed on the service platform, the field content of each field corresponding to an event can be determined according to the data provided by the service providing object, so that the service content corresponding to the service is obtained, the service of the service is provided for the user according to the service content, and data services such as reminding and pushing for the user are realized.
Referring to fig. 5, a flowchart illustrating steps of an embodiment of a service processing method according to the present application is shown.
Step 502, determining service content corresponding to a service according to first field content of at least two events corresponding to the service.
Step 504, providing the service to the user according to the service content.
The first field content comprises field contents of a plurality of fields corresponding to the event, and the first field content is determined according to data of a service providing object.
The platform can acquire data provided by the service providing object through the interface, so that the first field content of the fields in the event is determined according to the data of the interface corresponding to the service providing object. And acquiring the field content of each field in the event according to the data corresponding to each interface, so that the event of one data class is instantiated into an event object, and the platform can acquire various field contents of a plurality of events, thereby acquiring the first field content of the plurality of fields corresponding to each event aiming at least two events corresponding to the service.
For example, if the weather disaster data is obtained from a weather service, the first field content of the fields may be configured for the weather disaster event, such as: type is typhoon; level: yellow; city: shanghai; time: 2017-10-09. An event of sending out a typhoon yellow early warning in the Shanghai of 2017-10-09 is obtained according to the field content.
The method comprises the steps of obtaining first field contents of at least two events corresponding to a service, and then configuring the service according to the field contents of the events to obtain corresponding service contents. For example, according to the first field content of a plurality of fields corresponding to the event, the second field content of a plurality of fields in the service set of the service is configured, and the service content such as the execution condition and the execution mode corresponding to the service is determined. Therefore, the service can be provided for the user based on the service content, such as reminding the user to watch the film and carry rain gear.
In an optional embodiment, the service content includes: field sets and execution information; determining the service content corresponding to the service according to the first field contents of at least two events corresponding to the service, including: determining second field contents of a plurality of fields in a field set corresponding to the service according to first field contents of at least two events corresponding to the service; and determining execution information corresponding to the service according to the content of the second field, wherein the execution information is used for outputting the service to a user.
The fields corresponding to the events of the service can be combined to obtain a field set of the service, so that the content of the first field of the field corresponding to the event can correspond to the content of the second field of the field in the field set. The execution information may be understood as the content assigned by the behavior information in the above embodiment, and the second field content of the specified field in the field set may be used to configure the behavior information of the service, such as the specified execution time, sending a short message for a specified mobile phone number, and the like. Wherein the execution information includes: the execution condition, the execution mode and the output content, wherein the execution condition can be understood as the output condition after being assigned, and if the output condition is advanced by one hour, the execution condition can be set to 2017-10-0918:00 according to the content of the second field of the time field being 2017-10-0919: 00. If the output mode is a short message mode, the content in the second field can be obtained from the user information field to determine that the mobile phone number of the user is XXX, the execution mode can be to send a short message to the mobile phone number, and the output content can be determined according to the content of the second field, such as time, place, things, and the like.
Therefore, after the execution condition is judged to be met, the output content can be sent to the corresponding user according to the execution mode. In an embodiment of the present application, the output mode includes at least one of: a reminding mode, a pushing mode and a notification mode. For example, the user is reminded by means of short messages, mails and the like, or pushed to the user by means of message pushing and the like, or notified by means of system messages and the like.
In some other embodiments of the present application, a service providing object of the event corresponding to the service is fed back according to the output result corresponding to the output content. The events in the service can be associated with each other, so that the service can determine first execution information based on the first event, so that after the corresponding first execution condition is met, the first output content is output according to the first execution mode, a returned output result is obtained, such as whether the reminding is successful or not, and then according to the output result, the field content of each field corresponding to the second event and second execution information aiming at the second event can be determined, so that after the corresponding second execution condition is met, the second output content is output according to the second execution mode. If the viewing event can be used as a first event and the viewing service event can be used as a second event, the output time condition is set according to the time field of the first event, for example, the output time condition is set to be one hour ahead. And if the reminding information is successfully output, the ordering operation corresponding to the second event can be executed according to the result of the successful notification of the first event, and the user is reminded to order the commodities such as popcorn, beverage and the like after watching the images.
Based on the above example of the viewing reminding service in the service creation process, as shown in the service processing diagram shown in fig. 6. The platform acquires a viewing event object A of a viewing event, a meteorological disaster event object B of a meteorological disaster event and a meteorological disaster event object C, wherein:
viewing event object A includes the following first field contents: user field (userId): 1001, user information field (user): 13 xxxxxx, movie field (film): AAA, cinema field (cinema): XX theater, address field (address): x lane No. 123, territorial area (city): beijing and time field (time): 2017-10-0919:00.
The meteorological disaster event object B includes the following first field contents: type field (type): typhoon, level field (level): yellow, region field (city): shanghai, time field (time): 2017-10-09.
The meteorological disaster event object C includes the following first field contents: type field (type): sandstorm, level field (level): yellow, region field (city): beijing, time field (time): 2017-10-09.
Thus, for the viewing reminding service, a viewing reminding service object can be determined based on the matched fields, in this example, the time fields and the region fields of the viewing event object a and the meteorological disaster event object C are matched, so that the following service contents can be obtained.
Wherein, the field set comprises the following fields and the second field content: user field (userId): 1001, user information field (user): 13 xxxxxx, movie field (film): AAA, cinema field (cinema): XX theater, address field (address): x lane No. 123, territorial area (city): beijing and time field (time): 2017-10-0919: 00, type field (type): sandstorm, level field (level): yellow.
The service execution information is as follows: the execution condition is set to 2017-10-0918:00 according to the content of the second field of the time field, the execution mode is short message, and the mobile phone number of the receiver of the short message is determined to be: 13 XXXXX.
The output information can be determined according to the field contents in the field set, such as "you subscribe to the film AAA of 19:00 today in XX movie theatre, please note the departure time, yellow early warning of sandstorm in Beijing today, and please note the precaution. "
Therefore, the service content of the service can be obtained based on the first field content of the plurality of fields corresponding to the at least two events, and the corresponding service processing such as user reminding, pushing and the like can be carried out.
In the embodiment of the application, the platform can cache a plurality of field contents of a plurality of fields corresponding to each event, and set the cache effective time of each field content, so that the field contents of the event can be applied to various services corresponding to the event in the effective time, the reusability of the event is improved, the field contents exceeding the effective time can be deleted from the cache, and the timeliness of the event and the service is ensured.
Referring to fig. 7, a flow chart of steps of another embodiment of a method for providing services of the present application is shown.
Step 702, determining one or more corresponding fields according to the interface corresponding to the service providing object; and generating a corresponding event according to the plurality of fields.
The service platform accesses the service providing object, can provide a uniformly called interface, thereby acquiring data of the service providing object through the interface, determining one or more types of corresponding output data based on the interface, then determining an event by combining the data of each type, and determining one or more fields corresponding to the event to describe the event.
Step 704, displaying the visual nodes of the events in the service configuration interface; and determining at least two visualization nodes and events corresponding to the two visualization nodes according to the selection indication.
Step 706, determining the service identifier of the service.
Step 708, combining the multiple fields corresponding to the at least two events to obtain the field set and the behavior information of the service.
The selected events may be combined with a plurality of fields, for example, the fields of two or more events are combined, so that the fields belonging to different events form a field set of the service, thereby describing the state of the service. The method also can configure a service identifier for the service, so that one service is uniquely marked by the service identifier, and the behavior information of the service is configured according to the field and the collected field, wherein the behavior information can describe the behavior of the service, such as execution judgment of the service behavior, execution mode of the behavior and the like. Wherein the behavior information includes: output conditions and output modes; the output condition is used for judging the execution of the behavior of the service; the output mode is used for outputting the behavior of the service.
In one example, the combining the multiple fields corresponding to the at least two events to obtain the field set and the output information of the service includes: combining a plurality of fields of the at least two events, and removing repeated fields to obtain a field set of the service; and determining the output condition and the output mode according to the fields in the field set.
In another example, the at least two events include a first event and a second event; the determining the output condition and the output mode according to the fields in the field set comprises: determining a corresponding first output condition and a first output mode according to the field of the first event; and determining a corresponding second output condition and a second output mode according to the first output mode and the field of the second event.
After the configuration of the service is completed, script data corresponding to the service can be configured to generate execution data of the service. The method comprises the steps of configuring script data corresponding to a service, generating a rule script of the service so as to obtain execution data such as execution flow of the service, hosting the execution data to function computation, and reminding service scene operation through execution engine support.
The platform can provide a plurality of fields of events, wherein the fields are used for describing the events, the field content of the fields is determined according to the data of the service providing objects, so that various events can be determined based on the data provided by the service providing objects, then at least two events required by the service can be determined, the fields corresponding to the at least two events are obtained, the fields corresponding to the at least two events are combined to generate corresponding services, the service is flexibly constructed based on the events, and the reusability of the events is high
Referring to fig. 8, a flowchart illustrating steps of another embodiment of the service processing method of the present application is shown.
Step 802, determining the first field content of the plurality of fields in the event according to the data of the interface corresponding to the service providing object.
And acquiring the field content of each field in the event according to the data corresponding to each interface, so that the event of one data class is instantiated into an event object, and the platform can acquire various field contents of a plurality of events, thereby acquiring the first field content of the plurality of fields corresponding to each event aiming at least two events corresponding to the service.
Step 804, determining second field contents of a plurality of fields in the field set corresponding to the service according to the first field contents of at least two events corresponding to the service.
Step 806, determining execution information corresponding to the service according to the content of the second field, where the execution information is used to output the service to a user.
The fields corresponding to the events of the service can be combined to obtain a field set of the service, so that the content of the first field of the field corresponding to the event can correspond to the content of the second field of the field in the field set. The execution information may be understood as the content assigned by the behavior information in the above embodiment, and the second field content of the specified field in the field set may be used to configure the behavior information of the service, such as the specified execution time, sending a short message for a specified mobile phone number, and the like. Wherein the execution information includes: the execution condition, the execution mode and the output content, wherein the execution condition can be understood as the output condition after being assigned, and if the output condition is advanced by one hour, the execution condition can be set to 2017-10-0918:00 according to the content of the second field of the time field being 2017-10-0919: 00. If the output mode is a short message mode, the content in the second field can be obtained from the user information field to determine that the mobile phone number of the user is XXX, the execution mode can be to send a short message to the mobile phone number, and the output content can be determined according to the content of the second field, such as time, place, things, and the like.
Step 808, determine whether the execution condition is satisfied. If yes, go to step 810, otherwise, go back to step 808 to continue the determination.
Step 810, sending the output content to a corresponding user according to the execution mode.
Therefore, after the execution condition is judged to be met, the output content can be sent to the corresponding user according to the execution mode
In some other embodiments of the present application, a service providing object of the event corresponding to the service is fed back according to the output result corresponding to the output content. The events in the service can be associated with each other, so that the service can determine first execution information based on the first event, so that after the corresponding first execution condition is met, the first output content is output according to the first execution mode, a returned output result is obtained, such as whether the reminding is successful or not, and then according to the output result, the field content of each field corresponding to the second event and second execution information aiming at the second event can be determined, so that after the corresponding second execution condition is met, the second output content is output according to the second execution mode.
Therefore, various services can be created based on the events provided by the platform, the field content of the events is determined according to the data of the service providing objects, the service information of the services is obtained according to the field content of the events, and services such as reminding and pushing are provided for users. Therefore, various services can be flexibly constructed through the platform, and the events in the platform have higher reusability.
In an embodiment of the present application, the platform may also provide the call interface corresponding to the event to an operating system of the terminal device, so that the event may be obtained through the call interface in the operating system, the step flow of creating the service may be executed, and the step flow of outputting the corresponding service may be performed after receiving the event object. When the event and the service monitoring are performed for the operating system, corresponding events can be subscribed to the platform to obtain event objects in a targeted manner, for example, based on the subscribed events of the user and the like, and the service is output.
As in the embodiments corresponding to fig. 5 and 8, the operating system may obtain the first field content of the event from the platform through the interface, where the first field content of the event may be related to the field content of the device corresponding to the operating system and the user, for example, an association relationship may be determined according to the mobile phone number, the user identifier, and the like, and then the service information of the service may be determined in the operating system according to the first field content of at least two events, and then the user is notified through a system notification, a push message, and the like, so as to provide various service services to the user.
According to the embodiment of the application, the service providing object is connected through the service platform, a uniform and standard interface is provided for the service providing object, and the event constructed based on the data of the service providing object is provided, so that a service creator can create various services based on the event provided by the platform, and the flexibility of the services is high. For a service creator, attention to an event data source corresponding to an event is not required, that is, attention to which service providing object provides data for the event is not required, so that the service can be created by directly using the event provided by the platform without paying attention to a programming language, a communication protocol and the like of the service providing object. For the users of reminding and pushing, the contents of reminding and pushing of various required businesses can be obtained without paying attention to the creator of the business and the service providing object.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
On the basis of the above embodiments, the present embodiment further provides a device for providing a service, which can be applied to electronic devices such as a server and user equipment of a service platform.
Referring to fig. 9, a block diagram of a structure of an embodiment of an apparatus for providing a service according to the present application is shown, and the apparatus may specifically include the following modules:
an event providing module 902, configured to provide a plurality of fields of an event, where the fields are used to describe the event, and the contents of the fields are determined according to data of a service providing object.
An event determining module 904, configured to determine at least two events required by a service, and obtain a plurality of fields corresponding to the at least two events.
A service generating module 906, configured to combine multiple fields corresponding to the at least two events to generate a corresponding service.
In summary, the platform may provide a plurality of fields of an event, where the plurality of fields are used to describe the event, and the field content of the field is determined according to the data of the service providing object, so that various events can be determined based on the data provided by the multiple service providing objects, then at least two events required by the service can be determined, and a plurality of fields corresponding to the at least two events are obtained, and the plurality of fields corresponding to the at least two events are combined to generate a corresponding service, so that the service is flexibly constructed based on the event, and the reusability of the event is high.
Referring to fig. 10, a block diagram of another embodiment of the apparatus for providing services according to the present application is shown, and specifically, the apparatus may include the following modules:
an event generating module 908, configured to determine one or more corresponding fields according to an interface corresponding to the service providing object; and generating a corresponding event according to the plurality of fields.
An event providing module 902, configured to provide a plurality of fields of an event, where the fields are used to describe the event, and the contents of the fields are determined according to data of a service providing object.
An event determining module 904, configured to determine at least two events required by a service, and obtain a plurality of fields corresponding to the at least two events.
A service generating module 906, configured to combine the multiple fields corresponding to the at least two events to generate a corresponding service.
The service generation module 906 is configured to combine multiple fields corresponding to the at least two events to obtain a field set and behavior information of the service, where the field set includes multiple fields, the field set is used to describe a state of the service, and the behavior information is used to describe a behavior of the service.
The behavior information includes: output conditions and output modes; the output condition is used for judging the execution of the behavior of the service; the output mode is used for outputting the behavior of the service.
The service generation module 906 includes: a field merging sub-module 9062 and a behavior determination sub-module 9064, wherein:
a field merging submodule 9062, configured to merge multiple fields of the at least two events, and remove repeated fields to obtain a field set of the service;
and the behavior determining submodule 9064 is configured to determine the output condition and the output mode according to the fields in the field set.
The behavior determining submodule 9064 is configured to determine, according to a field of the first event, a corresponding first output condition and a corresponding first output mode; and determining a corresponding second output condition and a second output mode according to the first output mode and the field of the second event.
The event determining module 904 is configured to display a visualization node of an event in a service configuration interface; and determining at least two visualization nodes and events corresponding to the two visualization nodes according to the selection indication.
The category of the event includes at least one of: weather, ticket, e-commerce, location.
On the basis of the foregoing embodiments, the present embodiment further provides a service processing apparatus, which can be applied to electronic devices such as a server and a user equipment of a service platform.
Referring to fig. 11, a block diagram of a service processing apparatus according to an embodiment of the present application is shown, which may specifically include the following modules:
a service determining module 1102, configured to determine, according to first field contents of at least two events corresponding to a service, service contents corresponding to the service; the first field content comprises field contents of a plurality of fields corresponding to the event, and the first field content is determined according to data of a service providing object.
A service execution module 1104, configured to provide the service to the user according to the service content.
Referring to fig. 12, a block diagram of another embodiment of a service processing apparatus according to the present application is shown, and specifically, the structure may include the following modules:
a field obtaining module 1106, configured to determine, according to the data of the interface corresponding to the service providing object, first field contents of the fields in the event.
The service determining module 1102 is configured to determine service content corresponding to a service according to first field contents of at least two events corresponding to the service.
A service execution module 1104, configured to provide the service to the user according to the service content.
The first field content comprises field contents of a plurality of fields corresponding to the event, and the first field content is determined according to data of a service providing object. The service content comprises: field sets and execution information. The execution information includes: execution conditions, execution modes and output contents. The execution mode comprises at least one of the following modes: a reminding mode, a pushing mode and a notification mode.
The service determining module 1102 is configured to determine, according to first field contents of at least two events corresponding to the service, second field contents of a plurality of fields in a field set corresponding to the service; and determining execution information corresponding to the service according to the content of the second field, wherein the execution information is used for outputting the service to a user.
And the service execution module 1104 is configured to send the output content to a corresponding user according to the execution manner after determining that the execution condition is satisfied.
The service execution module 1104 is further configured to feed back a service providing object of the event corresponding to the service according to the output result corresponding to the output content.
According to the embodiment of the application, the service providing object is connected through the service platform, a uniform and standard interface is provided for the service providing object, and the event constructed based on the data of the service providing object is provided, so that a service creator can create various services based on the event provided by the platform, and the flexibility of the services is high. For a service creator, attention to an event data source corresponding to an event is not required, that is, attention to which service providing object provides data for the event is not required, so that the service can be created by directly using the event provided by the platform without paying attention to a programming language, a communication protocol and the like of the service providing object. For the users of reminding and pushing, the contents of reminding and pushing of various required businesses can be obtained without paying attention to the creator of the business and the service providing object.
The present application further provides a non-volatile readable storage medium, where one or more modules (programs) are stored in the storage medium, and when the one or more modules are applied to a terminal device, the one or more modules may cause the terminal device to execute instructions (instructions) of method steps in the present application.
The present embodiments provide one or more machine-readable media having stored thereon executable code that, when executed, causes a processor to perform a data processing method as described in one or more of the present embodiments. The electronic device comprises a terminal device, a server (cluster) and other devices. In the embodiment of the present application, the terminal device refers to a device having a terminal operating system, and these devices may support functions in the aspects of audio, video, data, and the like, and include mobile terminals such as smart phones, tablet computers, wearable devices, and also may be devices such as smart televisions and personal computers. Operating systems such as AliOS, iOS, Android, Windows, etc.
Fig. 13 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application, where the electronic device may include a terminal device, a server (cluster), and the like. As shown in fig. 13, the electronic device may include an input device 130, a processor 131, an output device 132, a memory 133, and at least one communication bus 134. The communication bus 134 is used to enable communication connections between the elements. The Memory 133 may include a high-speed RAM (Random Access Memory) and may also include a Non-Volatile Memory NVM (Non-Volatile Memory), such as at least one disk Memory, and the Memory 133 may store various programs for performing various processing functions and implementing the method steps of the embodiment.
Alternatively, the processor 131 may be implemented by, for example, a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, and the processor 131 is coupled to the input device 130 and the output device 132 through a wired or wireless connection.
Optionally, the input device 130 may include a variety of input devices, for example, at least one of a user-oriented user interface, a device-oriented device interface, a software programmable interface, a camera, and a sensor. Optionally, the device interface facing the device may be a wired interface for data transmission between devices, or may be a hardware plug-in interface (e.g., a USB interface, a serial port, etc.) for data transmission between devices; optionally, the user-facing user interface may be, for example, a user-facing control key, a voice input device for receiving voice input, and a touch sensing device (e.g., a touch screen with a touch sensing function, a touch pad, etc.) for receiving user touch input; optionally, the programmable interface of the software may be, for example, an entry for a user to edit or modify a program, such as an input pin interface or an input interface of a chip; optionally, the transceiver may be a radio frequency transceiver chip with a communication function, a baseband processing chip, a transceiver antenna, and the like. An audio input device such as a microphone may receive voice data. The output device 132 may include a display, a sound, or other output device.
In this embodiment, the processor of the device includes a module for executing the functions of the network management apparatus in each electronic device, and specific functions and technical effects are as described in the above embodiments, and are not described herein again.
Fig. 14 is a schematic hardware structure diagram of an electronic device according to another embodiment of the present application. FIG. 14 is a specific embodiment of FIG. 13 in an implementation. As shown in fig. 14, the electronic device of the present embodiment includes a processor 141 and a memory 142.
The processor 141 executes the computer program code stored in the memory 142 to implement the service providing method and the service processing method of fig. 1 to 8 in the above embodiments.
The memory 142 is configured to store various types of data to support operations at the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, such as messages, pictures, videos, and so forth. The memory 142 may comprise a random access memory RAM and may also include a non-volatile memory NVM, such as at least one disk memory.
Optionally, the processor 141 is provided in the processing component 140. The electronic device may further include: a communication component 143, a power component 144, a multimedia component 145, an audio component 146, an input/output interface 147 and/or a sensor component 148. The specific components included in the device are set according to actual requirements, which is not limited in this embodiment.
The processing component 140 generally controls the overall operation of the device. Processing component 140 may include one or more processors 141 to execute instructions to perform all or a portion of the steps of the methods of fig. 1-8 described above. Further, processing component 140 may include one or more modules that facilitate interaction between processing component 140 and other components. For example, the processing component 140 may include a multimedia module to facilitate interaction between the multimedia component 145 and the processing component 140.
The power supply component 144 provides power to the various components of the device. The power components 144 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for an electronic device.
The multimedia component 145 includes a display screen that provides an output interface between the device and the user. In some embodiments, the display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the display screen includes a touch panel, the display screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 146 is configured to output and/or input audio signals. For example, the audio component 146 includes a Microphone (MIC) configured to receive external audio signals when the device is in an operational mode, such as a speech recognition mode. The received audio signals may further be stored in the memory 142 or transmitted via the communication component 143. In some embodiments, audio assembly 146 further includes a speaker for outputting audio signals.
Input/output interface 147 provides an interface between processing component 140 and peripheral interface modules, which may be click wheels, buttons, and the like. These buttons may include, but are not limited to: a volume button, a start button, and a lock button.
The sensor assembly 148 includes one or more sensors for providing status assessment of various aspects of the device. For example, the sensor assembly 148 may detect the open/closed state of the device, the relative positioning of the assemblies, the presence or absence of user contact with the device. The sensor assembly 148 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact, including detecting the distance between the user and the device. In some embodiments, the sensor assembly 148 may also include a camera or the like.
The communication component 143 is configured to facilitate communication between the electronic device and other electronic devices in a wired or wireless manner. The electronic device may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one embodiment, the electronic device may include a SIM card slot therein for insertion of a SIM card such that the device may log onto a GPRS network to establish communication with a server via the internet.
From the above, the communication component 143, the audio component 146, the input/output interface 147 and the sensor component 148 involved in the embodiment of fig. 14 can be implemented as the input device in the embodiment of fig. 13.
An embodiment of the present application provides an electronic device, including: a processor; and a memory having executable code stored thereon, which when executed, causes the processor to perform a data processing method as described in one or more of the embodiments of the present application.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and apparatus for providing a service, the method and apparatus for processing a service, the electronic device and the machine-readable medium provided by the present application are described in detail above, and specific examples are applied herein to illustrate the principles and embodiments of the present application, and the description of the above embodiments is only used to help understand the method and the core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (20)

1. A method for providing a service, comprising:
providing a plurality of fields of an event, wherein the fields are used for describing the event, and the field contents of the fields are determined according to data of a service providing object;
determining at least two events required by a service, and acquiring a plurality of fields corresponding to the at least two events;
and combining a plurality of fields corresponding to the at least two events to generate corresponding services.
2. The method of claim 1, further comprising:
determining one or more corresponding fields according to the interface corresponding to the service providing object;
and generating a corresponding event according to the plurality of fields.
3. The method of claim 1, wherein the combining the plurality of fields corresponding to the at least two events to determine the service comprises:
combining a plurality of fields corresponding to the at least two events to obtain a field set and behavior information of the service, wherein the field set comprises a plurality of fields, the field set is used for describing the state of the service, and the behavior information is used for describing the behavior of the service.
4. The method of claim 3, wherein the behavior information comprises: output conditions and output modes; the output condition is used for judging the execution of the behavior of the service; the output mode is used for outputting the behavior of the service.
5. The method of claim 4, wherein the combining the corresponding fields of the at least two events to obtain the field set and the output information of the service comprises:
combining a plurality of fields of the at least two events, and removing repeated fields to obtain a field set of the service;
and determining the output condition and the output mode according to the fields in the field set.
6. The method of claim 5, wherein the at least two events comprise a first event and a second event; the determining the output condition and the output mode according to the fields in the field set comprises:
determining a corresponding first output condition and a first output mode according to the field of the first event;
and determining a corresponding second output condition and a second output mode according to the first output mode and the field of the second event.
7. The method of claim 1, wherein the determining at least two events required for the service comprises:
displaying a visual node of an event in a service configuration interface;
and determining at least two visualization nodes and events corresponding to the two visualization nodes according to the selection indication.
8. The method of any of claims 1-7, wherein the categories of events include at least one of: weather, ticket, e-commerce, location.
9. A method for processing a service, comprising:
determining service content corresponding to a service according to first field content of the service corresponding to at least two events; the first field content comprises field contents of a plurality of fields corresponding to the event, and the first field content is determined according to data of a service providing object;
and providing the service for the user according to the service content.
10. The method of claim 9, further comprising:
and determining the content of a first field of a plurality of fields in the event according to the data of the interface corresponding to the service providing object.
11. The method of claim 9, wherein the service content comprises: field sets and execution information; determining the service content corresponding to the service according to the first field contents of at least two events corresponding to the service, including:
determining second field contents of a plurality of fields in a field set corresponding to the service according to first field contents of at least two events corresponding to the service;
and determining execution information corresponding to the service according to the content of the second field, wherein the execution information is used for outputting the service to a user.
12. The method of claim 11, wherein the execution information comprises: executing conditions, executing modes and output contents, wherein the service is provided for a user according to the service contents, and the executing conditions, the executing modes and the output contents comprise:
and after the execution condition is judged to be met, the output content is sent to the corresponding user according to the execution mode.
13. The method of claim 11, further comprising:
and feeding back the service providing object of the event corresponding to the service according to the output result corresponding to the output content.
14. The method of claim 12, wherein the performing comprises at least one of: a reminding mode, a pushing mode and a notification mode.
15. An apparatus for providing a service, comprising:
the system comprises an event providing module, a service providing module and a service providing module, wherein the event providing module is used for providing a plurality of fields of an event, the fields are used for describing the event, and the field content of the fields is determined according to data of a service providing object;
the system comprises an event determining module, a service processing module and a service processing module, wherein the event determining module is used for determining at least two events required by a service and acquiring a plurality of fields corresponding to the at least two events;
and the service generation module is used for combining the plurality of fields corresponding to the at least two events by the service to generate the corresponding service.
16. A traffic processing apparatus, comprising:
the service determining module is used for determining the service content corresponding to the service according to the first field content of at least two events corresponding to the service; the first field content comprises field contents of a plurality of fields corresponding to the event, and the first field content is determined according to data of a service providing object;
and the service execution module is used for providing the service for the user according to the service content.
17. An electronic device, comprising: a processor; and
memory having stored thereon executable code, which when executed causes the processor to perform a method of providing a service according to one or more of claims 1-8.
18. One or more machine readable media having executable code stored thereon that, when executed, causes a processor to perform a method of providing a service as recited in one or more of claims 1-8.
19. An electronic device, comprising: a processor; and
memory having stored thereon executable code which, when executed, causes the processor to perform a business process method as claimed in one or more of claims 9-14.
20. One or more machine readable media having executable code stored thereon that, when executed, causes a processor to perform a business process method as recited in one or more of claims 9-14.
CN201811014366.9A 2018-08-31 2018-08-31 Service providing method, service processing method, device, electronic equipment and medium Pending CN110874711A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201811014366.9A CN110874711A (en) 2018-08-31 2018-08-31 Service providing method, service processing method, device, electronic equipment and medium
TW108123624A TW202025018A (en) 2018-08-31 2019-07-04 Service providing method and device, service processing method and device, electronic equipment and medium
PCT/CN2019/101911 WO2020042991A1 (en) 2018-08-31 2019-08-22 Service providing method and apparatus, service processing method and apparatus, electronic device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811014366.9A CN110874711A (en) 2018-08-31 2018-08-31 Service providing method, service processing method, device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN110874711A true CN110874711A (en) 2020-03-10

Family

ID=69643897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811014366.9A Pending CN110874711A (en) 2018-08-31 2018-08-31 Service providing method, service processing method, device, electronic equipment and medium

Country Status (3)

Country Link
CN (1) CN110874711A (en)
TW (1) TW202025018A (en)
WO (1) WO2020042991A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114895989A (en) * 2022-04-29 2022-08-12 北京鲸鹳科技有限公司 Configuration method, device and equipment of business event and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064726A (en) * 2011-10-19 2013-04-24 腾讯科技(深圳)有限公司 Method of achieving event services and device thereof
US20150281320A1 (en) * 2014-03-31 2015-10-01 Alibaba Group Holding Limited Method and system for providing internet application services
CN106603601A (en) * 2015-10-15 2017-04-26 阿里巴巴集团控股有限公司 Service processing method, device and system, and terminal equipment
CN107786659A (en) * 2017-10-27 2018-03-09 中航信移动科技有限公司 Service methods of exhibiting and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064726A (en) * 2011-10-19 2013-04-24 腾讯科技(深圳)有限公司 Method of achieving event services and device thereof
US20150281320A1 (en) * 2014-03-31 2015-10-01 Alibaba Group Holding Limited Method and system for providing internet application services
CN106603601A (en) * 2015-10-15 2017-04-26 阿里巴巴集团控股有限公司 Service processing method, device and system, and terminal equipment
CN107786659A (en) * 2017-10-27 2018-03-09 中航信移动科技有限公司 Service methods of exhibiting and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114895989A (en) * 2022-04-29 2022-08-12 北京鲸鹳科技有限公司 Configuration method, device and equipment of business event and storage medium

Also Published As

Publication number Publication date
WO2020042991A1 (en) 2020-03-05
TW202025018A (en) 2020-07-01

Similar Documents

Publication Publication Date Title
CN109831456B (en) Message pushing method, device, equipment and storage medium
CN113015012B (en) Live broadcast data processing method, device, computer equipment and storage medium
CN110460578B (en) Method and device for establishing association relationship and computer readable storage medium
EP3726376B1 (en) Program orchestration method and electronic device
US20100332133A1 (en) Apparatus and Method for Automated Vehicle Roadside Assistance
CN105426189A (en) Notification bar combining method and system
CN104737161A (en) Person-based information aggregation
CN111597467A (en) Display method and device and electronic equipment
CN109218410B (en) Message display method and terminal equipment
US20180342029A1 (en) Method, apparatus terminal device, and computer readable storage medium for invoking a virtual public transport card
JP6077231B2 (en) Information acquisition method and apparatus for user terminal in communication system
US20190320234A1 (en) Device and method for crowd-sourcing movie screenings
CN109743246B (en) Message emergency reminding method and device and electronic equipment
CN116974411A (en) Information display method, device, equipment and storage medium
CN112367241A (en) Message generation and message transmission method, device, equipment and computer readable medium
KR101756709B1 (en) Data management system and method for displaying data thereof
CN111641693B (en) Session data processing method and device and electronic equipment
CN110874711A (en) Service providing method, service processing method, device, electronic equipment and medium
EP4524781A1 (en) Post visibility permission setting method and apparatus, electronic device, and storage medium
CN115412739B (en) Live broadcasting room interaction method and device, electronic equipment and storage medium
CN111798251A (en) Verification method and device of house source data and electronic equipment
CN114125530B (en) Information display method and device, electronic equipment and storage medium
CN114550417B (en) Disaster early warning method, terminal equipment and storage medium
KR101597190B1 (en) Operating Method And System For Shopping Information, And Electronic Device supporting the same
CN110083283B (en) Method, device and system for managing information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201223

Address after: Room 603, 6 / F, Roche Plaza, 788 Cheung Sha Wan Road, Kowloon, China

Applicant after: Zebra smart travel network (Hong Kong) Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40028305

Country of ref document: HK

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200310